-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmesh.config.js
More file actions
38 lines (38 loc) · 786 Bytes
/
mesh.config.js
File metadata and controls
38 lines (38 loc) · 786 Bytes
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
module.exports = {
sources: [
{
name: 'EIP721',
handler: {
graphql: {
endpoint: 'https://api.thegraph.com/subgraphs/name/amxx/eip721-subgraph',
},
},
},
{
name: 'EIP1155',
handler: {
graphql: {
endpoint: 'https://api.thegraph.com/subgraphs/name/amxx/eip1155-subgraph',
},
},
},
],
transforms: [
{
namingConvention: {
typeNames: 'pascalCase',
enumValues: 'camelCase',
fieldNames: 'camelCase',
},
},
],
additionalTypeDefs:
'enum Standard {\n' +
' erc721\n' +
' erc1155\n' +
'}\n' +
'extend type Token {\n' +
' standard: Standard!\n' +
'}\n',
additionalResolvers: ['./mesh/additionalResolvers'],
}