forked from Badger-Finance/badger-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.yml
34 lines (34 loc) · 1.49 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
overwrite: true
hooks:
afterAllFileWrite:
- prettier --write
generates:
src/graphql/generated/badger.ts:
schema: https://api.thegraph.com/subgraphs/name/badger-finance/badger-dao-setts
documents:
- src/graphql/fragments/badger-tree-distribution.fragment.graphql
- src/graphql/fragments/sett-harvest.fragment.graphql
- src/graphql/fragments/sett-snapshot.fragment.graphql
- src/graphql/fragments/sett.fragment.graphql
- src/graphql/fragments/setts.fragment.graphql
- src/graphql/fragments/strategy.fragment.graphql
- src/graphql/fragments/token.fragment.graphql
- src/graphql/fragments/transfer.fragment.graphql
- src/graphql/fragments/user-sett-balance.fragment.graphql
- src/graphql/fragments/user.fragment.graphql
- src/graphql/queries/badger-tree-distribution.query.graphql
- src/graphql/queries/controllers.query.graphql
- src/graphql/queries/sett-harvest.query.graphql
- src/graphql/queries/sett-snapshot.query.graphql
- src/graphql/queries/sett.query.graphql
- src/graphql/queries/setts.query.graphql
- src/graphql/queries/strategy.query.graphql
- src/graphql/queries/token.query.graphql
- src/graphql/queries/transfer.query.graphql
- src/graphql/queries/user-sett-balance.query.graphql
- src/graphql/queries/user.query.graphql
- src/graphql/queries/users.query.graphql
plugins:
- typescript
- typescript-graphql-request
- typescript-operations