-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
29 lines (29 loc) · 785 Bytes
/
codegen.yml
File metadata and controls
29 lines (29 loc) · 785 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
overwrite: true
generates:
src/generated/skypools-graphql.tsx:
schema: ./schema.graphql
documents: 'src/**/*.skypools.graphql'
plugins:
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
config:
scalars:
DateTime: 'string'
Decimal: 'string'
enumValues:
Network: '../modules/networks#Network'
src/generated/skybridge-graphql.tsx:
schema: https://network.skybridge.exchange/api/v3/graphql
documents: 'src/**/*.skybridge.graphql'
plugins:
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
config:
defaultBaseOptions:
context:
serviceName: 'skybridge'
scalars:
DateTime: 'string'
Decimal: 'string'