forked from Badger-Finance/badger-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.yml
43 lines (43 loc) · 1.42 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
overwrite: true
hooks:
afterAllFileWrite:
- prettier --write
generates:
src/graphql/generated/uniswap.ts:
schema: ${UNISWAP_SUBGRAPH_URL}
documents:
- src/graphql/fragments/univ2-pair.fragment.graphql
- src/graphql/queries/univ2-pair.query.graphql
- src/graphql/fragments/uni-pair-day-data.fragment.graphql
- src/graphql/queries/uni-pair-day-datas.query.graphql
plugins:
- typescript
- typescript-graphql-request
- typescript-operations
src/graphql/generated/sushiswap.ts:
schema: ${SUSHISWAP_SUBGRAPH_URL}
documents:
- src/graphql/fragments/sushi-pair-day-data.fragment.graphql
- src/graphql/queries/sushi-pair-day-datas.query.graphql
plugins:
- typescript
- typescript-graphql-request
- typescript-operations
src/graphql/generated/citadel.ts:
schema: ${CITADEL_SUBGRAPH_URL}
documents:
- src/graphql/fragments/vault-balance.fragment.graphql
- src/graphql/queries/vault-balances.query.graphql
plugins:
- typescript
- typescript-graphql-request
- typescript-operations
src/graphql/generated/citadel.knights.round.ts:
schema: ${CITADEL_KNIGHTS_ROUND_SUBGRAPH_URL}
documents:
- src/graphql/fragments/knight-round.fragment.graphql
- src/graphql/queries/knights-round-stats.query.graphql
plugins:
- typescript
- typescript-graphql-request
- typescript-operations