-
Notifications
You must be signed in to change notification settings - Fork 2
/
schema.graphql
70 lines (67 loc) · 1.24 KB
/
schema.graphql
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
type Token @entity {
id: ID!
owner: User!
tokenID: BigInt!
tokenURI: String!
ipfsHashURI: TokenMetadata
updatedAtTimestamp: BigInt
}
type TokenMetadata @entity {
id: ID!
image: String!
name: String!
traitType0: String!
value0: String!
traitType1: String!
value1: String!
traitType2: String
value2: String
traitType3: String
value3: String
traitType4: String
value4: String
traitType5: String
value5: String
traitType6: String
value6: String
traitType7: String
value7: String
traitType8: String
value8: String
}
type User @entity {
id: ID!
tokens: [Token!]! @derivedFrom(field: "owner")
}
type _Schema_
@fulltext(
name: "beanzSearch"
language: en
algorithm: rank
include: [
{
entity: "TokenMetadata"
fields: [
{ name: "name" }
{ name: "traitType0" }
{ name: "traitType1" }
{ name: "traitType2" }
{ name: "traitType3" }
{ name: "traitType4" }
{ name: "traitType5" }
{ name: "traitType6" }
{ name: "traitType7" }
{ name: "traitType8" }
{ name: "value0" }
{ name: "value1" }
{ name: "value2" }
{ name: "value3" }
{ name: "value4" }
{ name: "value5" }
{ name: "value6" }
{ name: "value7" }
{ name: "value8" }
]
}
]
)