taskcafe/frontend/codegen.yml

19 lines
409 B
YAML
Raw Permalink Normal View History

overwrite: true
schema:
2020-07-12 09:06:11 +02:00
- '../internal/graph/schema.graphqls'
2020-06-19 01:12:15 +02:00
documents:
- 'src/shared/graphql/*.graphqls'
- 'src/shared/graphql/**/*.ts'
generates:
src/shared/generated/graphql.tsx:
plugins:
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
config:
withHOC: false
withComponent: false
withHooks: true
scalars:
UUID: string