This repository was archived by the owner on Jul 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathcodegen.yml
More file actions
84 lines (76 loc) · 2.32 KB
/
codegen.yml
File metadata and controls
84 lines (76 loc) · 2.32 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
config:
skipTypename: true
withComponent: false
withHOC: false
withHooks: true
scalars:
BigDecimal: string
BigInt: string
Bytes: string
Address: string
ID: string
generates:
./src/graphql/protocol/schema.graphql:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/mstable/mstable-protocol-staging
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/feeders/schema.graphql:
overwrite: true
schema: https://api.studio.thegraph.com/query/948/mstable-feeder-pools-and-vaults/v0.0.2
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/staking-rewards/schema.graphql:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/mstable/mstable-staking-rewards-polygon
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/blocks/schema.graphql:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/protocol.tsx:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/mstable/mstable-protocol-staging
documents: 'src/graphql/protocol/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/feeders.tsx:
overwrite: true
schema: https://api.studio.thegraph.com/query/948/mstable-feeder-pools-and-vaults/v0.0.2
documents: 'src/graphql/feeders/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/staking-rewards.tsx:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/mstable/mstable-staking-rewards-polygon
documents: 'src/graphql/staking-rewards/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/blocks.tsx:
overwrite: true
schema: https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks
documents: 'src/graphql/blocks/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'