The applications tracker, leads inbox, email pipeline and capture userscript move here from web_server's backend, Python service and Vue app, as one Go binary that serves its own Vue SPA under /jobs/. - The Go services, resolvers and tests move over almost unchanged. - The three Claude calls are ported from Python to Go (internal/claude), with the same prompts, per-model request shaping and error messages. - There is no login: internal/auth asks the site backend's /auth/validate-admin with the visitor's cookies, and relays refreshed cookies back. - A Settings page replaces the admin-panel capture token card and adds the Microsoft sign-in link and a manual email sync. - The userscript is 2.0.0, at /jobs/, and migrates a saved API base. - Dockerfile, a standalone compose with Postgres, Makefile, and a Gitea CI workflow that tests and publishes the image. Co-Authored-By: Claude Opus 5.5 <[email protected]>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
# gqlgen configuration. Regenerate with `make generate` after editing any
|
|
# internal/graph/schema/*.graphql file.
|
|
#
|
|
# GraphQL object types bind straight onto the GORM structs in
|
|
# internal/models, so internal/graph/model only holds generated input types.
|
|
schema:
|
|
- internal/graph/schema/*.graphql
|
|
|
|
exec:
|
|
filename: internal/graph/generated.go
|
|
package: graph
|
|
|
|
model:
|
|
filename: internal/graph/model/models_gen.go
|
|
package: model
|
|
|
|
resolver:
|
|
layout: follow-schema
|
|
dir: internal/graph
|
|
package: graph
|
|
filename_template: "{name}.resolvers.go"
|
|
|
|
models:
|
|
# ID binds to uint as well as int, so a model's `ID uint` needs no resolver.
|
|
ID:
|
|
model:
|
|
- github.com/99designs/gqlgen/graphql.IntID
|
|
- github.com/99designs/gqlgen/graphql.UintID
|
|
JobStatus:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/services.JobStatus
|
|
JobApplication:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/models.JobApplication
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
JobAppReference:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/models.JobAppReference
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
JobSource:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/models.JobSource
|
|
fields:
|
|
deletedAt:
|
|
resolver: false
|
|
JobLead:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/models.JobLead
|
|
JobSearchProfile:
|
|
model:
|
|
- adam-french.co.uk/job-tracker/internal/models.JobSearchProfile
|