-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
102 lines (94 loc) · 2.32 KB
/
schema.graphql
File metadata and controls
102 lines (94 loc) · 2.32 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Add ! to all values needed when the subgraph allows deployment
"Users structure"
type User @entity {
id: ID!
walletAddress: Bytes!
"Profile data in IPFS"
profileInfoCID: String!
metaData: UserMetadata
email: String
website: String
links: [Link!]
"Dates as BigInts, usefull for sorting"
createdAt: BigInt
updatedAt: BigInt
"Lens Handle can be null for collectors"
lensHandle: String
}
type UserMetadata @entity {
id: ID!
name: String
bio: String
}
"If there's a link it will need this structure"
type Link @entity {
id: ID!
name: String!
url: String!
}
"Font Project"
type FontProject @entity {
id: ID!
creatorAddress: Bytes!
"Price per character"
perCharacterMintPrice: BigInt
"Font metadata CID in IPFS"
metaDataCID: String!
"Font metadata data from IPFS"
metaData: FontMetadata
"Superfluid Immediate Distribution Agreement data"
royaltyIDAIndex: BigInt
idaDistributionToken: Bytes
"Font files stored in IPFS"
fontFilesCID: String
"Number of mints defined by creator"
mintLimit: BigInt
"Dates as BigInts, usefull for sorting"
launchDateTime: BigInt
createdAt: BigInt
updatedAt: BigInt
}
type FontMetadata @entity {
id: ID!
name: String
description: String
}
# "Font Stream, funders, and collaborators"
# type FontStream @entity {
# id: ID!
# name: String!
# description: String
# aduration: BigInt!
# fundingGoalAmount: BigInt!
# "Dates as BigInts, usefull for sorting"
# startDateTime: BigInt!
# createdAt: BigInt!
# updatedAt: BigInt
# proposer: User!
# isApproved: Boolean!
# project: FontProject!
# "Superfluid SuperToken address"
# streamingSuperToken: Bytes!
# fundings: [FontStreamFund!]
# collaborations: [FontStreamCollaboration!]
# }
# type FontStreamFund @entity {
# id: ID!
# funder: User!
# amount: BigInt!
# rate: BigInt!
# stream: FontStream!
# createdAt: BigInt!
# updatedAt: BigInt
# }
# type FontStreamCollaboration @entity {
# id: ID!
# proposer: User!
# "Path to ZIP file with source font"
# deliverablesCID: String!
# funderApprovedVoters: [User!]
# funderDisapprovedVoters: [User!]
# stream: FontStream!
# createdAt: BigInt!
# updatedAt: BigInt
# }