mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 08:58:02 -05:00
28 lines
717 B
YAML
28 lines
717 B
YAML
overwrite: true
|
|
require:
|
|
- ts-node/register
|
|
schema: '../../schema.graphql'
|
|
generates:
|
|
./src/autogen/hasura-sdk.ts:
|
|
# preset: client
|
|
documents:
|
|
- ./src/graphql/**/(!(*.d)).ts
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-graphql-request
|
|
# - add:
|
|
# content:
|
|
# - '/* eslint-disable */'
|
|
config:
|
|
withHooks: true
|
|
gqlImport: 'fake-tag'
|
|
skipTypename: true
|
|
dedupeOperationSuffix: true
|
|
dedupeFragments: true
|
|
documentMode: 'documentNode'
|
|
emitLegacyCommonJSImports: false
|
|
immutableTypes: true
|
|
# scalars:
|
|
# account_type: "'ETHEREUM' | 'DISCORD' | 'GITHUB' | 'TWITTER' | 'DISCOURSE'"
|