mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 17:08:00 -05:00
26 lines
672 B
YAML
26 lines
672 B
YAML
overwrite: true
|
|
require:
|
|
- ts-node/register
|
|
generates:
|
|
./graphql/autogen/types.ts:
|
|
schema: '../../schema.graphql'
|
|
documents:
|
|
- ./graphql/**/(!(*.d)).ts
|
|
plugins:
|
|
- typescript
|
|
- typescript-operations
|
|
- typescript-urql
|
|
- add:
|
|
content: '/* eslint-disable */'
|
|
config:
|
|
gqlImport: fake-tag
|
|
skipTypename: true
|
|
dedupeOperationSuffix: true
|
|
documentMode: documentNode
|
|
|
|
# This generates typenames more in line with the rest
|
|
# of the codebase, but, unfortunately, player_role and
|
|
# PlayerRole create the same output name
|
|
# namingConvention:
|
|
# transformUnderscore: true
|