-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
33 lines (28 loc) · 687 Bytes
/
codegen.yml
File metadata and controls
33 lines (28 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
overwrite: true
schema: https://siege.stratroulette.net/graphql
documents:
- src/**/*.graphql
hooks:
afterOneFileWrite:
- prettier --write
config:
scalars:
DateTime: string
generates:
src/graphql/generated.ts:
plugins:
- add:
content: "/* eslint-disable unicorn/no-abusive-eslint-disable */"
- add:
content: "/* eslint-disable */"
- add:
content: "/* THIS IS A GENERATED FILE */"
- typescript
- typescript-operations
config:
pureMagicComment: true
arrayInputCoercion: false
immutableTypes: true
avoidOptionals: true
skipTypename: false
nonOptionalTypename: true