s3browser-frontend/codegen.yml

16 lines
401 B
YAML
Raw Normal View History

2021-07-26 12:54:22 +00:00
overwrite: true
schema: "src/generated/schema.json"
documents: "src/**/*.graphql"
generates:
src/generated/graphql.tsx:
hooks:
afterOneFileWrite:
2021-07-27 19:22:13 +00:00
- yarn run eslint --fix --no-ignore src/generated/graphql.tsx
2021-07-26 12:54:22 +00:00
plugins:
- "typescript"
- "typescript-operations"
- "typescript-react-apollo"
config:
2021-08-06 17:24:20 +00:00
withHooks: true
scalars:
DateTime: string