taskcafe/frontend/codegen.yml

19 lines
406 B
YAML
Raw Normal View History

overwrite: true
schema:
- '../internal/graph/schema/*.gql'
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