mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
29 lines
706 B
YAML
29 lines
706 B
YAML
overwrite: true
|
|
schema:
|
|
- '../datahub-graphql-core/src/main/resources/*.graphql'
|
|
config:
|
|
scalars:
|
|
Long: number
|
|
documents:
|
|
- 'src/**/*.graphql'
|
|
generates:
|
|
src/types.generated.ts:
|
|
plugins:
|
|
- 'typescript'
|
|
src/possibleTypes.generated.ts:
|
|
plugins:
|
|
- 'fragment-matcher'
|
|
src/:
|
|
preset: near-operation-file
|
|
presetConfig:
|
|
extension: '.generated.ts'
|
|
baseTypesPath: types.generated.ts
|
|
plugins:
|
|
- 'typescript-operations'
|
|
- 'typescript-react-apollo'
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
hooks:
|
|
afterAllFileWrite:
|
|
- prettier --write
|