mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-05 08:07:04 +00:00
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
overwrite: true
|
|
schema:
|
|
- '../datahub-graphql-core/src/main/resources/app.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/entity.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/search.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/analytics.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/recommendation.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/auth.graphql'
|
|
- '../datahub-graphql-core/src/main/resources/ingestion.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
|