mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-16 13:50:14 +00:00

* Adding Properties, Documentation tabs, & supporting mutations Co-authored-by: John Joyce <john@acryl.io>
27 lines
680 B
YAML
27 lines
680 B
YAML
overwrite: true
|
|
schema:
|
|
- '../datahub-graphql-core/src/main/resources/gms.graphql'
|
|
- '../datahub-frontend/conf/datahub-frontend.graphql'
|
|
config:
|
|
scalars:
|
|
Long: number
|
|
documents:
|
|
- 'src/**/*.graphql'
|
|
generates:
|
|
src/types.generated.ts:
|
|
plugins:
|
|
- 'typescript'
|
|
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
|