@ludo.ninja/api 1.0.13 → 1.0.14

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.
@@ -1,3720 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = void 0;
27
- exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = void 0;
28
- exports.SaveUserExpectationsDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = void 0;
29
- exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByItemTypeLazyQuery = exports.useFetchCreationsByItemTypeQuery = exports.FetchCreationsByItemTypeDocument = exports.useFetchCreationsLazyQuery = exports.useFetchCreationsQuery = exports.FetchCreationsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = void 0;
30
- exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = void 0;
31
- /* eslint-disable */
32
- const client_1 = require("@apollo/client");
33
- const Apollo = __importStar(require("@apollo/client"));
34
- exports.DislikeAssetDocument = (0, client_1.gql) `
35
- mutation DislikeAsset($assetId: String!) {
36
- dislikeAsset(assetId: $assetId)
37
- }
38
- `;
39
- /**
40
- * __useDislikeAssetMutation__
41
- *
42
- * To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
43
- * When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
44
- * - A mutate function that you can call at any time to execute the mutation
45
- * - An object with fields that represent the current status of the mutation's execution
46
- *
47
- * @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;
48
- *
49
- * @example
50
- * const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
51
- * variables: {
52
- * assetId: // value for 'assetId'
53
- * },
54
- * });
55
- */
56
- function useDislikeAssetMutation(baseOptions) {
57
- return Apollo.useMutation(exports.DislikeAssetDocument, baseOptions);
58
- }
59
- exports.useDislikeAssetMutation = useDislikeAssetMutation;
60
- exports.LikeAssetDocument = (0, client_1.gql) `
61
- mutation LikeAsset($assetId: String!) {
62
- likeAsset(assetId: $assetId)
63
- }
64
- `;
65
- /**
66
- * __useLikeAssetMutation__
67
- *
68
- * To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
69
- * When your component renders, `useLikeAssetMutation` returns a tuple that includes:
70
- * - A mutate function that you can call at any time to execute the mutation
71
- * - An object with fields that represent the current status of the mutation's execution
72
- *
73
- * @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;
74
- *
75
- * @example
76
- * const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
77
- * variables: {
78
- * assetId: // value for 'assetId'
79
- * },
80
- * });
81
- */
82
- function useLikeAssetMutation(baseOptions) {
83
- return Apollo.useMutation(exports.LikeAssetDocument, baseOptions);
84
- }
85
- exports.useLikeAssetMutation = useLikeAssetMutation;
86
- exports.FetchAssetDocument = (0, client_1.gql) `
87
- query FetchAsset($assetId: String!) {
88
- fetchAsset(assetId: $assetId) {
89
- latestPriceCurrency
90
- latestPriceAmount
91
- collectionId
92
- collectionOriginalUrls
93
- collectionTitle
94
- assetId
95
- totalVolumes {
96
- currency
97
- amount
98
- }
99
- blockchain
100
- address
101
- tokenId
102
- name
103
- description
104
- rank
105
- markets {
106
- marketId
107
- marketName
108
- marketDomain
109
- marketUrl
110
- }
111
- collectionMedias {
112
- originalUrl
113
- url
114
- previewUrl
115
- mimeType
116
- sizeRatio
117
- fileSize
118
- }
119
- originalUrls
120
- medias {
121
- originalUrl
122
- url
123
- mimeType
124
- sizeRatio
125
- fileSize
126
- previewUrl
127
- }
128
- ownersAddresses
129
- ownersProfiles {
130
- userId
131
- username
132
- about
133
- userpic
134
- followers
135
- followings
136
- visible
137
- }
138
- creatorsAddresses
139
- creatorsProfiles {
140
- userId
141
- username
142
- about
143
- userpic
144
- followers
145
- followings
146
- visible
147
- }
148
- attributes {
149
- name
150
- value
151
- }
152
- views
153
- visible
154
- blurred
155
- medias {
156
- originalUrl
157
- url
158
- previewUrl
159
- mimeType
160
- sizeRatio
161
- fileSize
162
- }
163
- creatorsProfiles {
164
- username
165
- }
166
- }
167
- }
168
- `;
169
- /**
170
- * __useFetchAssetQuery__
171
- *
172
- * To run a query within a React component, call `useFetchAssetQuery` and pass it any options that fit your needs.
173
- * When your component renders, `useFetchAssetQuery` returns an object from Apollo Client that contains loading, error, and data properties
174
- * you can use to render your UI.
175
- *
176
- * @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;
177
- *
178
- * @example
179
- * const { data, loading, error } = useFetchAssetQuery({
180
- * variables: {
181
- * assetId: // value for 'assetId'
182
- * },
183
- * });
184
- */
185
- function useFetchAssetQuery(baseOptions) {
186
- return Apollo.useQuery(exports.FetchAssetDocument, baseOptions);
187
- }
188
- exports.useFetchAssetQuery = useFetchAssetQuery;
189
- function useFetchAssetLazyQuery(baseOptions) {
190
- return Apollo.useLazyQuery(exports.FetchAssetDocument, baseOptions);
191
- }
192
- exports.useFetchAssetLazyQuery = useFetchAssetLazyQuery;
193
- exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
194
- query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
195
- fetchAssetByBlockchain(
196
- blockchain: $blockchain
197
- address: $address
198
- tokenId: $tokenId
199
- elrondId: $elrondId
200
- ) {
201
- latestPriceCurrency
202
- latestPriceAmount
203
- collectionId
204
- collectionOriginalUrls
205
- collectionTitle
206
- assetId
207
- totalVolumes {
208
- currency
209
- amount
210
- }
211
- blockchain
212
- address
213
- tokenId
214
- name
215
- description
216
- rank
217
- markets {
218
- marketId
219
- marketName
220
- marketDomain
221
- marketUrl
222
- }
223
- collectionMedias {
224
- originalUrl
225
- url
226
- previewUrl
227
- mimeType
228
- sizeRatio
229
- fileSize
230
- }
231
- originalUrls
232
- medias {
233
- originalUrl
234
- url
235
- mimeType
236
- previewUrl
237
- sizeRatio
238
- fileSize
239
- }
240
- ownersAddresses
241
- ownersProfiles {
242
- userId
243
- username
244
- about
245
- userpic
246
- followers
247
- followings
248
- visible
249
- }
250
- creatorsAddresses
251
- creatorsProfiles {
252
- userId
253
- username
254
- about
255
- userpic
256
- followers
257
- followings
258
- visible
259
- }
260
- attributes {
261
- name
262
- value
263
- }
264
- views
265
- visible
266
- blurred
267
- medias {
268
- originalUrl
269
- url
270
- previewUrl
271
- mimeType
272
- sizeRatio
273
- fileSize
274
- }
275
- creatorsProfiles {
276
- username
277
- }
278
- }
279
- }
280
- `;
281
- /**
282
- * __useFetchAssetByBlockchainQuery__
283
- *
284
- * To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
285
- * When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
286
- * you can use to render your UI.
287
- *
288
- * @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;
289
- *
290
- * @example
291
- * const { data, loading, error } = useFetchAssetByBlockchainQuery({
292
- * variables: {
293
- * blockchain: // value for 'blockchain'
294
- * address: // value for 'address'
295
- * tokenId: // value for 'tokenId'
296
- * elrondId: // value for 'elrondId'
297
- * },
298
- * });
299
- */
300
- function useFetchAssetByBlockchainQuery(baseOptions) {
301
- return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
302
- }
303
- exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
304
- function useFetchAssetByBlockchainLazyQuery(baseOptions) {
305
- return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
306
- }
307
- exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
308
- exports.FetchAssetsDocument = (0, client_1.gql) `
309
- query FetchAssets($assetIds: [String!]!) {
310
- fetchAssets(assetIds: $assetIds) {
311
- latestPriceCurrency
312
- latestPriceAmount
313
- collectionId
314
- collectionOriginalUrls
315
- collectionTitle
316
- assetId
317
- totalVolumes {
318
- currency
319
- amount
320
- }
321
- blockchain
322
- address
323
- tokenId
324
- name
325
- description
326
- rank
327
- markets {
328
- marketId
329
- marketName
330
- marketDomain
331
- marketUrl
332
- }
333
- collectionMedias {
334
- originalUrl
335
- url
336
- previewUrl
337
- mimeType
338
- sizeRatio
339
- fileSize
340
- }
341
- originalUrls
342
- medias {
343
- originalUrl
344
- url
345
- mimeType
346
- sizeRatio
347
- fileSize
348
- previewUrl
349
- }
350
- ownersAddresses
351
- ownersProfiles {
352
- userId
353
- username
354
- about
355
- userpic
356
- followers
357
- followings
358
- visible
359
- }
360
- creatorsAddresses
361
- creatorsProfiles {
362
- userId
363
- username
364
- about
365
- userpic
366
- followers
367
- followings
368
- visible
369
- }
370
- attributes {
371
- name
372
- value
373
- }
374
- views
375
- visible
376
- blurred
377
- medias {
378
- originalUrl
379
- url
380
- previewUrl
381
- mimeType
382
- }
383
- creatorsProfiles {
384
- username
385
- }
386
- }
387
- }
388
- `;
389
- /**
390
- * __useFetchAssetsQuery__
391
- *
392
- * To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
393
- * When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
394
- * you can use to render your UI.
395
- *
396
- * @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;
397
- *
398
- * @example
399
- * const { data, loading, error } = useFetchAssetsQuery({
400
- * variables: {
401
- * assetIds: // value for 'assetIds'
402
- * },
403
- * });
404
- */
405
- function useFetchAssetsQuery(baseOptions) {
406
- return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
407
- }
408
- exports.useFetchAssetsQuery = useFetchAssetsQuery;
409
- function useFetchAssetsLazyQuery(baseOptions) {
410
- return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
411
- }
412
- exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
413
- exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
414
- query FetchDynamicAssetLikes($assetId: String!) {
415
- fetchDynamicAssetData(assetId: $assetId) {
416
- isLikedByUser
417
- likesNum
418
- }
419
- }
420
- `;
421
- /**
422
- * __useFetchDynamicAssetLikesQuery__
423
- *
424
- * To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
425
- * When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
426
- * you can use to render your UI.
427
- *
428
- * @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;
429
- *
430
- * @example
431
- * const { data, loading, error } = useFetchDynamicAssetLikesQuery({
432
- * variables: {
433
- * assetId: // value for 'assetId'
434
- * },
435
- * });
436
- */
437
- function useFetchDynamicAssetLikesQuery(baseOptions) {
438
- return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
439
- }
440
- exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
441
- function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
442
- return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
443
- }
444
- exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
445
- exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
446
- query FetchDynamicAssetsLikes($assetIds: [String!]!) {
447
- fetchDynamicAssetsData(assetIds: $assetIds) {
448
- isLikedByUser
449
- likesNum
450
- assetId
451
- }
452
- }
453
- `;
454
- /**
455
- * __useFetchDynamicAssetsLikesQuery__
456
- *
457
- * To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
458
- * When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
459
- * you can use to render your UI.
460
- *
461
- * @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;
462
- *
463
- * @example
464
- * const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
465
- * variables: {
466
- * assetIds: // value for 'assetIds'
467
- * },
468
- * });
469
- */
470
- function useFetchDynamicAssetsLikesQuery(baseOptions) {
471
- return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
472
- }
473
- exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
474
- function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
475
- return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
476
- }
477
- exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
478
- exports.FetchLikedDocument = (0, client_1.gql) `
479
- query FetchLiked($assetId: String!) {
480
- fetchLiked(assetId: $assetId)
481
- }
482
- `;
483
- /**
484
- * __useFetchLikedQuery__
485
- *
486
- * To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
487
- * When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
488
- * you can use to render your UI.
489
- *
490
- * @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;
491
- *
492
- * @example
493
- * const { data, loading, error } = useFetchLikedQuery({
494
- * variables: {
495
- * assetId: // value for 'assetId'
496
- * },
497
- * });
498
- */
499
- function useFetchLikedQuery(baseOptions) {
500
- return Apollo.useQuery(exports.FetchLikedDocument, baseOptions);
501
- }
502
- exports.useFetchLikedQuery = useFetchLikedQuery;
503
- function useFetchLikedLazyQuery(baseOptions) {
504
- return Apollo.useLazyQuery(exports.FetchLikedDocument, baseOptions);
505
- }
506
- exports.useFetchLikedLazyQuery = useFetchLikedLazyQuery;
507
- exports.DislikeCollectionDocument = (0, client_1.gql) `
508
- mutation DislikeCollection($collectionId: String!) {
509
- dislikeCollection(collectionId: $collectionId)
510
- }
511
- `;
512
- /**
513
- * __useDislikeCollectionMutation__
514
- *
515
- * To run a mutation, you first call `useDislikeCollectionMutation` within a React component and pass it any options that fit your needs.
516
- * When your component renders, `useDislikeCollectionMutation` returns a tuple that includes:
517
- * - A mutate function that you can call at any time to execute the mutation
518
- * - An object with fields that represent the current status of the mutation's execution
519
- *
520
- * @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;
521
- *
522
- * @example
523
- * const [dislikeCollectionMutation, { data, loading, error }] = useDislikeCollectionMutation({
524
- * variables: {
525
- * collectionId: // value for 'collectionId'
526
- * },
527
- * });
528
- */
529
- function useDislikeCollectionMutation(baseOptions) {
530
- return Apollo.useMutation(exports.DislikeCollectionDocument, baseOptions);
531
- }
532
- exports.useDislikeCollectionMutation = useDislikeCollectionMutation;
533
- exports.LikeCollectionDocument = (0, client_1.gql) `
534
- mutation LikeCollection($collectionId: String!) {
535
- likeCollection(collectionId: $collectionId)
536
- }
537
- `;
538
- /**
539
- * __useLikeCollectionMutation__
540
- *
541
- * To run a mutation, you first call `useLikeCollectionMutation` within a React component and pass it any options that fit your needs.
542
- * When your component renders, `useLikeCollectionMutation` returns a tuple that includes:
543
- * - A mutate function that you can call at any time to execute the mutation
544
- * - An object with fields that represent the current status of the mutation's execution
545
- *
546
- * @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;
547
- *
548
- * @example
549
- * const [likeCollectionMutation, { data, loading, error }] = useLikeCollectionMutation({
550
- * variables: {
551
- * collectionId: // value for 'collectionId'
552
- * },
553
- * });
554
- */
555
- function useLikeCollectionMutation(baseOptions) {
556
- return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
557
- }
558
- exports.useLikeCollectionMutation = useLikeCollectionMutation;
559
- exports.FetchCollectionDocument = (0, client_1.gql) `
560
- query fetchCollection($collectionId: String!) {
561
- fetchCollection(collectionId: $collectionId) {
562
- collectionId
563
- blockchain
564
- identifier
565
- contractAddress
566
- tokenId
567
- collectionTitle
568
- items
569
- owners
570
- totalVolumes {
571
- currency
572
- amount
573
- }
574
- likes
575
- liked
576
- collectionMarkets {
577
- marketId
578
- marketName
579
- marketDomain
580
- marketUrl
581
- }
582
- creatorsAddresses
583
- creatorsProfiles {
584
- username
585
- userpic
586
- }
587
- verified
588
- originalUrls
589
- rank
590
- floorPrices {
591
- currency
592
- amount
593
- }
594
- }
595
- }
596
- `;
597
- /**
598
- * __useFetchCollectionQuery__
599
- *
600
- * To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
601
- * When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
602
- * you can use to render your UI.
603
- *
604
- * @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;
605
- *
606
- * @example
607
- * const { data, loading, error } = useFetchCollectionQuery({
608
- * variables: {
609
- * collectionId: // value for 'collectionId'
610
- * },
611
- * });
612
- */
613
- function useFetchCollectionQuery(baseOptions) {
614
- return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
615
- }
616
- exports.useFetchCollectionQuery = useFetchCollectionQuery;
617
- function useFetchCollectionLazyQuery(baseOptions) {
618
- return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
619
- }
620
- exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
621
- exports.FetchCollectionsDocument = (0, client_1.gql) `
622
- query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
623
- fetchCollectionAssets(
624
- pageSize: $pageSize
625
- pageToken: $pageToken
626
- collectionId: $collectionId
627
- ) {
628
- nextPageToken
629
- collectionAssets {
630
- collectionId
631
- collectionTitle
632
- assetId
633
- blockchain
634
- address
635
- tokenId
636
- chainId
637
- creatorsAddresses
638
- originalUrls
639
- name
640
- description
641
- likes
642
- liked
643
- views
644
- medias {
645
- originalUrl
646
- url
647
- previewUrl
648
- mimeType
649
- sizeRatio
650
- fileSize
651
- }
652
- visible
653
- createdAt
654
- blurred
655
- rank
656
- }
657
- }
658
- }
659
- `;
660
- /**
661
- * __useFetchCollectionsQuery__
662
- *
663
- * To run a query within a React component, call `useFetchCollectionsQuery` and pass it any options that fit your needs.
664
- * When your component renders, `useFetchCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
665
- * you can use to render your UI.
666
- *
667
- * @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;
668
- *
669
- * @example
670
- * const { data, loading, error } = useFetchCollectionsQuery({
671
- * variables: {
672
- * pageSize: // value for 'pageSize'
673
- * pageToken: // value for 'pageToken'
674
- * collectionId: // value for 'collectionId'
675
- * },
676
- * });
677
- */
678
- function useFetchCollectionsQuery(baseOptions) {
679
- return Apollo.useQuery(exports.FetchCollectionsDocument, baseOptions);
680
- }
681
- exports.useFetchCollectionsQuery = useFetchCollectionsQuery;
682
- function useFetchCollectionsLazyQuery(baseOptions) {
683
- return Apollo.useLazyQuery(exports.FetchCollectionsDocument, baseOptions);
684
- }
685
- exports.useFetchCollectionsLazyQuery = useFetchCollectionsLazyQuery;
686
- exports.FetchCollectionsByIdsDocument = (0, client_1.gql) `
687
- query FetchCollectionsByIds($collectionIds: [String!]!) {
688
- fetchCollectionsByIds(collectionIds: $collectionIds) {
689
- collectionId
690
- blockchain
691
- identifier
692
- contractAddress
693
- tokenId
694
- collectionTitle
695
- items
696
- owners
697
- totalVolumes {
698
- currency
699
- amount
700
- }
701
- likes
702
- liked
703
- collectionMarkets {
704
- marketName
705
- marketDomain
706
- marketUrl
707
- }
708
- creatorsAddresses
709
- creatorsProfiles {
710
- username
711
- userpic
712
- }
713
- verified
714
- originalUrls
715
- rank
716
- floorPrices {
717
- currency
718
- amount
719
- }
720
- }
721
- }
722
- `;
723
- /**
724
- * __useFetchCollectionsByIdsQuery__
725
- *
726
- * To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
727
- * When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
728
- * you can use to render your UI.
729
- *
730
- * @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;
731
- *
732
- * @example
733
- * const { data, loading, error } = useFetchCollectionsByIdsQuery({
734
- * variables: {
735
- * collectionIds: // value for 'collectionIds'
736
- * },
737
- * });
738
- */
739
- function useFetchCollectionsByIdsQuery(baseOptions) {
740
- return Apollo.useQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
741
- }
742
- exports.useFetchCollectionsByIdsQuery = useFetchCollectionsByIdsQuery;
743
- function useFetchCollectionsByIdsLazyQuery(baseOptions) {
744
- return Apollo.useLazyQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
745
- }
746
- exports.useFetchCollectionsByIdsLazyQuery = useFetchCollectionsByIdsLazyQuery;
747
- exports.FetchDynamicCollectionDataDocument = (0, client_1.gql) `
748
- query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
749
- fetchDynamicCollectionData(input: $input) {
750
- isLikedByUser
751
- likesNum
752
- collectionId
753
- collectionAssetsPage {
754
- nextPageToken
755
- collectionAssets {
756
- collectionId
757
- collectionTitle
758
- assetId
759
- blockchain
760
- address
761
- tokenId
762
- chainId
763
- creatorsAddresses
764
- originalUrls
765
- name
766
- description
767
- likes
768
- liked
769
- views
770
- medias {
771
- originalUrl
772
- url
773
- previewUrl
774
- mimeType
775
- sizeRatio
776
- fileSize
777
- }
778
- visible
779
- createdAt
780
- blurred
781
- rank
782
- }
783
- }
784
- }
785
- }
786
- `;
787
- /**
788
- * __useFetchDynamicCollectionDataQuery__
789
- *
790
- * To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
791
- * When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
792
- * you can use to render your UI.
793
- *
794
- * @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;
795
- *
796
- * @example
797
- * const { data, loading, error } = useFetchDynamicCollectionDataQuery({
798
- * variables: {
799
- * input: // value for 'input'
800
- * },
801
- * });
802
- */
803
- function useFetchDynamicCollectionDataQuery(baseOptions) {
804
- return Apollo.useQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
805
- }
806
- exports.useFetchDynamicCollectionDataQuery = useFetchDynamicCollectionDataQuery;
807
- function useFetchDynamicCollectionDataLazyQuery(baseOptions) {
808
- return Apollo.useLazyQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
809
- }
810
- exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
811
- exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
812
- query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
813
- fetchDynamicCollectionsData(input: $input) {
814
- isLikedByUser
815
- likesNum
816
- collectionId
817
- collectionAssetsPage {
818
- nextPageToken
819
- collectionAssets {
820
- collectionId
821
- collectionTitle
822
- assetId
823
- blockchain
824
- address
825
- tokenId
826
- chainId
827
- creatorsAddresses
828
- originalUrls
829
- name
830
- description
831
- likes
832
- liked
833
- views
834
- medias {
835
- originalUrl
836
- url
837
- previewUrl
838
- mimeType
839
- sizeRatio
840
- fileSize
841
- }
842
- visible
843
- createdAt
844
- blurred
845
- rank
846
- }
847
- }
848
- }
849
- }
850
- `;
851
- /**
852
- * __useFetchDynamicCollectionsDataQuery__
853
- *
854
- * To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
855
- * When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
856
- * you can use to render your UI.
857
- *
858
- * @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;
859
- *
860
- * @example
861
- * const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
862
- * variables: {
863
- * input: // value for 'input'
864
- * },
865
- * });
866
- */
867
- function useFetchDynamicCollectionsDataQuery(baseOptions) {
868
- return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
869
- }
870
- exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
871
- function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
872
- return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
873
- }
874
- exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
875
- exports.AddAssetsToGalleryDocument = (0, client_1.gql) `
876
- mutation AddAssetsToGallery($galleryId: ID!, $assetIds: [String!]!) {
877
- addAssetsToGallery(galleryId: $galleryId, assetIds: $assetIds)
878
- }
879
- `;
880
- /**
881
- * __useAddAssetsToGalleryMutation__
882
- *
883
- * To run a mutation, you first call `useAddAssetsToGalleryMutation` within a React component and pass it any options that fit your needs.
884
- * When your component renders, `useAddAssetsToGalleryMutation` returns a tuple that includes:
885
- * - A mutate function that you can call at any time to execute the mutation
886
- * - An object with fields that represent the current status of the mutation's execution
887
- *
888
- * @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;
889
- *
890
- * @example
891
- * const [addAssetsToGalleryMutation, { data, loading, error }] = useAddAssetsToGalleryMutation({
892
- * variables: {
893
- * galleryId: // value for 'galleryId'
894
- * assetIds: // value for 'assetIds'
895
- * },
896
- * });
897
- */
898
- function useAddAssetsToGalleryMutation(baseOptions) {
899
- return Apollo.useMutation(exports.AddAssetsToGalleryDocument, baseOptions);
900
- }
901
- exports.useAddAssetsToGalleryMutation = useAddAssetsToGalleryMutation;
902
- exports.AddAssetsToGalleryV2Document = (0, client_1.gql) `
903
- mutation AddAssetsToGalleryV2($galleryId: ID!, $assetIds: [String!]!) {
904
- addAssetsToGalleryV2(galleryId: $galleryId, assetIds: $assetIds)
905
- }
906
- `;
907
- /**
908
- * __useAddAssetsToGalleryV2Mutation__
909
- *
910
- * To run a mutation, you first call `useAddAssetsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
911
- * When your component renders, `useAddAssetsToGalleryV2Mutation` returns a tuple that includes:
912
- * - A mutate function that you can call at any time to execute the mutation
913
- * - An object with fields that represent the current status of the mutation's execution
914
- *
915
- * @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;
916
- *
917
- * @example
918
- * const [addAssetsToGalleryV2Mutation, { data, loading, error }] = useAddAssetsToGalleryV2Mutation({
919
- * variables: {
920
- * galleryId: // value for 'galleryId'
921
- * assetIds: // value for 'assetIds'
922
- * },
923
- * });
924
- */
925
- function useAddAssetsToGalleryV2Mutation(baseOptions) {
926
- return Apollo.useMutation(exports.AddAssetsToGalleryV2Document, baseOptions);
927
- }
928
- exports.useAddAssetsToGalleryV2Mutation = useAddAssetsToGalleryV2Mutation;
929
- exports.UploadGalleryBannerDocument = (0, client_1.gql) `
930
- mutation UploadGalleryBanner($galleryId: ID!, $file: Upload!) {
931
- uploadGalleryBanner(galleryId: $galleryId, file: $file)
932
- }
933
- `;
934
- /**
935
- * __useUploadGalleryBannerMutation__
936
- *
937
- * To run a mutation, you first call `useUploadGalleryBannerMutation` within a React component and pass it any options that fit your needs.
938
- * When your component renders, `useUploadGalleryBannerMutation` returns a tuple that includes:
939
- * - A mutate function that you can call at any time to execute the mutation
940
- * - An object with fields that represent the current status of the mutation's execution
941
- *
942
- * @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;
943
- *
944
- * @example
945
- * const [uploadGalleryBannerMutation, { data, loading, error }] = useUploadGalleryBannerMutation({
946
- * variables: {
947
- * galleryId: // value for 'galleryId'
948
- * file: // value for 'file'
949
- * },
950
- * });
951
- */
952
- function useUploadGalleryBannerMutation(baseOptions) {
953
- return Apollo.useMutation(exports.UploadGalleryBannerDocument, baseOptions);
954
- }
955
- exports.useUploadGalleryBannerMutation = useUploadGalleryBannerMutation;
956
- exports.AddCollectionsToGalleryDocument = (0, client_1.gql) `
957
- mutation AddCollectionsToGallery($galleryId: ID!, $collectionIds: [String!]!) {
958
- addCollectionsToGallery(galleryId: $galleryId, collectionIds: $collectionIds)
959
- }
960
- `;
961
- /**
962
- * __useAddCollectionsToGalleryMutation__
963
- *
964
- * To run a mutation, you first call `useAddCollectionsToGalleryMutation` within a React component and pass it any options that fit your needs.
965
- * When your component renders, `useAddCollectionsToGalleryMutation` returns a tuple that includes:
966
- * - A mutate function that you can call at any time to execute the mutation
967
- * - An object with fields that represent the current status of the mutation's execution
968
- *
969
- * @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;
970
- *
971
- * @example
972
- * const [addCollectionsToGalleryMutation, { data, loading, error }] = useAddCollectionsToGalleryMutation({
973
- * variables: {
974
- * galleryId: // value for 'galleryId'
975
- * collectionIds: // value for 'collectionIds'
976
- * },
977
- * });
978
- */
979
- function useAddCollectionsToGalleryMutation(baseOptions) {
980
- return Apollo.useMutation(exports.AddCollectionsToGalleryDocument, baseOptions);
981
- }
982
- exports.useAddCollectionsToGalleryMutation = useAddCollectionsToGalleryMutation;
983
- exports.AddCollectionsToGalleryV2Document = (0, client_1.gql) `
984
- mutation AddCollectionsToGalleryV2($galleryId: ID!, $collectionIds: [String!]!) {
985
- addCollectionsToGalleryV2(galleryId: $galleryId, collectionIds: $collectionIds)
986
- }
987
- `;
988
- /**
989
- * __useAddCollectionsToGalleryV2Mutation__
990
- *
991
- * To run a mutation, you first call `useAddCollectionsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
992
- * When your component renders, `useAddCollectionsToGalleryV2Mutation` returns a tuple that includes:
993
- * - A mutate function that you can call at any time to execute the mutation
994
- * - An object with fields that represent the current status of the mutation's execution
995
- *
996
- * @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;
997
- *
998
- * @example
999
- * const [addCollectionsToGalleryV2Mutation, { data, loading, error }] = useAddCollectionsToGalleryV2Mutation({
1000
- * variables: {
1001
- * galleryId: // value for 'galleryId'
1002
- * collectionIds: // value for 'collectionIds'
1003
- * },
1004
- * });
1005
- */
1006
- function useAddCollectionsToGalleryV2Mutation(baseOptions) {
1007
- return Apollo.useMutation(exports.AddCollectionsToGalleryV2Document, baseOptions);
1008
- }
1009
- exports.useAddCollectionsToGalleryV2Mutation = useAddCollectionsToGalleryV2Mutation;
1010
- exports.AddCreationsToGalleryDocument = (0, client_1.gql) `
1011
- mutation AddCreationsToGallery($galleryId: ID!, $creationIds: [String!]!) {
1012
- addCreationsToGallery(galleryId: $galleryId, creationIds: $creationIds)
1013
- }
1014
- `;
1015
- /**
1016
- * __useAddCreationsToGalleryMutation__
1017
- *
1018
- * To run a mutation, you first call `useAddCreationsToGalleryMutation` within a React component and pass it any options that fit your needs.
1019
- * When your component renders, `useAddCreationsToGalleryMutation` returns a tuple that includes:
1020
- * - A mutate function that you can call at any time to execute the mutation
1021
- * - An object with fields that represent the current status of the mutation's execution
1022
- *
1023
- * @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;
1024
- *
1025
- * @example
1026
- * const [addCreationsToGalleryMutation, { data, loading, error }] = useAddCreationsToGalleryMutation({
1027
- * variables: {
1028
- * galleryId: // value for 'galleryId'
1029
- * creationIds: // value for 'creationIds'
1030
- * },
1031
- * });
1032
- */
1033
- function useAddCreationsToGalleryMutation(baseOptions) {
1034
- return Apollo.useMutation(exports.AddCreationsToGalleryDocument, baseOptions);
1035
- }
1036
- exports.useAddCreationsToGalleryMutation = useAddCreationsToGalleryMutation;
1037
- exports.AddCreationsToGalleryV2Document = (0, client_1.gql) `
1038
- mutation AddCreationsToGalleryV2($galleryId: ID!, $creationIds: [String!]!) {
1039
- addCreationsToGalleryV2(galleryId: $galleryId, creationIds: $creationIds)
1040
- }
1041
- `;
1042
- /**
1043
- * __useAddCreationsToGalleryV2Mutation__
1044
- *
1045
- * To run a mutation, you first call `useAddCreationsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1046
- * When your component renders, `useAddCreationsToGalleryV2Mutation` returns a tuple that includes:
1047
- * - A mutate function that you can call at any time to execute the mutation
1048
- * - An object with fields that represent the current status of the mutation's execution
1049
- *
1050
- * @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;
1051
- *
1052
- * @example
1053
- * const [addCreationsToGalleryV2Mutation, { data, loading, error }] = useAddCreationsToGalleryV2Mutation({
1054
- * variables: {
1055
- * galleryId: // value for 'galleryId'
1056
- * creationIds: // value for 'creationIds'
1057
- * },
1058
- * });
1059
- */
1060
- function useAddCreationsToGalleryV2Mutation(baseOptions) {
1061
- return Apollo.useMutation(exports.AddCreationsToGalleryV2Document, baseOptions);
1062
- }
1063
- exports.useAddCreationsToGalleryV2Mutation = useAddCreationsToGalleryV2Mutation;
1064
- exports.CreateFavoriteListV2Document = (0, client_1.gql) `
1065
- mutation CreateFavoriteListV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1066
- createFavoriteListV2(
1067
- name: $name
1068
- description: $description
1069
- publicAccessible: $publicAccessible
1070
- creationIds: $creationIds
1071
- )
1072
- }
1073
- `;
1074
- /**
1075
- * __useCreateFavoriteListV2Mutation__
1076
- *
1077
- * To run a mutation, you first call `useCreateFavoriteListV2Mutation` within a React component and pass it any options that fit your needs.
1078
- * When your component renders, `useCreateFavoriteListV2Mutation` returns a tuple that includes:
1079
- * - A mutate function that you can call at any time to execute the mutation
1080
- * - An object with fields that represent the current status of the mutation's execution
1081
- *
1082
- * @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;
1083
- *
1084
- * @example
1085
- * const [createFavoriteListV2Mutation, { data, loading, error }] = useCreateFavoriteListV2Mutation({
1086
- * variables: {
1087
- * name: // value for 'name'
1088
- * description: // value for 'description'
1089
- * publicAccessible: // value for 'publicAccessible'
1090
- * creationIds: // value for 'creationIds'
1091
- * },
1092
- * });
1093
- */
1094
- function useCreateFavoriteListV2Mutation(baseOptions) {
1095
- return Apollo.useMutation(exports.CreateFavoriteListV2Document, baseOptions);
1096
- }
1097
- exports.useCreateFavoriteListV2Mutation = useCreateFavoriteListV2Mutation;
1098
- exports.CreateFavoritesDocument = (0, client_1.gql) `
1099
- mutation CreateFavorites($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1100
- createFavorites(
1101
- name: $name
1102
- description: $description
1103
- publicAccessible: $publicAccessible
1104
- creationIds: $creationIds
1105
- )
1106
- }
1107
- `;
1108
- /**
1109
- * __useCreateFavoritesMutation__
1110
- *
1111
- * To run a mutation, you first call `useCreateFavoritesMutation` within a React component and pass it any options that fit your needs.
1112
- * When your component renders, `useCreateFavoritesMutation` returns a tuple that includes:
1113
- * - A mutate function that you can call at any time to execute the mutation
1114
- * - An object with fields that represent the current status of the mutation's execution
1115
- *
1116
- * @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;
1117
- *
1118
- * @example
1119
- * const [createFavoritesMutation, { data, loading, error }] = useCreateFavoritesMutation({
1120
- * variables: {
1121
- * name: // value for 'name'
1122
- * description: // value for 'description'
1123
- * publicAccessible: // value for 'publicAccessible'
1124
- * creationIds: // value for 'creationIds'
1125
- * },
1126
- * });
1127
- */
1128
- function useCreateFavoritesMutation(baseOptions) {
1129
- return Apollo.useMutation(exports.CreateFavoritesDocument, baseOptions);
1130
- }
1131
- exports.useCreateFavoritesMutation = useCreateFavoritesMutation;
1132
- exports.CreateGalleryDocument = (0, client_1.gql) `
1133
- mutation CreateGallery($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1134
- createGallery(
1135
- name: $name
1136
- description: $description
1137
- publicAccessible: $publicAccessible
1138
- creationIds: $creationIds
1139
- )
1140
- }
1141
- `;
1142
- /**
1143
- * __useCreateGalleryMutation__
1144
- *
1145
- * To run a mutation, you first call `useCreateGalleryMutation` within a React component and pass it any options that fit your needs.
1146
- * When your component renders, `useCreateGalleryMutation` returns a tuple that includes:
1147
- * - A mutate function that you can call at any time to execute the mutation
1148
- * - An object with fields that represent the current status of the mutation's execution
1149
- *
1150
- * @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;
1151
- *
1152
- * @example
1153
- * const [createGalleryMutation, { data, loading, error }] = useCreateGalleryMutation({
1154
- * variables: {
1155
- * name: // value for 'name'
1156
- * description: // value for 'description'
1157
- * publicAccessible: // value for 'publicAccessible'
1158
- * creationIds: // value for 'creationIds'
1159
- * },
1160
- * });
1161
- */
1162
- function useCreateGalleryMutation(baseOptions) {
1163
- return Apollo.useMutation(exports.CreateGalleryDocument, baseOptions);
1164
- }
1165
- exports.useCreateGalleryMutation = useCreateGalleryMutation;
1166
- exports.CreateGalleryV2Document = (0, client_1.gql) `
1167
- mutation CreateGalleryV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1168
- createGalleryV2(
1169
- name: $name
1170
- description: $description
1171
- publicAccessible: $publicAccessible
1172
- creationIds: $creationIds
1173
- )
1174
- }
1175
- `;
1176
- /**
1177
- * __useCreateGalleryV2Mutation__
1178
- *
1179
- * To run a mutation, you first call `useCreateGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1180
- * When your component renders, `useCreateGalleryV2Mutation` returns a tuple that includes:
1181
- * - A mutate function that you can call at any time to execute the mutation
1182
- * - An object with fields that represent the current status of the mutation's execution
1183
- *
1184
- * @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;
1185
- *
1186
- * @example
1187
- * const [createGalleryV2Mutation, { data, loading, error }] = useCreateGalleryV2Mutation({
1188
- * variables: {
1189
- * name: // value for 'name'
1190
- * description: // value for 'description'
1191
- * publicAccessible: // value for 'publicAccessible'
1192
- * creationIds: // value for 'creationIds'
1193
- * },
1194
- * });
1195
- */
1196
- function useCreateGalleryV2Mutation(baseOptions) {
1197
- return Apollo.useMutation(exports.CreateGalleryV2Document, baseOptions);
1198
- }
1199
- exports.useCreateGalleryV2Mutation = useCreateGalleryV2Mutation;
1200
- exports.DeleteGalleryBannerDocument = (0, client_1.gql) `
1201
- mutation DeleteGalleryBanner($galleryId: ID!) {
1202
- deleteGalleryBanner(galleryId: $galleryId)
1203
- }
1204
- `;
1205
- /**
1206
- * __useDeleteGalleryBannerMutation__
1207
- *
1208
- * To run a mutation, you first call `useDeleteGalleryBannerMutation` within a React component and pass it any options that fit your needs.
1209
- * When your component renders, `useDeleteGalleryBannerMutation` returns a tuple that includes:
1210
- * - A mutate function that you can call at any time to execute the mutation
1211
- * - An object with fields that represent the current status of the mutation's execution
1212
- *
1213
- * @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;
1214
- *
1215
- * @example
1216
- * const [deleteGalleryBannerMutation, { data, loading, error }] = useDeleteGalleryBannerMutation({
1217
- * variables: {
1218
- * galleryId: // value for 'galleryId'
1219
- * },
1220
- * });
1221
- */
1222
- function useDeleteGalleryBannerMutation(baseOptions) {
1223
- return Apollo.useMutation(exports.DeleteGalleryBannerDocument, baseOptions);
1224
- }
1225
- exports.useDeleteGalleryBannerMutation = useDeleteGalleryBannerMutation;
1226
- exports.EditGalleryDocument = (0, client_1.gql) `
1227
- mutation EditGallery($galleryId: ID!, $name: String, $description: String) {
1228
- editGallery(galleryId: $galleryId, name: $name, description: $description)
1229
- }
1230
- `;
1231
- /**
1232
- * __useEditGalleryMutation__
1233
- *
1234
- * To run a mutation, you first call `useEditGalleryMutation` within a React component and pass it any options that fit your needs.
1235
- * When your component renders, `useEditGalleryMutation` returns a tuple that includes:
1236
- * - A mutate function that you can call at any time to execute the mutation
1237
- * - An object with fields that represent the current status of the mutation's execution
1238
- *
1239
- * @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;
1240
- *
1241
- * @example
1242
- * const [editGalleryMutation, { data, loading, error }] = useEditGalleryMutation({
1243
- * variables: {
1244
- * galleryId: // value for 'galleryId'
1245
- * name: // value for 'name'
1246
- * description: // value for 'description'
1247
- * },
1248
- * });
1249
- */
1250
- function useEditGalleryMutation(baseOptions) {
1251
- return Apollo.useMutation(exports.EditGalleryDocument, baseOptions);
1252
- }
1253
- exports.useEditGalleryMutation = useEditGalleryMutation;
1254
- exports.RemoveAssetFromGalleryDocument = (0, client_1.gql) `
1255
- mutation RemoveAssetFromGallery($galleryId: ID!, $creationId: String!) {
1256
- removeAssetFromGallery(galleryId: $galleryId, creationId: $creationId)
1257
- }
1258
- `;
1259
- /**
1260
- * __useRemoveAssetFromGalleryMutation__
1261
- *
1262
- * To run a mutation, you first call `useRemoveAssetFromGalleryMutation` within a React component and pass it any options that fit your needs.
1263
- * When your component renders, `useRemoveAssetFromGalleryMutation` returns a tuple that includes:
1264
- * - A mutate function that you can call at any time to execute the mutation
1265
- * - An object with fields that represent the current status of the mutation's execution
1266
- *
1267
- * @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;
1268
- *
1269
- * @example
1270
- * const [removeAssetFromGalleryMutation, { data, loading, error }] = useRemoveAssetFromGalleryMutation({
1271
- * variables: {
1272
- * galleryId: // value for 'galleryId'
1273
- * creationId: // value for 'creationId'
1274
- * },
1275
- * });
1276
- */
1277
- function useRemoveAssetFromGalleryMutation(baseOptions) {
1278
- return Apollo.useMutation(exports.RemoveAssetFromGalleryDocument, baseOptions);
1279
- }
1280
- exports.useRemoveAssetFromGalleryMutation = useRemoveAssetFromGalleryMutation;
1281
- exports.RemoveAssetFromGalleryV2Document = (0, client_1.gql) `
1282
- mutation RemoveAssetFromGalleryV2($galleryId: ID!, $assetId: String!) {
1283
- removeAssetFromGalleryV2(galleryId: $galleryId, assetId: $assetId)
1284
- }
1285
- `;
1286
- /**
1287
- * __useRemoveAssetFromGalleryV2Mutation__
1288
- *
1289
- * To run a mutation, you first call `useRemoveAssetFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1290
- * When your component renders, `useRemoveAssetFromGalleryV2Mutation` returns a tuple that includes:
1291
- * - A mutate function that you can call at any time to execute the mutation
1292
- * - An object with fields that represent the current status of the mutation's execution
1293
- *
1294
- * @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;
1295
- *
1296
- * @example
1297
- * const [removeAssetFromGalleryV2Mutation, { data, loading, error }] = useRemoveAssetFromGalleryV2Mutation({
1298
- * variables: {
1299
- * galleryId: // value for 'galleryId'
1300
- * assetId: // value for 'assetId'
1301
- * },
1302
- * });
1303
- */
1304
- function useRemoveAssetFromGalleryV2Mutation(baseOptions) {
1305
- return Apollo.useMutation(exports.RemoveAssetFromGalleryV2Document, baseOptions);
1306
- }
1307
- exports.useRemoveAssetFromGalleryV2Mutation = useRemoveAssetFromGalleryV2Mutation;
1308
- exports.RemoveCollectionFromGalleryDocument = (0, client_1.gql) `
1309
- mutation RemoveCollectionFromGallery($galleryId: ID!, $creationId: String!) {
1310
- removeCollectionFromGallery(galleryId: $galleryId, creationId: $creationId)
1311
- }
1312
- `;
1313
- /**
1314
- * __useRemoveCollectionFromGalleryMutation__
1315
- *
1316
- * To run a mutation, you first call `useRemoveCollectionFromGalleryMutation` within a React component and pass it any options that fit your needs.
1317
- * When your component renders, `useRemoveCollectionFromGalleryMutation` returns a tuple that includes:
1318
- * - A mutate function that you can call at any time to execute the mutation
1319
- * - An object with fields that represent the current status of the mutation's execution
1320
- *
1321
- * @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;
1322
- *
1323
- * @example
1324
- * const [removeCollectionFromGalleryMutation, { data, loading, error }] = useRemoveCollectionFromGalleryMutation({
1325
- * variables: {
1326
- * galleryId: // value for 'galleryId'
1327
- * creationId: // value for 'creationId'
1328
- * },
1329
- * });
1330
- */
1331
- function useRemoveCollectionFromGalleryMutation(baseOptions) {
1332
- return Apollo.useMutation(exports.RemoveCollectionFromGalleryDocument, baseOptions);
1333
- }
1334
- exports.useRemoveCollectionFromGalleryMutation = useRemoveCollectionFromGalleryMutation;
1335
- exports.RemoveCollectionFromGalleryV2Document = (0, client_1.gql) `
1336
- mutation RemoveCollectionFromGalleryV2($galleryId: ID!, $collectionId: String!) {
1337
- removeCollectionFromGalleryV2(
1338
- galleryId: $galleryId
1339
- collectionId: $collectionId
1340
- )
1341
- }
1342
- `;
1343
- /**
1344
- * __useRemoveCollectionFromGalleryV2Mutation__
1345
- *
1346
- * To run a mutation, you first call `useRemoveCollectionFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1347
- * When your component renders, `useRemoveCollectionFromGalleryV2Mutation` returns a tuple that includes:
1348
- * - A mutate function that you can call at any time to execute the mutation
1349
- * - An object with fields that represent the current status of the mutation's execution
1350
- *
1351
- * @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;
1352
- *
1353
- * @example
1354
- * const [removeCollectionFromGalleryV2Mutation, { data, loading, error }] = useRemoveCollectionFromGalleryV2Mutation({
1355
- * variables: {
1356
- * galleryId: // value for 'galleryId'
1357
- * collectionId: // value for 'collectionId'
1358
- * },
1359
- * });
1360
- */
1361
- function useRemoveCollectionFromGalleryV2Mutation(baseOptions) {
1362
- return Apollo.useMutation(exports.RemoveCollectionFromGalleryV2Document, baseOptions);
1363
- }
1364
- exports.useRemoveCollectionFromGalleryV2Mutation = useRemoveCollectionFromGalleryV2Mutation;
1365
- exports.RemoveCreationFromGalleryDocument = (0, client_1.gql) `
1366
- mutation RemoveCreationFromGallery($galleryId: ID!, $creationId: String!) {
1367
- removeCreationFromGallery(galleryId: $galleryId, creationId: $creationId)
1368
- }
1369
- `;
1370
- /**
1371
- * __useRemoveCreationFromGalleryMutation__
1372
- *
1373
- * To run a mutation, you first call `useRemoveCreationFromGalleryMutation` within a React component and pass it any options that fit your needs.
1374
- * When your component renders, `useRemoveCreationFromGalleryMutation` returns a tuple that includes:
1375
- * - A mutate function that you can call at any time to execute the mutation
1376
- * - An object with fields that represent the current status of the mutation's execution
1377
- *
1378
- * @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;
1379
- *
1380
- * @example
1381
- * const [removeCreationFromGalleryMutation, { data, loading, error }] = useRemoveCreationFromGalleryMutation({
1382
- * variables: {
1383
- * galleryId: // value for 'galleryId'
1384
- * creationId: // value for 'creationId'
1385
- * },
1386
- * });
1387
- */
1388
- function useRemoveCreationFromGalleryMutation(baseOptions) {
1389
- return Apollo.useMutation(exports.RemoveCreationFromGalleryDocument, baseOptions);
1390
- }
1391
- exports.useRemoveCreationFromGalleryMutation = useRemoveCreationFromGalleryMutation;
1392
- exports.RemoveCreationFromGalleryV2Document = (0, client_1.gql) `
1393
- mutation RemoveCreationFromGalleryV2($galleryId: ID!, $creationId: String!) {
1394
- removeCreationFromGalleryV2(galleryId: $galleryId, creationId: $creationId)
1395
- }
1396
- `;
1397
- /**
1398
- * __useRemoveCreationFromGalleryV2Mutation__
1399
- *
1400
- * To run a mutation, you first call `useRemoveCreationFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1401
- * When your component renders, `useRemoveCreationFromGalleryV2Mutation` returns a tuple that includes:
1402
- * - A mutate function that you can call at any time to execute the mutation
1403
- * - An object with fields that represent the current status of the mutation's execution
1404
- *
1405
- * @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;
1406
- *
1407
- * @example
1408
- * const [removeCreationFromGalleryV2Mutation, { data, loading, error }] = useRemoveCreationFromGalleryV2Mutation({
1409
- * variables: {
1410
- * galleryId: // value for 'galleryId'
1411
- * creationId: // value for 'creationId'
1412
- * },
1413
- * });
1414
- */
1415
- function useRemoveCreationFromGalleryV2Mutation(baseOptions) {
1416
- return Apollo.useMutation(exports.RemoveCreationFromGalleryV2Document, baseOptions);
1417
- }
1418
- exports.useRemoveCreationFromGalleryV2Mutation = useRemoveCreationFromGalleryV2Mutation;
1419
- exports.FetchGalleryDocument = (0, client_1.gql) `
1420
- query FetchGallery($galleryId: String!) {
1421
- fetchGallery(galleryId: $galleryId) {
1422
- galleryId
1423
- galleryType
1424
- name
1425
- description
1426
- userId
1427
- username
1428
- userpic
1429
- banner
1430
- createdAt
1431
- items
1432
- views
1433
- publiclyAccessible
1434
- nsfw
1435
- }
1436
- }
1437
- `;
1438
- /**
1439
- * __useFetchGalleryQuery__
1440
- *
1441
- * To run a query within a React component, call `useFetchGalleryQuery` and pass it any options that fit your needs.
1442
- * When your component renders, `useFetchGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
1443
- * you can use to render your UI.
1444
- *
1445
- * @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;
1446
- *
1447
- * @example
1448
- * const { data, loading, error } = useFetchGalleryQuery({
1449
- * variables: {
1450
- * galleryId: // value for 'galleryId'
1451
- * },
1452
- * });
1453
- */
1454
- function useFetchGalleryQuery(baseOptions) {
1455
- return Apollo.useQuery(exports.FetchGalleryDocument, baseOptions);
1456
- }
1457
- exports.useFetchGalleryQuery = useFetchGalleryQuery;
1458
- function useFetchGalleryLazyQuery(baseOptions) {
1459
- return Apollo.useLazyQuery(exports.FetchGalleryDocument, baseOptions);
1460
- }
1461
- exports.useFetchGalleryLazyQuery = useFetchGalleryLazyQuery;
1462
- exports.FetchGalleryCreationsDocument = (0, client_1.gql) `
1463
- query FetchGalleryCreations($galleryId: String!, $pageSize: Int!, $pageToken: String) {
1464
- fetchGalleryCreations(
1465
- galleryId: $galleryId
1466
- pageSize: $pageSize
1467
- pageToken: $pageToken
1468
- ) {
1469
- nextPageToken
1470
- galleryCreations {
1471
- galleryId
1472
- creationId
1473
- address
1474
- tokenId
1475
- itemId
1476
- itemType
1477
- itemOrder
1478
- galleryName
1479
- blockchain
1480
- name
1481
- creatorsAddresses
1482
- originalUrls
1483
- media
1484
- mediaPreview
1485
- mimeType
1486
- sizeRatio
1487
- fileSize
1488
- nsfw
1489
- likes
1490
- liked
1491
- views
1492
- visible
1493
- blurred
1494
- prices {
1495
- currency
1496
- amount
1497
- }
1498
- }
1499
- }
1500
- }
1501
- `;
1502
- /**
1503
- * __useFetchGalleryCreationsQuery__
1504
- *
1505
- * To run a query within a React component, call `useFetchGalleryCreationsQuery` and pass it any options that fit your needs.
1506
- * When your component renders, `useFetchGalleryCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1507
- * you can use to render your UI.
1508
- *
1509
- * @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;
1510
- *
1511
- * @example
1512
- * const { data, loading, error } = useFetchGalleryCreationsQuery({
1513
- * variables: {
1514
- * galleryId: // value for 'galleryId'
1515
- * pageSize: // value for 'pageSize'
1516
- * pageToken: // value for 'pageToken'
1517
- * },
1518
- * });
1519
- */
1520
- function useFetchGalleryCreationsQuery(baseOptions) {
1521
- return Apollo.useQuery(exports.FetchGalleryCreationsDocument, baseOptions);
1522
- }
1523
- exports.useFetchGalleryCreationsQuery = useFetchGalleryCreationsQuery;
1524
- function useFetchGalleryCreationsLazyQuery(baseOptions) {
1525
- return Apollo.useLazyQuery(exports.FetchGalleryCreationsDocument, baseOptions);
1526
- }
1527
- exports.useFetchGalleryCreationsLazyQuery = useFetchGalleryCreationsLazyQuery;
1528
- exports.FetchGalleryV2Document = (0, client_1.gql) `
1529
- query FetchGalleryV2($galleryId: String!) {
1530
- fetchGalleryV2(galleryId: $galleryId) {
1531
- galleryId
1532
- galleryType
1533
- name
1534
- description
1535
- userId
1536
- username
1537
- userpic
1538
- banner
1539
- createdAt
1540
- items
1541
- views
1542
- publiclyAccessible
1543
- nsfw
1544
- creationIds
1545
- }
1546
- }
1547
- `;
1548
- /**
1549
- * __useFetchGalleryV2Query__
1550
- *
1551
- * To run a query within a React component, call `useFetchGalleryV2Query` and pass it any options that fit your needs.
1552
- * When your component renders, `useFetchGalleryV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1553
- * you can use to render your UI.
1554
- *
1555
- * @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;
1556
- *
1557
- * @example
1558
- * const { data, loading, error } = useFetchGalleryV2Query({
1559
- * variables: {
1560
- * galleryId: // value for 'galleryId'
1561
- * },
1562
- * });
1563
- */
1564
- function useFetchGalleryV2Query(baseOptions) {
1565
- return Apollo.useQuery(exports.FetchGalleryV2Document, baseOptions);
1566
- }
1567
- exports.useFetchGalleryV2Query = useFetchGalleryV2Query;
1568
- function useFetchGalleryV2LazyQuery(baseOptions) {
1569
- return Apollo.useLazyQuery(exports.FetchGalleryV2Document, baseOptions);
1570
- }
1571
- exports.useFetchGalleryV2LazyQuery = useFetchGalleryV2LazyQuery;
1572
- exports.FetchMyFavoritesDocument = (0, client_1.gql) `
1573
- query FetchMyFavorites($pageSize: Int!, $pageToken: String) {
1574
- fetchMyFavorites(pageSize: $pageSize, pageToken: $pageToken) {
1575
- nextPageToken
1576
- galleries {
1577
- galleryId
1578
- galleryType
1579
- name
1580
- description
1581
- userId
1582
- username
1583
- userpic
1584
- banner
1585
- createdAt
1586
- items
1587
- views
1588
- publiclyAccessible
1589
- nsfw
1590
- galleryCreations {
1591
- galleryId
1592
- creationId
1593
- itemId
1594
- itemType
1595
- itemOrder
1596
- galleryName
1597
- blockchain
1598
- name
1599
- creatorsAddresses
1600
- ownersAddresses
1601
- originalUrls
1602
- media
1603
- mediaPreview
1604
- mimeType
1605
- sizeRatio
1606
- fileSize
1607
- nsfw
1608
- likes
1609
- liked
1610
- views
1611
- visible
1612
- blurred
1613
- prices {
1614
- currency
1615
- amount
1616
- }
1617
- }
1618
- }
1619
- }
1620
- }
1621
- `;
1622
- /**
1623
- * __useFetchMyFavoritesQuery__
1624
- *
1625
- * To run a query within a React component, call `useFetchMyFavoritesQuery` and pass it any options that fit your needs.
1626
- * When your component renders, `useFetchMyFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1627
- * you can use to render your UI.
1628
- *
1629
- * @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;
1630
- *
1631
- * @example
1632
- * const { data, loading, error } = useFetchMyFavoritesQuery({
1633
- * variables: {
1634
- * pageSize: // value for 'pageSize'
1635
- * pageToken: // value for 'pageToken'
1636
- * },
1637
- * });
1638
- */
1639
- function useFetchMyFavoritesQuery(baseOptions) {
1640
- return Apollo.useQuery(exports.FetchMyFavoritesDocument, baseOptions);
1641
- }
1642
- exports.useFetchMyFavoritesQuery = useFetchMyFavoritesQuery;
1643
- function useFetchMyFavoritesLazyQuery(baseOptions) {
1644
- return Apollo.useLazyQuery(exports.FetchMyFavoritesDocument, baseOptions);
1645
- }
1646
- exports.useFetchMyFavoritesLazyQuery = useFetchMyFavoritesLazyQuery;
1647
- exports.FetchMyFavoritesV2Document = (0, client_1.gql) `
1648
- query FetchMyFavoritesV2($pageSize: Int!, $pageToken: String) {
1649
- fetchMyFavoritesV2(pageSize: $pageSize, pageToken: $pageToken) {
1650
- nextPageToken
1651
- galleries {
1652
- galleryId
1653
- galleryType
1654
- name
1655
- description
1656
- userId
1657
- username
1658
- userpic
1659
- banner
1660
- createdAt
1661
- items
1662
- views
1663
- publiclyAccessible
1664
- nsfw
1665
- creationIds
1666
- }
1667
- }
1668
- }
1669
- `;
1670
- /**
1671
- * __useFetchMyFavoritesV2Query__
1672
- *
1673
- * To run a query within a React component, call `useFetchMyFavoritesV2Query` and pass it any options that fit your needs.
1674
- * When your component renders, `useFetchMyFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1675
- * you can use to render your UI.
1676
- *
1677
- * @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;
1678
- *
1679
- * @example
1680
- * const { data, loading, error } = useFetchMyFavoritesV2Query({
1681
- * variables: {
1682
- * pageSize: // value for 'pageSize'
1683
- * pageToken: // value for 'pageToken'
1684
- * },
1685
- * });
1686
- */
1687
- function useFetchMyFavoritesV2Query(baseOptions) {
1688
- return Apollo.useQuery(exports.FetchMyFavoritesV2Document, baseOptions);
1689
- }
1690
- exports.useFetchMyFavoritesV2Query = useFetchMyFavoritesV2Query;
1691
- function useFetchMyFavoritesV2LazyQuery(baseOptions) {
1692
- return Apollo.useLazyQuery(exports.FetchMyFavoritesV2Document, baseOptions);
1693
- }
1694
- exports.useFetchMyFavoritesV2LazyQuery = useFetchMyFavoritesV2LazyQuery;
1695
- exports.FetchMyGalleriesV2Document = (0, client_1.gql) `
1696
- query FetchMyGalleriesV2($pageSize: Int!, $pageToken: String) {
1697
- fetchMyGalleriesV2(pageSize: $pageSize, pageToken: $pageToken) {
1698
- nextPageToken
1699
- galleries {
1700
- galleryId
1701
- galleryType
1702
- name
1703
- description
1704
- userId
1705
- username
1706
- userpic
1707
- banner
1708
- createdAt
1709
- items
1710
- views
1711
- publiclyAccessible
1712
- nsfw
1713
- creationIds
1714
- }
1715
- }
1716
- }
1717
- `;
1718
- /**
1719
- * __useFetchMyGalleriesV2Query__
1720
- *
1721
- * To run a query within a React component, call `useFetchMyGalleriesV2Query` and pass it any options that fit your needs.
1722
- * When your component renders, `useFetchMyGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1723
- * you can use to render your UI.
1724
- *
1725
- * @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;
1726
- *
1727
- * @example
1728
- * const { data, loading, error } = useFetchMyGalleriesV2Query({
1729
- * variables: {
1730
- * pageSize: // value for 'pageSize'
1731
- * pageToken: // value for 'pageToken'
1732
- * },
1733
- * });
1734
- */
1735
- function useFetchMyGalleriesV2Query(baseOptions) {
1736
- return Apollo.useQuery(exports.FetchMyGalleriesV2Document, baseOptions);
1737
- }
1738
- exports.useFetchMyGalleriesV2Query = useFetchMyGalleriesV2Query;
1739
- function useFetchMyGalleriesV2LazyQuery(baseOptions) {
1740
- return Apollo.useLazyQuery(exports.FetchMyGalleriesV2Document, baseOptions);
1741
- }
1742
- exports.useFetchMyGalleriesV2LazyQuery = useFetchMyGalleriesV2LazyQuery;
1743
- exports.FetchUserFavoritesDocument = (0, client_1.gql) `
1744
- query FetchUserFavorites($userId: ID!, $pageSize: Int!, $pageToken: String) {
1745
- fetchUserFavorites(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
1746
- nextPageToken
1747
- galleries {
1748
- galleryId
1749
- galleryType
1750
- name
1751
- description
1752
- userId
1753
- username
1754
- userpic
1755
- userWallets {
1756
- userId
1757
- address
1758
- walletName
1759
- blockchain
1760
- chainId
1761
- }
1762
- banner
1763
- createdAt
1764
- items
1765
- views
1766
- publiclyAccessible
1767
- nsfw
1768
- galleryCreations {
1769
- galleryId
1770
- creationId
1771
- itemId
1772
- itemType
1773
- itemOrder
1774
- galleryName
1775
- blockchain
1776
- name
1777
- creatorsAddresses
1778
- ownersAddresses
1779
- originalUrls
1780
- media
1781
- mediaPreview
1782
- mimeType
1783
- sizeRatio
1784
- fileSize
1785
- nsfw
1786
- likes
1787
- liked
1788
- views
1789
- visible
1790
- blurred
1791
- prices {
1792
- currency
1793
- amount
1794
- }
1795
- }
1796
- }
1797
- }
1798
- }
1799
- `;
1800
- /**
1801
- * __useFetchUserFavoritesQuery__
1802
- *
1803
- * To run a query within a React component, call `useFetchUserFavoritesQuery` and pass it any options that fit your needs.
1804
- * When your component renders, `useFetchUserFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1805
- * you can use to render your UI.
1806
- *
1807
- * @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;
1808
- *
1809
- * @example
1810
- * const { data, loading, error } = useFetchUserFavoritesQuery({
1811
- * variables: {
1812
- * userId: // value for 'userId'
1813
- * pageSize: // value for 'pageSize'
1814
- * pageToken: // value for 'pageToken'
1815
- * },
1816
- * });
1817
- */
1818
- function useFetchUserFavoritesQuery(baseOptions) {
1819
- return Apollo.useQuery(exports.FetchUserFavoritesDocument, baseOptions);
1820
- }
1821
- exports.useFetchUserFavoritesQuery = useFetchUserFavoritesQuery;
1822
- function useFetchUserFavoritesLazyQuery(baseOptions) {
1823
- return Apollo.useLazyQuery(exports.FetchUserFavoritesDocument, baseOptions);
1824
- }
1825
- exports.useFetchUserFavoritesLazyQuery = useFetchUserFavoritesLazyQuery;
1826
- exports.FetchUserFavoritesV2Document = (0, client_1.gql) `
1827
- query FetchUserFavoritesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
1828
- fetchUserFavoritesV2(
1829
- userId: $userId
1830
- pageSize: $pageSize
1831
- pageToken: $pageToken
1832
- ) {
1833
- nextPageToken
1834
- galleries {
1835
- galleryId
1836
- galleryType
1837
- name
1838
- description
1839
- userId
1840
- username
1841
- userpic
1842
- userWallets {
1843
- userId
1844
- address
1845
- walletName
1846
- blockchain
1847
- chainId
1848
- }
1849
- banner
1850
- createdAt
1851
- items
1852
- views
1853
- publiclyAccessible
1854
- nsfw
1855
- creationIds
1856
- }
1857
- }
1858
- }
1859
- `;
1860
- /**
1861
- * __useFetchUserFavoritesV2Query__
1862
- *
1863
- * To run a query within a React component, call `useFetchUserFavoritesV2Query` and pass it any options that fit your needs.
1864
- * When your component renders, `useFetchUserFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1865
- * you can use to render your UI.
1866
- *
1867
- * @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;
1868
- *
1869
- * @example
1870
- * const { data, loading, error } = useFetchUserFavoritesV2Query({
1871
- * variables: {
1872
- * userId: // value for 'userId'
1873
- * pageSize: // value for 'pageSize'
1874
- * pageToken: // value for 'pageToken'
1875
- * },
1876
- * });
1877
- */
1878
- function useFetchUserFavoritesV2Query(baseOptions) {
1879
- return Apollo.useQuery(exports.FetchUserFavoritesV2Document, baseOptions);
1880
- }
1881
- exports.useFetchUserFavoritesV2Query = useFetchUserFavoritesV2Query;
1882
- function useFetchUserFavoritesV2LazyQuery(baseOptions) {
1883
- return Apollo.useLazyQuery(exports.FetchUserFavoritesV2Document, baseOptions);
1884
- }
1885
- exports.useFetchUserFavoritesV2LazyQuery = useFetchUserFavoritesV2LazyQuery;
1886
- exports.FetchUserGalleriesDocument = (0, client_1.gql) `
1887
- query fetchUserGalleries($userId: ID!, $pageSize: Int!, $pageToken: String) {
1888
- fetchUserGalleries(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
1889
- nextPageToken
1890
- galleries {
1891
- galleryId
1892
- galleryType
1893
- name
1894
- description
1895
- userId
1896
- username
1897
- userpic
1898
- userWallets {
1899
- userId
1900
- address
1901
- walletName
1902
- blockchain
1903
- chainId
1904
- }
1905
- banner
1906
- createdAt
1907
- items
1908
- views
1909
- publiclyAccessible
1910
- nsfw
1911
- galleryCreations {
1912
- galleryId
1913
- creationId
1914
- itemId
1915
- itemType
1916
- itemOrder
1917
- galleryName
1918
- blockchain
1919
- name
1920
- creatorsAddresses
1921
- ownersAddresses
1922
- originalUrls
1923
- media
1924
- mediaPreview
1925
- mimeType
1926
- sizeRatio
1927
- fileSize
1928
- nsfw
1929
- likes
1930
- liked
1931
- views
1932
- visible
1933
- blurred
1934
- prices {
1935
- currency
1936
- amount
1937
- }
1938
- }
1939
- }
1940
- }
1941
- }
1942
- `;
1943
- /**
1944
- * __useFetchUserGalleriesQuery__
1945
- *
1946
- * To run a query within a React component, call `useFetchUserGalleriesQuery` and pass it any options that fit your needs.
1947
- * When your component renders, `useFetchUserGalleriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1948
- * you can use to render your UI.
1949
- *
1950
- * @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;
1951
- *
1952
- * @example
1953
- * const { data, loading, error } = useFetchUserGalleriesQuery({
1954
- * variables: {
1955
- * userId: // value for 'userId'
1956
- * pageSize: // value for 'pageSize'
1957
- * pageToken: // value for 'pageToken'
1958
- * },
1959
- * });
1960
- */
1961
- function useFetchUserGalleriesQuery(baseOptions) {
1962
- return Apollo.useQuery(exports.FetchUserGalleriesDocument, baseOptions);
1963
- }
1964
- exports.useFetchUserGalleriesQuery = useFetchUserGalleriesQuery;
1965
- function useFetchUserGalleriesLazyQuery(baseOptions) {
1966
- return Apollo.useLazyQuery(exports.FetchUserGalleriesDocument, baseOptions);
1967
- }
1968
- exports.useFetchUserGalleriesLazyQuery = useFetchUserGalleriesLazyQuery;
1969
- exports.FetchUserGalleriesV2Document = (0, client_1.gql) `
1970
- query fetchUserGalleriesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
1971
- fetchUserGalleriesV2(
1972
- userId: $userId
1973
- pageSize: $pageSize
1974
- pageToken: $pageToken
1975
- ) {
1976
- nextPageToken
1977
- galleries {
1978
- galleryId
1979
- galleryType
1980
- name
1981
- description
1982
- userId
1983
- username
1984
- userpic
1985
- userWallets {
1986
- userId
1987
- address
1988
- walletName
1989
- blockchain
1990
- chainId
1991
- }
1992
- banner
1993
- createdAt
1994
- items
1995
- views
1996
- publiclyAccessible
1997
- nsfw
1998
- creationIds
1999
- }
2000
- }
2001
- }
2002
- `;
2003
- /**
2004
- * __useFetchUserGalleriesV2Query__
2005
- *
2006
- * To run a query within a React component, call `useFetchUserGalleriesV2Query` and pass it any options that fit your needs.
2007
- * When your component renders, `useFetchUserGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2008
- * you can use to render your UI.
2009
- *
2010
- * @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;
2011
- *
2012
- * @example
2013
- * const { data, loading, error } = useFetchUserGalleriesV2Query({
2014
- * variables: {
2015
- * userId: // value for 'userId'
2016
- * pageSize: // value for 'pageSize'
2017
- * pageToken: // value for 'pageToken'
2018
- * },
2019
- * });
2020
- */
2021
- function useFetchUserGalleriesV2Query(baseOptions) {
2022
- return Apollo.useQuery(exports.FetchUserGalleriesV2Document, baseOptions);
2023
- }
2024
- exports.useFetchUserGalleriesV2Query = useFetchUserGalleriesV2Query;
2025
- function useFetchUserGalleriesV2LazyQuery(baseOptions) {
2026
- return Apollo.useLazyQuery(exports.FetchUserGalleriesV2Document, baseOptions);
2027
- }
2028
- exports.useFetchUserGalleriesV2LazyQuery = useFetchUserGalleriesV2LazyQuery;
2029
- exports.SignInMetamaskDocument = (0, client_1.gql) `
2030
- mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!) {
2031
- signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
2032
- userId
2033
- wallets
2034
- authToken
2035
- refreshToken
2036
- newUser
2037
- }
2038
- }
2039
- `;
2040
- /**
2041
- * __useSignInMetamaskMutation__
2042
- *
2043
- * To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
2044
- * When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
2045
- * - A mutate function that you can call at any time to execute the mutation
2046
- * - An object with fields that represent the current status of the mutation's execution
2047
- *
2048
- * @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;
2049
- *
2050
- * @example
2051
- * const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
2052
- * variables: {
2053
- * signature: // value for 'signature'
2054
- * address: // value for 'address'
2055
- * chainId: // value for 'chainId'
2056
- * },
2057
- * });
2058
- */
2059
- function useSignInMetamaskMutation(baseOptions) {
2060
- return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
2061
- }
2062
- exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
2063
- exports.AddWalletElrondDocument = (0, client_1.gql) `
2064
- mutation AddWalletElrond($signature: String!, $address: String!) {
2065
- addWalletElrond(signature: $signature, address: $address)
2066
- }
2067
- `;
2068
- /**
2069
- * __useAddWalletElrondMutation__
2070
- *
2071
- * To run a mutation, you first call `useAddWalletElrondMutation` within a React component and pass it any options that fit your needs.
2072
- * When your component renders, `useAddWalletElrondMutation` returns a tuple that includes:
2073
- * - A mutate function that you can call at any time to execute the mutation
2074
- * - An object with fields that represent the current status of the mutation's execution
2075
- *
2076
- * @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;
2077
- *
2078
- * @example
2079
- * const [addWalletElrondMutation, { data, loading, error }] = useAddWalletElrondMutation({
2080
- * variables: {
2081
- * signature: // value for 'signature'
2082
- * address: // value for 'address'
2083
- * },
2084
- * });
2085
- */
2086
- function useAddWalletElrondMutation(baseOptions) {
2087
- return Apollo.useMutation(exports.AddWalletElrondDocument, baseOptions);
2088
- }
2089
- exports.useAddWalletElrondMutation = useAddWalletElrondMutation;
2090
- exports.AddWalletFlowDocument = (0, client_1.gql) `
2091
- mutation AddWalletFlow($signature: String!, $address: String!) {
2092
- addWalletFlow(signature: $signature, address: $address)
2093
- }
2094
- `;
2095
- /**
2096
- * __useAddWalletFlowMutation__
2097
- *
2098
- * To run a mutation, you first call `useAddWalletFlowMutation` within a React component and pass it any options that fit your needs.
2099
- * When your component renders, `useAddWalletFlowMutation` returns a tuple that includes:
2100
- * - A mutate function that you can call at any time to execute the mutation
2101
- * - An object with fields that represent the current status of the mutation's execution
2102
- *
2103
- * @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;
2104
- *
2105
- * @example
2106
- * const [addWalletFlowMutation, { data, loading, error }] = useAddWalletFlowMutation({
2107
- * variables: {
2108
- * signature: // value for 'signature'
2109
- * address: // value for 'address'
2110
- * },
2111
- * });
2112
- */
2113
- function useAddWalletFlowMutation(baseOptions) {
2114
- return Apollo.useMutation(exports.AddWalletFlowDocument, baseOptions);
2115
- }
2116
- exports.useAddWalletFlowMutation = useAddWalletFlowMutation;
2117
- exports.AddWalletMetamaskDocument = (0, client_1.gql) `
2118
- mutation AddWalletMetamask($signature: String!, $address: String!, $chainId: String!) {
2119
- addWalletMetamask(signature: $signature, address: $address, chainId: $chainId)
2120
- }
2121
- `;
2122
- /**
2123
- * __useAddWalletMetamaskMutation__
2124
- *
2125
- * To run a mutation, you first call `useAddWalletMetamaskMutation` within a React component and pass it any options that fit your needs.
2126
- * When your component renders, `useAddWalletMetamaskMutation` returns a tuple that includes:
2127
- * - A mutate function that you can call at any time to execute the mutation
2128
- * - An object with fields that represent the current status of the mutation's execution
2129
- *
2130
- * @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;
2131
- *
2132
- * @example
2133
- * const [addWalletMetamaskMutation, { data, loading, error }] = useAddWalletMetamaskMutation({
2134
- * variables: {
2135
- * signature: // value for 'signature'
2136
- * address: // value for 'address'
2137
- * chainId: // value for 'chainId'
2138
- * },
2139
- * });
2140
- */
2141
- function useAddWalletMetamaskMutation(baseOptions) {
2142
- return Apollo.useMutation(exports.AddWalletMetamaskDocument, baseOptions);
2143
- }
2144
- exports.useAddWalletMetamaskMutation = useAddWalletMetamaskMutation;
2145
- exports.AddWalletSolanaDocument = (0, client_1.gql) `
2146
- mutation AddWalletSolana($signature: String!, $pubkey: String!) {
2147
- addWalletSolana(signature: $signature, pubkey: $pubkey)
2148
- }
2149
- `;
2150
- /**
2151
- * __useAddWalletSolanaMutation__
2152
- *
2153
- * To run a mutation, you first call `useAddWalletSolanaMutation` within a React component and pass it any options that fit your needs.
2154
- * When your component renders, `useAddWalletSolanaMutation` returns a tuple that includes:
2155
- * - A mutate function that you can call at any time to execute the mutation
2156
- * - An object with fields that represent the current status of the mutation's execution
2157
- *
2158
- * @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;
2159
- *
2160
- * @example
2161
- * const [addWalletSolanaMutation, { data, loading, error }] = useAddWalletSolanaMutation({
2162
- * variables: {
2163
- * signature: // value for 'signature'
2164
- * pubkey: // value for 'pubkey'
2165
- * },
2166
- * });
2167
- */
2168
- function useAddWalletSolanaMutation(baseOptions) {
2169
- return Apollo.useMutation(exports.AddWalletSolanaDocument, baseOptions);
2170
- }
2171
- exports.useAddWalletSolanaMutation = useAddWalletSolanaMutation;
2172
- exports.AddWalletTezosDocument = (0, client_1.gql) `
2173
- mutation AddWalletTezos($signature: String!, $pubkey: String!) {
2174
- addWalletTezos(signature: $signature, pubkey: $pubkey)
2175
- }
2176
- `;
2177
- /**
2178
- * __useAddWalletTezosMutation__
2179
- *
2180
- * To run a mutation, you first call `useAddWalletTezosMutation` within a React component and pass it any options that fit your needs.
2181
- * When your component renders, `useAddWalletTezosMutation` returns a tuple that includes:
2182
- * - A mutate function that you can call at any time to execute the mutation
2183
- * - An object with fields that represent the current status of the mutation's execution
2184
- *
2185
- * @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;
2186
- *
2187
- * @example
2188
- * const [addWalletTezosMutation, { data, loading, error }] = useAddWalletTezosMutation({
2189
- * variables: {
2190
- * signature: // value for 'signature'
2191
- * pubkey: // value for 'pubkey'
2192
- * },
2193
- * });
2194
- */
2195
- function useAddWalletTezosMutation(baseOptions) {
2196
- return Apollo.useMutation(exports.AddWalletTezosDocument, baseOptions);
2197
- }
2198
- exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
2199
- exports.CreateNonceDocument = (0, client_1.gql) `
2200
- mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
2201
- createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
2202
- }
2203
- `;
2204
- /**
2205
- * __useCreateNonceMutation__
2206
- *
2207
- * To run a mutation, you first call `useCreateNonceMutation` within a React component and pass it any options that fit your needs.
2208
- * When your component renders, `useCreateNonceMutation` returns a tuple that includes:
2209
- * - A mutate function that you can call at any time to execute the mutation
2210
- * - An object with fields that represent the current status of the mutation's execution
2211
- *
2212
- * @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;
2213
- *
2214
- * @example
2215
- * const [createNonceMutation, { data, loading, error }] = useCreateNonceMutation({
2216
- * variables: {
2217
- * address: // value for 'address'
2218
- * blockchain: // value for 'blockchain'
2219
- * chainId: // value for 'chainId'
2220
- * },
2221
- * });
2222
- */
2223
- function useCreateNonceMutation(baseOptions) {
2224
- return Apollo.useMutation(exports.CreateNonceDocument, baseOptions);
2225
- }
2226
- exports.useCreateNonceMutation = useCreateNonceMutation;
2227
- exports.RefreshTokenDocument = (0, client_1.gql) `
2228
- mutation RefreshToken($refreshToken: String!) {
2229
- refreshToken(refreshToken: $refreshToken) {
2230
- userId
2231
- tokenAuth
2232
- tokenRefresh
2233
- role
2234
- }
2235
- }
2236
- `;
2237
- /**
2238
- * __useRefreshTokenMutation__
2239
- *
2240
- * To run a mutation, you first call `useRefreshTokenMutation` within a React component and pass it any options that fit your needs.
2241
- * When your component renders, `useRefreshTokenMutation` returns a tuple that includes:
2242
- * - A mutate function that you can call at any time to execute the mutation
2243
- * - An object with fields that represent the current status of the mutation's execution
2244
- *
2245
- * @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;
2246
- *
2247
- * @example
2248
- * const [refreshTokenMutation, { data, loading, error }] = useRefreshTokenMutation({
2249
- * variables: {
2250
- * refreshToken: // value for 'refreshToken'
2251
- * },
2252
- * });
2253
- */
2254
- function useRefreshTokenMutation(baseOptions) {
2255
- return Apollo.useMutation(exports.RefreshTokenDocument, baseOptions);
2256
- }
2257
- exports.useRefreshTokenMutation = useRefreshTokenMutation;
2258
- exports.RevokeTokenDocument = (0, client_1.gql) `
2259
- mutation RevokeToken {
2260
- revokeToken
2261
- }
2262
- `;
2263
- /**
2264
- * __useRevokeTokenMutation__
2265
- *
2266
- * To run a mutation, you first call `useRevokeTokenMutation` within a React component and pass it any options that fit your needs.
2267
- * When your component renders, `useRevokeTokenMutation` returns a tuple that includes:
2268
- * - A mutate function that you can call at any time to execute the mutation
2269
- * - An object with fields that represent the current status of the mutation's execution
2270
- *
2271
- * @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;
2272
- *
2273
- * @example
2274
- * const [revokeTokenMutation, { data, loading, error }] = useRevokeTokenMutation({
2275
- * variables: {
2276
- * },
2277
- * });
2278
- */
2279
- function useRevokeTokenMutation(baseOptions) {
2280
- return Apollo.useMutation(exports.RevokeTokenDocument, baseOptions);
2281
- }
2282
- exports.useRevokeTokenMutation = useRevokeTokenMutation;
2283
- exports.SignInElrondDocument = (0, client_1.gql) `
2284
- mutation SignInElrond($signature: String!, $address: String!) {
2285
- signInElrond(signature: $signature, address: $address) {
2286
- userId
2287
- wallets
2288
- authToken
2289
- refreshToken
2290
- newUser
2291
- }
2292
- }
2293
- `;
2294
- /**
2295
- * __useSignInElrondMutation__
2296
- *
2297
- * To run a mutation, you first call `useSignInElrondMutation` within a React component and pass it any options that fit your needs.
2298
- * When your component renders, `useSignInElrondMutation` returns a tuple that includes:
2299
- * - A mutate function that you can call at any time to execute the mutation
2300
- * - An object with fields that represent the current status of the mutation's execution
2301
- *
2302
- * @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;
2303
- *
2304
- * @example
2305
- * const [signInElrondMutation, { data, loading, error }] = useSignInElrondMutation({
2306
- * variables: {
2307
- * signature: // value for 'signature'
2308
- * address: // value for 'address'
2309
- * },
2310
- * });
2311
- */
2312
- function useSignInElrondMutation(baseOptions) {
2313
- return Apollo.useMutation(exports.SignInElrondDocument, baseOptions);
2314
- }
2315
- exports.useSignInElrondMutation = useSignInElrondMutation;
2316
- exports.SignInFlowDocument = (0, client_1.gql) `
2317
- mutation SignInFlow($signature: String!, $address: String!) {
2318
- signInFlow(signature: $signature, address: $address) {
2319
- userId
2320
- wallets
2321
- authToken
2322
- refreshToken
2323
- newUser
2324
- }
2325
- }
2326
- `;
2327
- /**
2328
- * __useSignInFlowMutation__
2329
- *
2330
- * To run a mutation, you first call `useSignInFlowMutation` within a React component and pass it any options that fit your needs.
2331
- * When your component renders, `useSignInFlowMutation` returns a tuple that includes:
2332
- * - A mutate function that you can call at any time to execute the mutation
2333
- * - An object with fields that represent the current status of the mutation's execution
2334
- *
2335
- * @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;
2336
- *
2337
- * @example
2338
- * const [signInFlowMutation, { data, loading, error }] = useSignInFlowMutation({
2339
- * variables: {
2340
- * signature: // value for 'signature'
2341
- * address: // value for 'address'
2342
- * },
2343
- * });
2344
- */
2345
- function useSignInFlowMutation(baseOptions) {
2346
- return Apollo.useMutation(exports.SignInFlowDocument, baseOptions);
2347
- }
2348
- exports.useSignInFlowMutation = useSignInFlowMutation;
2349
- exports.SignInSolanaDocument = (0, client_1.gql) `
2350
- mutation SignInSolana($signature: String!, $pubkey: String!) {
2351
- signInSolana(signature: $signature, pubkey: $pubkey) {
2352
- userId
2353
- wallets
2354
- authToken
2355
- refreshToken
2356
- newUser
2357
- }
2358
- }
2359
- `;
2360
- /**
2361
- * __useSignInSolanaMutation__
2362
- *
2363
- * To run a mutation, you first call `useSignInSolanaMutation` within a React component and pass it any options that fit your needs.
2364
- * When your component renders, `useSignInSolanaMutation` returns a tuple that includes:
2365
- * - A mutate function that you can call at any time to execute the mutation
2366
- * - An object with fields that represent the current status of the mutation's execution
2367
- *
2368
- * @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;
2369
- *
2370
- * @example
2371
- * const [signInSolanaMutation, { data, loading, error }] = useSignInSolanaMutation({
2372
- * variables: {
2373
- * signature: // value for 'signature'
2374
- * pubkey: // value for 'pubkey'
2375
- * },
2376
- * });
2377
- */
2378
- function useSignInSolanaMutation(baseOptions) {
2379
- return Apollo.useMutation(exports.SignInSolanaDocument, baseOptions);
2380
- }
2381
- exports.useSignInSolanaMutation = useSignInSolanaMutation;
2382
- exports.SignInTezosDocument = (0, client_1.gql) `
2383
- mutation SignInTezos($signature: String!, $pubkey: String!) {
2384
- signInTezos(signature: $signature, pubkey: $pubkey) {
2385
- userId
2386
- wallets
2387
- authToken
2388
- refreshToken
2389
- newUser
2390
- }
2391
- }
2392
- `;
2393
- /**
2394
- * __useSignInTezosMutation__
2395
- *
2396
- * To run a mutation, you first call `useSignInTezosMutation` within a React component and pass it any options that fit your needs.
2397
- * When your component renders, `useSignInTezosMutation` returns a tuple that includes:
2398
- * - A mutate function that you can call at any time to execute the mutation
2399
- * - An object with fields that represent the current status of the mutation's execution
2400
- *
2401
- * @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;
2402
- *
2403
- * @example
2404
- * const [signInTezosMutation, { data, loading, error }] = useSignInTezosMutation({
2405
- * variables: {
2406
- * signature: // value for 'signature'
2407
- * pubkey: // value for 'pubkey'
2408
- * },
2409
- * });
2410
- */
2411
- function useSignInTezosMutation(baseOptions) {
2412
- return Apollo.useMutation(exports.SignInTezosDocument, baseOptions);
2413
- }
2414
- exports.useSignInTezosMutation = useSignInTezosMutation;
2415
- exports.UpdateProfileDocument = (0, client_1.gql) `
2416
- mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
2417
- updateProfile(
2418
- profile: {username: $username, about: $about, showNsfw: $showNsfw, social: {facebook: $facebook, twitter: $twitter, instagram: $instagram, website: $website}}
2419
- )
2420
- }
2421
- `;
2422
- /**
2423
- * __useUpdateProfileMutation__
2424
- *
2425
- * To run a mutation, you first call `useUpdateProfileMutation` within a React component and pass it any options that fit your needs.
2426
- * When your component renders, `useUpdateProfileMutation` returns a tuple that includes:
2427
- * - A mutate function that you can call at any time to execute the mutation
2428
- * - An object with fields that represent the current status of the mutation's execution
2429
- *
2430
- * @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;
2431
- *
2432
- * @example
2433
- * const [updateProfileMutation, { data, loading, error }] = useUpdateProfileMutation({
2434
- * variables: {
2435
- * username: // value for 'username'
2436
- * about: // value for 'about'
2437
- * facebook: // value for 'facebook'
2438
- * twitter: // value for 'twitter'
2439
- * instagram: // value for 'instagram'
2440
- * website: // value for 'website'
2441
- * showNsfw: // value for 'showNsfw'
2442
- * },
2443
- * });
2444
- */
2445
- function useUpdateProfileMutation(baseOptions) {
2446
- return Apollo.useMutation(exports.UpdateProfileDocument, baseOptions);
2447
- }
2448
- exports.useUpdateProfileMutation = useUpdateProfileMutation;
2449
- exports.FetchProfileDocument = (0, client_1.gql) `
2450
- query FetchProfile($userId: ID!) {
2451
- fetchProfile(userId: $userId) {
2452
- userId
2453
- username
2454
- about
2455
- userpic
2456
- following
2457
- followings
2458
- followers
2459
- rank
2460
- social {
2461
- facebook
2462
- twitter
2463
- instagram
2464
- website
2465
- }
2466
- views
2467
- createdAt
2468
- deletedAt
2469
- visible
2470
- deleted
2471
- showNsfw
2472
- wallets {
2473
- userId
2474
- address
2475
- walletName
2476
- blockchain
2477
- chainId
2478
- }
2479
- }
2480
- }
2481
- `;
2482
- /**
2483
- * __useFetchProfileQuery__
2484
- *
2485
- * To run a query within a React component, call `useFetchProfileQuery` and pass it any options that fit your needs.
2486
- * When your component renders, `useFetchProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
2487
- * you can use to render your UI.
2488
- *
2489
- * @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;
2490
- *
2491
- * @example
2492
- * const { data, loading, error } = useFetchProfileQuery({
2493
- * variables: {
2494
- * userId: // value for 'userId'
2495
- * },
2496
- * });
2497
- */
2498
- function useFetchProfileQuery(baseOptions) {
2499
- return Apollo.useQuery(exports.FetchProfileDocument, baseOptions);
2500
- }
2501
- exports.useFetchProfileQuery = useFetchProfileQuery;
2502
- function useFetchProfileLazyQuery(baseOptions) {
2503
- return Apollo.useLazyQuery(exports.FetchProfileDocument, baseOptions);
2504
- }
2505
- exports.useFetchProfileLazyQuery = useFetchProfileLazyQuery;
2506
- exports.FetchUserWalletsDocument = (0, client_1.gql) `
2507
- query FetchUserWallets($userId: ID!) {
2508
- fetchUserWallets(userId: $userId) {
2509
- userId
2510
- address
2511
- walletName
2512
- blockchain
2513
- chainId
2514
- }
2515
- }
2516
- `;
2517
- /**
2518
- * __useFetchUserWalletsQuery__
2519
- *
2520
- * To run a query within a React component, call `useFetchUserWalletsQuery` and pass it any options that fit your needs.
2521
- * When your component renders, `useFetchUserWalletsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2522
- * you can use to render your UI.
2523
- *
2524
- * @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;
2525
- *
2526
- * @example
2527
- * const { data, loading, error } = useFetchUserWalletsQuery({
2528
- * variables: {
2529
- * userId: // value for 'userId'
2530
- * },
2531
- * });
2532
- */
2533
- function useFetchUserWalletsQuery(baseOptions) {
2534
- return Apollo.useQuery(exports.FetchUserWalletsDocument, baseOptions);
2535
- }
2536
- exports.useFetchUserWalletsQuery = useFetchUserWalletsQuery;
2537
- function useFetchUserWalletsLazyQuery(baseOptions) {
2538
- return Apollo.useLazyQuery(exports.FetchUserWalletsDocument, baseOptions);
2539
- }
2540
- exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
2541
- exports.GetMyInviteCodesDocument = (0, client_1.gql) `
2542
- query GetMyInviteCodes {
2543
- getMyInviteCodes {
2544
- inviteCode
2545
- inviteeId
2546
- isUsed
2547
- usedAt
2548
- }
2549
- }
2550
- `;
2551
- /**
2552
- * __useGetMyInviteCodesQuery__
2553
- *
2554
- * To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
2555
- * When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2556
- * you can use to render your UI.
2557
- *
2558
- * @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;
2559
- *
2560
- * @example
2561
- * const { data, loading, error } = useGetMyInviteCodesQuery({
2562
- * variables: {
2563
- * },
2564
- * });
2565
- */
2566
- function useGetMyInviteCodesQuery(baseOptions) {
2567
- return Apollo.useQuery(exports.GetMyInviteCodesDocument, baseOptions);
2568
- }
2569
- exports.useGetMyInviteCodesQuery = useGetMyInviteCodesQuery;
2570
- function useGetMyInviteCodesLazyQuery(baseOptions) {
2571
- return Apollo.useLazyQuery(exports.GetMyInviteCodesDocument, baseOptions);
2572
- }
2573
- exports.useGetMyInviteCodesLazyQuery = useGetMyInviteCodesLazyQuery;
2574
- exports.FetchUserpicDocument = (0, client_1.gql) `
2575
- query FetchUserpic($userId: ID!) {
2576
- fetchUserpic(userId: $userId)
2577
- }
2578
- `;
2579
- /**
2580
- * __useFetchUserpicQuery__
2581
- *
2582
- * To run a query within a React component, call `useFetchUserpicQuery` and pass it any options that fit your needs.
2583
- * When your component renders, `useFetchUserpicQuery` returns an object from Apollo Client that contains loading, error, and data properties
2584
- * you can use to render your UI.
2585
- *
2586
- * @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;
2587
- *
2588
- * @example
2589
- * const { data, loading, error } = useFetchUserpicQuery({
2590
- * variables: {
2591
- * userId: // value for 'userId'
2592
- * },
2593
- * });
2594
- */
2595
- function useFetchUserpicQuery(baseOptions) {
2596
- return Apollo.useQuery(exports.FetchUserpicDocument, baseOptions);
2597
- }
2598
- exports.useFetchUserpicQuery = useFetchUserpicQuery;
2599
- function useFetchUserpicLazyQuery(baseOptions) {
2600
- return Apollo.useLazyQuery(exports.FetchUserpicDocument, baseOptions);
2601
- }
2602
- exports.useFetchUserpicLazyQuery = useFetchUserpicLazyQuery;
2603
- exports.SaveUserExpectationsDocument = (0, client_1.gql) `
2604
- mutation SaveUserExpectations($expectations: [String]!) {
2605
- saveUserExpectations(expectations: $expectations)
2606
- }
2607
- `;
2608
- /**
2609
- * __useSaveUserExpectationsMutation__
2610
- *
2611
- * To run a mutation, you first call `useSaveUserExpectationsMutation` within a React component and pass it any options that fit your needs.
2612
- * When your component renders, `useSaveUserExpectationsMutation` returns a tuple that includes:
2613
- * - A mutate function that you can call at any time to execute the mutation
2614
- * - An object with fields that represent the current status of the mutation's execution
2615
- *
2616
- * @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;
2617
- *
2618
- * @example
2619
- * const [saveUserExpectationsMutation, { data, loading, error }] = useSaveUserExpectationsMutation({
2620
- * variables: {
2621
- * expectations: // value for 'expectations'
2622
- * },
2623
- * });
2624
- */
2625
- function useSaveUserExpectationsMutation(baseOptions) {
2626
- return Apollo.useMutation(exports.SaveUserExpectationsDocument, baseOptions);
2627
- }
2628
- exports.useSaveUserExpectationsMutation = useSaveUserExpectationsMutation;
2629
- exports.SaveUserInterestsDocument = (0, client_1.gql) `
2630
- mutation SaveUserInterests($interests: [String]!) {
2631
- saveUserInterests(interests: $interests)
2632
- }
2633
- `;
2634
- /**
2635
- * __useSaveUserInterestsMutation__
2636
- *
2637
- * To run a mutation, you first call `useSaveUserInterestsMutation` within a React component and pass it any options that fit your needs.
2638
- * When your component renders, `useSaveUserInterestsMutation` returns a tuple that includes:
2639
- * - A mutate function that you can call at any time to execute the mutation
2640
- * - An object with fields that represent the current status of the mutation's execution
2641
- *
2642
- * @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;
2643
- *
2644
- * @example
2645
- * const [saveUserInterestsMutation, { data, loading, error }] = useSaveUserInterestsMutation({
2646
- * variables: {
2647
- * interests: // value for 'interests'
2648
- * },
2649
- * });
2650
- */
2651
- function useSaveUserInterestsMutation(baseOptions) {
2652
- return Apollo.useMutation(exports.SaveUserInterestsDocument, baseOptions);
2653
- }
2654
- exports.useSaveUserInterestsMutation = useSaveUserInterestsMutation;
2655
- exports.FetchExpectationsDocument = (0, client_1.gql) `
2656
- query FetchExpectations {
2657
- fetchExpectations {
2658
- name
2659
- imageUrl
2660
- }
2661
- }
2662
- `;
2663
- /**
2664
- * __useFetchExpectationsQuery__
2665
- *
2666
- * To run a query within a React component, call `useFetchExpectationsQuery` and pass it any options that fit your needs.
2667
- * When your component renders, `useFetchExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2668
- * you can use to render your UI.
2669
- *
2670
- * @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;
2671
- *
2672
- * @example
2673
- * const { data, loading, error } = useFetchExpectationsQuery({
2674
- * variables: {
2675
- * },
2676
- * });
2677
- */
2678
- function useFetchExpectationsQuery(baseOptions) {
2679
- return Apollo.useQuery(exports.FetchExpectationsDocument, baseOptions);
2680
- }
2681
- exports.useFetchExpectationsQuery = useFetchExpectationsQuery;
2682
- function useFetchExpectationsLazyQuery(baseOptions) {
2683
- return Apollo.useLazyQuery(exports.FetchExpectationsDocument, baseOptions);
2684
- }
2685
- exports.useFetchExpectationsLazyQuery = useFetchExpectationsLazyQuery;
2686
- exports.FetchInterestsDocument = (0, client_1.gql) `
2687
- query FetchInterests {
2688
- fetchInterests {
2689
- name
2690
- imageUrl
2691
- }
2692
- }
2693
- `;
2694
- /**
2695
- * __useFetchInterestsQuery__
2696
- *
2697
- * To run a query within a React component, call `useFetchInterestsQuery` and pass it any options that fit your needs.
2698
- * When your component renders, `useFetchInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2699
- * you can use to render your UI.
2700
- *
2701
- * @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;
2702
- *
2703
- * @example
2704
- * const { data, loading, error } = useFetchInterestsQuery({
2705
- * variables: {
2706
- * },
2707
- * });
2708
- */
2709
- function useFetchInterestsQuery(baseOptions) {
2710
- return Apollo.useQuery(exports.FetchInterestsDocument, baseOptions);
2711
- }
2712
- exports.useFetchInterestsQuery = useFetchInterestsQuery;
2713
- function useFetchInterestsLazyQuery(baseOptions) {
2714
- return Apollo.useLazyQuery(exports.FetchInterestsDocument, baseOptions);
2715
- }
2716
- exports.useFetchInterestsLazyQuery = useFetchInterestsLazyQuery;
2717
- exports.FetchSearchResultTimeSelectionsDocument = (0, client_1.gql) `
2718
- query FetchSearchResultTimeSelections {
2719
- fetchSearchResultTimeSelections {
2720
- id
2721
- label
2722
- }
2723
- }
2724
- `;
2725
- /**
2726
- * __useFetchSearchResultTimeSelectionsQuery__
2727
- *
2728
- * To run a query within a React component, call `useFetchSearchResultTimeSelectionsQuery` and pass it any options that fit your needs.
2729
- * When your component renders, `useFetchSearchResultTimeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2730
- * you can use to render your UI.
2731
- *
2732
- * @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;
2733
- *
2734
- * @example
2735
- * const { data, loading, error } = useFetchSearchResultTimeSelectionsQuery({
2736
- * variables: {
2737
- * },
2738
- * });
2739
- */
2740
- function useFetchSearchResultTimeSelectionsQuery(baseOptions) {
2741
- return Apollo.useQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
2742
- }
2743
- exports.useFetchSearchResultTimeSelectionsQuery = useFetchSearchResultTimeSelectionsQuery;
2744
- function useFetchSearchResultTimeSelectionsLazyQuery(baseOptions) {
2745
- return Apollo.useLazyQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
2746
- }
2747
- exports.useFetchSearchResultTimeSelectionsLazyQuery = useFetchSearchResultTimeSelectionsLazyQuery;
2748
- exports.FetchUserExpectationsDocument = (0, client_1.gql) `
2749
- query FetchUserExpectations {
2750
- fetchUserExpectations {
2751
- userId
2752
- name
2753
- imageUrl
2754
- }
2755
- }
2756
- `;
2757
- /**
2758
- * __useFetchUserExpectationsQuery__
2759
- *
2760
- * To run a query within a React component, call `useFetchUserExpectationsQuery` and pass it any options that fit your needs.
2761
- * When your component renders, `useFetchUserExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2762
- * you can use to render your UI.
2763
- *
2764
- * @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;
2765
- *
2766
- * @example
2767
- * const { data, loading, error } = useFetchUserExpectationsQuery({
2768
- * variables: {
2769
- * },
2770
- * });
2771
- */
2772
- function useFetchUserExpectationsQuery(baseOptions) {
2773
- return Apollo.useQuery(exports.FetchUserExpectationsDocument, baseOptions);
2774
- }
2775
- exports.useFetchUserExpectationsQuery = useFetchUserExpectationsQuery;
2776
- function useFetchUserExpectationsLazyQuery(baseOptions) {
2777
- return Apollo.useLazyQuery(exports.FetchUserExpectationsDocument, baseOptions);
2778
- }
2779
- exports.useFetchUserExpectationsLazyQuery = useFetchUserExpectationsLazyQuery;
2780
- exports.FetchUserInterestsDocument = (0, client_1.gql) `
2781
- query FetchUserInterests {
2782
- fetchUserInterests {
2783
- userId
2784
- name
2785
- imageUrl
2786
- percents
2787
- }
2788
- }
2789
- `;
2790
- /**
2791
- * __useFetchUserInterestsQuery__
2792
- *
2793
- * To run a query within a React component, call `useFetchUserInterestsQuery` and pass it any options that fit your needs.
2794
- * When your component renders, `useFetchUserInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2795
- * you can use to render your UI.
2796
- *
2797
- * @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;
2798
- *
2799
- * @example
2800
- * const { data, loading, error } = useFetchUserInterestsQuery({
2801
- * variables: {
2802
- * },
2803
- * });
2804
- */
2805
- function useFetchUserInterestsQuery(baseOptions) {
2806
- return Apollo.useQuery(exports.FetchUserInterestsDocument, baseOptions);
2807
- }
2808
- exports.useFetchUserInterestsQuery = useFetchUserInterestsQuery;
2809
- function useFetchUserInterestsLazyQuery(baseOptions) {
2810
- return Apollo.useLazyQuery(exports.FetchUserInterestsDocument, baseOptions);
2811
- }
2812
- exports.useFetchUserInterestsLazyQuery = useFetchUserInterestsLazyQuery;
2813
- exports.FetchSearchResultBlockchainSelectionsDocument = (0, client_1.gql) `
2814
- query FetchSearchResultBlockchainSelections {
2815
- fetchSearchResultBlockchainSelections {
2816
- id
2817
- label
2818
- }
2819
- }
2820
- `;
2821
- /**
2822
- * __useFetchSearchResultBlockchainSelectionsQuery__
2823
- *
2824
- * To run a query within a React component, call `useFetchSearchResultBlockchainSelectionsQuery` and pass it any options that fit your needs.
2825
- * When your component renders, `useFetchSearchResultBlockchainSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2826
- * you can use to render your UI.
2827
- *
2828
- * @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;
2829
- *
2830
- * @example
2831
- * const { data, loading, error } = useFetchSearchResultBlockchainSelectionsQuery({
2832
- * variables: {
2833
- * },
2834
- * });
2835
- */
2836
- function useFetchSearchResultBlockchainSelectionsQuery(baseOptions) {
2837
- return Apollo.useQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
2838
- }
2839
- exports.useFetchSearchResultBlockchainSelectionsQuery = useFetchSearchResultBlockchainSelectionsQuery;
2840
- function useFetchSearchResultBlockchainSelectionsLazyQuery(baseOptions) {
2841
- return Apollo.useLazyQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
2842
- }
2843
- exports.useFetchSearchResultBlockchainSelectionsLazyQuery = useFetchSearchResultBlockchainSelectionsLazyQuery;
2844
- exports.FetchSearchResultCategorySelectionsDocument = (0, client_1.gql) `
2845
- query FetchSearchResultCategorySelections {
2846
- fetchSearchResultCategorySelections {
2847
- id
2848
- label
2849
- }
2850
- }
2851
- `;
2852
- /**
2853
- * __useFetchSearchResultCategorySelectionsQuery__
2854
- *
2855
- * To run a query within a React component, call `useFetchSearchResultCategorySelectionsQuery` and pass it any options that fit your needs.
2856
- * When your component renders, `useFetchSearchResultCategorySelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2857
- * you can use to render your UI.
2858
- *
2859
- * @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;
2860
- *
2861
- * @example
2862
- * const { data, loading, error } = useFetchSearchResultCategorySelectionsQuery({
2863
- * variables: {
2864
- * },
2865
- * });
2866
- */
2867
- function useFetchSearchResultCategorySelectionsQuery(baseOptions) {
2868
- return Apollo.useQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
2869
- }
2870
- exports.useFetchSearchResultCategorySelectionsQuery = useFetchSearchResultCategorySelectionsQuery;
2871
- function useFetchSearchResultCategorySelectionsLazyQuery(baseOptions) {
2872
- return Apollo.useLazyQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
2873
- }
2874
- exports.useFetchSearchResultCategorySelectionsLazyQuery = useFetchSearchResultCategorySelectionsLazyQuery;
2875
- exports.FetchSearchResultStatusSelectionsDocument = (0, client_1.gql) `
2876
- query FetchSearchResultStatusSelections {
2877
- fetchSearchResultStatusSelections {
2878
- id
2879
- label
2880
- }
2881
- }
2882
- `;
2883
- /**
2884
- * __useFetchSearchResultStatusSelectionsQuery__
2885
- *
2886
- * To run a query within a React component, call `useFetchSearchResultStatusSelectionsQuery` and pass it any options that fit your needs.
2887
- * When your component renders, `useFetchSearchResultStatusSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2888
- * you can use to render your UI.
2889
- *
2890
- * @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;
2891
- *
2892
- * @example
2893
- * const { data, loading, error } = useFetchSearchResultStatusSelectionsQuery({
2894
- * variables: {
2895
- * },
2896
- * });
2897
- */
2898
- function useFetchSearchResultStatusSelectionsQuery(baseOptions) {
2899
- return Apollo.useQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
2900
- }
2901
- exports.useFetchSearchResultStatusSelectionsQuery = useFetchSearchResultStatusSelectionsQuery;
2902
- function useFetchSearchResultStatusSelectionsLazyQuery(baseOptions) {
2903
- return Apollo.useLazyQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
2904
- }
2905
- exports.useFetchSearchResultStatusSelectionsLazyQuery = useFetchSearchResultStatusSelectionsLazyQuery;
2906
- exports.FetchSetsSearchResultTypeSelectionsDocument = (0, client_1.gql) `
2907
- query FetchSetsSearchResultTypeSelections {
2908
- fetchSetsSearchResultTypeSelections {
2909
- id
2910
- label
2911
- }
2912
- }
2913
- `;
2914
- /**
2915
- * __useFetchSetsSearchResultTypeSelectionsQuery__
2916
- *
2917
- * To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
2918
- * When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2919
- * you can use to render your UI.
2920
- *
2921
- * @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;
2922
- *
2923
- * @example
2924
- * const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
2925
- * variables: {
2926
- * },
2927
- * });
2928
- */
2929
- function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions) {
2930
- return Apollo.useQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
2931
- }
2932
- exports.useFetchSetsSearchResultTypeSelectionsQuery = useFetchSetsSearchResultTypeSelectionsQuery;
2933
- function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
2934
- return Apollo.useLazyQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
2935
- }
2936
- exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
2937
- exports.FetchAssetsCountDocument = (0, client_1.gql) `
2938
- query FetchAssetsCount {
2939
- fetchAssetsCount
2940
- }
2941
- `;
2942
- /**
2943
- * __useFetchAssetsCountQuery__
2944
- *
2945
- * To run a query within a React component, call `useFetchAssetsCountQuery` and pass it any options that fit your needs.
2946
- * When your component renders, `useFetchAssetsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
2947
- * you can use to render your UI.
2948
- *
2949
- * @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;
2950
- *
2951
- * @example
2952
- * const { data, loading, error } = useFetchAssetsCountQuery({
2953
- * variables: {
2954
- * },
2955
- * });
2956
- */
2957
- function useFetchAssetsCountQuery(baseOptions) {
2958
- return Apollo.useQuery(exports.FetchAssetsCountDocument, baseOptions);
2959
- }
2960
- exports.useFetchAssetsCountQuery = useFetchAssetsCountQuery;
2961
- function useFetchAssetsCountLazyQuery(baseOptions) {
2962
- return Apollo.useLazyQuery(exports.FetchAssetsCountDocument, baseOptions);
2963
- }
2964
- exports.useFetchAssetsCountLazyQuery = useFetchAssetsCountLazyQuery;
2965
- exports.FindCollectionsDocument = (0, client_1.gql) `
2966
- query FindCollections($term: String!, $input: CollectionFilterInput!, $pageSize: Int!, $pageToken: String) {
2967
- findCollections(
2968
- term: $term
2969
- input: $input
2970
- pageSize: $pageSize
2971
- pageToken: $pageToken
2972
- ) {
2973
- collections {
2974
- collectionId
2975
- collectionTitle
2976
- blockchain
2977
- tokenId
2978
- medias {
2979
- originalUrl
2980
- url
2981
- previewUrl
2982
- mimeType
2983
- sizeRatio
2984
- fileSize
2985
- }
2986
- rank
2987
- }
2988
- nextPageToken
2989
- results
2990
- }
2991
- }
2992
- `;
2993
- /**
2994
- * __useFindCollectionsQuery__
2995
- *
2996
- * To run a query within a React component, call `useFindCollectionsQuery` and pass it any options that fit your needs.
2997
- * When your component renders, `useFindCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2998
- * you can use to render your UI.
2999
- *
3000
- * @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;
3001
- *
3002
- * @example
3003
- * const { data, loading, error } = useFindCollectionsQuery({
3004
- * variables: {
3005
- * term: // value for 'term'
3006
- * input: // value for 'input'
3007
- * pageSize: // value for 'pageSize'
3008
- * pageToken: // value for 'pageToken'
3009
- * },
3010
- * });
3011
- */
3012
- function useFindCollectionsQuery(baseOptions) {
3013
- return Apollo.useQuery(exports.FindCollectionsDocument, baseOptions);
3014
- }
3015
- exports.useFindCollectionsQuery = useFindCollectionsQuery;
3016
- function useFindCollectionsLazyQuery(baseOptions) {
3017
- return Apollo.useLazyQuery(exports.FindCollectionsDocument, baseOptions);
3018
- }
3019
- exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
3020
- exports.FetchCreationsDocument = (0, client_1.gql) `
3021
- query FetchCreations($pageSize: Int!, $pageToken: String) {
3022
- fetchCreations(pageSize: $pageSize, pageToken: $pageToken) {
3023
- nextPageToken
3024
- creations {
3025
- itemType
3026
- itemId
3027
- rank
3028
- blockchain
3029
- address
3030
- tokenId
3031
- name
3032
- creatorsAddresses
3033
- creatorsProfiles {
3034
- userId
3035
- username
3036
- about
3037
- userpic
3038
- followers
3039
- followings
3040
- createdAt
3041
- deletedAt
3042
- visible
3043
- views
3044
- deleted
3045
- }
3046
- ownersAddresses
3047
- ownersProfiles {
3048
- userId
3049
- username
3050
- about
3051
- userpic
3052
- followers
3053
- followings
3054
- createdAt
3055
- deletedAt
3056
- visible
3057
- views
3058
- deleted
3059
- }
3060
- originalUrls
3061
- media
3062
- mediaPreview
3063
- mimeType
3064
- sizeRatio
3065
- fileSize
3066
- nsfw
3067
- likes
3068
- liked
3069
- views
3070
- visible
3071
- blurred
3072
- }
3073
- }
3074
- }
3075
- `;
3076
- /**
3077
- * __useFetchCreationsQuery__
3078
- *
3079
- * To run a query within a React component, call `useFetchCreationsQuery` and pass it any options that fit your needs.
3080
- * When your component renders, `useFetchCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3081
- * you can use to render your UI.
3082
- *
3083
- * @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;
3084
- *
3085
- * @example
3086
- * const { data, loading, error } = useFetchCreationsQuery({
3087
- * variables: {
3088
- * pageSize: // value for 'pageSize'
3089
- * pageToken: // value for 'pageToken'
3090
- * },
3091
- * });
3092
- */
3093
- function useFetchCreationsQuery(baseOptions) {
3094
- return Apollo.useQuery(exports.FetchCreationsDocument, baseOptions);
3095
- }
3096
- exports.useFetchCreationsQuery = useFetchCreationsQuery;
3097
- function useFetchCreationsLazyQuery(baseOptions) {
3098
- return Apollo.useLazyQuery(exports.FetchCreationsDocument, baseOptions);
3099
- }
3100
- exports.useFetchCreationsLazyQuery = useFetchCreationsLazyQuery;
3101
- exports.FetchCreationsByItemTypeDocument = (0, client_1.gql) `
3102
- query FetchCreationsByItemType($itemType: String!, $pageSize: Int!, $pageToken: String) {
3103
- fetchCreationsByItemType(
3104
- itemType: $itemType
3105
- pageSize: $pageSize
3106
- pageToken: $pageToken
3107
- ) {
3108
- nextPageToken
3109
- creations {
3110
- itemType
3111
- itemId
3112
- address
3113
- tokenId
3114
- blockchain
3115
- name
3116
- rank
3117
- creatorsAddresses
3118
- creatorsProfiles {
3119
- userId
3120
- username
3121
- about
3122
- userpic
3123
- followers
3124
- followings
3125
- createdAt
3126
- deletedAt
3127
- visible
3128
- views
3129
- deleted
3130
- }
3131
- ownersAddresses
3132
- ownersProfiles {
3133
- userId
3134
- username
3135
- about
3136
- userpic
3137
- followers
3138
- followings
3139
- createdAt
3140
- deletedAt
3141
- visible
3142
- views
3143
- deleted
3144
- }
3145
- originalUrls
3146
- media
3147
- mediaPreview
3148
- mimeType
3149
- sizeRatio
3150
- fileSize
3151
- nsfw
3152
- likes
3153
- views
3154
- visible
3155
- blurred
3156
- }
3157
- }
3158
- }
3159
- `;
3160
- /**
3161
- * __useFetchCreationsByItemTypeQuery__
3162
- *
3163
- * To run a query within a React component, call `useFetchCreationsByItemTypeQuery` and pass it any options that fit your needs.
3164
- * When your component renders, `useFetchCreationsByItemTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties
3165
- * you can use to render your UI.
3166
- *
3167
- * @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;
3168
- *
3169
- * @example
3170
- * const { data, loading, error } = useFetchCreationsByItemTypeQuery({
3171
- * variables: {
3172
- * itemType: // value for 'itemType'
3173
- * pageSize: // value for 'pageSize'
3174
- * pageToken: // value for 'pageToken'
3175
- * },
3176
- * });
3177
- */
3178
- function useFetchCreationsByItemTypeQuery(baseOptions) {
3179
- return Apollo.useQuery(exports.FetchCreationsByItemTypeDocument, baseOptions);
3180
- }
3181
- exports.useFetchCreationsByItemTypeQuery = useFetchCreationsByItemTypeQuery;
3182
- function useFetchCreationsByItemTypeLazyQuery(baseOptions) {
3183
- return Apollo.useLazyQuery(exports.FetchCreationsByItemTypeDocument, baseOptions);
3184
- }
3185
- exports.useFetchCreationsByItemTypeLazyQuery = useFetchCreationsByItemTypeLazyQuery;
3186
- exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
3187
- query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
3188
- findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
3189
- assets {
3190
- assetId
3191
- address
3192
- tokenId
3193
- blockchain
3194
- chainId
3195
- blockHeight
3196
- blockTimestamp
3197
- name
3198
- description
3199
- originalUrls
3200
- medias {
3201
- originalUrl
3202
- url
3203
- previewUrl
3204
- mimeType
3205
- sizeRatio
3206
- fileSize
3207
- nsfw
3208
- }
3209
- ownersAddresses
3210
- ownersProfiles {
3211
- userId
3212
- username
3213
- about
3214
- userpic
3215
- followers
3216
- followings
3217
- createdAt
3218
- deletedAt
3219
- visible
3220
- views
3221
- deleted
3222
- }
3223
- creatorsAddresses
3224
- creatorsProfiles {
3225
- userId
3226
- username
3227
- about
3228
- userpic
3229
- followers
3230
- followings
3231
- createdAt
3232
- deletedAt
3233
- visible
3234
- views
3235
- deleted
3236
- }
3237
- attributes {
3238
- name
3239
- value
3240
- }
3241
- likes
3242
- views
3243
- visible
3244
- blurred
3245
- rank
3246
- rankRaw
3247
- rankMax
3248
- rankUpdatedAt
3249
- }
3250
- collections {
3251
- collectionId
3252
- blockchain
3253
- identifier
3254
- contractAddress
3255
- tokenId
3256
- collectionTitle
3257
- totalVolumes {
3258
- currency
3259
- amount
3260
- }
3261
- likes
3262
- liked
3263
- verified
3264
- rank
3265
- floorPrices {
3266
- currency
3267
- amount
3268
- }
3269
- }
3270
- profiles {
3271
- userId
3272
- username
3273
- about
3274
- userpic
3275
- followers
3276
- followings
3277
- createdAt
3278
- deletedAt
3279
- visible
3280
- views
3281
- deleted
3282
- }
3283
- }
3284
- }
3285
- `;
3286
- /**
3287
- * __useFindAllTopEntitiesByNameQuery__
3288
- *
3289
- * To run a query within a React component, call `useFindAllTopEntitiesByNameQuery` and pass it any options that fit your needs.
3290
- * When your component renders, `useFindAllTopEntitiesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
3291
- * you can use to render your UI.
3292
- *
3293
- * @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;
3294
- *
3295
- * @example
3296
- * const { data, loading, error } = useFindAllTopEntitiesByNameQuery({
3297
- * variables: {
3298
- * name: // value for 'name'
3299
- * pageSize: // value for 'pageSize'
3300
- * },
3301
- * });
3302
- */
3303
- function useFindAllTopEntitiesByNameQuery(baseOptions) {
3304
- return Apollo.useQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
3305
- }
3306
- exports.useFindAllTopEntitiesByNameQuery = useFindAllTopEntitiesByNameQuery;
3307
- function useFindAllTopEntitiesByNameLazyQuery(baseOptions) {
3308
- return Apollo.useLazyQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
3309
- }
3310
- exports.useFindAllTopEntitiesByNameLazyQuery = useFindAllTopEntitiesByNameLazyQuery;
3311
- exports.FetchUserPortfolioDocument = (0, client_1.gql) `
3312
- query FetchUserPortfolio($ownerId: String!) {
3313
- fetchUserPortfolio(ownerId: $ownerId) {
3314
- currency
3315
- amount
3316
- }
3317
- }
3318
- `;
3319
- /**
3320
- * __useFetchUserPortfolioQuery__
3321
- *
3322
- * To run a query within a React component, call `useFetchUserPortfolioQuery` and pass it any options that fit your needs.
3323
- * When your component renders, `useFetchUserPortfolioQuery` returns an object from Apollo Client that contains loading, error, and data properties
3324
- * you can use to render your UI.
3325
- *
3326
- * @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;
3327
- *
3328
- * @example
3329
- * const { data, loading, error } = useFetchUserPortfolioQuery({
3330
- * variables: {
3331
- * ownerId: // value for 'ownerId'
3332
- * },
3333
- * });
3334
- */
3335
- function useFetchUserPortfolioQuery(baseOptions) {
3336
- return Apollo.useQuery(exports.FetchUserPortfolioDocument, baseOptions);
3337
- }
3338
- exports.useFetchUserPortfolioQuery = useFetchUserPortfolioQuery;
3339
- function useFetchUserPortfolioLazyQuery(baseOptions) {
3340
- return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
3341
- }
3342
- exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
3343
- exports.FindCreationsDocument = (0, client_1.gql) `
3344
- query FindCreations($term: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
3345
- findCreations(
3346
- term: $term
3347
- input: $input
3348
- pageSize: $pageSize
3349
- pageToken: $pageToken
3350
- ) {
3351
- nextPageToken
3352
- results
3353
- creations {
3354
- itemType
3355
- address
3356
- tokenId
3357
- itemId
3358
- blockchain
3359
- name
3360
- creatorsAddresses
3361
- creatorsProfiles {
3362
- userId
3363
- username
3364
- about
3365
- userpic
3366
- followers
3367
- views
3368
- createdAt
3369
- deletedAt
3370
- visible
3371
- deleted
3372
- }
3373
- ownersAddresses
3374
- ownersProfiles {
3375
- userId
3376
- username
3377
- about
3378
- userpic
3379
- followings
3380
- followers
3381
- views
3382
- createdAt
3383
- deletedAt
3384
- visible
3385
- deleted
3386
- }
3387
- originalUrls
3388
- media
3389
- mediaPreview
3390
- mimeType
3391
- rank
3392
- sizeRatio
3393
- fileSize
3394
- nsfw
3395
- likes
3396
- liked
3397
- views
3398
- visible
3399
- blurred
3400
- }
3401
- }
3402
- }
3403
- `;
3404
- /**
3405
- * __useFindCreationsQuery__
3406
- *
3407
- * To run a query within a React component, call `useFindCreationsQuery` and pass it any options that fit your needs.
3408
- * When your component renders, `useFindCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3409
- * you can use to render your UI.
3410
- *
3411
- * @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;
3412
- *
3413
- * @example
3414
- * const { data, loading, error } = useFindCreationsQuery({
3415
- * variables: {
3416
- * term: // value for 'term'
3417
- * input: // value for 'input'
3418
- * pageSize: // value for 'pageSize'
3419
- * pageToken: // value for 'pageToken'
3420
- * },
3421
- * });
3422
- */
3423
- function useFindCreationsQuery(baseOptions) {
3424
- return Apollo.useQuery(exports.FindCreationsDocument, baseOptions);
3425
- }
3426
- exports.useFindCreationsQuery = useFindCreationsQuery;
3427
- function useFindCreationsLazyQuery(baseOptions) {
3428
- return Apollo.useLazyQuery(exports.FindCreationsDocument, baseOptions);
3429
- }
3430
- exports.useFindCreationsLazyQuery = useFindCreationsLazyQuery;
3431
- exports.FindProfilesByNameDocument = (0, client_1.gql) `
3432
- query FindProfilesByName($name: String!, $pageSize: Int!, $pageToken: String) {
3433
- findProfilesByName(name: $name, pageSize: $pageSize, pageToken: $pageToken) {
3434
- nextPageToken
3435
- profiles {
3436
- userId
3437
- username
3438
- about
3439
- userpic
3440
- followers
3441
- followings
3442
- visible
3443
- }
3444
- }
3445
- }
3446
- `;
3447
- /**
3448
- * __useFindProfilesByNameQuery__
3449
- *
3450
- * To run a query within a React component, call `useFindProfilesByNameQuery` and pass it any options that fit your needs.
3451
- * When your component renders, `useFindProfilesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
3452
- * you can use to render your UI.
3453
- *
3454
- * @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;
3455
- *
3456
- * @example
3457
- * const { data, loading, error } = useFindProfilesByNameQuery({
3458
- * variables: {
3459
- * name: // value for 'name'
3460
- * pageSize: // value for 'pageSize'
3461
- * pageToken: // value for 'pageToken'
3462
- * },
3463
- * });
3464
- */
3465
- function useFindProfilesByNameQuery(baseOptions) {
3466
- return Apollo.useQuery(exports.FindProfilesByNameDocument, baseOptions);
3467
- }
3468
- exports.useFindProfilesByNameQuery = useFindProfilesByNameQuery;
3469
- function useFindProfilesByNameLazyQuery(baseOptions) {
3470
- return Apollo.useLazyQuery(exports.FindProfilesByNameDocument, baseOptions);
3471
- }
3472
- exports.useFindProfilesByNameLazyQuery = useFindProfilesByNameLazyQuery;
3473
- exports.FindSetsDocument = (0, client_1.gql) `
3474
- query FindSets($term: String!, $input: GallerySearchFilterInput!, $pageSize: Int!, $pageToken: String) {
3475
- findSets(term: $term, input: $input, pageSize: $pageSize, pageToken: $pageToken) {
3476
- nextPageToken
3477
- galleries {
3478
- galleryId
3479
- galleryType
3480
- name
3481
- description
3482
- userId
3483
- username
3484
- userpic
3485
- banner
3486
- createdAt
3487
- items
3488
- views
3489
- publiclyAccessible
3490
- nsfw
3491
- }
3492
- results
3493
- }
3494
- }
3495
- `;
3496
- /**
3497
- * __useFindSetsQuery__
3498
- *
3499
- * To run a query within a React component, call `useFindSetsQuery` and pass it any options that fit your needs.
3500
- * When your component renders, `useFindSetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3501
- * you can use to render your UI.
3502
- *
3503
- * @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;
3504
- *
3505
- * @example
3506
- * const { data, loading, error } = useFindSetsQuery({
3507
- * variables: {
3508
- * term: // value for 'term'
3509
- * input: // value for 'input'
3510
- * pageSize: // value for 'pageSize'
3511
- * pageToken: // value for 'pageToken'
3512
- * },
3513
- * });
3514
- */
3515
- function useFindSetsQuery(baseOptions) {
3516
- return Apollo.useQuery(exports.FindSetsDocument, baseOptions);
3517
- }
3518
- exports.useFindSetsQuery = useFindSetsQuery;
3519
- function useFindSetsLazyQuery(baseOptions) {
3520
- return Apollo.useLazyQuery(exports.FindSetsDocument, baseOptions);
3521
- }
3522
- exports.useFindSetsLazyQuery = useFindSetsLazyQuery;
3523
- exports.FindShowcaseItemsDocument = (0, client_1.gql) `
3524
- query FindShowcaseItems($term: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
3525
- findShowcaseItems(
3526
- term: $term
3527
- input: $input
3528
- pageSize: $pageSize
3529
- pageToken: $pageToken
3530
- ) {
3531
- nextPageToken
3532
- results
3533
- showcaseItems {
3534
- itemType
3535
- itemId
3536
- blockchain
3537
- name
3538
- media
3539
- mediaPreview
3540
- mimeType
3541
- sizeRatio
3542
- fileSize
3543
- likes
3544
- visible
3545
- blurred
3546
- }
3547
- }
3548
- }
3549
- `;
3550
- /**
3551
- * __useFindShowcaseItemsQuery__
3552
- *
3553
- * To run a query within a React component, call `useFindShowcaseItemsQuery` and pass it any options that fit your needs.
3554
- * When your component renders, `useFindShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3555
- * you can use to render your UI.
3556
- *
3557
- * @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;
3558
- *
3559
- * @example
3560
- * const { data, loading, error } = useFindShowcaseItemsQuery({
3561
- * variables: {
3562
- * term: // value for 'term'
3563
- * input: // value for 'input'
3564
- * pageSize: // value for 'pageSize'
3565
- * pageToken: // value for 'pageToken'
3566
- * },
3567
- * });
3568
- */
3569
- function useFindShowcaseItemsQuery(baseOptions) {
3570
- return Apollo.useQuery(exports.FindShowcaseItemsDocument, baseOptions);
3571
- }
3572
- exports.useFindShowcaseItemsQuery = useFindShowcaseItemsQuery;
3573
- function useFindShowcaseItemsLazyQuery(baseOptions) {
3574
- return Apollo.useLazyQuery(exports.FindShowcaseItemsDocument, baseOptions);
3575
- }
3576
- exports.useFindShowcaseItemsLazyQuery = useFindShowcaseItemsLazyQuery;
3577
- exports.FindUserCreationsDocument = (0, client_1.gql) `
3578
- query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
3579
- findUserCreations(
3580
- ownerId: $ownerId
3581
- input: $input
3582
- pageSize: $pageSize
3583
- pageToken: $pageToken
3584
- ) {
3585
- nextPageToken
3586
- results
3587
- creations {
3588
- id
3589
- itemType
3590
- tokenId
3591
- address
3592
- itemId
3593
- blockchain
3594
- rank
3595
- name
3596
- creatorsAddresses
3597
- creatorsProfiles {
3598
- userId
3599
- username
3600
- about
3601
- userpic
3602
- followers
3603
- followings
3604
- createdAt
3605
- deletedAt
3606
- visible
3607
- views
3608
- deleted
3609
- }
3610
- ownersAddresses
3611
- ownersProfiles {
3612
- userId
3613
- username
3614
- about
3615
- userpic
3616
- followers
3617
- followings
3618
- createdAt
3619
- deletedAt
3620
- visible
3621
- views
3622
- deleted
3623
- }
3624
- originalUrls
3625
- media
3626
- mediaPreview
3627
- mimeType
3628
- sizeRatio
3629
- fileSize
3630
- nsfw
3631
- likes
3632
- views
3633
- visible
3634
- blurred
3635
- }
3636
- }
3637
- }
3638
- `;
3639
- /**
3640
- * __useFindUserCreationsQuery__
3641
- *
3642
- * To run a query within a React component, call `useFindUserCreationsQuery` and pass it any options that fit your needs.
3643
- * When your component renders, `useFindUserCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3644
- * you can use to render your UI.
3645
- *
3646
- * @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;
3647
- *
3648
- * @example
3649
- * const { data, loading, error } = useFindUserCreationsQuery({
3650
- * variables: {
3651
- * ownerId: // value for 'ownerId'
3652
- * input: // value for 'input'
3653
- * pageSize: // value for 'pageSize'
3654
- * pageToken: // value for 'pageToken'
3655
- * },
3656
- * });
3657
- */
3658
- function useFindUserCreationsQuery(baseOptions) {
3659
- return Apollo.useQuery(exports.FindUserCreationsDocument, baseOptions);
3660
- }
3661
- exports.useFindUserCreationsQuery = useFindUserCreationsQuery;
3662
- function useFindUserCreationsLazyQuery(baseOptions) {
3663
- return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
3664
- }
3665
- exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
3666
- exports.FindUserShowcaseItemsDocument = (0, client_1.gql) `
3667
- query FindUserShowcaseItems($ownerId: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
3668
- findUserShowcaseItems(
3669
- ownerId: $ownerId
3670
- input: $input
3671
- pageSize: $pageSize
3672
- pageToken: $pageToken
3673
- ) {
3674
- showcaseItems {
3675
- itemType
3676
- itemId
3677
- blockchain
3678
- name
3679
- media
3680
- mediaPreview
3681
- mimeType
3682
- sizeRatio
3683
- fileSize
3684
- likes
3685
- visible
3686
- blurred
3687
- creatorsAddresses
3688
- }
3689
- nextPageToken
3690
- results
3691
- }
3692
- }
3693
- `;
3694
- /**
3695
- * __useFindUserShowcaseItemsQuery__
3696
- *
3697
- * To run a query within a React component, call `useFindUserShowcaseItemsQuery` and pass it any options that fit your needs.
3698
- * When your component renders, `useFindUserShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3699
- * you can use to render your UI.
3700
- *
3701
- * @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;
3702
- *
3703
- * @example
3704
- * const { data, loading, error } = useFindUserShowcaseItemsQuery({
3705
- * variables: {
3706
- * ownerId: // value for 'ownerId'
3707
- * input: // value for 'input'
3708
- * pageSize: // value for 'pageSize'
3709
- * pageToken: // value for 'pageToken'
3710
- * },
3711
- * });
3712
- */
3713
- function useFindUserShowcaseItemsQuery(baseOptions) {
3714
- return Apollo.useQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
3715
- }
3716
- exports.useFindUserShowcaseItemsQuery = useFindUserShowcaseItemsQuery;
3717
- function useFindUserShowcaseItemsLazyQuery(baseOptions) {
3718
- return Apollo.useLazyQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
3719
- }
3720
- exports.useFindUserShowcaseItemsLazyQuery = useFindUserShowcaseItemsLazyQuery;