mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 09:50:03 +01:00
29 lines
682 B
YAML
29 lines
682 B
YAML
overwrite: true
|
|
schema: 'http://localhost:3000/api/v1'
|
|
documents: 'src/graphql/**/*.ts'
|
|
generates:
|
|
src/graphql/fragmentTypes.json:
|
|
plugins:
|
|
- fragment-matcher
|
|
src/graphql/types.ts:
|
|
plugins:
|
|
- typescript
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
src/graphql/:
|
|
preset: near-operation-file
|
|
presetConfig:
|
|
baseTypesPath: types.ts
|
|
extension: .generated.tsx
|
|
folder: __generated__
|
|
config:
|
|
withComponent: false
|
|
withHOC: false
|
|
withHooks: true
|
|
reactApolloVersion: 3
|
|
plugins:
|
|
- 'typescript-operations'
|
|
- 'typescript-react-apollo'
|
|
- add:
|
|
content: '/* eslint-disable */'
|