2023-04-25 05:13:52 +03:00
|
|
|
hooks:
|
|
|
|
afterOneFileWrite:
|
|
|
|
- prettier --write
|
|
|
|
config:
|
|
|
|
strict: true
|
|
|
|
maybeValue: T | null
|
|
|
|
declarationKind: interface
|
|
|
|
avoidOptionals: true
|
|
|
|
preResolveTypes: true
|
|
|
|
onlyOperationTypes: true
|
|
|
|
namingConvention:
|
|
|
|
enumValues: keep
|
|
|
|
scalars:
|
|
|
|
DateTime: string
|
|
|
|
Date: string
|
|
|
|
Decimal: number
|
|
|
|
UUID: string
|
|
|
|
ID: string
|
|
|
|
JSON: any
|
2023-06-21 09:08:32 +03:00
|
|
|
Upload: File
|
2023-04-25 05:13:52 +03:00
|
|
|
overwrite: true
|
2023-10-18 18:30:08 +03:00
|
|
|
schema: ../../backend/server/src/schema.gql
|
2023-04-25 05:13:52 +03:00
|
|
|
documents: ./src/**/*.gql
|
|
|
|
generates:
|
|
|
|
./src/schema.ts:
|
|
|
|
plugins:
|
|
|
|
- typescript
|
|
|
|
- typescript-operations
|
|
|
|
- add:
|
|
|
|
content: '/* eslint-disable */'
|
|
|
|
- ./export-gql-plugin.cjs:
|
|
|
|
output: ./src/graphql/index.ts
|