11/* eslint-disable */
22import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' ;
3+
34export type Maybe < T > = T | null ;
45export type InputMaybe < T > = Maybe < T > ;
56export type Exact < T extends { [ key : string ] : unknown } > = { [ K in keyof T ] : T [ K ] } ;
@@ -16,6 +17,19 @@ export type Scalars = {
1617 Float : { input : number ; output : number ; }
1718} ;
1819
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+
1933export type Block = {
2034 __typename ?: 'Block' ;
2135 dataSourceType ?: Maybe < DataSourceType > ;
@@ -50,6 +64,7 @@ export type DataType =
5064
5165export type Entity = {
5266 __typename ?: 'Entity' ;
67+ backlinks : Array < Maybe < Relation > > ;
5368 blocks : Array < Maybe < Block > > ;
5469 createdAt : Scalars [ 'String' ] [ 'output' ] ;
5570 createdAtBlock : Scalars [ 'String' ] [ 'output' ] ;
@@ -65,6 +80,12 @@ export type Entity = {
6580} ;
6681
6782
83+ export type EntityBacklinksArgs = {
84+ filter ?: InputMaybe < RelationFilter > ;
85+ spaceId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
86+ } ;
87+
88+
6889export type EntityRelationsArgs = {
6990 filter ?: InputMaybe < RelationFilter > ;
7091 spaceId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
@@ -77,26 +98,41 @@ export type EntityValuesArgs = {
7798} ;
7899
79100export type EntityFilter = {
80- NOT ?: InputMaybe < EntityFilter > ;
81- OR ?: InputMaybe < Array < EntityFilter > > ;
82- fromRelation ?: InputMaybe < RelationFilter > ;
101+ backlinks ?: InputMaybe < RelationFilter > ;
83102 id ?: InputMaybe < IdFilter > ;
84- toRelation ?: InputMaybe < RelationFilter > ;
103+ not ?: InputMaybe < EntityFilter > ;
104+ or ?: InputMaybe < Array < EntityFilter > > ;
105+ relations ?: InputMaybe < RelationFilter > ;
106+ types ?: InputMaybe < IdFilter > ;
85107 value ?: InputMaybe < ValueFilter > ;
86108} ;
87109
88110export type IdFilter = {
89111 in ?: InputMaybe < Array < Scalars [ 'String' ] [ 'input' ] > > ;
90112} ;
91113
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+
92128export type NumberFilter = {
93- NOT ?: InputMaybe < NumberFilter > ;
94129 exists ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
95130 greaterThan ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
96131 greaterThanOrEqual ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
97132 is ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
98133 lessThan ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
99134 lessThanOrEqual ?: InputMaybe < Scalars [ 'Float' ] [ 'input' ] > ;
135+ not ?: InputMaybe < NumberFilter > ;
100136} ;
101137
102138export type PointFilter = {
@@ -110,23 +146,36 @@ export type Property = {
110146 entity ?: Maybe < Entity > ;
111147 id : Scalars [ 'ID' ] [ 'output' ] ;
112148 relationValueTypes ?: Maybe < Array < Maybe < Type > > > ;
113- renderableType ?: Maybe < RenderableType > ;
149+ renderableType ?: Maybe < Scalars [ 'String' ] [ 'output' ] > ;
114150} ;
115151
116152export type PropertyFilter = {
117153 dataType ?: InputMaybe < DataType > ;
154+ id ?: InputMaybe < IdFilter > ;
118155} ;
119156
120157export type Query = {
121158 __typename ?: 'Query' ;
159+ account ?: Maybe < Account > ;
122160 entities : Array < Maybe < Entity > > ;
123161 entity ?: Maybe < Entity > ;
162+ meta ?: Maybe < Meta > ;
124163 properties : Array < Maybe < Property > > ;
164+ property ?: Maybe < Property > ;
165+ relation ?: Maybe < Relation > ;
166+ relations : Array < Maybe < Relation > > ;
125167 search : Array < Maybe < Entity > > ;
168+ space ?: Maybe < Space > ;
169+ spaces : Array < Maybe < Space > > ;
126170 types : Array < Maybe < Type > > ;
127171} ;
128172
129173
174+ export type QueryAccountArgs = {
175+ address : Scalars [ 'String' ] [ 'input' ] ;
176+ } ;
177+
178+
130179export type QueryEntitiesArgs = {
131180 filter ?: InputMaybe < EntityFilter > ;
132181 limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
@@ -148,7 +197,26 @@ export type QueryPropertiesArgs = {
148197} ;
149198
150199
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+
151218export type QuerySearchArgs = {
219+ filter ?: InputMaybe < SearchFilter > ;
152220 limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
153221 offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
154222 query : Scalars [ 'String' ] [ 'input' ] ;
@@ -157,6 +225,18 @@ export type QuerySearchArgs = {
157225} ;
158226
159227
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+
160240export type QueryTypesArgs = {
161241 limit ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
162242 offset ?: InputMaybe < Scalars [ 'Int' ] [ 'input' ] > ;
@@ -181,21 +261,52 @@ export type Relation = {
181261} ;
182262
183263export type RelationFilter = {
264+ fromEntity ?: InputMaybe < EntityFilter > ;
184265 fromEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
266+ relationEntity ?: InputMaybe < EntityFilter > ;
267+ relationEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
268+ toEntity ?: InputMaybe < EntityFilter > ;
185269 toEntityId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
270+ type ?: InputMaybe < IdFilter > ;
186271 typeId ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
187272} ;
188273
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' ;
192303
193304export type TextFilter = {
194- NOT ?: InputMaybe < TextFilter > ;
195305 contains ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
196306 endsWith ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
197307 exists ?: InputMaybe < Scalars [ 'Boolean' ] [ 'input' ] > ;
198308 is ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
309+ not ?: InputMaybe < TextFilter > ;
199310 startsWith ?: InputMaybe < Scalars [ 'String' ] [ 'input' ] > ;
200311} ;
201312
0 commit comments