1
1
/* eslint-disable */
2
2
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' ;
3
+
3
4
export type Maybe < T > = T | null ;
4
5
export type InputMaybe < T > = Maybe < T > ;
5
6
export type Exact < T extends { [ key : string ] : unknown } > = { [ K in keyof T ] : T [ K ] } ;
@@ -16,6 +17,19 @@ export type Scalars = {
16
17
Float : { input : number ; output : number ; }
17
18
} ;
18
19
20
+ export type Account = {
21
+ __typename ?: 'Account' ;
22
+ address : Scalars [ 'String' ] [ 'output' ] ;
23
+ id : Scalars [ 'ID' ] [ 'output' ] ;
24
+ spacesWhereEdtitor ?: Maybe < Array < Maybe < Space > > > ;
25
+ spacesWhereMember ?: Maybe < Array < Maybe < Space > > > ;
26
+ } ;
27
+
28
+ export type AddressFilter = {
29
+ in ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
30
+ is ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
31
+ } ;
32
+
19
33
export type Block = {
20
34
__typename ?: 'Block' ;
21
35
dataSourceType ?: Maybe < DataSourceType > ;
@@ -50,6 +64,7 @@ export type DataType =
50
64
51
65
export type Entity = {
52
66
__typename ?: 'Entity' ;
67
+ backlinks : Array < Maybe < Relation > > ;
53
68
blocks : Array < Maybe < Block > > ;
54
69
createdAt : Scalars [ 'String' ] [ 'output' ] ;
55
70
createdAtBlock : Scalars [ 'String' ] [ 'output' ] ;
@@ -65,6 +80,12 @@ export type Entity = {
65
80
} ;
66
81
67
82
83
+ export type EntityBacklinksArgs = {
84
+ filter ?: InputMaybe < RelationFilter > ;
85
+ spaceId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
86
+ } ;
87
+
88
+
68
89
export type EntityRelationsArgs = {
69
90
filter ?: InputMaybe < RelationFilter > ;
70
91
spaceId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -77,26 +98,41 @@ export type EntityValuesArgs = {
77
98
} ;
78
99
79
100
export type EntityFilter = {
80
- NOT ?: InputMaybe < EntityFilter > ;
81
- OR ?: InputMaybe < Array < EntityFilter > > ;
82
- fromRelation ?: InputMaybe < RelationFilter > ;
101
+ backlinks ?: InputMaybe < RelationFilter > ;
83
102
id ?: InputMaybe < IdFilter > ;
84
- toRelation ?: InputMaybe < RelationFilter > ;
103
+ not ?: InputMaybe < EntityFilter > ;
104
+ or ?: InputMaybe < Array < EntityFilter > > ;
105
+ relations ?: InputMaybe < RelationFilter > ;
106
+ types ?: InputMaybe < IdFilter > ;
85
107
value ?: InputMaybe < ValueFilter > ;
86
108
} ;
87
109
88
110
export type IdFilter = {
89
111
in ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
90
112
} ;
91
113
114
+ export type Membership = {
115
+ __typename ?: 'Membership' ;
116
+ address : Scalars [ 'String' ] [ 'output' ] ;
117
+ id : Scalars [ 'ID' ] [ 'output' ] ;
118
+ space ?: Maybe < Space > ;
119
+ spaceId : Scalars [ 'String' ] [ 'output' ] ;
120
+ } ;
121
+
122
+ export type Meta = {
123
+ __typename ?: 'Meta' ;
124
+ blockCursor ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
125
+ blockNumber ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
126
+ } ;
127
+
92
128
export type NumberFilter = {
93
- NOT ?: InputMaybe < NumberFilter > ;
94
129
exists ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
95
130
greaterThan ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
96
131
greaterThanOrEqual ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
97
132
is ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
98
133
lessThan ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
99
134
lessThanOrEqual ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
135
+ not ?: InputMaybe < NumberFilter > ;
100
136
} ;
101
137
102
138
export type PointFilter = {
@@ -110,23 +146,36 @@ export type Property = {
110
146
entity ?: Maybe < Entity > ;
111
147
id : Scalars [ 'ID' ] [ 'output' ] ;
112
148
relationValueTypes ?: Maybe < Array < Maybe < Type > > > ;
113
- renderableType ?: Maybe < RenderableType > ;
149
+ renderableType ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
114
150
} ;
115
151
116
152
export type PropertyFilter = {
117
153
dataType ?: InputMaybe < DataType > ;
154
+ id ?: InputMaybe < IdFilter > ;
118
155
} ;
119
156
120
157
export type Query = {
121
158
__typename ?: 'Query' ;
159
+ account ?: Maybe < Account > ;
122
160
entities : Array < Maybe < Entity > > ;
123
161
entity ?: Maybe < Entity > ;
162
+ meta ?: Maybe < Meta > ;
124
163
properties : Array < Maybe < Property > > ;
164
+ property ?: Maybe < Property > ;
165
+ relation ?: Maybe < Relation > ;
166
+ relations : Array < Maybe < Relation > > ;
125
167
search : Array < Maybe < Entity > > ;
168
+ space ?: Maybe < Space > ;
169
+ spaces : Array < Maybe < Space > > ;
126
170
types : Array < Maybe < Type > > ;
127
171
} ;
128
172
129
173
174
+ export type QueryAccountArgs = {
175
+ address : Scalars [ 'String' ] [ 'input' ] ;
176
+ } ;
177
+
178
+
130
179
export type QueryEntitiesArgs = {
131
180
filter ?: InputMaybe < EntityFilter > ;
132
181
limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
@@ -148,7 +197,26 @@ export type QueryPropertiesArgs = {
148
197
} ;
149
198
150
199
200
+ export type QueryPropertyArgs = {
201
+ id : Scalars [ 'String' ] [ 'input' ] ;
202
+ } ;
203
+
204
+
205
+ export type QueryRelationArgs = {
206
+ id : Scalars [ 'String' ] [ 'input' ] ;
207
+ } ;
208
+
209
+
210
+ export type QueryRelationsArgs = {
211
+ filter ?: InputMaybe < RelationFilter > ;
212
+ limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
213
+ offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
214
+ spaceId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
215
+ } ;
216
+
217
+
151
218
export type QuerySearchArgs = {
219
+ filter ?: InputMaybe < SearchFilter > ;
152
220
limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
153
221
offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
154
222
query : Scalars [ 'String' ] [ 'input' ] ;
@@ -157,6 +225,18 @@ export type QuerySearchArgs = {
157
225
} ;
158
226
159
227
228
+ export type QuerySpaceArgs = {
229
+ id : Scalars [ 'String' ] [ 'input' ] ;
230
+ } ;
231
+
232
+
233
+ export type QuerySpacesArgs = {
234
+ filter ?: InputMaybe < SpaceFilter > ;
235
+ limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
236
+ offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
237
+ } ;
238
+
239
+
160
240
export type QueryTypesArgs = {
161
241
limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
162
242
offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
@@ -181,21 +261,52 @@ export type Relation = {
181
261
} ;
182
262
183
263
export type RelationFilter = {
264
+ fromEntity ?: InputMaybe < EntityFilter > ;
184
265
fromEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
266
+ relationEntity ?: InputMaybe < EntityFilter > ;
267
+ relationEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
268
+ toEntity ?: InputMaybe < EntityFilter > ;
185
269
toEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
270
+ type ?: InputMaybe < IdFilter > ;
186
271
typeId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
187
272
} ;
188
273
189
- export type RenderableType =
190
- | 'IMAGE'
191
- | 'URL' ;
274
+ export type SearchFilter = {
275
+ not ?: InputMaybe < SearchFilter > ;
276
+ or ?: InputMaybe < Array < SearchFilter > > ;
277
+ types ?: InputMaybe < IdFilter > ;
278
+ } ;
279
+
280
+ export type Space = {
281
+ __typename ?: 'Space' ;
282
+ daoAddress : Scalars [ 'String' ] [ 'output' ] ;
283
+ editors ?: Maybe < Array < Membership > > ;
284
+ entity ?: Maybe < Entity > ;
285
+ id : Scalars [ 'ID' ] [ 'output' ] ;
286
+ mainVotingAddress ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
287
+ members ?: Maybe < Array < Membership > > ;
288
+ membershipAddress ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
289
+ personalAddress ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
290
+ spaceAddress : Scalars [ 'String' ] [ 'output' ] ;
291
+ type : SpaceType ;
292
+ } ;
293
+
294
+ export type SpaceFilter = {
295
+ editor ?: InputMaybe < AddressFilter > ;
296
+ id ?: InputMaybe < IdFilter > ;
297
+ member ?: InputMaybe < AddressFilter > ;
298
+ } ;
299
+
300
+ export type SpaceType =
301
+ | 'PERSONAL'
302
+ | 'PUBLIC' ;
192
303
193
304
export type TextFilter = {
194
- NOT ?: InputMaybe < TextFilter > ;
195
305
contains ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
196
306
endsWith ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
197
307
exists ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
198
308
is ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
309
+ not ?: InputMaybe < TextFilter > ;
199
310
startsWith ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
200
311
} ;
201
312
0 commit comments