forked from qqonline/mStable-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codegen.yml
84 lines (76 loc) · 2 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
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/mstable/schema.graphql:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_MSTABLE}
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/uniswap/schema.graphql:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_UNISWAP}
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/balancer/schema.graphql:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_BALANCER}
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/blocks/schema.graphql:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_BLOCKS}
plugins:
- 'schema-ast'
config:
includeDirectives: true
./src/graphql/mstable.tsx:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_MSTABLE}
documents: 'src/graphql/mstable/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/uniswap.tsx:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_UNISWAP}
documents: 'src/graphql/uniswap/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/balancer.tsx:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_BALANCER}
documents: 'src/graphql/balancer/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'
./src/graphql/blocks.tsx:
overwrite: true
schema: ${REACT_APP_GRAPHQL_ENDPOINT_BLOCKS}
documents: 'src/graphql/blocks/*.graphql'
plugins:
- 'fragment-matcher'
- 'typescript'
- 'typescript-operations'
- 'typescript-react-apollo'