2020-04-16 15:24:27 +02:00
|
|
|
overwrite: true
|
2021-12-07 22:16:40 -05:00
|
|
|
schema: 'http://localhost:3000/graphql'
|
|
|
|
documents: 'src/client/src/graphql/**/*.ts'
|
|
|
|
hooks:
|
|
|
|
afterAllFileWrite:
|
|
|
|
- prettier --write
|
|
|
|
- eslint --fix
|
2020-04-16 15:24:27 +02:00
|
|
|
generates:
|
2021-12-07 22:16:40 -05:00
|
|
|
src/client/src/graphql/fragmentTypes.json:
|
2020-06-05 18:50:10 +02:00
|
|
|
plugins:
|
|
|
|
- fragment-matcher
|
2021-12-07 22:16:40 -05:00
|
|
|
src/client/src/graphql/types.ts:
|
2020-08-14 18:38:02 +02:00
|
|
|
plugins:
|
|
|
|
- typescript
|
2021-12-07 22:16:40 -05:00
|
|
|
src/client/src/graphql/:
|
2020-05-19 07:50:16 +02:00
|
|
|
preset: near-operation-file
|
|
|
|
presetConfig:
|
|
|
|
baseTypesPath: types.ts
|
|
|
|
extension: .generated.tsx
|
|
|
|
folder: __generated__
|
2020-04-16 15:24:27 +02:00
|
|
|
config:
|
|
|
|
withComponent: false
|
|
|
|
withHOC: false
|
|
|
|
withHooks: true
|
2020-08-05 21:24:46 +02:00
|
|
|
reactApolloVersion: 3
|
2020-04-16 15:24:27 +02:00
|
|
|
plugins:
|
|
|
|
- 'typescript-operations'
|
|
|
|
- 'typescript-react-apollo'
|