-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.yml
38 lines (38 loc) · 1.09 KB
/
codegen.yml
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
34
35
36
37
38
overwrite: true
config:
namingConvention:
typeNames: change-case-all#pascalCase
enumValues: change-case-all#upperCase
transformUnderscore: true
useTypeImports: true
generates:
gql/types.generated.ts:
schema: 'https://api.studio.thegraph.com/query/32278/allo-grants-graph/v0.0.3'
documents: 'graphql/**/*.gql'
plugins:
typescript:
scalars:
BigDecimal: number
BigInt: number
Bytes: number
enumsAsTypes: false
declarationKind:
type: interface
input: interface
typescript-operations:
avoidOptionals: false
preResolveTypes: false
operationResultSuffix: Result
dedupeOperationSuffix: true
exportFragmentSpreadSubTypes: true
typescript-react-apollo:
addDocBlocks: true
dedupeOperationSuffix: true
documentMode: graphQLTag
operationResultSuffix: Result
pureMagicComment: true
withHOC: false
withHooks: true
withMutationFn: false
withResultType: false
withMutationOptionsType: false