2020-04-16 15:24:27 +02:00
|
|
|
overwrite: true
|
|
|
|
schema: 'http://localhost:3000/api/v1'
|
|
|
|
documents: 'src/graphql/**/*.ts'
|
|
|
|
generates:
|
2020-06-05 18:50:10 +02:00
|
|
|
src/graphql/fragmentTypes.json:
|
|
|
|
plugins:
|
|
|
|
- fragment-matcher
|
2020-05-19 07:50:16 +02:00
|
|
|
src/graphql/types.ts:
|
2020-08-14 18:38:02 +02:00
|
|
|
plugins:
|
|
|
|
- typescript
|
|
|
|
- add:
|
|
|
|
content: '/* eslint-disable */'
|
2020-05-19 07:50:16 +02:00
|
|
|
src/graphql/:
|
|
|
|
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'
|
2020-08-14 18:38:02 +02:00
|
|
|
- add:
|
|
|
|
content: '/* eslint-disable */'
|