-
Notifications
You must be signed in to change notification settings - Fork 14
/
codegen.yml
53 lines (52 loc) · 1.7 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
eoverwrite: true
documents: null
generates:
packages/sommelier-types/src/uniswap-v3.ts:
schema: packages/sommelier-types/src/schemas/uniswap-v3.graphql
documents:
- packages/server/src/services/uniswap-v3/graphql/*.graphql
plugins:
- "typescript"
- "typescript-operations"
# config:
# scalars:
# BigDecimal: "bignumber.js#BigNumber"
# BigInt: "bignumber.js#BigNumber"
# Bytes: "string" # https://thegraph.com/docs/define-a-subgraph#built-in-scalar-types
config:
scalars:
BigDecimal: "string"
BigInt: "string"
Bytes: "string" # https://thegraph.com/docs/define-a-subgraph#built-in-scalar-types
packages/server/src/services/uniswap-v3/generated-types.ts:
schema: packages/sommelier-types/src/schemas/uniswap-v3.graphql
documents:
- packages/server/src/services/uniswap-v3/graphql/*.graphql
plugins:
- "typescript"
- "typescript-operations"
- "typescript-generic-sdk"
config:
scalars:
BigDecimal: "string"
BigInt: "string"
Bytes: "string"
# config:
# scalars:
# BigDecimal: "bignumber.js#BigNumber"
# BigInt: "bignumber.js#BigNumber"
# Bytes: "string"
packages/server/src/services/bitquery/generated-types.ts:
schema: packages/sommelier-types/src/schemas/bitquery.graphql
documents:
- packages/server/src/services/bitquery/graphql/*.graphql
plugins:
- "typescript"
- "typescript-operations"
- "typescript-generic-sdk"
packages/sommelier-types/src/bitquery.ts:
schema: packages/sommelier-types/src/schemas/bitquery.graphql
plugins:
- "typescript"
config:
declarationKind: 'interface'