The job tracker has run from its own image at /jobs/ since 931b02c, so its
old copy here goes: the GraphQL schema, resolvers and models for
applications, references, sources, leads and the search profile; the
capture and email handlers and services; the Python posting reader, lead
scorer and email classifier; the Vue pages, stores and the capture-token
card on the Environment tab; and the userscript (nginx already redirects
its old URL to /jobs/).
The six old tables stay in the stp database: AutoMigrate never drops
anything, and dropping them is a manual step. The env variables stay in
the registry, where they already belong to the jobs service.
Docs (CLAUDE.md, DEPLOYMENT.md and the three READMEs) now describe the
site without the tracker, and DEPLOYMENT.md lists the jobs service and
./jobs-data.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
79 lines
1.8 KiB
YAML
79 lines
1.8 KiB
YAML
schema:
|
|
- graph/schema/*.graphql
|
|
|
|
exec:
|
|
filename: graph/generated.go
|
|
package: graph
|
|
|
|
model:
|
|
filename: graph/model/models_gen.go
|
|
package: model
|
|
|
|
resolver:
|
|
layout: follow-schema
|
|
dir: graph
|
|
package: graph
|
|
filename_template: "{name}.resolvers.go"
|
|
|
|
models:
|
|
# Two bindings, tried in order. IntID comes first, so it is what gqlgen
|
|
# picks where it has a free choice — resolver arguments stay `id int`.
|
|
# UintID is there so a model's `ID uint` field binds to `id: ID!` directly,
|
|
# with no hand-written resolver converting it. Both write an id as a quoted
|
|
# decimal string ("12") and read a string or a number, so which one a field
|
|
# uses is invisible on the wire.
|
|
ID:
|
|
model:
|
|
- github.com/99designs/gqlgen/graphql.IntID
|
|
- github.com/99designs/gqlgen/graphql.UintID
|
|
User:
|
|
model:
|
|
- adam-french.co.uk/backend/models.User
|
|
fields:
|
|
password:
|
|
resolver: false
|
|
deletedAt:
|
|
resolver: false
|
|
Post:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Post
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Activity:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Activity
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Favorite:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Favorite
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Rowing:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Rowing
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Message:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Message
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Bookmark:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Bookmark
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
Place:
|
|
model:
|
|
- adam-french.co.uk/backend/models.Place
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|