@ludo.ninja/api 2.8.28 → 2.8.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/build/config/index.js +4 -4
  2. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
  3. package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
  4. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
  5. package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
  6. package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
  7. package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
  8. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
  9. package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
  10. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
  11. package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
  12. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
  13. package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
  14. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
  15. package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
  16. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
  17. package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
  18. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
  19. package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
  20. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
  21. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
  22. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
  23. package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
  24. package/build/graphql_tools/__generated__/schema.d.ts +1 -0
  25. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
  26. package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
  27. package/build/hosts/index.d.ts +0 -3
  28. package/build/hosts/index.js +1 -4
  29. package/build/index.d.ts +13 -2
  30. package/build/index.js +25 -3
  31. package/package.json +1 -1
  32. package/src/config/index.ts +50 -50
  33. package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
  34. package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
  35. package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
  36. package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
  37. package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
  38. package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
  39. package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
  40. package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
  41. package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
  42. package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
  43. package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
  44. package/src/graphql_tools/__generated__/schema.ts +1 -0
  45. package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
  46. package/src/hosts/index.ts +0 -6
  47. package/src/index.ts +29 -2
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,794 @@
1
+ import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
2
+ import * as Apollo from '@apollo/client';
3
+ export type Maybe<T> = T | null;
4
+ export type Exact<T extends {
5
+ [key: string]: unknown;
6
+ }> = {
7
+ [K in keyof T]: T[K];
8
+ };
9
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
+ [SubKey in K]?: Maybe<T[SubKey]>;
11
+ };
12
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
+ [SubKey in K]: Maybe<T[SubKey]>;
14
+ };
15
+ export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
16
+ [P in K]-?: NonNullable<T[P]>;
17
+ };
18
+ /** All built-in and custom scalars, mapped to their actual values */
19
+ export type Scalars = {
20
+ ID: string;
21
+ String: string;
22
+ Boolean: boolean;
23
+ Int: number;
24
+ Float: number;
25
+ /** A 64-bit signed integer */
26
+ Long: any;
27
+ };
28
+ export type IGalleriesPageV2 = {
29
+ galleries?: Maybe<Array<Maybe<IGalleryV2>>>;
30
+ nextPageToken?: Maybe<Scalars['String']>;
31
+ };
32
+ export type IGalleryV2 = {
33
+ galleryId: Scalars['ID'];
34
+ galleryType: Scalars['String'];
35
+ name: Scalars['String'];
36
+ description?: Maybe<Scalars['String']>;
37
+ userId: Scalars['ID'];
38
+ username?: Maybe<Scalars['String']>;
39
+ userpic?: Maybe<Scalars['String']>;
40
+ userWallets?: Maybe<Array<Maybe<IWallet>>>;
41
+ banner?: Maybe<Scalars['String']>;
42
+ createdAt?: Maybe<Scalars['Long']>;
43
+ items?: Maybe<Scalars['Int']>;
44
+ views?: Maybe<Scalars['Int']>;
45
+ publiclyAccessible?: Maybe<Scalars['Boolean']>;
46
+ nsfw?: Maybe<Scalars['Int']>;
47
+ rank?: Maybe<Scalars['Float']>;
48
+ creationIds?: Maybe<Array<Maybe<Scalars['String']>>>;
49
+ };
50
+ export type IMutation = {
51
+ setDummy: Scalars['String'];
52
+ createGalleryV2: Scalars['ID'];
53
+ createFavoriteListV2: Scalars['ID'];
54
+ addCreationsToGalleryV2: Scalars['Boolean'];
55
+ addAssetsToGalleryV2: Scalars['Boolean'];
56
+ addCollectionsToGalleryV2: Scalars['Boolean'];
57
+ removeCreationFromGalleryV2: Scalars['Boolean'];
58
+ removeAssetFromGalleryV2: Scalars['Boolean'];
59
+ removeCollectionFromGalleryV2: Scalars['Boolean'];
60
+ editGallery: Scalars['Boolean'];
61
+ deleteGallery: Scalars['Boolean'];
62
+ };
63
+ export type IMutationCreateGalleryV2Args = {
64
+ name: Scalars['String'];
65
+ description?: Maybe<Scalars['String']>;
66
+ publicAccessible?: Maybe<Scalars['Boolean']>;
67
+ creationIds?: Maybe<Array<Maybe<Scalars['String']>>>;
68
+ };
69
+ export type IMutationCreateFavoriteListV2Args = {
70
+ name: Scalars['String'];
71
+ description?: Maybe<Scalars['String']>;
72
+ publicAccessible?: Maybe<Scalars['Boolean']>;
73
+ creationIds?: Maybe<Array<Maybe<Scalars['String']>>>;
74
+ };
75
+ export type IMutationAddCreationsToGalleryV2Args = {
76
+ galleryId: Scalars['ID'];
77
+ creationIds: Array<Scalars['String']>;
78
+ };
79
+ export type IMutationAddAssetsToGalleryV2Args = {
80
+ galleryId: Scalars['ID'];
81
+ assetIds: Array<Scalars['String']>;
82
+ };
83
+ export type IMutationAddCollectionsToGalleryV2Args = {
84
+ galleryId: Scalars['ID'];
85
+ collectionIds: Array<Scalars['String']>;
86
+ };
87
+ export type IMutationRemoveCreationFromGalleryV2Args = {
88
+ galleryId: Scalars['ID'];
89
+ creationId: Scalars['String'];
90
+ };
91
+ export type IMutationRemoveAssetFromGalleryV2Args = {
92
+ galleryId: Scalars['ID'];
93
+ assetId: Scalars['String'];
94
+ };
95
+ export type IMutationRemoveCollectionFromGalleryV2Args = {
96
+ galleryId: Scalars['ID'];
97
+ collectionId: Scalars['String'];
98
+ };
99
+ export type IMutationEditGalleryArgs = {
100
+ galleryId: Scalars['ID'];
101
+ name?: Maybe<Scalars['String']>;
102
+ description?: Maybe<Scalars['String']>;
103
+ publiclyAccessible?: Maybe<Scalars['Boolean']>;
104
+ };
105
+ export type IMutationDeleteGalleryArgs = {
106
+ galleryId: Scalars['ID'];
107
+ };
108
+ export type IQuery = {
109
+ getDummy: Scalars['String'];
110
+ fetchGalleryV2: IGalleryV2;
111
+ fetchUserGalleriesV2: IGalleriesPageV2;
112
+ fetchUserFavoritesV2: IGalleriesPageV2;
113
+ fetchMyGalleriesV2: IGalleriesPageV2;
114
+ fetchMyFavoritesV2: IGalleriesPageV2;
115
+ };
116
+ export type IQueryFetchGalleryV2Args = {
117
+ galleryId: Scalars['String'];
118
+ };
119
+ export type IQueryFetchUserGalleriesV2Args = {
120
+ userId: Scalars['ID'];
121
+ pageSize: Scalars['Int'];
122
+ pageToken?: Maybe<Scalars['String']>;
123
+ };
124
+ export type IQueryFetchUserFavoritesV2Args = {
125
+ userId: Scalars['ID'];
126
+ pageSize: Scalars['Int'];
127
+ pageToken?: Maybe<Scalars['String']>;
128
+ };
129
+ export type IQueryFetchMyGalleriesV2Args = {
130
+ pageSize: Scalars['Int'];
131
+ pageToken?: Maybe<Scalars['String']>;
132
+ };
133
+ export type IQueryFetchMyFavoritesV2Args = {
134
+ pageSize: Scalars['Int'];
135
+ pageToken?: Maybe<Scalars['String']>;
136
+ };
137
+ export type IWallet = {
138
+ userId: Scalars['ID'];
139
+ address: Scalars['String'];
140
+ walletName: Scalars['String'];
141
+ blockchain: Scalars['String'];
142
+ chainId?: Maybe<Scalars['String']>;
143
+ };
144
+ export type ResolverTypeWrapper<T> = Promise<T> | T;
145
+ export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
146
+ resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
147
+ };
148
+ export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
149
+ export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
150
+ export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
151
+ export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
152
+ export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
153
+ subscribe: SubscriptionSubscribeFn<{
154
+ [key in TKey]: TResult;
155
+ }, TParent, TContext, TArgs>;
156
+ resolve?: SubscriptionResolveFn<TResult, {
157
+ [key in TKey]: TResult;
158
+ }, TContext, TArgs>;
159
+ }
160
+ export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
161
+ subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
162
+ resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
163
+ }
164
+ export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
165
+ export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
166
+ export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
167
+ export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
168
+ export type NextResolverFn<T> = () => Promise<T>;
169
+ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
170
+ /** Mapping between all available schema types and the resolvers types */
171
+ export type IResolversTypes = {
172
+ GalleriesPageV2: ResolverTypeWrapper<IGalleriesPageV2>;
173
+ String: ResolverTypeWrapper<Scalars['String']>;
174
+ GalleryV2: ResolverTypeWrapper<IGalleryV2>;
175
+ ID: ResolverTypeWrapper<Scalars['ID']>;
176
+ Int: ResolverTypeWrapper<Scalars['Int']>;
177
+ Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
178
+ Float: ResolverTypeWrapper<Scalars['Float']>;
179
+ Long: ResolverTypeWrapper<Scalars['Long']>;
180
+ Mutation: ResolverTypeWrapper<{}>;
181
+ Query: ResolverTypeWrapper<{}>;
182
+ Wallet: ResolverTypeWrapper<IWallet>;
183
+ };
184
+ /** Mapping between all available schema types and the resolvers parents */
185
+ export type IResolversParentTypes = {
186
+ GalleriesPageV2: IGalleriesPageV2;
187
+ String: Scalars['String'];
188
+ GalleryV2: IGalleryV2;
189
+ ID: Scalars['ID'];
190
+ Int: Scalars['Int'];
191
+ Boolean: Scalars['Boolean'];
192
+ Float: Scalars['Float'];
193
+ Long: Scalars['Long'];
194
+ Mutation: {};
195
+ Query: {};
196
+ Wallet: IWallet;
197
+ };
198
+ export type IOneOfDirectiveArgs = {};
199
+ export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
200
+ export type IGalleriesPageV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['GalleriesPageV2'] = IResolversParentTypes['GalleriesPageV2']> = {
201
+ galleries?: Resolver<Maybe<Array<Maybe<IResolversTypes['GalleryV2']>>>, ParentType, ContextType>;
202
+ nextPageToken?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
203
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
204
+ };
205
+ export type IGalleryV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['GalleryV2'] = IResolversParentTypes['GalleryV2']> = {
206
+ galleryId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
207
+ galleryType?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
208
+ name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
209
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
210
+ userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
211
+ username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
212
+ userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
213
+ userWallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
214
+ banner?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
215
+ createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
216
+ items?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
217
+ views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
218
+ publiclyAccessible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
219
+ nsfw?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
220
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
221
+ creationIds?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
222
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
223
+ };
224
+ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
225
+ name: 'Long';
226
+ }
227
+ export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
228
+ setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
229
+ createGalleryV2?: Resolver<IResolversTypes['ID'], ParentType, ContextType, RequireFields<IMutationCreateGalleryV2Args, 'name'>>;
230
+ createFavoriteListV2?: Resolver<IResolversTypes['ID'], ParentType, ContextType, RequireFields<IMutationCreateFavoriteListV2Args, 'name'>>;
231
+ addCreationsToGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddCreationsToGalleryV2Args, 'galleryId' | 'creationIds'>>;
232
+ addAssetsToGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddAssetsToGalleryV2Args, 'galleryId' | 'assetIds'>>;
233
+ addCollectionsToGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddCollectionsToGalleryV2Args, 'galleryId' | 'collectionIds'>>;
234
+ removeCreationFromGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveCreationFromGalleryV2Args, 'galleryId' | 'creationId'>>;
235
+ removeAssetFromGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveAssetFromGalleryV2Args, 'galleryId' | 'assetId'>>;
236
+ removeCollectionFromGalleryV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveCollectionFromGalleryV2Args, 'galleryId' | 'collectionId'>>;
237
+ editGallery?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationEditGalleryArgs, 'galleryId'>>;
238
+ deleteGallery?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationDeleteGalleryArgs, 'galleryId'>>;
239
+ };
240
+ export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
241
+ getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
242
+ fetchGalleryV2?: Resolver<IResolversTypes['GalleryV2'], ParentType, ContextType, RequireFields<IQueryFetchGalleryV2Args, 'galleryId'>>;
243
+ fetchUserGalleriesV2?: Resolver<IResolversTypes['GalleriesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchUserGalleriesV2Args, 'userId' | 'pageSize'>>;
244
+ fetchUserFavoritesV2?: Resolver<IResolversTypes['GalleriesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchUserFavoritesV2Args, 'userId' | 'pageSize'>>;
245
+ fetchMyGalleriesV2?: Resolver<IResolversTypes['GalleriesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchMyGalleriesV2Args, 'pageSize'>>;
246
+ fetchMyFavoritesV2?: Resolver<IResolversTypes['GalleriesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchMyFavoritesV2Args, 'pageSize'>>;
247
+ };
248
+ export type IWalletResolvers<ContextType = any, ParentType extends IResolversParentTypes['Wallet'] = IResolversParentTypes['Wallet']> = {
249
+ userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
250
+ address?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
251
+ walletName?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
252
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
253
+ chainId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
254
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
255
+ };
256
+ export type IResolvers<ContextType = any> = {
257
+ GalleriesPageV2?: IGalleriesPageV2Resolvers<ContextType>;
258
+ GalleryV2?: IGalleryV2Resolvers<ContextType>;
259
+ Long?: GraphQLScalarType;
260
+ Mutation?: IMutationResolvers<ContextType>;
261
+ Query?: IQueryResolvers<ContextType>;
262
+ Wallet?: IWalletResolvers<ContextType>;
263
+ };
264
+ export type IDirectiveResolvers<ContextType = any> = {
265
+ oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
266
+ };
267
+ export type IAddAssetsToGalleryV2MutationVariables = Exact<{
268
+ galleryId: Scalars['ID'];
269
+ assetIds: Array<Scalars['String']>;
270
+ }>;
271
+ export type IAddAssetsToGalleryV2Mutation = Pick<IMutation, 'addAssetsToGalleryV2'>;
272
+ export type IAddCollectionsToGalleryV2MutationVariables = Exact<{
273
+ galleryId: Scalars['ID'];
274
+ collectionIds: Array<Scalars['String']>;
275
+ }>;
276
+ export type IAddCollectionsToGalleryV2Mutation = Pick<IMutation, 'addCollectionsToGalleryV2'>;
277
+ export type IAddCreationsToGalleryV2MutationVariables = Exact<{
278
+ galleryId: Scalars['ID'];
279
+ creationIds: Array<Scalars['String']>;
280
+ }>;
281
+ export type IAddCreationsToGalleryV2Mutation = Pick<IMutation, 'addCreationsToGalleryV2'>;
282
+ export type ICreateFavoriteListV2MutationVariables = Exact<{
283
+ name: Scalars['String'];
284
+ description?: Maybe<Scalars['String']>;
285
+ publicAccessible?: Maybe<Scalars['Boolean']>;
286
+ creationIds?: Maybe<Array<Maybe<Scalars['String']>>>;
287
+ }>;
288
+ export type ICreateFavoriteListV2Mutation = Pick<IMutation, 'createFavoriteListV2'>;
289
+ export type ICreateGalleryV2MutationVariables = Exact<{
290
+ name: Scalars['String'];
291
+ description?: Maybe<Scalars['String']>;
292
+ publicAccessible?: Maybe<Scalars['Boolean']>;
293
+ creationIds?: Maybe<Array<Maybe<Scalars['String']>>>;
294
+ }>;
295
+ export type ICreateGalleryV2Mutation = Pick<IMutation, 'createGalleryV2'>;
296
+ export type IDeleteGalleryMutationVariables = Exact<{
297
+ galleryId: Scalars['ID'];
298
+ }>;
299
+ export type IDeleteGalleryMutation = Pick<IMutation, 'deleteGallery'>;
300
+ export type IEditGalleryMutationVariables = Exact<{
301
+ galleryId: Scalars['ID'];
302
+ name?: Maybe<Scalars['String']>;
303
+ description?: Maybe<Scalars['String']>;
304
+ }>;
305
+ export type IEditGalleryMutation = Pick<IMutation, 'editGallery'>;
306
+ export type IRemoveAssetFromGalleryV2MutationVariables = Exact<{
307
+ galleryId: Scalars['ID'];
308
+ assetId: Scalars['String'];
309
+ }>;
310
+ export type IRemoveAssetFromGalleryV2Mutation = Pick<IMutation, 'removeAssetFromGalleryV2'>;
311
+ export type IRemoveCollectionFromGalleryV2MutationVariables = Exact<{
312
+ galleryId: Scalars['ID'];
313
+ collectionId: Scalars['String'];
314
+ }>;
315
+ export type IRemoveCollectionFromGalleryV2Mutation = Pick<IMutation, 'removeCollectionFromGalleryV2'>;
316
+ export type IRemoveCreationFromGalleryV2MutationVariables = Exact<{
317
+ galleryId: Scalars['ID'];
318
+ creationId: Scalars['String'];
319
+ }>;
320
+ export type IRemoveCreationFromGalleryV2Mutation = Pick<IMutation, 'removeCreationFromGalleryV2'>;
321
+ export type IFetchGalleryV2QueryVariables = Exact<{
322
+ galleryId: Scalars['String'];
323
+ }>;
324
+ export type IFetchGalleryV2Query = {
325
+ fetchGalleryV2: Pick<IGalleryV2, 'galleryId' | 'galleryType' | 'name' | 'description' | 'userId' | 'username' | 'userpic' | 'banner' | 'createdAt' | 'items' | 'views' | 'publiclyAccessible' | 'nsfw' | 'creationIds'>;
326
+ };
327
+ export type IFetchMyFavoritesV2QueryVariables = Exact<{
328
+ pageSize: Scalars['Int'];
329
+ pageToken?: Maybe<Scalars['String']>;
330
+ }>;
331
+ export type IFetchMyFavoritesV2Query = {
332
+ fetchMyFavoritesV2: (Pick<IGalleriesPageV2, 'nextPageToken'> & {
333
+ galleries?: Maybe<Array<Maybe<Pick<IGalleryV2, 'galleryId' | 'galleryType' | 'name' | 'description' | 'userId' | 'username' | 'userpic' | 'banner' | 'createdAt' | 'items' | 'views' | 'publiclyAccessible' | 'nsfw' | 'creationIds'>>>>;
334
+ });
335
+ };
336
+ export type IFetchMyGalleriesV2QueryVariables = Exact<{
337
+ pageSize: Scalars['Int'];
338
+ pageToken?: Maybe<Scalars['String']>;
339
+ }>;
340
+ export type IFetchMyGalleriesV2Query = {
341
+ fetchMyGalleriesV2: (Pick<IGalleriesPageV2, 'nextPageToken'> & {
342
+ galleries?: Maybe<Array<Maybe<Pick<IGalleryV2, 'galleryId' | 'galleryType' | 'name' | 'description' | 'userId' | 'username' | 'userpic' | 'banner' | 'createdAt' | 'items' | 'views' | 'publiclyAccessible' | 'nsfw' | 'creationIds'>>>>;
343
+ });
344
+ };
345
+ export type IFetchUserFavoritesV2QueryVariables = Exact<{
346
+ userId: Scalars['ID'];
347
+ pageSize: Scalars['Int'];
348
+ pageToken?: Maybe<Scalars['String']>;
349
+ }>;
350
+ export type IFetchUserFavoritesV2Query = {
351
+ fetchUserFavoritesV2: (Pick<IGalleriesPageV2, 'nextPageToken'> & {
352
+ galleries?: Maybe<Array<Maybe<(Pick<IGalleryV2, 'galleryId' | 'galleryType' | 'name' | 'description' | 'userId' | 'username' | 'userpic' | 'banner' | 'createdAt' | 'items' | 'views' | 'publiclyAccessible' | 'nsfw' | 'creationIds'> & {
353
+ userWallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
354
+ })>>>;
355
+ });
356
+ };
357
+ export type IFetchUserGalleriesV2QueryVariables = Exact<{
358
+ userId: Scalars['ID'];
359
+ pageSize: Scalars['Int'];
360
+ pageToken?: Maybe<Scalars['String']>;
361
+ }>;
362
+ export type IFetchUserGalleriesV2Query = {
363
+ fetchUserGalleriesV2: (Pick<IGalleriesPageV2, 'nextPageToken'> & {
364
+ galleries?: Maybe<Array<Maybe<(Pick<IGalleryV2, 'galleryId' | 'galleryType' | 'name' | 'description' | 'userId' | 'username' | 'userpic' | 'banner' | 'createdAt' | 'items' | 'views' | 'publiclyAccessible' | 'nsfw' | 'creationIds'> & {
365
+ userWallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
366
+ })>>>;
367
+ });
368
+ };
369
+ export declare const AddAssetsToGalleryV2Document: Apollo.DocumentNode;
370
+ export type IAddAssetsToGalleryV2MutationFn = Apollo.MutationFunction<IAddAssetsToGalleryV2Mutation, IAddAssetsToGalleryV2MutationVariables>;
371
+ /**
372
+ * __useAddAssetsToGalleryV2Mutation__
373
+ *
374
+ * To run a mutation, you first call `useAddAssetsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
375
+ * When your component renders, `useAddAssetsToGalleryV2Mutation` returns a tuple that includes:
376
+ * - A mutate function that you can call at any time to execute the mutation
377
+ * - An object with fields that represent the current status of the mutation's execution
378
+ *
379
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
380
+ *
381
+ * @example
382
+ * const [addAssetsToGalleryV2Mutation, { data, loading, error }] = useAddAssetsToGalleryV2Mutation({
383
+ * variables: {
384
+ * galleryId: // value for 'galleryId'
385
+ * assetIds: // value for 'assetIds'
386
+ * },
387
+ * });
388
+ */
389
+ export declare function useAddAssetsToGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IAddAssetsToGalleryV2Mutation, IAddAssetsToGalleryV2MutationVariables>): Apollo.MutationTuple<IAddAssetsToGalleryV2Mutation, Exact<{
390
+ galleryId: string;
391
+ assetIds: string[];
392
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
393
+ export type AddAssetsToGalleryV2MutationHookResult = ReturnType<typeof useAddAssetsToGalleryV2Mutation>;
394
+ export type AddAssetsToGalleryV2MutationResult = Apollo.MutationResult<IAddAssetsToGalleryV2Mutation>;
395
+ export type AddAssetsToGalleryV2MutationOptions = Apollo.BaseMutationOptions<IAddAssetsToGalleryV2Mutation, IAddAssetsToGalleryV2MutationVariables>;
396
+ export declare const AddCollectionsToGalleryV2Document: Apollo.DocumentNode;
397
+ export type IAddCollectionsToGalleryV2MutationFn = Apollo.MutationFunction<IAddCollectionsToGalleryV2Mutation, IAddCollectionsToGalleryV2MutationVariables>;
398
+ /**
399
+ * __useAddCollectionsToGalleryV2Mutation__
400
+ *
401
+ * To run a mutation, you first call `useAddCollectionsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
402
+ * When your component renders, `useAddCollectionsToGalleryV2Mutation` returns a tuple that includes:
403
+ * - A mutate function that you can call at any time to execute the mutation
404
+ * - An object with fields that represent the current status of the mutation's execution
405
+ *
406
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
407
+ *
408
+ * @example
409
+ * const [addCollectionsToGalleryV2Mutation, { data, loading, error }] = useAddCollectionsToGalleryV2Mutation({
410
+ * variables: {
411
+ * galleryId: // value for 'galleryId'
412
+ * collectionIds: // value for 'collectionIds'
413
+ * },
414
+ * });
415
+ */
416
+ export declare function useAddCollectionsToGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IAddCollectionsToGalleryV2Mutation, IAddCollectionsToGalleryV2MutationVariables>): Apollo.MutationTuple<IAddCollectionsToGalleryV2Mutation, Exact<{
417
+ galleryId: string;
418
+ collectionIds: string[];
419
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
420
+ export type AddCollectionsToGalleryV2MutationHookResult = ReturnType<typeof useAddCollectionsToGalleryV2Mutation>;
421
+ export type AddCollectionsToGalleryV2MutationResult = Apollo.MutationResult<IAddCollectionsToGalleryV2Mutation>;
422
+ export type AddCollectionsToGalleryV2MutationOptions = Apollo.BaseMutationOptions<IAddCollectionsToGalleryV2Mutation, IAddCollectionsToGalleryV2MutationVariables>;
423
+ export declare const AddCreationsToGalleryV2Document: Apollo.DocumentNode;
424
+ export type IAddCreationsToGalleryV2MutationFn = Apollo.MutationFunction<IAddCreationsToGalleryV2Mutation, IAddCreationsToGalleryV2MutationVariables>;
425
+ /**
426
+ * __useAddCreationsToGalleryV2Mutation__
427
+ *
428
+ * To run a mutation, you first call `useAddCreationsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
429
+ * When your component renders, `useAddCreationsToGalleryV2Mutation` returns a tuple that includes:
430
+ * - A mutate function that you can call at any time to execute the mutation
431
+ * - An object with fields that represent the current status of the mutation's execution
432
+ *
433
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
434
+ *
435
+ * @example
436
+ * const [addCreationsToGalleryV2Mutation, { data, loading, error }] = useAddCreationsToGalleryV2Mutation({
437
+ * variables: {
438
+ * galleryId: // value for 'galleryId'
439
+ * creationIds: // value for 'creationIds'
440
+ * },
441
+ * });
442
+ */
443
+ export declare function useAddCreationsToGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IAddCreationsToGalleryV2Mutation, IAddCreationsToGalleryV2MutationVariables>): Apollo.MutationTuple<IAddCreationsToGalleryV2Mutation, Exact<{
444
+ galleryId: string;
445
+ creationIds: string[];
446
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
447
+ export type AddCreationsToGalleryV2MutationHookResult = ReturnType<typeof useAddCreationsToGalleryV2Mutation>;
448
+ export type AddCreationsToGalleryV2MutationResult = Apollo.MutationResult<IAddCreationsToGalleryV2Mutation>;
449
+ export type AddCreationsToGalleryV2MutationOptions = Apollo.BaseMutationOptions<IAddCreationsToGalleryV2Mutation, IAddCreationsToGalleryV2MutationVariables>;
450
+ export declare const CreateFavoriteListV2Document: Apollo.DocumentNode;
451
+ export type ICreateFavoriteListV2MutationFn = Apollo.MutationFunction<ICreateFavoriteListV2Mutation, ICreateFavoriteListV2MutationVariables>;
452
+ /**
453
+ * __useCreateFavoriteListV2Mutation__
454
+ *
455
+ * To run a mutation, you first call `useCreateFavoriteListV2Mutation` within a React component and pass it any options that fit your needs.
456
+ * When your component renders, `useCreateFavoriteListV2Mutation` returns a tuple that includes:
457
+ * - A mutate function that you can call at any time to execute the mutation
458
+ * - An object with fields that represent the current status of the mutation's execution
459
+ *
460
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
461
+ *
462
+ * @example
463
+ * const [createFavoriteListV2Mutation, { data, loading, error }] = useCreateFavoriteListV2Mutation({
464
+ * variables: {
465
+ * name: // value for 'name'
466
+ * description: // value for 'description'
467
+ * publicAccessible: // value for 'publicAccessible'
468
+ * creationIds: // value for 'creationIds'
469
+ * },
470
+ * });
471
+ */
472
+ export declare function useCreateFavoriteListV2Mutation(baseOptions?: Apollo.MutationHookOptions<ICreateFavoriteListV2Mutation, ICreateFavoriteListV2MutationVariables>): Apollo.MutationTuple<ICreateFavoriteListV2Mutation, Exact<{
473
+ name: string;
474
+ description?: Maybe<string> | undefined;
475
+ publicAccessible?: Maybe<boolean> | undefined;
476
+ creationIds?: Maybe<Maybe<string>[]> | undefined;
477
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
478
+ export type CreateFavoriteListV2MutationHookResult = ReturnType<typeof useCreateFavoriteListV2Mutation>;
479
+ export type CreateFavoriteListV2MutationResult = Apollo.MutationResult<ICreateFavoriteListV2Mutation>;
480
+ export type CreateFavoriteListV2MutationOptions = Apollo.BaseMutationOptions<ICreateFavoriteListV2Mutation, ICreateFavoriteListV2MutationVariables>;
481
+ export declare const CreateGalleryV2Document: Apollo.DocumentNode;
482
+ export type ICreateGalleryV2MutationFn = Apollo.MutationFunction<ICreateGalleryV2Mutation, ICreateGalleryV2MutationVariables>;
483
+ /**
484
+ * __useCreateGalleryV2Mutation__
485
+ *
486
+ * To run a mutation, you first call `useCreateGalleryV2Mutation` within a React component and pass it any options that fit your needs.
487
+ * When your component renders, `useCreateGalleryV2Mutation` returns a tuple that includes:
488
+ * - A mutate function that you can call at any time to execute the mutation
489
+ * - An object with fields that represent the current status of the mutation's execution
490
+ *
491
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
492
+ *
493
+ * @example
494
+ * const [createGalleryV2Mutation, { data, loading, error }] = useCreateGalleryV2Mutation({
495
+ * variables: {
496
+ * name: // value for 'name'
497
+ * description: // value for 'description'
498
+ * publicAccessible: // value for 'publicAccessible'
499
+ * creationIds: // value for 'creationIds'
500
+ * },
501
+ * });
502
+ */
503
+ export declare function useCreateGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<ICreateGalleryV2Mutation, ICreateGalleryV2MutationVariables>): Apollo.MutationTuple<ICreateGalleryV2Mutation, Exact<{
504
+ name: string;
505
+ description?: Maybe<string> | undefined;
506
+ publicAccessible?: Maybe<boolean> | undefined;
507
+ creationIds?: Maybe<Maybe<string>[]> | undefined;
508
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
509
+ export type CreateGalleryV2MutationHookResult = ReturnType<typeof useCreateGalleryV2Mutation>;
510
+ export type CreateGalleryV2MutationResult = Apollo.MutationResult<ICreateGalleryV2Mutation>;
511
+ export type CreateGalleryV2MutationOptions = Apollo.BaseMutationOptions<ICreateGalleryV2Mutation, ICreateGalleryV2MutationVariables>;
512
+ export declare const DeleteGalleryDocument: Apollo.DocumentNode;
513
+ export type IDeleteGalleryMutationFn = Apollo.MutationFunction<IDeleteGalleryMutation, IDeleteGalleryMutationVariables>;
514
+ /**
515
+ * __useDeleteGalleryMutation__
516
+ *
517
+ * To run a mutation, you first call `useDeleteGalleryMutation` within a React component and pass it any options that fit your needs.
518
+ * When your component renders, `useDeleteGalleryMutation` returns a tuple that includes:
519
+ * - A mutate function that you can call at any time to execute the mutation
520
+ * - An object with fields that represent the current status of the mutation's execution
521
+ *
522
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
523
+ *
524
+ * @example
525
+ * const [deleteGalleryMutation, { data, loading, error }] = useDeleteGalleryMutation({
526
+ * variables: {
527
+ * galleryId: // value for 'galleryId'
528
+ * },
529
+ * });
530
+ */
531
+ export declare function useDeleteGalleryMutation(baseOptions?: Apollo.MutationHookOptions<IDeleteGalleryMutation, IDeleteGalleryMutationVariables>): Apollo.MutationTuple<IDeleteGalleryMutation, Exact<{
532
+ galleryId: string;
533
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
534
+ export type DeleteGalleryMutationHookResult = ReturnType<typeof useDeleteGalleryMutation>;
535
+ export type DeleteGalleryMutationResult = Apollo.MutationResult<IDeleteGalleryMutation>;
536
+ export type DeleteGalleryMutationOptions = Apollo.BaseMutationOptions<IDeleteGalleryMutation, IDeleteGalleryMutationVariables>;
537
+ export declare const EditGalleryDocument: Apollo.DocumentNode;
538
+ export type IEditGalleryMutationFn = Apollo.MutationFunction<IEditGalleryMutation, IEditGalleryMutationVariables>;
539
+ /**
540
+ * __useEditGalleryMutation__
541
+ *
542
+ * To run a mutation, you first call `useEditGalleryMutation` within a React component and pass it any options that fit your needs.
543
+ * When your component renders, `useEditGalleryMutation` returns a tuple that includes:
544
+ * - A mutate function that you can call at any time to execute the mutation
545
+ * - An object with fields that represent the current status of the mutation's execution
546
+ *
547
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
548
+ *
549
+ * @example
550
+ * const [editGalleryMutation, { data, loading, error }] = useEditGalleryMutation({
551
+ * variables: {
552
+ * galleryId: // value for 'galleryId'
553
+ * name: // value for 'name'
554
+ * description: // value for 'description'
555
+ * },
556
+ * });
557
+ */
558
+ export declare function useEditGalleryMutation(baseOptions?: Apollo.MutationHookOptions<IEditGalleryMutation, IEditGalleryMutationVariables>): Apollo.MutationTuple<IEditGalleryMutation, Exact<{
559
+ galleryId: string;
560
+ name?: Maybe<string> | undefined;
561
+ description?: Maybe<string> | undefined;
562
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
563
+ export type EditGalleryMutationHookResult = ReturnType<typeof useEditGalleryMutation>;
564
+ export type EditGalleryMutationResult = Apollo.MutationResult<IEditGalleryMutation>;
565
+ export type EditGalleryMutationOptions = Apollo.BaseMutationOptions<IEditGalleryMutation, IEditGalleryMutationVariables>;
566
+ export declare const RemoveAssetFromGalleryV2Document: Apollo.DocumentNode;
567
+ export type IRemoveAssetFromGalleryV2MutationFn = Apollo.MutationFunction<IRemoveAssetFromGalleryV2Mutation, IRemoveAssetFromGalleryV2MutationVariables>;
568
+ /**
569
+ * __useRemoveAssetFromGalleryV2Mutation__
570
+ *
571
+ * To run a mutation, you first call `useRemoveAssetFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
572
+ * When your component renders, `useRemoveAssetFromGalleryV2Mutation` returns a tuple that includes:
573
+ * - A mutate function that you can call at any time to execute the mutation
574
+ * - An object with fields that represent the current status of the mutation's execution
575
+ *
576
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
577
+ *
578
+ * @example
579
+ * const [removeAssetFromGalleryV2Mutation, { data, loading, error }] = useRemoveAssetFromGalleryV2Mutation({
580
+ * variables: {
581
+ * galleryId: // value for 'galleryId'
582
+ * assetId: // value for 'assetId'
583
+ * },
584
+ * });
585
+ */
586
+ export declare function useRemoveAssetFromGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IRemoveAssetFromGalleryV2Mutation, IRemoveAssetFromGalleryV2MutationVariables>): Apollo.MutationTuple<IRemoveAssetFromGalleryV2Mutation, Exact<{
587
+ galleryId: string;
588
+ assetId: string;
589
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
590
+ export type RemoveAssetFromGalleryV2MutationHookResult = ReturnType<typeof useRemoveAssetFromGalleryV2Mutation>;
591
+ export type RemoveAssetFromGalleryV2MutationResult = Apollo.MutationResult<IRemoveAssetFromGalleryV2Mutation>;
592
+ export type RemoveAssetFromGalleryV2MutationOptions = Apollo.BaseMutationOptions<IRemoveAssetFromGalleryV2Mutation, IRemoveAssetFromGalleryV2MutationVariables>;
593
+ export declare const RemoveCollectionFromGalleryV2Document: Apollo.DocumentNode;
594
+ export type IRemoveCollectionFromGalleryV2MutationFn = Apollo.MutationFunction<IRemoveCollectionFromGalleryV2Mutation, IRemoveCollectionFromGalleryV2MutationVariables>;
595
+ /**
596
+ * __useRemoveCollectionFromGalleryV2Mutation__
597
+ *
598
+ * To run a mutation, you first call `useRemoveCollectionFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
599
+ * When your component renders, `useRemoveCollectionFromGalleryV2Mutation` returns a tuple that includes:
600
+ * - A mutate function that you can call at any time to execute the mutation
601
+ * - An object with fields that represent the current status of the mutation's execution
602
+ *
603
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
604
+ *
605
+ * @example
606
+ * const [removeCollectionFromGalleryV2Mutation, { data, loading, error }] = useRemoveCollectionFromGalleryV2Mutation({
607
+ * variables: {
608
+ * galleryId: // value for 'galleryId'
609
+ * collectionId: // value for 'collectionId'
610
+ * },
611
+ * });
612
+ */
613
+ export declare function useRemoveCollectionFromGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IRemoveCollectionFromGalleryV2Mutation, IRemoveCollectionFromGalleryV2MutationVariables>): Apollo.MutationTuple<IRemoveCollectionFromGalleryV2Mutation, Exact<{
614
+ galleryId: string;
615
+ collectionId: string;
616
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
617
+ export type RemoveCollectionFromGalleryV2MutationHookResult = ReturnType<typeof useRemoveCollectionFromGalleryV2Mutation>;
618
+ export type RemoveCollectionFromGalleryV2MutationResult = Apollo.MutationResult<IRemoveCollectionFromGalleryV2Mutation>;
619
+ export type RemoveCollectionFromGalleryV2MutationOptions = Apollo.BaseMutationOptions<IRemoveCollectionFromGalleryV2Mutation, IRemoveCollectionFromGalleryV2MutationVariables>;
620
+ export declare const RemoveCreationFromGalleryV2Document: Apollo.DocumentNode;
621
+ export type IRemoveCreationFromGalleryV2MutationFn = Apollo.MutationFunction<IRemoveCreationFromGalleryV2Mutation, IRemoveCreationFromGalleryV2MutationVariables>;
622
+ /**
623
+ * __useRemoveCreationFromGalleryV2Mutation__
624
+ *
625
+ * To run a mutation, you first call `useRemoveCreationFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
626
+ * When your component renders, `useRemoveCreationFromGalleryV2Mutation` returns a tuple that includes:
627
+ * - A mutate function that you can call at any time to execute the mutation
628
+ * - An object with fields that represent the current status of the mutation's execution
629
+ *
630
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
631
+ *
632
+ * @example
633
+ * const [removeCreationFromGalleryV2Mutation, { data, loading, error }] = useRemoveCreationFromGalleryV2Mutation({
634
+ * variables: {
635
+ * galleryId: // value for 'galleryId'
636
+ * creationId: // value for 'creationId'
637
+ * },
638
+ * });
639
+ */
640
+ export declare function useRemoveCreationFromGalleryV2Mutation(baseOptions?: Apollo.MutationHookOptions<IRemoveCreationFromGalleryV2Mutation, IRemoveCreationFromGalleryV2MutationVariables>): Apollo.MutationTuple<IRemoveCreationFromGalleryV2Mutation, Exact<{
641
+ galleryId: string;
642
+ creationId: string;
643
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
644
+ export type RemoveCreationFromGalleryV2MutationHookResult = ReturnType<typeof useRemoveCreationFromGalleryV2Mutation>;
645
+ export type RemoveCreationFromGalleryV2MutationResult = Apollo.MutationResult<IRemoveCreationFromGalleryV2Mutation>;
646
+ export type RemoveCreationFromGalleryV2MutationOptions = Apollo.BaseMutationOptions<IRemoveCreationFromGalleryV2Mutation, IRemoveCreationFromGalleryV2MutationVariables>;
647
+ export declare const FetchGalleryV2Document: Apollo.DocumentNode;
648
+ /**
649
+ * __useFetchGalleryV2Query__
650
+ *
651
+ * To run a query within a React component, call `useFetchGalleryV2Query` and pass it any options that fit your needs.
652
+ * When your component renders, `useFetchGalleryV2Query` returns an object from Apollo Client that contains loading, error, and data properties
653
+ * you can use to render your UI.
654
+ *
655
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
656
+ *
657
+ * @example
658
+ * const { data, loading, error } = useFetchGalleryV2Query({
659
+ * variables: {
660
+ * galleryId: // value for 'galleryId'
661
+ * },
662
+ * });
663
+ */
664
+ export declare function useFetchGalleryV2Query(baseOptions: Apollo.QueryHookOptions<IFetchGalleryV2Query, IFetchGalleryV2QueryVariables>): Apollo.QueryResult<IFetchGalleryV2Query, Exact<{
665
+ galleryId: string;
666
+ }>>;
667
+ export declare function useFetchGalleryV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchGalleryV2Query, IFetchGalleryV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchGalleryV2Query, Exact<{
668
+ galleryId: string;
669
+ }>>;
670
+ export type FetchGalleryV2QueryHookResult = ReturnType<typeof useFetchGalleryV2Query>;
671
+ export type FetchGalleryV2LazyQueryHookResult = ReturnType<typeof useFetchGalleryV2LazyQuery>;
672
+ export type FetchGalleryV2QueryResult = Apollo.QueryResult<IFetchGalleryV2Query, IFetchGalleryV2QueryVariables>;
673
+ export declare const FetchMyFavoritesV2Document: Apollo.DocumentNode;
674
+ /**
675
+ * __useFetchMyFavoritesV2Query__
676
+ *
677
+ * To run a query within a React component, call `useFetchMyFavoritesV2Query` and pass it any options that fit your needs.
678
+ * When your component renders, `useFetchMyFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
679
+ * you can use to render your UI.
680
+ *
681
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
682
+ *
683
+ * @example
684
+ * const { data, loading, error } = useFetchMyFavoritesV2Query({
685
+ * variables: {
686
+ * pageSize: // value for 'pageSize'
687
+ * pageToken: // value for 'pageToken'
688
+ * },
689
+ * });
690
+ */
691
+ export declare function useFetchMyFavoritesV2Query(baseOptions: Apollo.QueryHookOptions<IFetchMyFavoritesV2Query, IFetchMyFavoritesV2QueryVariables>): Apollo.QueryResult<IFetchMyFavoritesV2Query, Exact<{
692
+ pageSize: number;
693
+ pageToken?: Maybe<string> | undefined;
694
+ }>>;
695
+ export declare function useFetchMyFavoritesV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyFavoritesV2Query, IFetchMyFavoritesV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyFavoritesV2Query, Exact<{
696
+ pageSize: number;
697
+ pageToken?: Maybe<string> | undefined;
698
+ }>>;
699
+ export type FetchMyFavoritesV2QueryHookResult = ReturnType<typeof useFetchMyFavoritesV2Query>;
700
+ export type FetchMyFavoritesV2LazyQueryHookResult = ReturnType<typeof useFetchMyFavoritesV2LazyQuery>;
701
+ export type FetchMyFavoritesV2QueryResult = Apollo.QueryResult<IFetchMyFavoritesV2Query, IFetchMyFavoritesV2QueryVariables>;
702
+ export declare const FetchMyGalleriesV2Document: Apollo.DocumentNode;
703
+ /**
704
+ * __useFetchMyGalleriesV2Query__
705
+ *
706
+ * To run a query within a React component, call `useFetchMyGalleriesV2Query` and pass it any options that fit your needs.
707
+ * When your component renders, `useFetchMyGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
708
+ * you can use to render your UI.
709
+ *
710
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
711
+ *
712
+ * @example
713
+ * const { data, loading, error } = useFetchMyGalleriesV2Query({
714
+ * variables: {
715
+ * pageSize: // value for 'pageSize'
716
+ * pageToken: // value for 'pageToken'
717
+ * },
718
+ * });
719
+ */
720
+ export declare function useFetchMyGalleriesV2Query(baseOptions: Apollo.QueryHookOptions<IFetchMyGalleriesV2Query, IFetchMyGalleriesV2QueryVariables>): Apollo.QueryResult<IFetchMyGalleriesV2Query, Exact<{
721
+ pageSize: number;
722
+ pageToken?: Maybe<string> | undefined;
723
+ }>>;
724
+ export declare function useFetchMyGalleriesV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyGalleriesV2Query, IFetchMyGalleriesV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyGalleriesV2Query, Exact<{
725
+ pageSize: number;
726
+ pageToken?: Maybe<string> | undefined;
727
+ }>>;
728
+ export type FetchMyGalleriesV2QueryHookResult = ReturnType<typeof useFetchMyGalleriesV2Query>;
729
+ export type FetchMyGalleriesV2LazyQueryHookResult = ReturnType<typeof useFetchMyGalleriesV2LazyQuery>;
730
+ export type FetchMyGalleriesV2QueryResult = Apollo.QueryResult<IFetchMyGalleriesV2Query, IFetchMyGalleriesV2QueryVariables>;
731
+ export declare const FetchUserFavoritesV2Document: Apollo.DocumentNode;
732
+ /**
733
+ * __useFetchUserFavoritesV2Query__
734
+ *
735
+ * To run a query within a React component, call `useFetchUserFavoritesV2Query` and pass it any options that fit your needs.
736
+ * When your component renders, `useFetchUserFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
737
+ * you can use to render your UI.
738
+ *
739
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
740
+ *
741
+ * @example
742
+ * const { data, loading, error } = useFetchUserFavoritesV2Query({
743
+ * variables: {
744
+ * userId: // value for 'userId'
745
+ * pageSize: // value for 'pageSize'
746
+ * pageToken: // value for 'pageToken'
747
+ * },
748
+ * });
749
+ */
750
+ export declare function useFetchUserFavoritesV2Query(baseOptions: Apollo.QueryHookOptions<IFetchUserFavoritesV2Query, IFetchUserFavoritesV2QueryVariables>): Apollo.QueryResult<IFetchUserFavoritesV2Query, Exact<{
751
+ userId: string;
752
+ pageSize: number;
753
+ pageToken?: Maybe<string> | undefined;
754
+ }>>;
755
+ export declare function useFetchUserFavoritesV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserFavoritesV2Query, IFetchUserFavoritesV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserFavoritesV2Query, Exact<{
756
+ userId: string;
757
+ pageSize: number;
758
+ pageToken?: Maybe<string> | undefined;
759
+ }>>;
760
+ export type FetchUserFavoritesV2QueryHookResult = ReturnType<typeof useFetchUserFavoritesV2Query>;
761
+ export type FetchUserFavoritesV2LazyQueryHookResult = ReturnType<typeof useFetchUserFavoritesV2LazyQuery>;
762
+ export type FetchUserFavoritesV2QueryResult = Apollo.QueryResult<IFetchUserFavoritesV2Query, IFetchUserFavoritesV2QueryVariables>;
763
+ export declare const FetchUserGalleriesV2Document: Apollo.DocumentNode;
764
+ /**
765
+ * __useFetchUserGalleriesV2Query__
766
+ *
767
+ * To run a query within a React component, call `useFetchUserGalleriesV2Query` and pass it any options that fit your needs.
768
+ * When your component renders, `useFetchUserGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
769
+ * you can use to render your UI.
770
+ *
771
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
772
+ *
773
+ * @example
774
+ * const { data, loading, error } = useFetchUserGalleriesV2Query({
775
+ * variables: {
776
+ * userId: // value for 'userId'
777
+ * pageSize: // value for 'pageSize'
778
+ * pageToken: // value for 'pageToken'
779
+ * },
780
+ * });
781
+ */
782
+ export declare function useFetchUserGalleriesV2Query(baseOptions: Apollo.QueryHookOptions<IFetchUserGalleriesV2Query, IFetchUserGalleriesV2QueryVariables>): Apollo.QueryResult<IFetchUserGalleriesV2Query, Exact<{
783
+ userId: string;
784
+ pageSize: number;
785
+ pageToken?: Maybe<string> | undefined;
786
+ }>>;
787
+ export declare function useFetchUserGalleriesV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserGalleriesV2Query, IFetchUserGalleriesV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserGalleriesV2Query, Exact<{
788
+ userId: string;
789
+ pageSize: number;
790
+ pageToken?: Maybe<string> | undefined;
791
+ }>>;
792
+ export type FetchUserGalleriesV2QueryHookResult = ReturnType<typeof useFetchUserGalleriesV2Query>;
793
+ export type FetchUserGalleriesV2LazyQueryHookResult = ReturnType<typeof useFetchUserGalleriesV2LazyQuery>;
794
+ export type FetchUserGalleriesV2QueryResult = Apollo.QueryResult<IFetchUserGalleriesV2Query, IFetchUserGalleriesV2QueryVariables>;