dockerfile/examples/omnivore/official-src/omnivore-main/codegen.yml

13 lines
315 B
YAML
Raw Permalink Normal View History

2024-03-15 14:52:38 +08:00
overwrite: true
schema: 'packages/api/src/schema.ts'
generates:
packages/api/src/generated/schema.graphql:
plugins:
- schema-ast
packages/api/src/generated/graphql.ts:
plugins:
- 'typescript'
- 'typescript-resolvers'
config:
contextType: '../resolvers/types#ResolverContext'