mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-15 20:42:54 +08:00
34 lines
No EOL
781 B
YAML
34 lines
No EOL
781 B
YAML
overwrite: true
|
|
debug: true
|
|
schema:
|
|
- "http://127.0.0.1:8000/felicity-gql"
|
|
documents:
|
|
- "./webapp/graphql/operations/**/*.graphql"
|
|
ignoreNoDocuments: true
|
|
config:
|
|
scalars:
|
|
Long: number
|
|
defaultScalarType: never
|
|
useTypeImports: true
|
|
generates:
|
|
webapp/graphql/:
|
|
preset: client
|
|
config:
|
|
useTypeImports: true
|
|
webapp/graphql/schema.ts:
|
|
plugins:
|
|
- typescript
|
|
- typescript-urql-graphcache
|
|
webapp/graphql/operations:
|
|
preset: near-operation-file
|
|
presetConfig:
|
|
baseTypesPath: ../schema.ts
|
|
extension: .ts
|
|
config:
|
|
preResolveTypes: false
|
|
plugins:
|
|
- typescript-operations
|
|
- typescript-vue-urql
|
|
webapp/graphql/introspection.ts:
|
|
plugins:
|
|
- urql-introspection |