@ludo.ninja/api 2.5.8 → 2.6.0

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,4711 +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.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 = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
27
- exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = void 0;
28
- 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.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = void 0;
29
- exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = 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.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = void 0;
30
- exports.FetchAllCreationsDocument = 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.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = void 0;
31
- 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 = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = void 0;
32
- /* eslint-disable */
33
- const client_1 = require("@apollo/client");
34
- const Apollo = __importStar(require("@apollo/client"));
35
- var ISortDirection;
36
- (function (ISortDirection) {
37
- ISortDirection["Asc"] = "ASC";
38
- ISortDirection["Desc"] = "DESC";
39
- })(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
40
- exports.ChangeXpPointsDocument = (0, client_1.gql) `
41
- mutation ChangeXpPoints($userId: ID!, $pointsDiff: Int!) {
42
- changeXpPoints(userId: $userId, pointsDiff: $pointsDiff)
43
- }
44
- `;
45
- /**
46
- * __useChangeXpPointsMutation__
47
- *
48
- * To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
49
- * When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
50
- * - A mutate function that you can call at any time to execute the mutation
51
- * - An object with fields that represent the current status of the mutation's execution
52
- *
53
- * @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;
54
- *
55
- * @example
56
- * const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
57
- * variables: {
58
- * userId: // value for 'userId'
59
- * pointsDiff: // value for 'pointsDiff'
60
- * },
61
- * });
62
- */
63
- function useChangeXpPointsMutation(baseOptions) {
64
- return Apollo.useMutation(exports.ChangeXpPointsDocument, baseOptions);
65
- }
66
- exports.useChangeXpPointsMutation = useChangeXpPointsMutation;
67
- exports.AddInviteCodesDocument = (0, client_1.gql) `
68
- mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
69
- addInviteCodes(userId: $userId, codesNum: $codesNum)
70
- }
71
- `;
72
- /**
73
- * __useAddInviteCodesMutation__
74
- *
75
- * To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
76
- * When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
77
- * - A mutate function that you can call at any time to execute the mutation
78
- * - An object with fields that represent the current status of the mutation's execution
79
- *
80
- * @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;
81
- *
82
- * @example
83
- * const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
84
- * variables: {
85
- * userId: // value for 'userId'
86
- * codesNum: // value for 'codesNum'
87
- * },
88
- * });
89
- */
90
- function useAddInviteCodesMutation(baseOptions) {
91
- return Apollo.useMutation(exports.AddInviteCodesDocument, baseOptions);
92
- }
93
- exports.useAddInviteCodesMutation = useAddInviteCodesMutation;
94
- exports.RemoveInviteCodeDocument = (0, client_1.gql) `
95
- mutation RemoveInviteCode($inviteCode: String!) {
96
- removeInviteCode(inviteCode: $inviteCode)
97
- }
98
- `;
99
- /**
100
- * __useRemoveInviteCodeMutation__
101
- *
102
- * To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
103
- * When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
104
- * - A mutate function that you can call at any time to execute the mutation
105
- * - An object with fields that represent the current status of the mutation's execution
106
- *
107
- * @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;
108
- *
109
- * @example
110
- * const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
111
- * variables: {
112
- * inviteCode: // value for 'inviteCode'
113
- * },
114
- * });
115
- */
116
- function useRemoveInviteCodeMutation(baseOptions) {
117
- return Apollo.useMutation(exports.RemoveInviteCodeDocument, baseOptions);
118
- }
119
- exports.useRemoveInviteCodeMutation = useRemoveInviteCodeMutation;
120
- exports.FetchAdminInvitesPageDocument = (0, client_1.gql) `
121
- query fetchAdminInvitesPage($filter: InvitesFilterInput!, $sort: InvitesSortInput!, $page: AdminPageInput!) {
122
- fetchAdminInvitesPage(filter: $filter, sort: $sort, page: $page) {
123
- invites {
124
- userId
125
- username
126
- wallet {
127
- address
128
- blockchain
129
- chainId
130
- }
131
- activeInvites {
132
- inviteCode
133
- createdAt
134
- }
135
- referredUsers
136
- userXpLevel
137
- }
138
- nextPage {
139
- num
140
- lastNum
141
- size
142
- elements
143
- token
144
- }
145
- }
146
- }
147
- `;
148
- /**
149
- * __useFetchAdminInvitesPageQuery__
150
- *
151
- * To run a query within a React component, call `useFetchAdminInvitesPageQuery` and pass it any options that fit your needs.
152
- * When your component renders, `useFetchAdminInvitesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
153
- * you can use to render your UI.
154
- *
155
- * @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;
156
- *
157
- * @example
158
- * const { data, loading, error } = useFetchAdminInvitesPageQuery({
159
- * variables: {
160
- * filter: // value for 'filter'
161
- * sort: // value for 'sort'
162
- * page: // value for 'page'
163
- * },
164
- * });
165
- */
166
- function useFetchAdminInvitesPageQuery(baseOptions) {
167
- return Apollo.useQuery(exports.FetchAdminInvitesPageDocument, baseOptions);
168
- }
169
- exports.useFetchAdminInvitesPageQuery = useFetchAdminInvitesPageQuery;
170
- function useFetchAdminInvitesPageLazyQuery(baseOptions) {
171
- return Apollo.useLazyQuery(exports.FetchAdminInvitesPageDocument, baseOptions);
172
- }
173
- exports.useFetchAdminInvitesPageLazyQuery = useFetchAdminInvitesPageLazyQuery;
174
- exports.FetchAdminXpPageDocument = (0, client_1.gql) `
175
- query FetchAdminXpPage($filter: XpFilterInput!, $sort: XpSortInput!, $page: AdminPageInput!) {
176
- fetchAdminXpPage(filter: $filter, sort: $sort, page: $page) {
177
- xps {
178
- userId
179
- username
180
- mainWallet {
181
- address
182
- blockchain
183
- chainId
184
- }
185
- userXpLevel
186
- userXpPoints
187
- referredUsers
188
- referredUsersNum
189
- joinedOpportunityIds
190
- connectedWalletsNum
191
- suggestedOpportunityIds
192
- }
193
- nextPage {
194
- elements
195
- lastNum
196
- num
197
- size
198
- token
199
- }
200
- }
201
- }
202
- `;
203
- /**
204
- * __useFetchAdminXpPageQuery__
205
- *
206
- * To run a query within a React component, call `useFetchAdminXpPageQuery` and pass it any options that fit your needs.
207
- * When your component renders, `useFetchAdminXpPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
208
- * you can use to render your UI.
209
- *
210
- * @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;
211
- *
212
- * @example
213
- * const { data, loading, error } = useFetchAdminXpPageQuery({
214
- * variables: {
215
- * filter: // value for 'filter'
216
- * sort: // value for 'sort'
217
- * page: // value for 'page'
218
- * },
219
- * });
220
- */
221
- function useFetchAdminXpPageQuery(baseOptions) {
222
- return Apollo.useQuery(exports.FetchAdminXpPageDocument, baseOptions);
223
- }
224
- exports.useFetchAdminXpPageQuery = useFetchAdminXpPageQuery;
225
- function useFetchAdminXpPageLazyQuery(baseOptions) {
226
- return Apollo.useLazyQuery(exports.FetchAdminXpPageDocument, baseOptions);
227
- }
228
- exports.useFetchAdminXpPageLazyQuery = useFetchAdminXpPageLazyQuery;
229
- exports.DislikeAssetDocument = (0, client_1.gql) `
230
- mutation DislikeAsset($assetId: String!) {
231
- dislikeAsset(assetId: $assetId)
232
- }
233
- `;
234
- /**
235
- * __useDislikeAssetMutation__
236
- *
237
- * To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
238
- * When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
239
- * - A mutate function that you can call at any time to execute the mutation
240
- * - An object with fields that represent the current status of the mutation's execution
241
- *
242
- * @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;
243
- *
244
- * @example
245
- * const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
246
- * variables: {
247
- * assetId: // value for 'assetId'
248
- * },
249
- * });
250
- */
251
- function useDislikeAssetMutation(baseOptions) {
252
- return Apollo.useMutation(exports.DislikeAssetDocument, baseOptions);
253
- }
254
- exports.useDislikeAssetMutation = useDislikeAssetMutation;
255
- exports.LikeAssetDocument = (0, client_1.gql) `
256
- mutation LikeAsset($assetId: String!) {
257
- likeAsset(assetId: $assetId)
258
- }
259
- `;
260
- /**
261
- * __useLikeAssetMutation__
262
- *
263
- * To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
264
- * When your component renders, `useLikeAssetMutation` returns a tuple that includes:
265
- * - A mutate function that you can call at any time to execute the mutation
266
- * - An object with fields that represent the current status of the mutation's execution
267
- *
268
- * @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;
269
- *
270
- * @example
271
- * const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
272
- * variables: {
273
- * assetId: // value for 'assetId'
274
- * },
275
- * });
276
- */
277
- function useLikeAssetMutation(baseOptions) {
278
- return Apollo.useMutation(exports.LikeAssetDocument, baseOptions);
279
- }
280
- exports.useLikeAssetMutation = useLikeAssetMutation;
281
- exports.FetchAssetDocument = (0, client_1.gql) `
282
- query FetchAsset($assetId: String!) {
283
- fetchAsset(assetId: $assetId) {
284
- latestPriceCurrency
285
- latestPriceAmount
286
- collectionId
287
- collectionOriginalUrls
288
- collectionTitle
289
- assetId
290
- totalVolumes {
291
- currency
292
- amount
293
- }
294
- blockchain
295
- address
296
- tokenId
297
- name
298
- description
299
- rank
300
- markets {
301
- marketId
302
- marketName
303
- marketDomain
304
- marketUrl
305
- }
306
- collectionMedias {
307
- originalUrl
308
- url
309
- previewUrl
310
- mimeType
311
- sizeRatio
312
- fileSize
313
- }
314
- originalUrls
315
- medias {
316
- originalUrl
317
- url
318
- mimeType
319
- sizeRatio
320
- fileSize
321
- originalMime
322
- previewUrl
323
- }
324
- ownersAddresses
325
- ownersProfiles {
326
- userId
327
- username
328
- about
329
- userpic
330
- followers
331
- followings
332
- visible
333
- }
334
- creatorsAddresses
335
- creatorsProfiles {
336
- userId
337
- username
338
- about
339
- userpic
340
- followers
341
- followings
342
- visible
343
- }
344
- attributes {
345
- name
346
- value
347
- }
348
- views
349
- visible
350
- blurred
351
- medias {
352
- originalUrl
353
- originalMime
354
- url
355
- previewUrl
356
- mimeType
357
- sizeRatio
358
- fileSize
359
- }
360
- creatorsProfiles {
361
- username
362
- }
363
- category
364
- }
365
- }
366
- `;
367
- /**
368
- * __useFetchAssetQuery__
369
- *
370
- * To run a query within a React component, call `useFetchAssetQuery` and pass it any options that fit your needs.
371
- * When your component renders, `useFetchAssetQuery` returns an object from Apollo Client that contains loading, error, and data properties
372
- * you can use to render your UI.
373
- *
374
- * @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;
375
- *
376
- * @example
377
- * const { data, loading, error } = useFetchAssetQuery({
378
- * variables: {
379
- * assetId: // value for 'assetId'
380
- * },
381
- * });
382
- */
383
- function useFetchAssetQuery(baseOptions) {
384
- return Apollo.useQuery(exports.FetchAssetDocument, baseOptions);
385
- }
386
- exports.useFetchAssetQuery = useFetchAssetQuery;
387
- function useFetchAssetLazyQuery(baseOptions) {
388
- return Apollo.useLazyQuery(exports.FetchAssetDocument, baseOptions);
389
- }
390
- exports.useFetchAssetLazyQuery = useFetchAssetLazyQuery;
391
- exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
392
- query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
393
- fetchAssetByBlockchain(
394
- blockchain: $blockchain
395
- address: $address
396
- tokenId: $tokenId
397
- elrondId: $elrondId
398
- ) {
399
- latestPriceCurrency
400
- latestPriceAmount
401
- collectionId
402
- collectionOriginalUrls
403
- collectionTitle
404
- assetId
405
- totalVolumes {
406
- currency
407
- amount
408
- }
409
- blockchain
410
- blockchainLabel
411
- address
412
- tokenId
413
- name
414
- description
415
- rank
416
- markets {
417
- marketId
418
- marketName
419
- marketDomain
420
- marketUrl
421
- }
422
- collectionMedias {
423
- originalUrl
424
- url
425
- previewUrl
426
- mimeType
427
- sizeRatio
428
- fileSize
429
- }
430
- originalUrls
431
- medias {
432
- originalUrl
433
- url
434
- mimeType
435
- originalMime
436
- previewUrl
437
- sizeRatio
438
- fileSize
439
- }
440
- ownersAddresses
441
- ownersProfiles {
442
- userId
443
- username
444
- about
445
- userpic
446
- followers
447
- followings
448
- visible
449
- }
450
- creatorsAddresses
451
- creatorsProfiles {
452
- userId
453
- username
454
- about
455
- userpic
456
- followers
457
- followings
458
- visible
459
- }
460
- attributes {
461
- name
462
- value
463
- }
464
- views
465
- visible
466
- blurred
467
- medias {
468
- originalUrl
469
- originalMime
470
- url
471
- previewUrl
472
- mimeType
473
- sizeRatio
474
- fileSize
475
- }
476
- creatorsProfiles {
477
- username
478
- }
479
- category
480
- categoryLabel
481
- }
482
- }
483
- `;
484
- /**
485
- * __useFetchAssetByBlockchainQuery__
486
- *
487
- * To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
488
- * When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
489
- * you can use to render your UI.
490
- *
491
- * @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;
492
- *
493
- * @example
494
- * const { data, loading, error } = useFetchAssetByBlockchainQuery({
495
- * variables: {
496
- * blockchain: // value for 'blockchain'
497
- * address: // value for 'address'
498
- * tokenId: // value for 'tokenId'
499
- * elrondId: // value for 'elrondId'
500
- * },
501
- * });
502
- */
503
- function useFetchAssetByBlockchainQuery(baseOptions) {
504
- return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
505
- }
506
- exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
507
- function useFetchAssetByBlockchainLazyQuery(baseOptions) {
508
- return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
509
- }
510
- exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
511
- exports.FetchAssetsDocument = (0, client_1.gql) `
512
- query FetchAssets($assetIds: [String!]!) {
513
- fetchAssets(assetIds: $assetIds) {
514
- latestPriceCurrency
515
- latestPriceAmount
516
- collectionId
517
- collectionOriginalUrls
518
- collectionTitle
519
- assetId
520
- totalVolumes {
521
- currency
522
- amount
523
- }
524
- blockchain
525
- address
526
- tokenId
527
- name
528
- description
529
- rank
530
- markets {
531
- marketId
532
- marketName
533
- marketDomain
534
- marketUrl
535
- }
536
- collectionMedias {
537
- originalUrl
538
- url
539
- previewUrl
540
- mimeType
541
- sizeRatio
542
- fileSize
543
- }
544
- originalUrls
545
- medias {
546
- originalUrl
547
- url
548
- mimeType
549
- sizeRatio
550
- fileSize
551
- previewUrl
552
- }
553
- ownersAddresses
554
- ownersProfiles {
555
- userId
556
- username
557
- about
558
- userpic
559
- followers
560
- followings
561
- visible
562
- }
563
- creatorsAddresses
564
- creatorsProfiles {
565
- userId
566
- username
567
- about
568
- userpic
569
- followers
570
- followings
571
- visible
572
- }
573
- attributes {
574
- name
575
- value
576
- }
577
- views
578
- visible
579
- blurred
580
- medias {
581
- originalUrl
582
- url
583
- previewUrl
584
- mimeType
585
- }
586
- creatorsProfiles {
587
- username
588
- }
589
- }
590
- }
591
- `;
592
- /**
593
- * __useFetchAssetsQuery__
594
- *
595
- * To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
596
- * When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
597
- * you can use to render your UI.
598
- *
599
- * @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;
600
- *
601
- * @example
602
- * const { data, loading, error } = useFetchAssetsQuery({
603
- * variables: {
604
- * assetIds: // value for 'assetIds'
605
- * },
606
- * });
607
- */
608
- function useFetchAssetsQuery(baseOptions) {
609
- return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
610
- }
611
- exports.useFetchAssetsQuery = useFetchAssetsQuery;
612
- function useFetchAssetsLazyQuery(baseOptions) {
613
- return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
614
- }
615
- exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
616
- exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
617
- query FetchDynamicAssetLikes($assetId: String!) {
618
- fetchDynamicAssetData(assetId: $assetId) {
619
- isLikedByUser
620
- likesNum
621
- }
622
- }
623
- `;
624
- /**
625
- * __useFetchDynamicAssetLikesQuery__
626
- *
627
- * To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
628
- * When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
629
- * you can use to render your UI.
630
- *
631
- * @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;
632
- *
633
- * @example
634
- * const { data, loading, error } = useFetchDynamicAssetLikesQuery({
635
- * variables: {
636
- * assetId: // value for 'assetId'
637
- * },
638
- * });
639
- */
640
- function useFetchDynamicAssetLikesQuery(baseOptions) {
641
- return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
642
- }
643
- exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
644
- function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
645
- return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
646
- }
647
- exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
648
- exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
649
- query FetchDynamicAssetsLikes($assetIds: [String!]!) {
650
- fetchDynamicAssetsData(assetIds: $assetIds) {
651
- isLikedByUser
652
- likesNum
653
- assetId
654
- }
655
- }
656
- `;
657
- /**
658
- * __useFetchDynamicAssetsLikesQuery__
659
- *
660
- * To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
661
- * When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
662
- * you can use to render your UI.
663
- *
664
- * @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;
665
- *
666
- * @example
667
- * const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
668
- * variables: {
669
- * assetIds: // value for 'assetIds'
670
- * },
671
- * });
672
- */
673
- function useFetchDynamicAssetsLikesQuery(baseOptions) {
674
- return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
675
- }
676
- exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
677
- function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
678
- return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
679
- }
680
- exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
681
- exports.FetchLikedDocument = (0, client_1.gql) `
682
- query FetchLiked($assetId: String!) {
683
- fetchLiked(assetId: $assetId)
684
- }
685
- `;
686
- /**
687
- * __useFetchLikedQuery__
688
- *
689
- * To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
690
- * When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
691
- * you can use to render your UI.
692
- *
693
- * @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;
694
- *
695
- * @example
696
- * const { data, loading, error } = useFetchLikedQuery({
697
- * variables: {
698
- * assetId: // value for 'assetId'
699
- * },
700
- * });
701
- */
702
- function useFetchLikedQuery(baseOptions) {
703
- return Apollo.useQuery(exports.FetchLikedDocument, baseOptions);
704
- }
705
- exports.useFetchLikedQuery = useFetchLikedQuery;
706
- function useFetchLikedLazyQuery(baseOptions) {
707
- return Apollo.useLazyQuery(exports.FetchLikedDocument, baseOptions);
708
- }
709
- exports.useFetchLikedLazyQuery = useFetchLikedLazyQuery;
710
- exports.DislikeCollectionDocument = (0, client_1.gql) `
711
- mutation DislikeCollection($collectionId: String!) {
712
- dislikeCollection(collectionId: $collectionId)
713
- }
714
- `;
715
- /**
716
- * __useDislikeCollectionMutation__
717
- *
718
- * To run a mutation, you first call `useDislikeCollectionMutation` within a React component and pass it any options that fit your needs.
719
- * When your component renders, `useDislikeCollectionMutation` returns a tuple that includes:
720
- * - A mutate function that you can call at any time to execute the mutation
721
- * - An object with fields that represent the current status of the mutation's execution
722
- *
723
- * @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;
724
- *
725
- * @example
726
- * const [dislikeCollectionMutation, { data, loading, error }] = useDislikeCollectionMutation({
727
- * variables: {
728
- * collectionId: // value for 'collectionId'
729
- * },
730
- * });
731
- */
732
- function useDislikeCollectionMutation(baseOptions) {
733
- return Apollo.useMutation(exports.DislikeCollectionDocument, baseOptions);
734
- }
735
- exports.useDislikeCollectionMutation = useDislikeCollectionMutation;
736
- exports.LikeCollectionDocument = (0, client_1.gql) `
737
- mutation LikeCollection($collectionId: String!) {
738
- likeCollection(collectionId: $collectionId)
739
- }
740
- `;
741
- /**
742
- * __useLikeCollectionMutation__
743
- *
744
- * To run a mutation, you first call `useLikeCollectionMutation` within a React component and pass it any options that fit your needs.
745
- * When your component renders, `useLikeCollectionMutation` returns a tuple that includes:
746
- * - A mutate function that you can call at any time to execute the mutation
747
- * - An object with fields that represent the current status of the mutation's execution
748
- *
749
- * @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;
750
- *
751
- * @example
752
- * const [likeCollectionMutation, { data, loading, error }] = useLikeCollectionMutation({
753
- * variables: {
754
- * collectionId: // value for 'collectionId'
755
- * },
756
- * });
757
- */
758
- function useLikeCollectionMutation(baseOptions) {
759
- return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
760
- }
761
- exports.useLikeCollectionMutation = useLikeCollectionMutation;
762
- exports.FetchCollectionDocument = (0, client_1.gql) `
763
- query fetchCollection($collectionId: String!) {
764
- fetchCollection(collectionId: $collectionId) {
765
- collectionId
766
- blockchain
767
- identifier
768
- contractAddress
769
- tokenId
770
- collectionTitle
771
- items
772
- owners
773
- totalVolumes {
774
- currency
775
- amount
776
- }
777
- likes
778
- liked
779
- collectionMarkets {
780
- marketId
781
- marketName
782
- marketDomain
783
- marketUrl
784
- }
785
- creatorsAddresses
786
- creatorsProfiles {
787
- username
788
- userpic
789
- }
790
- verified
791
- originalUrls
792
- rank
793
- floorPrices {
794
- currency
795
- amount
796
- }
797
- }
798
- }
799
- `;
800
- /**
801
- * __useFetchCollectionQuery__
802
- *
803
- * To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
804
- * When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
805
- * you can use to render your UI.
806
- *
807
- * @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;
808
- *
809
- * @example
810
- * const { data, loading, error } = useFetchCollectionQuery({
811
- * variables: {
812
- * collectionId: // value for 'collectionId'
813
- * },
814
- * });
815
- */
816
- function useFetchCollectionQuery(baseOptions) {
817
- return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
818
- }
819
- exports.useFetchCollectionQuery = useFetchCollectionQuery;
820
- function useFetchCollectionLazyQuery(baseOptions) {
821
- return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
822
- }
823
- exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
824
- exports.FetchCollectionsDocument = (0, client_1.gql) `
825
- query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
826
- fetchCollectionAssets(
827
- pageSize: $pageSize
828
- pageToken: $pageToken
829
- collectionId: $collectionId
830
- ) {
831
- nextPageToken
832
- collectionAssets {
833
- id
834
- collectionId
835
- collectionTitle
836
- assetId
837
- blockchain
838
- address
839
- tokenId
840
- chainId
841
- creatorsAddresses
842
- originalUrls
843
- name
844
- description
845
- likes
846
- liked
847
- views
848
- medias {
849
- originalUrl
850
- url
851
- previewUrl
852
- mimeType
853
- sizeRatio
854
- fileSize
855
- }
856
- visible
857
- createdAt
858
- blurred
859
- rank
860
- }
861
- }
862
- }
863
- `;
864
- /**
865
- * __useFetchCollectionsQuery__
866
- *
867
- * To run a query within a React component, call `useFetchCollectionsQuery` and pass it any options that fit your needs.
868
- * When your component renders, `useFetchCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
869
- * you can use to render your UI.
870
- *
871
- * @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;
872
- *
873
- * @example
874
- * const { data, loading, error } = useFetchCollectionsQuery({
875
- * variables: {
876
- * pageSize: // value for 'pageSize'
877
- * pageToken: // value for 'pageToken'
878
- * collectionId: // value for 'collectionId'
879
- * },
880
- * });
881
- */
882
- function useFetchCollectionsQuery(baseOptions) {
883
- return Apollo.useQuery(exports.FetchCollectionsDocument, baseOptions);
884
- }
885
- exports.useFetchCollectionsQuery = useFetchCollectionsQuery;
886
- function useFetchCollectionsLazyQuery(baseOptions) {
887
- return Apollo.useLazyQuery(exports.FetchCollectionsDocument, baseOptions);
888
- }
889
- exports.useFetchCollectionsLazyQuery = useFetchCollectionsLazyQuery;
890
- exports.FetchCollectionsByIdsDocument = (0, client_1.gql) `
891
- query FetchCollectionsByIds($collectionIds: [String!]!) {
892
- fetchCollectionsByIds(collectionIds: $collectionIds) {
893
- collectionId
894
- blockchain
895
- identifier
896
- contractAddress
897
- tokenId
898
- collectionTitle
899
- items
900
- owners
901
- totalVolumes {
902
- currency
903
- amount
904
- }
905
- likes
906
- liked
907
- collectionMarkets {
908
- marketName
909
- marketDomain
910
- marketUrl
911
- }
912
- creatorsAddresses
913
- creatorsProfiles {
914
- username
915
- userpic
916
- }
917
- verified
918
- originalUrls
919
- rank
920
- floorPrices {
921
- currency
922
- amount
923
- }
924
- }
925
- }
926
- `;
927
- /**
928
- * __useFetchCollectionsByIdsQuery__
929
- *
930
- * To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
931
- * When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
932
- * you can use to render your UI.
933
- *
934
- * @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;
935
- *
936
- * @example
937
- * const { data, loading, error } = useFetchCollectionsByIdsQuery({
938
- * variables: {
939
- * collectionIds: // value for 'collectionIds'
940
- * },
941
- * });
942
- */
943
- function useFetchCollectionsByIdsQuery(baseOptions) {
944
- return Apollo.useQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
945
- }
946
- exports.useFetchCollectionsByIdsQuery = useFetchCollectionsByIdsQuery;
947
- function useFetchCollectionsByIdsLazyQuery(baseOptions) {
948
- return Apollo.useLazyQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
949
- }
950
- exports.useFetchCollectionsByIdsLazyQuery = useFetchCollectionsByIdsLazyQuery;
951
- exports.FetchDynamicCollectionDataDocument = (0, client_1.gql) `
952
- query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
953
- fetchDynamicCollectionData(input: $input) {
954
- isLikedByUser
955
- likesNum
956
- collectionId
957
- collectionAssetsPage {
958
- nextPageToken
959
- collectionAssets {
960
- id
961
- collectionId
962
- collectionTitle
963
- assetId
964
- blockchain
965
- address
966
- tokenId
967
- chainId
968
- creatorsAddresses
969
- originalUrls
970
- name
971
- description
972
- likes
973
- liked
974
- views
975
- medias {
976
- originalUrl
977
- url
978
- previewUrl
979
- mimeType
980
- sizeRatio
981
- fileSize
982
- }
983
- visible
984
- createdAt
985
- blurred
986
- rank
987
- }
988
- }
989
- }
990
- }
991
- `;
992
- /**
993
- * __useFetchDynamicCollectionDataQuery__
994
- *
995
- * To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
996
- * When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
997
- * you can use to render your UI.
998
- *
999
- * @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;
1000
- *
1001
- * @example
1002
- * const { data, loading, error } = useFetchDynamicCollectionDataQuery({
1003
- * variables: {
1004
- * input: // value for 'input'
1005
- * },
1006
- * });
1007
- */
1008
- function useFetchDynamicCollectionDataQuery(baseOptions) {
1009
- return Apollo.useQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
1010
- }
1011
- exports.useFetchDynamicCollectionDataQuery = useFetchDynamicCollectionDataQuery;
1012
- function useFetchDynamicCollectionDataLazyQuery(baseOptions) {
1013
- return Apollo.useLazyQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
1014
- }
1015
- exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
1016
- exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
1017
- query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
1018
- fetchDynamicCollectionsData(input: $input) {
1019
- isLikedByUser
1020
- likesNum
1021
- collectionId
1022
- collectionAssetsPage {
1023
- nextPageToken
1024
- collectionAssets {
1025
- id
1026
- collectionId
1027
- collectionTitle
1028
- assetId
1029
- blockchain
1030
- address
1031
- tokenId
1032
- chainId
1033
- creatorsAddresses
1034
- originalUrls
1035
- name
1036
- description
1037
- likes
1038
- liked
1039
- views
1040
- medias {
1041
- originalUrl
1042
- url
1043
- previewUrl
1044
- mimeType
1045
- sizeRatio
1046
- fileSize
1047
- }
1048
- visible
1049
- createdAt
1050
- blurred
1051
- rank
1052
- }
1053
- }
1054
- }
1055
- }
1056
- `;
1057
- /**
1058
- * __useFetchDynamicCollectionsDataQuery__
1059
- *
1060
- * To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
1061
- * When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
1062
- * you can use to render your UI.
1063
- *
1064
- * @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;
1065
- *
1066
- * @example
1067
- * const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
1068
- * variables: {
1069
- * input: // value for 'input'
1070
- * },
1071
- * });
1072
- */
1073
- function useFetchDynamicCollectionsDataQuery(baseOptions) {
1074
- return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
1075
- }
1076
- exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
1077
- function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
1078
- return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
1079
- }
1080
- exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
1081
- exports.FetchMyExperienceV2Document = (0, client_1.gql) `
1082
- query FetchMyExperienceV2 {
1083
- fetchMyExperienceV2 {
1084
- xps
1085
- level
1086
- levelMaxXps
1087
- levelMinXps
1088
- }
1089
- }
1090
- `;
1091
- /**
1092
- * __useFetchMyExperienceV2Query__
1093
- *
1094
- * To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
1095
- * When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1096
- * you can use to render your UI.
1097
- *
1098
- * @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;
1099
- *
1100
- * @example
1101
- * const { data, loading, error } = useFetchMyExperienceV2Query({
1102
- * variables: {
1103
- * },
1104
- * });
1105
- */
1106
- function useFetchMyExperienceV2Query(baseOptions) {
1107
- return Apollo.useQuery(exports.FetchMyExperienceV2Document, baseOptions);
1108
- }
1109
- exports.useFetchMyExperienceV2Query = useFetchMyExperienceV2Query;
1110
- function useFetchMyExperienceV2LazyQuery(baseOptions) {
1111
- return Apollo.useLazyQuery(exports.FetchMyExperienceV2Document, baseOptions);
1112
- }
1113
- exports.useFetchMyExperienceV2LazyQuery = useFetchMyExperienceV2LazyQuery;
1114
- exports.FetchMyTasksDocument = (0, client_1.gql) `
1115
- query FetchMyTasks {
1116
- fetchMyTasks {
1117
- taskId
1118
- userId
1119
- taskType
1120
- name
1121
- description
1122
- repeatable
1123
- maxRepeats
1124
- minPointsAward
1125
- maxPointsAward
1126
- repeatsCompleted
1127
- }
1128
- }
1129
- `;
1130
- /**
1131
- * __useFetchMyTasksQuery__
1132
- *
1133
- * To run a query within a React component, call `useFetchMyTasksQuery` and pass it any options that fit your needs.
1134
- * When your component renders, `useFetchMyTasksQuery` returns an object from Apollo Client that contains loading, error, and data properties
1135
- * you can use to render your UI.
1136
- *
1137
- * @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;
1138
- *
1139
- * @example
1140
- * const { data, loading, error } = useFetchMyTasksQuery({
1141
- * variables: {
1142
- * },
1143
- * });
1144
- */
1145
- function useFetchMyTasksQuery(baseOptions) {
1146
- return Apollo.useQuery(exports.FetchMyTasksDocument, baseOptions);
1147
- }
1148
- exports.useFetchMyTasksQuery = useFetchMyTasksQuery;
1149
- function useFetchMyTasksLazyQuery(baseOptions) {
1150
- return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
1151
- }
1152
- exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
1153
- exports.OnInviteCodeUsedDocument = (0, client_1.gql) `
1154
- subscription onInviteCodeUsed($authToken: String!) {
1155
- onInviteCodeUsed(authToken: $authToken) {
1156
- userId
1157
- inviteCode
1158
- inviteeId
1159
- }
1160
- }
1161
- `;
1162
- /**
1163
- * __useOnInviteCodeUsedSubscription__
1164
- *
1165
- * To run a query within a React component, call `useOnInviteCodeUsedSubscription` and pass it any options that fit your needs.
1166
- * When your component renders, `useOnInviteCodeUsedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
1167
- * you can use to render your UI.
1168
- *
1169
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1170
- *
1171
- * @example
1172
- * const { data, loading, error } = useOnInviteCodeUsedSubscription({
1173
- * variables: {
1174
- * authToken: // value for 'authToken'
1175
- * },
1176
- * });
1177
- */
1178
- function useOnInviteCodeUsedSubscription(baseOptions) {
1179
- return Apollo.useSubscription(exports.OnInviteCodeUsedDocument, baseOptions);
1180
- }
1181
- exports.useOnInviteCodeUsedSubscription = useOnInviteCodeUsedSubscription;
1182
- exports.OnMyExperienceIncrementedDocument = (0, client_1.gql) `
1183
- subscription onMyExperienceIncremented($authToken: String!) {
1184
- onMyExperienceIncremented(authToken: $authToken) {
1185
- xpsIncrement
1186
- description
1187
- xps
1188
- level
1189
- levelMinXps
1190
- levelMaxXps
1191
- }
1192
- }
1193
- `;
1194
- /**
1195
- * __useOnMyExperienceIncrementedSubscription__
1196
- *
1197
- * To run a query within a React component, call `useOnMyExperienceIncrementedSubscription` and pass it any options that fit your needs.
1198
- * When your component renders, `useOnMyExperienceIncrementedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
1199
- * you can use to render your UI.
1200
- *
1201
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1202
- *
1203
- * @example
1204
- * const { data, loading, error } = useOnMyExperienceIncrementedSubscription({
1205
- * variables: {
1206
- * authToken: // value for 'authToken'
1207
- * },
1208
- * });
1209
- */
1210
- function useOnMyExperienceIncrementedSubscription(baseOptions) {
1211
- return Apollo.useSubscription(exports.OnMyExperienceIncrementedDocument, baseOptions);
1212
- }
1213
- exports.useOnMyExperienceIncrementedSubscription = useOnMyExperienceIncrementedSubscription;
1214
- exports.OnMyExperienceUpdatedDocument = (0, client_1.gql) `
1215
- subscription OnMyExperienceUpdated($authToken: String!) {
1216
- onMyExperienceUpdated(authToken: $authToken) {
1217
- xps
1218
- level
1219
- levelMinXps
1220
- levelMaxXps
1221
- }
1222
- }
1223
- `;
1224
- /**
1225
- * __useOnMyExperienceUpdatedSubscription__
1226
- *
1227
- * To run a query within a React component, call `useOnMyExperienceUpdatedSubscription` and pass it any options that fit your needs.
1228
- * When your component renders, `useOnMyExperienceUpdatedSubscription` returns an object from Apollo Client that contains loading, error, and data properties
1229
- * you can use to render your UI.
1230
- *
1231
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1232
- *
1233
- * @example
1234
- * const { data, loading, error } = useOnMyExperienceUpdatedSubscription({
1235
- * variables: {
1236
- * authToken: // value for 'authToken'
1237
- * },
1238
- * });
1239
- */
1240
- function useOnMyExperienceUpdatedSubscription(baseOptions) {
1241
- return Apollo.useSubscription(exports.OnMyExperienceUpdatedDocument, baseOptions);
1242
- }
1243
- exports.useOnMyExperienceUpdatedSubscription = useOnMyExperienceUpdatedSubscription;
1244
- exports.HideOpportunityV2Document = (0, client_1.gql) `
1245
- mutation HideOpportunityV2($opportunityId: ID!) {
1246
- hideOpportunityV2(opportunityId: $opportunityId)
1247
- }
1248
- `;
1249
- /**
1250
- * __useHideOpportunityV2Mutation__
1251
- *
1252
- * To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
1253
- * When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
1254
- * - A mutate function that you can call at any time to execute the mutation
1255
- * - An object with fields that represent the current status of the mutation's execution
1256
- *
1257
- * @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;
1258
- *
1259
- * @example
1260
- * const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
1261
- * variables: {
1262
- * opportunityId: // value for 'opportunityId'
1263
- * },
1264
- * });
1265
- */
1266
- function useHideOpportunityV2Mutation(baseOptions) {
1267
- return Apollo.useMutation(exports.HideOpportunityV2Document, baseOptions);
1268
- }
1269
- exports.useHideOpportunityV2Mutation = useHideOpportunityV2Mutation;
1270
- exports.OpenOpportunityV2Document = (0, client_1.gql) `
1271
- mutation OpenOpportunityV2($opportunityId: ID!) {
1272
- openOpportunityV2(opportunityId: $opportunityId)
1273
- }
1274
- `;
1275
- /**
1276
- * __useOpenOpportunityV2Mutation__
1277
- *
1278
- * To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
1279
- * When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
1280
- * - A mutate function that you can call at any time to execute the mutation
1281
- * - An object with fields that represent the current status of the mutation's execution
1282
- *
1283
- * @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;
1284
- *
1285
- * @example
1286
- * const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
1287
- * variables: {
1288
- * opportunityId: // value for 'opportunityId'
1289
- * },
1290
- * });
1291
- */
1292
- function useOpenOpportunityV2Mutation(baseOptions) {
1293
- return Apollo.useMutation(exports.OpenOpportunityV2Document, baseOptions);
1294
- }
1295
- exports.useOpenOpportunityV2Mutation = useOpenOpportunityV2Mutation;
1296
- exports.VisitPageV2Document = (0, client_1.gql) `
1297
- mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $category: String) {
1298
- visitPageV2(
1299
- domain: $domain
1300
- title: $title
1301
- description: $description
1302
- tags: $tags
1303
- brandId: $brandId
1304
- category: $category
1305
- ) {
1306
- opportunityId
1307
- brandId
1308
- categoryId
1309
- opportunityStatus
1310
- opportunityType
1311
- notificationType
1312
- name
1313
- brandName
1314
- brandDescription
1315
- brandMedia
1316
- brandUrl
1317
- brandIndustry
1318
- categoryName
1319
- description
1320
- ludoUrl
1321
- projectUrl
1322
- activeFrom
1323
- activeUntil
1324
- media
1325
- reportLink
1326
- shareLink
1327
- }
1328
- }
1329
- `;
1330
- /**
1331
- * __useVisitPageV2Mutation__
1332
- *
1333
- * To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
1334
- * When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
1335
- * - A mutate function that you can call at any time to execute the mutation
1336
- * - An object with fields that represent the current status of the mutation's execution
1337
- *
1338
- * @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;
1339
- *
1340
- * @example
1341
- * const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
1342
- * variables: {
1343
- * domain: // value for 'domain'
1344
- * title: // value for 'title'
1345
- * description: // value for 'description'
1346
- * tags: // value for 'tags'
1347
- * brandId: // value for 'brandId'
1348
- * category: // value for 'category'
1349
- * },
1350
- * });
1351
- */
1352
- function useVisitPageV2Mutation(baseOptions) {
1353
- return Apollo.useMutation(exports.VisitPageV2Document, baseOptions);
1354
- }
1355
- exports.useVisitPageV2Mutation = useVisitPageV2Mutation;
1356
- exports.FetchCollectionRanksDocument = (0, client_1.gql) `
1357
- query FetchCollectionRanks($collectionKeys: [CollectionKey!]!) {
1358
- fetchCollectionRanks(collectionKeys: $collectionKeys) {
1359
- blockchain
1360
- address
1361
- tokenId
1362
- id
1363
- collectionTitle
1364
- rank
1365
- }
1366
- }
1367
- `;
1368
- /**
1369
- * __useFetchCollectionRanksQuery__
1370
- *
1371
- * To run a query within a React component, call `useFetchCollectionRanksQuery` and pass it any options that fit your needs.
1372
- * When your component renders, `useFetchCollectionRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
1373
- * you can use to render your UI.
1374
- *
1375
- * @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;
1376
- *
1377
- * @example
1378
- * const { data, loading, error } = useFetchCollectionRanksQuery({
1379
- * variables: {
1380
- * collectionKeys: // value for 'collectionKeys'
1381
- * },
1382
- * });
1383
- */
1384
- function useFetchCollectionRanksQuery(baseOptions) {
1385
- return Apollo.useQuery(exports.FetchCollectionRanksDocument, baseOptions);
1386
- }
1387
- exports.useFetchCollectionRanksQuery = useFetchCollectionRanksQuery;
1388
- function useFetchCollectionRanksLazyQuery(baseOptions) {
1389
- return Apollo.useLazyQuery(exports.FetchCollectionRanksDocument, baseOptions);
1390
- }
1391
- exports.useFetchCollectionRanksLazyQuery = useFetchCollectionRanksLazyQuery;
1392
- exports.FetchExtensionBrandsDocument = (0, client_1.gql) `
1393
- query FetchExtensionBrands {
1394
- fetchExtensionBrands {
1395
- brandId
1396
- name
1397
- matchingWords
1398
- description
1399
- industry
1400
- link
1401
- media
1402
- }
1403
- }
1404
- `;
1405
- /**
1406
- * __useFetchExtensionBrandsQuery__
1407
- *
1408
- * To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
1409
- * When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1410
- * you can use to render your UI.
1411
- *
1412
- * @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;
1413
- *
1414
- * @example
1415
- * const { data, loading, error } = useFetchExtensionBrandsQuery({
1416
- * variables: {
1417
- * },
1418
- * });
1419
- */
1420
- function useFetchExtensionBrandsQuery(baseOptions) {
1421
- return Apollo.useQuery(exports.FetchExtensionBrandsDocument, baseOptions);
1422
- }
1423
- exports.useFetchExtensionBrandsQuery = useFetchExtensionBrandsQuery;
1424
- function useFetchExtensionBrandsLazyQuery(baseOptions) {
1425
- return Apollo.useLazyQuery(exports.FetchExtensionBrandsDocument, baseOptions);
1426
- }
1427
- exports.useFetchExtensionBrandsLazyQuery = useFetchExtensionBrandsLazyQuery;
1428
- exports.FetchExtensionCategoriesDocument = (0, client_1.gql) `
1429
- query FetchExtensionCategories {
1430
- fetchExtensionCategories {
1431
- categoryId
1432
- name
1433
- matchingWords
1434
- }
1435
- }
1436
- `;
1437
- /**
1438
- * __useFetchExtensionCategoriesQuery__
1439
- *
1440
- * To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
1441
- * When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1442
- * you can use to render your UI.
1443
- *
1444
- * @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;
1445
- *
1446
- * @example
1447
- * const { data, loading, error } = useFetchExtensionCategoriesQuery({
1448
- * variables: {
1449
- * },
1450
- * });
1451
- */
1452
- function useFetchExtensionCategoriesQuery(baseOptions) {
1453
- return Apollo.useQuery(exports.FetchExtensionCategoriesDocument, baseOptions);
1454
- }
1455
- exports.useFetchExtensionCategoriesQuery = useFetchExtensionCategoriesQuery;
1456
- function useFetchExtensionCategoriesLazyQuery(baseOptions) {
1457
- return Apollo.useLazyQuery(exports.FetchExtensionCategoriesDocument, baseOptions);
1458
- }
1459
- exports.useFetchExtensionCategoriesLazyQuery = useFetchExtensionCategoriesLazyQuery;
1460
- exports.FetchExtensionOpportunitiesV2Document = (0, client_1.gql) `
1461
- query FetchExtensionOpportunitiesV2($domain: String!, $brandId: String, $categoryId: String) {
1462
- fetchExtensionOpportunitiesV2(
1463
- domain: $domain
1464
- brandId: $brandId
1465
- categoryId: $categoryId
1466
- ) {
1467
- currentOpportunities {
1468
- opportunityId
1469
- brandId
1470
- categoryId
1471
- opportunityStatus
1472
- opportunityType
1473
- notificationType
1474
- name
1475
- brandName
1476
- brandDescription
1477
- brandMedia
1478
- brandUrl
1479
- brandIndustry
1480
- categoryName
1481
- description
1482
- ludoUrl
1483
- projectUrl
1484
- activeFrom
1485
- activeUntil
1486
- media
1487
- reportLink
1488
- shareLink
1489
- }
1490
- similarOpportunities {
1491
- opportunityId
1492
- brandId
1493
- categoryId
1494
- opportunityStatus
1495
- opportunityType
1496
- notificationType
1497
- name
1498
- brandName
1499
- brandDescription
1500
- brandMedia
1501
- brandUrl
1502
- brandIndustry
1503
- categoryName
1504
- description
1505
- ludoUrl
1506
- projectUrl
1507
- activeFrom
1508
- activeUntil
1509
- media
1510
- reportLink
1511
- shareLink
1512
- }
1513
- }
1514
- }
1515
- `;
1516
- /**
1517
- * __useFetchExtensionOpportunitiesV2Query__
1518
- *
1519
- * To run a query within a React component, call `useFetchExtensionOpportunitiesV2Query` and pass it any options that fit your needs.
1520
- * When your component renders, `useFetchExtensionOpportunitiesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
1521
- * you can use to render your UI.
1522
- *
1523
- * @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;
1524
- *
1525
- * @example
1526
- * const { data, loading, error } = useFetchExtensionOpportunitiesV2Query({
1527
- * variables: {
1528
- * domain: // value for 'domain'
1529
- * brandId: // value for 'brandId'
1530
- * categoryId: // value for 'categoryId'
1531
- * },
1532
- * });
1533
- */
1534
- function useFetchExtensionOpportunitiesV2Query(baseOptions) {
1535
- return Apollo.useQuery(exports.FetchExtensionOpportunitiesV2Document, baseOptions);
1536
- }
1537
- exports.useFetchExtensionOpportunitiesV2Query = useFetchExtensionOpportunitiesV2Query;
1538
- function useFetchExtensionOpportunitiesV2LazyQuery(baseOptions) {
1539
- return Apollo.useLazyQuery(exports.FetchExtensionOpportunitiesV2Document, baseOptions);
1540
- }
1541
- exports.useFetchExtensionOpportunitiesV2LazyQuery = useFetchExtensionOpportunitiesV2LazyQuery;
1542
- exports.FetchNftDataDocument = (0, client_1.gql) `
1543
- query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
1544
- fetchNFTData(
1545
- blockchain: $blockchain
1546
- contractAddress: $contractAddress
1547
- tokenId: $tokenId
1548
- elrondId: $elrondId
1549
- ) {
1550
- blockchain
1551
- contractAddress
1552
- tokenId
1553
- elrondId
1554
- collectionData {
1555
- collectionId
1556
- title
1557
- rank
1558
- createdAt
1559
- itemsNum
1560
- holdersNum
1561
- floorPrice
1562
- }
1563
- assetData {
1564
- assetId
1565
- rank
1566
- }
1567
- userRank
1568
- }
1569
- }
1570
- `;
1571
- /**
1572
- * __useFetchNftDataQuery__
1573
- *
1574
- * To run a query within a React component, call `useFetchNftDataQuery` and pass it any options that fit your needs.
1575
- * When your component renders, `useFetchNftDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
1576
- * you can use to render your UI.
1577
- *
1578
- * @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;
1579
- *
1580
- * @example
1581
- * const { data, loading, error } = useFetchNftDataQuery({
1582
- * variables: {
1583
- * blockchain: // value for 'blockchain'
1584
- * contractAddress: // value for 'contractAddress'
1585
- * tokenId: // value for 'tokenId'
1586
- * elrondId: // value for 'elrondId'
1587
- * },
1588
- * });
1589
- */
1590
- function useFetchNftDataQuery(baseOptions) {
1591
- return Apollo.useQuery(exports.FetchNftDataDocument, baseOptions);
1592
- }
1593
- exports.useFetchNftDataQuery = useFetchNftDataQuery;
1594
- function useFetchNftDataLazyQuery(baseOptions) {
1595
- return Apollo.useLazyQuery(exports.FetchNftDataDocument, baseOptions);
1596
- }
1597
- exports.useFetchNftDataLazyQuery = useFetchNftDataLazyQuery;
1598
- exports.FetchNftRanksDocument = (0, client_1.gql) `
1599
- query FetchNFTRanks($nftKeys: [NFTKey!]!) {
1600
- fetchNFTRanks(nftKeys: $nftKeys) {
1601
- blockchain
1602
- address
1603
- tokenId
1604
- id
1605
- rank
1606
- }
1607
- }
1608
- `;
1609
- /**
1610
- * __useFetchNftRanksQuery__
1611
- *
1612
- * To run a query within a React component, call `useFetchNftRanksQuery` and pass it any options that fit your needs.
1613
- * When your component renders, `useFetchNftRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
1614
- * you can use to render your UI.
1615
- *
1616
- * @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;
1617
- *
1618
- * @example
1619
- * const { data, loading, error } = useFetchNftRanksQuery({
1620
- * variables: {
1621
- * nftKeys: // value for 'nftKeys'
1622
- * },
1623
- * });
1624
- */
1625
- function useFetchNftRanksQuery(baseOptions) {
1626
- return Apollo.useQuery(exports.FetchNftRanksDocument, baseOptions);
1627
- }
1628
- exports.useFetchNftRanksQuery = useFetchNftRanksQuery;
1629
- function useFetchNftRanksLazyQuery(baseOptions) {
1630
- return Apollo.useLazyQuery(exports.FetchNftRanksDocument, baseOptions);
1631
- }
1632
- exports.useFetchNftRanksLazyQuery = useFetchNftRanksLazyQuery;
1633
- exports.AddAssetsToGalleryDocument = (0, client_1.gql) `
1634
- mutation AddAssetsToGallery($galleryId: ID!, $assetIds: [String!]!) {
1635
- addAssetsToGallery(galleryId: $galleryId, assetIds: $assetIds)
1636
- }
1637
- `;
1638
- /**
1639
- * __useAddAssetsToGalleryMutation__
1640
- *
1641
- * To run a mutation, you first call `useAddAssetsToGalleryMutation` within a React component and pass it any options that fit your needs.
1642
- * When your component renders, `useAddAssetsToGalleryMutation` returns a tuple that includes:
1643
- * - A mutate function that you can call at any time to execute the mutation
1644
- * - An object with fields that represent the current status of the mutation's execution
1645
- *
1646
- * @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;
1647
- *
1648
- * @example
1649
- * const [addAssetsToGalleryMutation, { data, loading, error }] = useAddAssetsToGalleryMutation({
1650
- * variables: {
1651
- * galleryId: // value for 'galleryId'
1652
- * assetIds: // value for 'assetIds'
1653
- * },
1654
- * });
1655
- */
1656
- function useAddAssetsToGalleryMutation(baseOptions) {
1657
- return Apollo.useMutation(exports.AddAssetsToGalleryDocument, baseOptions);
1658
- }
1659
- exports.useAddAssetsToGalleryMutation = useAddAssetsToGalleryMutation;
1660
- exports.AddAssetsToGalleryV2Document = (0, client_1.gql) `
1661
- mutation AddAssetsToGalleryV2($galleryId: ID!, $assetIds: [String!]!) {
1662
- addAssetsToGalleryV2(galleryId: $galleryId, assetIds: $assetIds)
1663
- }
1664
- `;
1665
- /**
1666
- * __useAddAssetsToGalleryV2Mutation__
1667
- *
1668
- * To run a mutation, you first call `useAddAssetsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1669
- * When your component renders, `useAddAssetsToGalleryV2Mutation` returns a tuple that includes:
1670
- * - A mutate function that you can call at any time to execute the mutation
1671
- * - An object with fields that represent the current status of the mutation's execution
1672
- *
1673
- * @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;
1674
- *
1675
- * @example
1676
- * const [addAssetsToGalleryV2Mutation, { data, loading, error }] = useAddAssetsToGalleryV2Mutation({
1677
- * variables: {
1678
- * galleryId: // value for 'galleryId'
1679
- * assetIds: // value for 'assetIds'
1680
- * },
1681
- * });
1682
- */
1683
- function useAddAssetsToGalleryV2Mutation(baseOptions) {
1684
- return Apollo.useMutation(exports.AddAssetsToGalleryV2Document, baseOptions);
1685
- }
1686
- exports.useAddAssetsToGalleryV2Mutation = useAddAssetsToGalleryV2Mutation;
1687
- exports.UploadGalleryBannerDocument = (0, client_1.gql) `
1688
- mutation UploadGalleryBanner($galleryId: ID!, $file: Upload!) {
1689
- uploadGalleryBanner(galleryId: $galleryId, file: $file)
1690
- }
1691
- `;
1692
- /**
1693
- * __useUploadGalleryBannerMutation__
1694
- *
1695
- * To run a mutation, you first call `useUploadGalleryBannerMutation` within a React component and pass it any options that fit your needs.
1696
- * When your component renders, `useUploadGalleryBannerMutation` returns a tuple that includes:
1697
- * - A mutate function that you can call at any time to execute the mutation
1698
- * - An object with fields that represent the current status of the mutation's execution
1699
- *
1700
- * @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;
1701
- *
1702
- * @example
1703
- * const [uploadGalleryBannerMutation, { data, loading, error }] = useUploadGalleryBannerMutation({
1704
- * variables: {
1705
- * galleryId: // value for 'galleryId'
1706
- * file: // value for 'file'
1707
- * },
1708
- * });
1709
- */
1710
- function useUploadGalleryBannerMutation(baseOptions) {
1711
- return Apollo.useMutation(exports.UploadGalleryBannerDocument, baseOptions);
1712
- }
1713
- exports.useUploadGalleryBannerMutation = useUploadGalleryBannerMutation;
1714
- exports.AddCollectionsToGalleryDocument = (0, client_1.gql) `
1715
- mutation AddCollectionsToGallery($galleryId: ID!, $collectionIds: [String!]!) {
1716
- addCollectionsToGallery(galleryId: $galleryId, collectionIds: $collectionIds)
1717
- }
1718
- `;
1719
- /**
1720
- * __useAddCollectionsToGalleryMutation__
1721
- *
1722
- * To run a mutation, you first call `useAddCollectionsToGalleryMutation` within a React component and pass it any options that fit your needs.
1723
- * When your component renders, `useAddCollectionsToGalleryMutation` returns a tuple that includes:
1724
- * - A mutate function that you can call at any time to execute the mutation
1725
- * - An object with fields that represent the current status of the mutation's execution
1726
- *
1727
- * @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;
1728
- *
1729
- * @example
1730
- * const [addCollectionsToGalleryMutation, { data, loading, error }] = useAddCollectionsToGalleryMutation({
1731
- * variables: {
1732
- * galleryId: // value for 'galleryId'
1733
- * collectionIds: // value for 'collectionIds'
1734
- * },
1735
- * });
1736
- */
1737
- function useAddCollectionsToGalleryMutation(baseOptions) {
1738
- return Apollo.useMutation(exports.AddCollectionsToGalleryDocument, baseOptions);
1739
- }
1740
- exports.useAddCollectionsToGalleryMutation = useAddCollectionsToGalleryMutation;
1741
- exports.AddCollectionsToGalleryV2Document = (0, client_1.gql) `
1742
- mutation AddCollectionsToGalleryV2($galleryId: ID!, $collectionIds: [String!]!) {
1743
- addCollectionsToGalleryV2(galleryId: $galleryId, collectionIds: $collectionIds)
1744
- }
1745
- `;
1746
- /**
1747
- * __useAddCollectionsToGalleryV2Mutation__
1748
- *
1749
- * To run a mutation, you first call `useAddCollectionsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1750
- * When your component renders, `useAddCollectionsToGalleryV2Mutation` returns a tuple that includes:
1751
- * - A mutate function that you can call at any time to execute the mutation
1752
- * - An object with fields that represent the current status of the mutation's execution
1753
- *
1754
- * @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;
1755
- *
1756
- * @example
1757
- * const [addCollectionsToGalleryV2Mutation, { data, loading, error }] = useAddCollectionsToGalleryV2Mutation({
1758
- * variables: {
1759
- * galleryId: // value for 'galleryId'
1760
- * collectionIds: // value for 'collectionIds'
1761
- * },
1762
- * });
1763
- */
1764
- function useAddCollectionsToGalleryV2Mutation(baseOptions) {
1765
- return Apollo.useMutation(exports.AddCollectionsToGalleryV2Document, baseOptions);
1766
- }
1767
- exports.useAddCollectionsToGalleryV2Mutation = useAddCollectionsToGalleryV2Mutation;
1768
- exports.AddCreationsToGalleryDocument = (0, client_1.gql) `
1769
- mutation AddCreationsToGallery($galleryId: ID!, $creationIds: [String!]!) {
1770
- addCreationsToGallery(galleryId: $galleryId, creationIds: $creationIds)
1771
- }
1772
- `;
1773
- /**
1774
- * __useAddCreationsToGalleryMutation__
1775
- *
1776
- * To run a mutation, you first call `useAddCreationsToGalleryMutation` within a React component and pass it any options that fit your needs.
1777
- * When your component renders, `useAddCreationsToGalleryMutation` returns a tuple that includes:
1778
- * - A mutate function that you can call at any time to execute the mutation
1779
- * - An object with fields that represent the current status of the mutation's execution
1780
- *
1781
- * @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;
1782
- *
1783
- * @example
1784
- * const [addCreationsToGalleryMutation, { data, loading, error }] = useAddCreationsToGalleryMutation({
1785
- * variables: {
1786
- * galleryId: // value for 'galleryId'
1787
- * creationIds: // value for 'creationIds'
1788
- * },
1789
- * });
1790
- */
1791
- function useAddCreationsToGalleryMutation(baseOptions) {
1792
- return Apollo.useMutation(exports.AddCreationsToGalleryDocument, baseOptions);
1793
- }
1794
- exports.useAddCreationsToGalleryMutation = useAddCreationsToGalleryMutation;
1795
- exports.AddCreationsToGalleryV2Document = (0, client_1.gql) `
1796
- mutation AddCreationsToGalleryV2($galleryId: ID!, $creationIds: [String!]!) {
1797
- addCreationsToGalleryV2(galleryId: $galleryId, creationIds: $creationIds)
1798
- }
1799
- `;
1800
- /**
1801
- * __useAddCreationsToGalleryV2Mutation__
1802
- *
1803
- * To run a mutation, you first call `useAddCreationsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1804
- * When your component renders, `useAddCreationsToGalleryV2Mutation` returns a tuple that includes:
1805
- * - A mutate function that you can call at any time to execute the mutation
1806
- * - An object with fields that represent the current status of the mutation's execution
1807
- *
1808
- * @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;
1809
- *
1810
- * @example
1811
- * const [addCreationsToGalleryV2Mutation, { data, loading, error }] = useAddCreationsToGalleryV2Mutation({
1812
- * variables: {
1813
- * galleryId: // value for 'galleryId'
1814
- * creationIds: // value for 'creationIds'
1815
- * },
1816
- * });
1817
- */
1818
- function useAddCreationsToGalleryV2Mutation(baseOptions) {
1819
- return Apollo.useMutation(exports.AddCreationsToGalleryV2Document, baseOptions);
1820
- }
1821
- exports.useAddCreationsToGalleryV2Mutation = useAddCreationsToGalleryV2Mutation;
1822
- exports.CreateFavoriteListV2Document = (0, client_1.gql) `
1823
- mutation CreateFavoriteListV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1824
- createFavoriteListV2(
1825
- name: $name
1826
- description: $description
1827
- publicAccessible: $publicAccessible
1828
- creationIds: $creationIds
1829
- )
1830
- }
1831
- `;
1832
- /**
1833
- * __useCreateFavoriteListV2Mutation__
1834
- *
1835
- * To run a mutation, you first call `useCreateFavoriteListV2Mutation` within a React component and pass it any options that fit your needs.
1836
- * When your component renders, `useCreateFavoriteListV2Mutation` returns a tuple that includes:
1837
- * - A mutate function that you can call at any time to execute the mutation
1838
- * - An object with fields that represent the current status of the mutation's execution
1839
- *
1840
- * @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;
1841
- *
1842
- * @example
1843
- * const [createFavoriteListV2Mutation, { data, loading, error }] = useCreateFavoriteListV2Mutation({
1844
- * variables: {
1845
- * name: // value for 'name'
1846
- * description: // value for 'description'
1847
- * publicAccessible: // value for 'publicAccessible'
1848
- * creationIds: // value for 'creationIds'
1849
- * },
1850
- * });
1851
- */
1852
- function useCreateFavoriteListV2Mutation(baseOptions) {
1853
- return Apollo.useMutation(exports.CreateFavoriteListV2Document, baseOptions);
1854
- }
1855
- exports.useCreateFavoriteListV2Mutation = useCreateFavoriteListV2Mutation;
1856
- exports.CreateFavoritesDocument = (0, client_1.gql) `
1857
- mutation CreateFavorites($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1858
- createFavorites(
1859
- name: $name
1860
- description: $description
1861
- publicAccessible: $publicAccessible
1862
- creationIds: $creationIds
1863
- )
1864
- }
1865
- `;
1866
- /**
1867
- * __useCreateFavoritesMutation__
1868
- *
1869
- * To run a mutation, you first call `useCreateFavoritesMutation` within a React component and pass it any options that fit your needs.
1870
- * When your component renders, `useCreateFavoritesMutation` returns a tuple that includes:
1871
- * - A mutate function that you can call at any time to execute the mutation
1872
- * - An object with fields that represent the current status of the mutation's execution
1873
- *
1874
- * @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;
1875
- *
1876
- * @example
1877
- * const [createFavoritesMutation, { data, loading, error }] = useCreateFavoritesMutation({
1878
- * variables: {
1879
- * name: // value for 'name'
1880
- * description: // value for 'description'
1881
- * publicAccessible: // value for 'publicAccessible'
1882
- * creationIds: // value for 'creationIds'
1883
- * },
1884
- * });
1885
- */
1886
- function useCreateFavoritesMutation(baseOptions) {
1887
- return Apollo.useMutation(exports.CreateFavoritesDocument, baseOptions);
1888
- }
1889
- exports.useCreateFavoritesMutation = useCreateFavoritesMutation;
1890
- exports.CreateGalleryDocument = (0, client_1.gql) `
1891
- mutation CreateGallery($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1892
- createGallery(
1893
- name: $name
1894
- description: $description
1895
- publicAccessible: $publicAccessible
1896
- creationIds: $creationIds
1897
- )
1898
- }
1899
- `;
1900
- /**
1901
- * __useCreateGalleryMutation__
1902
- *
1903
- * To run a mutation, you first call `useCreateGalleryMutation` within a React component and pass it any options that fit your needs.
1904
- * When your component renders, `useCreateGalleryMutation` returns a tuple that includes:
1905
- * - A mutate function that you can call at any time to execute the mutation
1906
- * - An object with fields that represent the current status of the mutation's execution
1907
- *
1908
- * @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;
1909
- *
1910
- * @example
1911
- * const [createGalleryMutation, { data, loading, error }] = useCreateGalleryMutation({
1912
- * variables: {
1913
- * name: // value for 'name'
1914
- * description: // value for 'description'
1915
- * publicAccessible: // value for 'publicAccessible'
1916
- * creationIds: // value for 'creationIds'
1917
- * },
1918
- * });
1919
- */
1920
- function useCreateGalleryMutation(baseOptions) {
1921
- return Apollo.useMutation(exports.CreateGalleryDocument, baseOptions);
1922
- }
1923
- exports.useCreateGalleryMutation = useCreateGalleryMutation;
1924
- exports.CreateGalleryV2Document = (0, client_1.gql) `
1925
- mutation CreateGalleryV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
1926
- createGalleryV2(
1927
- name: $name
1928
- description: $description
1929
- publicAccessible: $publicAccessible
1930
- creationIds: $creationIds
1931
- )
1932
- }
1933
- `;
1934
- /**
1935
- * __useCreateGalleryV2Mutation__
1936
- *
1937
- * To run a mutation, you first call `useCreateGalleryV2Mutation` within a React component and pass it any options that fit your needs.
1938
- * When your component renders, `useCreateGalleryV2Mutation` returns a tuple that includes:
1939
- * - A mutate function that you can call at any time to execute the mutation
1940
- * - An object with fields that represent the current status of the mutation's execution
1941
- *
1942
- * @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;
1943
- *
1944
- * @example
1945
- * const [createGalleryV2Mutation, { data, loading, error }] = useCreateGalleryV2Mutation({
1946
- * variables: {
1947
- * name: // value for 'name'
1948
- * description: // value for 'description'
1949
- * publicAccessible: // value for 'publicAccessible'
1950
- * creationIds: // value for 'creationIds'
1951
- * },
1952
- * });
1953
- */
1954
- function useCreateGalleryV2Mutation(baseOptions) {
1955
- return Apollo.useMutation(exports.CreateGalleryV2Document, baseOptions);
1956
- }
1957
- exports.useCreateGalleryV2Mutation = useCreateGalleryV2Mutation;
1958
- exports.DeleteGalleryDocument = (0, client_1.gql) `
1959
- mutation DeleteGallery($galleryId: ID!) {
1960
- deleteGallery(galleryId: $galleryId)
1961
- }
1962
- `;
1963
- /**
1964
- * __useDeleteGalleryMutation__
1965
- *
1966
- * To run a mutation, you first call `useDeleteGalleryMutation` within a React component and pass it any options that fit your needs.
1967
- * When your component renders, `useDeleteGalleryMutation` returns a tuple that includes:
1968
- * - A mutate function that you can call at any time to execute the mutation
1969
- * - An object with fields that represent the current status of the mutation's execution
1970
- *
1971
- * @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;
1972
- *
1973
- * @example
1974
- * const [deleteGalleryMutation, { data, loading, error }] = useDeleteGalleryMutation({
1975
- * variables: {
1976
- * galleryId: // value for 'galleryId'
1977
- * },
1978
- * });
1979
- */
1980
- function useDeleteGalleryMutation(baseOptions) {
1981
- return Apollo.useMutation(exports.DeleteGalleryDocument, baseOptions);
1982
- }
1983
- exports.useDeleteGalleryMutation = useDeleteGalleryMutation;
1984
- exports.DeleteGalleryBannerDocument = (0, client_1.gql) `
1985
- mutation DeleteGalleryBanner($galleryId: ID!) {
1986
- deleteGalleryBanner(galleryId: $galleryId)
1987
- }
1988
- `;
1989
- /**
1990
- * __useDeleteGalleryBannerMutation__
1991
- *
1992
- * To run a mutation, you first call `useDeleteGalleryBannerMutation` within a React component and pass it any options that fit your needs.
1993
- * When your component renders, `useDeleteGalleryBannerMutation` returns a tuple that includes:
1994
- * - A mutate function that you can call at any time to execute the mutation
1995
- * - An object with fields that represent the current status of the mutation's execution
1996
- *
1997
- * @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;
1998
- *
1999
- * @example
2000
- * const [deleteGalleryBannerMutation, { data, loading, error }] = useDeleteGalleryBannerMutation({
2001
- * variables: {
2002
- * galleryId: // value for 'galleryId'
2003
- * },
2004
- * });
2005
- */
2006
- function useDeleteGalleryBannerMutation(baseOptions) {
2007
- return Apollo.useMutation(exports.DeleteGalleryBannerDocument, baseOptions);
2008
- }
2009
- exports.useDeleteGalleryBannerMutation = useDeleteGalleryBannerMutation;
2010
- exports.EditGalleryDocument = (0, client_1.gql) `
2011
- mutation EditGallery($galleryId: ID!, $name: String, $description: String) {
2012
- editGallery(galleryId: $galleryId, name: $name, description: $description)
2013
- }
2014
- `;
2015
- /**
2016
- * __useEditGalleryMutation__
2017
- *
2018
- * To run a mutation, you first call `useEditGalleryMutation` within a React component and pass it any options that fit your needs.
2019
- * When your component renders, `useEditGalleryMutation` returns a tuple that includes:
2020
- * - A mutate function that you can call at any time to execute the mutation
2021
- * - An object with fields that represent the current status of the mutation's execution
2022
- *
2023
- * @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;
2024
- *
2025
- * @example
2026
- * const [editGalleryMutation, { data, loading, error }] = useEditGalleryMutation({
2027
- * variables: {
2028
- * galleryId: // value for 'galleryId'
2029
- * name: // value for 'name'
2030
- * description: // value for 'description'
2031
- * },
2032
- * });
2033
- */
2034
- function useEditGalleryMutation(baseOptions) {
2035
- return Apollo.useMutation(exports.EditGalleryDocument, baseOptions);
2036
- }
2037
- exports.useEditGalleryMutation = useEditGalleryMutation;
2038
- exports.RemoveAssetFromGalleryDocument = (0, client_1.gql) `
2039
- mutation RemoveAssetFromGallery($galleryId: ID!, $creationId: String!) {
2040
- removeAssetFromGallery(galleryId: $galleryId, creationId: $creationId)
2041
- }
2042
- `;
2043
- /**
2044
- * __useRemoveAssetFromGalleryMutation__
2045
- *
2046
- * To run a mutation, you first call `useRemoveAssetFromGalleryMutation` within a React component and pass it any options that fit your needs.
2047
- * When your component renders, `useRemoveAssetFromGalleryMutation` returns a tuple that includes:
2048
- * - A mutate function that you can call at any time to execute the mutation
2049
- * - An object with fields that represent the current status of the mutation's execution
2050
- *
2051
- * @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;
2052
- *
2053
- * @example
2054
- * const [removeAssetFromGalleryMutation, { data, loading, error }] = useRemoveAssetFromGalleryMutation({
2055
- * variables: {
2056
- * galleryId: // value for 'galleryId'
2057
- * creationId: // value for 'creationId'
2058
- * },
2059
- * });
2060
- */
2061
- function useRemoveAssetFromGalleryMutation(baseOptions) {
2062
- return Apollo.useMutation(exports.RemoveAssetFromGalleryDocument, baseOptions);
2063
- }
2064
- exports.useRemoveAssetFromGalleryMutation = useRemoveAssetFromGalleryMutation;
2065
- exports.RemoveAssetFromGalleryV2Document = (0, client_1.gql) `
2066
- mutation RemoveAssetFromGalleryV2($galleryId: ID!, $assetId: String!) {
2067
- removeAssetFromGalleryV2(galleryId: $galleryId, assetId: $assetId)
2068
- }
2069
- `;
2070
- /**
2071
- * __useRemoveAssetFromGalleryV2Mutation__
2072
- *
2073
- * To run a mutation, you first call `useRemoveAssetFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
2074
- * When your component renders, `useRemoveAssetFromGalleryV2Mutation` returns a tuple that includes:
2075
- * - A mutate function that you can call at any time to execute the mutation
2076
- * - An object with fields that represent the current status of the mutation's execution
2077
- *
2078
- * @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;
2079
- *
2080
- * @example
2081
- * const [removeAssetFromGalleryV2Mutation, { data, loading, error }] = useRemoveAssetFromGalleryV2Mutation({
2082
- * variables: {
2083
- * galleryId: // value for 'galleryId'
2084
- * assetId: // value for 'assetId'
2085
- * },
2086
- * });
2087
- */
2088
- function useRemoveAssetFromGalleryV2Mutation(baseOptions) {
2089
- return Apollo.useMutation(exports.RemoveAssetFromGalleryV2Document, baseOptions);
2090
- }
2091
- exports.useRemoveAssetFromGalleryV2Mutation = useRemoveAssetFromGalleryV2Mutation;
2092
- exports.RemoveCollectionFromGalleryDocument = (0, client_1.gql) `
2093
- mutation RemoveCollectionFromGallery($galleryId: ID!, $creationId: String!) {
2094
- removeCollectionFromGallery(galleryId: $galleryId, creationId: $creationId)
2095
- }
2096
- `;
2097
- /**
2098
- * __useRemoveCollectionFromGalleryMutation__
2099
- *
2100
- * To run a mutation, you first call `useRemoveCollectionFromGalleryMutation` within a React component and pass it any options that fit your needs.
2101
- * When your component renders, `useRemoveCollectionFromGalleryMutation` returns a tuple that includes:
2102
- * - A mutate function that you can call at any time to execute the mutation
2103
- * - An object with fields that represent the current status of the mutation's execution
2104
- *
2105
- * @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;
2106
- *
2107
- * @example
2108
- * const [removeCollectionFromGalleryMutation, { data, loading, error }] = useRemoveCollectionFromGalleryMutation({
2109
- * variables: {
2110
- * galleryId: // value for 'galleryId'
2111
- * creationId: // value for 'creationId'
2112
- * },
2113
- * });
2114
- */
2115
- function useRemoveCollectionFromGalleryMutation(baseOptions) {
2116
- return Apollo.useMutation(exports.RemoveCollectionFromGalleryDocument, baseOptions);
2117
- }
2118
- exports.useRemoveCollectionFromGalleryMutation = useRemoveCollectionFromGalleryMutation;
2119
- exports.RemoveCollectionFromGalleryV2Document = (0, client_1.gql) `
2120
- mutation RemoveCollectionFromGalleryV2($galleryId: ID!, $collectionId: String!) {
2121
- removeCollectionFromGalleryV2(
2122
- galleryId: $galleryId
2123
- collectionId: $collectionId
2124
- )
2125
- }
2126
- `;
2127
- /**
2128
- * __useRemoveCollectionFromGalleryV2Mutation__
2129
- *
2130
- * To run a mutation, you first call `useRemoveCollectionFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
2131
- * When your component renders, `useRemoveCollectionFromGalleryV2Mutation` returns a tuple that includes:
2132
- * - A mutate function that you can call at any time to execute the mutation
2133
- * - An object with fields that represent the current status of the mutation's execution
2134
- *
2135
- * @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;
2136
- *
2137
- * @example
2138
- * const [removeCollectionFromGalleryV2Mutation, { data, loading, error }] = useRemoveCollectionFromGalleryV2Mutation({
2139
- * variables: {
2140
- * galleryId: // value for 'galleryId'
2141
- * collectionId: // value for 'collectionId'
2142
- * },
2143
- * });
2144
- */
2145
- function useRemoveCollectionFromGalleryV2Mutation(baseOptions) {
2146
- return Apollo.useMutation(exports.RemoveCollectionFromGalleryV2Document, baseOptions);
2147
- }
2148
- exports.useRemoveCollectionFromGalleryV2Mutation = useRemoveCollectionFromGalleryV2Mutation;
2149
- exports.RemoveCreationFromGalleryDocument = (0, client_1.gql) `
2150
- mutation RemoveCreationFromGallery($galleryId: ID!, $creationId: String!) {
2151
- removeCreationFromGallery(galleryId: $galleryId, creationId: $creationId)
2152
- }
2153
- `;
2154
- /**
2155
- * __useRemoveCreationFromGalleryMutation__
2156
- *
2157
- * To run a mutation, you first call `useRemoveCreationFromGalleryMutation` within a React component and pass it any options that fit your needs.
2158
- * When your component renders, `useRemoveCreationFromGalleryMutation` returns a tuple that includes:
2159
- * - A mutate function that you can call at any time to execute the mutation
2160
- * - An object with fields that represent the current status of the mutation's execution
2161
- *
2162
- * @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;
2163
- *
2164
- * @example
2165
- * const [removeCreationFromGalleryMutation, { data, loading, error }] = useRemoveCreationFromGalleryMutation({
2166
- * variables: {
2167
- * galleryId: // value for 'galleryId'
2168
- * creationId: // value for 'creationId'
2169
- * },
2170
- * });
2171
- */
2172
- function useRemoveCreationFromGalleryMutation(baseOptions) {
2173
- return Apollo.useMutation(exports.RemoveCreationFromGalleryDocument, baseOptions);
2174
- }
2175
- exports.useRemoveCreationFromGalleryMutation = useRemoveCreationFromGalleryMutation;
2176
- exports.RemoveCreationFromGalleryV2Document = (0, client_1.gql) `
2177
- mutation RemoveCreationFromGalleryV2($galleryId: ID!, $creationId: String!) {
2178
- removeCreationFromGalleryV2(galleryId: $galleryId, creationId: $creationId)
2179
- }
2180
- `;
2181
- /**
2182
- * __useRemoveCreationFromGalleryV2Mutation__
2183
- *
2184
- * To run a mutation, you first call `useRemoveCreationFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
2185
- * When your component renders, `useRemoveCreationFromGalleryV2Mutation` returns a tuple that includes:
2186
- * - A mutate function that you can call at any time to execute the mutation
2187
- * - An object with fields that represent the current status of the mutation's execution
2188
- *
2189
- * @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;
2190
- *
2191
- * @example
2192
- * const [removeCreationFromGalleryV2Mutation, { data, loading, error }] = useRemoveCreationFromGalleryV2Mutation({
2193
- * variables: {
2194
- * galleryId: // value for 'galleryId'
2195
- * creationId: // value for 'creationId'
2196
- * },
2197
- * });
2198
- */
2199
- function useRemoveCreationFromGalleryV2Mutation(baseOptions) {
2200
- return Apollo.useMutation(exports.RemoveCreationFromGalleryV2Document, baseOptions);
2201
- }
2202
- exports.useRemoveCreationFromGalleryV2Mutation = useRemoveCreationFromGalleryV2Mutation;
2203
- exports.FetchGalleryDocument = (0, client_1.gql) `
2204
- query FetchGallery($galleryId: String!) {
2205
- fetchGallery(galleryId: $galleryId) {
2206
- galleryId
2207
- galleryType
2208
- name
2209
- description
2210
- userId
2211
- username
2212
- userpic
2213
- banner
2214
- createdAt
2215
- items
2216
- views
2217
- publiclyAccessible
2218
- nsfw
2219
- }
2220
- }
2221
- `;
2222
- /**
2223
- * __useFetchGalleryQuery__
2224
- *
2225
- * To run a query within a React component, call `useFetchGalleryQuery` and pass it any options that fit your needs.
2226
- * When your component renders, `useFetchGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
2227
- * you can use to render your UI.
2228
- *
2229
- * @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;
2230
- *
2231
- * @example
2232
- * const { data, loading, error } = useFetchGalleryQuery({
2233
- * variables: {
2234
- * galleryId: // value for 'galleryId'
2235
- * },
2236
- * });
2237
- */
2238
- function useFetchGalleryQuery(baseOptions) {
2239
- return Apollo.useQuery(exports.FetchGalleryDocument, baseOptions);
2240
- }
2241
- exports.useFetchGalleryQuery = useFetchGalleryQuery;
2242
- function useFetchGalleryLazyQuery(baseOptions) {
2243
- return Apollo.useLazyQuery(exports.FetchGalleryDocument, baseOptions);
2244
- }
2245
- exports.useFetchGalleryLazyQuery = useFetchGalleryLazyQuery;
2246
- exports.FetchGalleryCreationsDocument = (0, client_1.gql) `
2247
- query FetchGalleryCreations($galleryId: String!, $pageSize: Int!, $pageToken: String) {
2248
- fetchGalleryCreations(
2249
- galleryId: $galleryId
2250
- pageSize: $pageSize
2251
- pageToken: $pageToken
2252
- ) {
2253
- nextPageToken
2254
- galleryCreations {
2255
- galleryId
2256
- creationId
2257
- address
2258
- tokenId
2259
- itemId
2260
- itemType
2261
- itemOrder
2262
- galleryName
2263
- blockchain
2264
- name
2265
- creatorsAddresses
2266
- originalUrls
2267
- media
2268
- mediaPreview
2269
- mimeType
2270
- sizeRatio
2271
- fileSize
2272
- nsfw
2273
- likes
2274
- liked
2275
- views
2276
- visible
2277
- blurred
2278
- prices {
2279
- currency
2280
- amount
2281
- }
2282
- }
2283
- }
2284
- }
2285
- `;
2286
- /**
2287
- * __useFetchGalleryCreationsQuery__
2288
- *
2289
- * To run a query within a React component, call `useFetchGalleryCreationsQuery` and pass it any options that fit your needs.
2290
- * When your component renders, `useFetchGalleryCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
2291
- * you can use to render your UI.
2292
- *
2293
- * @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;
2294
- *
2295
- * @example
2296
- * const { data, loading, error } = useFetchGalleryCreationsQuery({
2297
- * variables: {
2298
- * galleryId: // value for 'galleryId'
2299
- * pageSize: // value for 'pageSize'
2300
- * pageToken: // value for 'pageToken'
2301
- * },
2302
- * });
2303
- */
2304
- function useFetchGalleryCreationsQuery(baseOptions) {
2305
- return Apollo.useQuery(exports.FetchGalleryCreationsDocument, baseOptions);
2306
- }
2307
- exports.useFetchGalleryCreationsQuery = useFetchGalleryCreationsQuery;
2308
- function useFetchGalleryCreationsLazyQuery(baseOptions) {
2309
- return Apollo.useLazyQuery(exports.FetchGalleryCreationsDocument, baseOptions);
2310
- }
2311
- exports.useFetchGalleryCreationsLazyQuery = useFetchGalleryCreationsLazyQuery;
2312
- exports.FetchGalleryV2Document = (0, client_1.gql) `
2313
- query FetchGalleryV2($galleryId: String!) {
2314
- fetchGalleryV2(galleryId: $galleryId) {
2315
- galleryId
2316
- galleryType
2317
- name
2318
- description
2319
- userId
2320
- username
2321
- userpic
2322
- banner
2323
- createdAt
2324
- items
2325
- views
2326
- publiclyAccessible
2327
- nsfw
2328
- creationIds
2329
- }
2330
- }
2331
- `;
2332
- /**
2333
- * __useFetchGalleryV2Query__
2334
- *
2335
- * To run a query within a React component, call `useFetchGalleryV2Query` and pass it any options that fit your needs.
2336
- * When your component renders, `useFetchGalleryV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2337
- * you can use to render your UI.
2338
- *
2339
- * @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;
2340
- *
2341
- * @example
2342
- * const { data, loading, error } = useFetchGalleryV2Query({
2343
- * variables: {
2344
- * galleryId: // value for 'galleryId'
2345
- * },
2346
- * });
2347
- */
2348
- function useFetchGalleryV2Query(baseOptions) {
2349
- return Apollo.useQuery(exports.FetchGalleryV2Document, baseOptions);
2350
- }
2351
- exports.useFetchGalleryV2Query = useFetchGalleryV2Query;
2352
- function useFetchGalleryV2LazyQuery(baseOptions) {
2353
- return Apollo.useLazyQuery(exports.FetchGalleryV2Document, baseOptions);
2354
- }
2355
- exports.useFetchGalleryV2LazyQuery = useFetchGalleryV2LazyQuery;
2356
- exports.FetchMyFavoritesDocument = (0, client_1.gql) `
2357
- query FetchMyFavorites($pageSize: Int!, $pageToken: String) {
2358
- fetchMyFavorites(pageSize: $pageSize, pageToken: $pageToken) {
2359
- nextPageToken
2360
- galleries {
2361
- galleryId
2362
- galleryType
2363
- name
2364
- description
2365
- userId
2366
- username
2367
- userpic
2368
- banner
2369
- createdAt
2370
- items
2371
- views
2372
- publiclyAccessible
2373
- nsfw
2374
- galleryCreations {
2375
- galleryId
2376
- creationId
2377
- itemId
2378
- itemType
2379
- itemOrder
2380
- galleryName
2381
- blockchain
2382
- name
2383
- creatorsAddresses
2384
- ownersAddresses
2385
- originalUrls
2386
- media
2387
- mediaPreview
2388
- mimeType
2389
- sizeRatio
2390
- fileSize
2391
- nsfw
2392
- likes
2393
- liked
2394
- views
2395
- visible
2396
- blurred
2397
- prices {
2398
- currency
2399
- amount
2400
- }
2401
- }
2402
- }
2403
- }
2404
- }
2405
- `;
2406
- /**
2407
- * __useFetchMyFavoritesQuery__
2408
- *
2409
- * To run a query within a React component, call `useFetchMyFavoritesQuery` and pass it any options that fit your needs.
2410
- * When your component renders, `useFetchMyFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2411
- * you can use to render your UI.
2412
- *
2413
- * @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;
2414
- *
2415
- * @example
2416
- * const { data, loading, error } = useFetchMyFavoritesQuery({
2417
- * variables: {
2418
- * pageSize: // value for 'pageSize'
2419
- * pageToken: // value for 'pageToken'
2420
- * },
2421
- * });
2422
- */
2423
- function useFetchMyFavoritesQuery(baseOptions) {
2424
- return Apollo.useQuery(exports.FetchMyFavoritesDocument, baseOptions);
2425
- }
2426
- exports.useFetchMyFavoritesQuery = useFetchMyFavoritesQuery;
2427
- function useFetchMyFavoritesLazyQuery(baseOptions) {
2428
- return Apollo.useLazyQuery(exports.FetchMyFavoritesDocument, baseOptions);
2429
- }
2430
- exports.useFetchMyFavoritesLazyQuery = useFetchMyFavoritesLazyQuery;
2431
- exports.FetchMyFavoritesV2Document = (0, client_1.gql) `
2432
- query FetchMyFavoritesV2($pageSize: Int!, $pageToken: String) {
2433
- fetchMyFavoritesV2(pageSize: $pageSize, pageToken: $pageToken) {
2434
- nextPageToken
2435
- galleries {
2436
- galleryId
2437
- galleryType
2438
- name
2439
- description
2440
- userId
2441
- username
2442
- userpic
2443
- banner
2444
- createdAt
2445
- items
2446
- views
2447
- publiclyAccessible
2448
- nsfw
2449
- creationIds
2450
- }
2451
- }
2452
- }
2453
- `;
2454
- /**
2455
- * __useFetchMyFavoritesV2Query__
2456
- *
2457
- * To run a query within a React component, call `useFetchMyFavoritesV2Query` and pass it any options that fit your needs.
2458
- * When your component renders, `useFetchMyFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2459
- * you can use to render your UI.
2460
- *
2461
- * @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;
2462
- *
2463
- * @example
2464
- * const { data, loading, error } = useFetchMyFavoritesV2Query({
2465
- * variables: {
2466
- * pageSize: // value for 'pageSize'
2467
- * pageToken: // value for 'pageToken'
2468
- * },
2469
- * });
2470
- */
2471
- function useFetchMyFavoritesV2Query(baseOptions) {
2472
- return Apollo.useQuery(exports.FetchMyFavoritesV2Document, baseOptions);
2473
- }
2474
- exports.useFetchMyFavoritesV2Query = useFetchMyFavoritesV2Query;
2475
- function useFetchMyFavoritesV2LazyQuery(baseOptions) {
2476
- return Apollo.useLazyQuery(exports.FetchMyFavoritesV2Document, baseOptions);
2477
- }
2478
- exports.useFetchMyFavoritesV2LazyQuery = useFetchMyFavoritesV2LazyQuery;
2479
- exports.FetchMyGalleriesV2Document = (0, client_1.gql) `
2480
- query FetchMyGalleriesV2($pageSize: Int!, $pageToken: String) {
2481
- fetchMyGalleriesV2(pageSize: $pageSize, pageToken: $pageToken) {
2482
- nextPageToken
2483
- galleries {
2484
- galleryId
2485
- galleryType
2486
- name
2487
- description
2488
- userId
2489
- username
2490
- userpic
2491
- banner
2492
- createdAt
2493
- items
2494
- views
2495
- publiclyAccessible
2496
- nsfw
2497
- creationIds
2498
- }
2499
- }
2500
- }
2501
- `;
2502
- /**
2503
- * __useFetchMyGalleriesV2Query__
2504
- *
2505
- * To run a query within a React component, call `useFetchMyGalleriesV2Query` and pass it any options that fit your needs.
2506
- * When your component renders, `useFetchMyGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2507
- * you can use to render your UI.
2508
- *
2509
- * @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;
2510
- *
2511
- * @example
2512
- * const { data, loading, error } = useFetchMyGalleriesV2Query({
2513
- * variables: {
2514
- * pageSize: // value for 'pageSize'
2515
- * pageToken: // value for 'pageToken'
2516
- * },
2517
- * });
2518
- */
2519
- function useFetchMyGalleriesV2Query(baseOptions) {
2520
- return Apollo.useQuery(exports.FetchMyGalleriesV2Document, baseOptions);
2521
- }
2522
- exports.useFetchMyGalleriesV2Query = useFetchMyGalleriesV2Query;
2523
- function useFetchMyGalleriesV2LazyQuery(baseOptions) {
2524
- return Apollo.useLazyQuery(exports.FetchMyGalleriesV2Document, baseOptions);
2525
- }
2526
- exports.useFetchMyGalleriesV2LazyQuery = useFetchMyGalleriesV2LazyQuery;
2527
- exports.FetchUserFavoritesDocument = (0, client_1.gql) `
2528
- query FetchUserFavorites($userId: ID!, $pageSize: Int!, $pageToken: String) {
2529
- fetchUserFavorites(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
2530
- nextPageToken
2531
- galleries {
2532
- galleryId
2533
- galleryType
2534
- name
2535
- description
2536
- userId
2537
- username
2538
- userpic
2539
- userWallets {
2540
- userId
2541
- address
2542
- walletName
2543
- blockchain
2544
- chainId
2545
- }
2546
- banner
2547
- createdAt
2548
- items
2549
- views
2550
- publiclyAccessible
2551
- nsfw
2552
- galleryCreations {
2553
- galleryId
2554
- creationId
2555
- itemId
2556
- itemType
2557
- itemOrder
2558
- galleryName
2559
- blockchain
2560
- name
2561
- creatorsAddresses
2562
- ownersAddresses
2563
- originalUrls
2564
- media
2565
- mediaPreview
2566
- mimeType
2567
- sizeRatio
2568
- fileSize
2569
- nsfw
2570
- likes
2571
- liked
2572
- views
2573
- visible
2574
- blurred
2575
- prices {
2576
- currency
2577
- amount
2578
- }
2579
- }
2580
- }
2581
- }
2582
- }
2583
- `;
2584
- /**
2585
- * __useFetchUserFavoritesQuery__
2586
- *
2587
- * To run a query within a React component, call `useFetchUserFavoritesQuery` and pass it any options that fit your needs.
2588
- * When your component renders, `useFetchUserFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2589
- * you can use to render your UI.
2590
- *
2591
- * @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;
2592
- *
2593
- * @example
2594
- * const { data, loading, error } = useFetchUserFavoritesQuery({
2595
- * variables: {
2596
- * userId: // value for 'userId'
2597
- * pageSize: // value for 'pageSize'
2598
- * pageToken: // value for 'pageToken'
2599
- * },
2600
- * });
2601
- */
2602
- function useFetchUserFavoritesQuery(baseOptions) {
2603
- return Apollo.useQuery(exports.FetchUserFavoritesDocument, baseOptions);
2604
- }
2605
- exports.useFetchUserFavoritesQuery = useFetchUserFavoritesQuery;
2606
- function useFetchUserFavoritesLazyQuery(baseOptions) {
2607
- return Apollo.useLazyQuery(exports.FetchUserFavoritesDocument, baseOptions);
2608
- }
2609
- exports.useFetchUserFavoritesLazyQuery = useFetchUserFavoritesLazyQuery;
2610
- exports.FetchUserFavoritesV2Document = (0, client_1.gql) `
2611
- query FetchUserFavoritesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
2612
- fetchUserFavoritesV2(
2613
- userId: $userId
2614
- pageSize: $pageSize
2615
- pageToken: $pageToken
2616
- ) {
2617
- nextPageToken
2618
- galleries {
2619
- galleryId
2620
- galleryType
2621
- name
2622
- description
2623
- userId
2624
- username
2625
- userpic
2626
- userWallets {
2627
- userId
2628
- address
2629
- walletName
2630
- blockchain
2631
- chainId
2632
- }
2633
- banner
2634
- createdAt
2635
- items
2636
- views
2637
- publiclyAccessible
2638
- nsfw
2639
- creationIds
2640
- }
2641
- }
2642
- }
2643
- `;
2644
- /**
2645
- * __useFetchUserFavoritesV2Query__
2646
- *
2647
- * To run a query within a React component, call `useFetchUserFavoritesV2Query` and pass it any options that fit your needs.
2648
- * When your component renders, `useFetchUserFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2649
- * you can use to render your UI.
2650
- *
2651
- * @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;
2652
- *
2653
- * @example
2654
- * const { data, loading, error } = useFetchUserFavoritesV2Query({
2655
- * variables: {
2656
- * userId: // value for 'userId'
2657
- * pageSize: // value for 'pageSize'
2658
- * pageToken: // value for 'pageToken'
2659
- * },
2660
- * });
2661
- */
2662
- function useFetchUserFavoritesV2Query(baseOptions) {
2663
- return Apollo.useQuery(exports.FetchUserFavoritesV2Document, baseOptions);
2664
- }
2665
- exports.useFetchUserFavoritesV2Query = useFetchUserFavoritesV2Query;
2666
- function useFetchUserFavoritesV2LazyQuery(baseOptions) {
2667
- return Apollo.useLazyQuery(exports.FetchUserFavoritesV2Document, baseOptions);
2668
- }
2669
- exports.useFetchUserFavoritesV2LazyQuery = useFetchUserFavoritesV2LazyQuery;
2670
- exports.FetchUserGalleriesDocument = (0, client_1.gql) `
2671
- query fetchUserGalleries($userId: ID!, $pageSize: Int!, $pageToken: String) {
2672
- fetchUserGalleries(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
2673
- nextPageToken
2674
- galleries {
2675
- galleryId
2676
- galleryType
2677
- name
2678
- description
2679
- userId
2680
- username
2681
- userpic
2682
- userWallets {
2683
- userId
2684
- address
2685
- walletName
2686
- blockchain
2687
- chainId
2688
- }
2689
- banner
2690
- createdAt
2691
- items
2692
- views
2693
- publiclyAccessible
2694
- nsfw
2695
- galleryCreations {
2696
- galleryId
2697
- creationId
2698
- itemId
2699
- itemType
2700
- itemOrder
2701
- galleryName
2702
- blockchain
2703
- name
2704
- creatorsAddresses
2705
- ownersAddresses
2706
- originalUrls
2707
- media
2708
- mediaPreview
2709
- mimeType
2710
- sizeRatio
2711
- fileSize
2712
- nsfw
2713
- likes
2714
- liked
2715
- views
2716
- visible
2717
- blurred
2718
- prices {
2719
- currency
2720
- amount
2721
- }
2722
- }
2723
- }
2724
- }
2725
- }
2726
- `;
2727
- /**
2728
- * __useFetchUserGalleriesQuery__
2729
- *
2730
- * To run a query within a React component, call `useFetchUserGalleriesQuery` and pass it any options that fit your needs.
2731
- * When your component renders, `useFetchUserGalleriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
2732
- * you can use to render your UI.
2733
- *
2734
- * @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;
2735
- *
2736
- * @example
2737
- * const { data, loading, error } = useFetchUserGalleriesQuery({
2738
- * variables: {
2739
- * userId: // value for 'userId'
2740
- * pageSize: // value for 'pageSize'
2741
- * pageToken: // value for 'pageToken'
2742
- * },
2743
- * });
2744
- */
2745
- function useFetchUserGalleriesQuery(baseOptions) {
2746
- return Apollo.useQuery(exports.FetchUserGalleriesDocument, baseOptions);
2747
- }
2748
- exports.useFetchUserGalleriesQuery = useFetchUserGalleriesQuery;
2749
- function useFetchUserGalleriesLazyQuery(baseOptions) {
2750
- return Apollo.useLazyQuery(exports.FetchUserGalleriesDocument, baseOptions);
2751
- }
2752
- exports.useFetchUserGalleriesLazyQuery = useFetchUserGalleriesLazyQuery;
2753
- exports.FetchUserGalleriesV2Document = (0, client_1.gql) `
2754
- query fetchUserGalleriesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
2755
- fetchUserGalleriesV2(
2756
- userId: $userId
2757
- pageSize: $pageSize
2758
- pageToken: $pageToken
2759
- ) {
2760
- nextPageToken
2761
- galleries {
2762
- galleryId
2763
- galleryType
2764
- name
2765
- description
2766
- userId
2767
- username
2768
- userpic
2769
- userWallets {
2770
- userId
2771
- address
2772
- walletName
2773
- blockchain
2774
- chainId
2775
- }
2776
- banner
2777
- createdAt
2778
- items
2779
- views
2780
- publiclyAccessible
2781
- nsfw
2782
- creationIds
2783
- }
2784
- }
2785
- }
2786
- `;
2787
- /**
2788
- * __useFetchUserGalleriesV2Query__
2789
- *
2790
- * To run a query within a React component, call `useFetchUserGalleriesV2Query` and pass it any options that fit your needs.
2791
- * When your component renders, `useFetchUserGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
2792
- * you can use to render your UI.
2793
- *
2794
- * @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;
2795
- *
2796
- * @example
2797
- * const { data, loading, error } = useFetchUserGalleriesV2Query({
2798
- * variables: {
2799
- * userId: // value for 'userId'
2800
- * pageSize: // value for 'pageSize'
2801
- * pageToken: // value for 'pageToken'
2802
- * },
2803
- * });
2804
- */
2805
- function useFetchUserGalleriesV2Query(baseOptions) {
2806
- return Apollo.useQuery(exports.FetchUserGalleriesV2Document, baseOptions);
2807
- }
2808
- exports.useFetchUserGalleriesV2Query = useFetchUserGalleriesV2Query;
2809
- function useFetchUserGalleriesV2LazyQuery(baseOptions) {
2810
- return Apollo.useLazyQuery(exports.FetchUserGalleriesV2Document, baseOptions);
2811
- }
2812
- exports.useFetchUserGalleriesV2LazyQuery = useFetchUserGalleriesV2LazyQuery;
2813
- exports.AddWalletElrondDocument = (0, client_1.gql) `
2814
- mutation AddWalletElrond($signature: String!, $address: String!) {
2815
- addWalletElrond(signature: $signature, address: $address)
2816
- }
2817
- `;
2818
- /**
2819
- * __useAddWalletElrondMutation__
2820
- *
2821
- * To run a mutation, you first call `useAddWalletElrondMutation` within a React component and pass it any options that fit your needs.
2822
- * When your component renders, `useAddWalletElrondMutation` returns a tuple that includes:
2823
- * - A mutate function that you can call at any time to execute the mutation
2824
- * - An object with fields that represent the current status of the mutation's execution
2825
- *
2826
- * @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;
2827
- *
2828
- * @example
2829
- * const [addWalletElrondMutation, { data, loading, error }] = useAddWalletElrondMutation({
2830
- * variables: {
2831
- * signature: // value for 'signature'
2832
- * address: // value for 'address'
2833
- * },
2834
- * });
2835
- */
2836
- function useAddWalletElrondMutation(baseOptions) {
2837
- return Apollo.useMutation(exports.AddWalletElrondDocument, baseOptions);
2838
- }
2839
- exports.useAddWalletElrondMutation = useAddWalletElrondMutation;
2840
- exports.AddWalletFlowDocument = (0, client_1.gql) `
2841
- mutation AddWalletFlow($signature: String!, $address: String!) {
2842
- addWalletFlow(signature: $signature, address: $address)
2843
- }
2844
- `;
2845
- /**
2846
- * __useAddWalletFlowMutation__
2847
- *
2848
- * To run a mutation, you first call `useAddWalletFlowMutation` within a React component and pass it any options that fit your needs.
2849
- * When your component renders, `useAddWalletFlowMutation` returns a tuple that includes:
2850
- * - A mutate function that you can call at any time to execute the mutation
2851
- * - An object with fields that represent the current status of the mutation's execution
2852
- *
2853
- * @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;
2854
- *
2855
- * @example
2856
- * const [addWalletFlowMutation, { data, loading, error }] = useAddWalletFlowMutation({
2857
- * variables: {
2858
- * signature: // value for 'signature'
2859
- * address: // value for 'address'
2860
- * },
2861
- * });
2862
- */
2863
- function useAddWalletFlowMutation(baseOptions) {
2864
- return Apollo.useMutation(exports.AddWalletFlowDocument, baseOptions);
2865
- }
2866
- exports.useAddWalletFlowMutation = useAddWalletFlowMutation;
2867
- exports.AddWalletMetamaskDocument = (0, client_1.gql) `
2868
- mutation AddWalletMetamask($signature: String!, $address: String!, $chainId: String!) {
2869
- addWalletMetamask(signature: $signature, address: $address, chainId: $chainId)
2870
- }
2871
- `;
2872
- /**
2873
- * __useAddWalletMetamaskMutation__
2874
- *
2875
- * To run a mutation, you first call `useAddWalletMetamaskMutation` within a React component and pass it any options that fit your needs.
2876
- * When your component renders, `useAddWalletMetamaskMutation` returns a tuple that includes:
2877
- * - A mutate function that you can call at any time to execute the mutation
2878
- * - An object with fields that represent the current status of the mutation's execution
2879
- *
2880
- * @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;
2881
- *
2882
- * @example
2883
- * const [addWalletMetamaskMutation, { data, loading, error }] = useAddWalletMetamaskMutation({
2884
- * variables: {
2885
- * signature: // value for 'signature'
2886
- * address: // value for 'address'
2887
- * chainId: // value for 'chainId'
2888
- * },
2889
- * });
2890
- */
2891
- function useAddWalletMetamaskMutation(baseOptions) {
2892
- return Apollo.useMutation(exports.AddWalletMetamaskDocument, baseOptions);
2893
- }
2894
- exports.useAddWalletMetamaskMutation = useAddWalletMetamaskMutation;
2895
- exports.AddWalletSolanaDocument = (0, client_1.gql) `
2896
- mutation AddWalletSolana($signature: String!, $pubkey: String!) {
2897
- addWalletSolana(signature: $signature, pubkey: $pubkey)
2898
- }
2899
- `;
2900
- /**
2901
- * __useAddWalletSolanaMutation__
2902
- *
2903
- * To run a mutation, you first call `useAddWalletSolanaMutation` within a React component and pass it any options that fit your needs.
2904
- * When your component renders, `useAddWalletSolanaMutation` returns a tuple that includes:
2905
- * - A mutate function that you can call at any time to execute the mutation
2906
- * - An object with fields that represent the current status of the mutation's execution
2907
- *
2908
- * @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;
2909
- *
2910
- * @example
2911
- * const [addWalletSolanaMutation, { data, loading, error }] = useAddWalletSolanaMutation({
2912
- * variables: {
2913
- * signature: // value for 'signature'
2914
- * pubkey: // value for 'pubkey'
2915
- * },
2916
- * });
2917
- */
2918
- function useAddWalletSolanaMutation(baseOptions) {
2919
- return Apollo.useMutation(exports.AddWalletSolanaDocument, baseOptions);
2920
- }
2921
- exports.useAddWalletSolanaMutation = useAddWalletSolanaMutation;
2922
- exports.AddWalletTezosDocument = (0, client_1.gql) `
2923
- mutation AddWalletTezos($signature: String!, $pubkey: String!) {
2924
- addWalletTezos(signature: $signature, pubkey: $pubkey)
2925
- }
2926
- `;
2927
- /**
2928
- * __useAddWalletTezosMutation__
2929
- *
2930
- * To run a mutation, you first call `useAddWalletTezosMutation` within a React component and pass it any options that fit your needs.
2931
- * When your component renders, `useAddWalletTezosMutation` returns a tuple that includes:
2932
- * - A mutate function that you can call at any time to execute the mutation
2933
- * - An object with fields that represent the current status of the mutation's execution
2934
- *
2935
- * @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;
2936
- *
2937
- * @example
2938
- * const [addWalletTezosMutation, { data, loading, error }] = useAddWalletTezosMutation({
2939
- * variables: {
2940
- * signature: // value for 'signature'
2941
- * pubkey: // value for 'pubkey'
2942
- * },
2943
- * });
2944
- */
2945
- function useAddWalletTezosMutation(baseOptions) {
2946
- return Apollo.useMutation(exports.AddWalletTezosDocument, baseOptions);
2947
- }
2948
- exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
2949
- exports.CreateNonceDocument = (0, client_1.gql) `
2950
- mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
2951
- createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
2952
- }
2953
- `;
2954
- /**
2955
- * __useCreateNonceMutation__
2956
- *
2957
- * To run a mutation, you first call `useCreateNonceMutation` within a React component and pass it any options that fit your needs.
2958
- * When your component renders, `useCreateNonceMutation` returns a tuple that includes:
2959
- * - A mutate function that you can call at any time to execute the mutation
2960
- * - An object with fields that represent the current status of the mutation's execution
2961
- *
2962
- * @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;
2963
- *
2964
- * @example
2965
- * const [createNonceMutation, { data, loading, error }] = useCreateNonceMutation({
2966
- * variables: {
2967
- * address: // value for 'address'
2968
- * blockchain: // value for 'blockchain'
2969
- * chainId: // value for 'chainId'
2970
- * },
2971
- * });
2972
- */
2973
- function useCreateNonceMutation(baseOptions) {
2974
- return Apollo.useMutation(exports.CreateNonceDocument, baseOptions);
2975
- }
2976
- exports.useCreateNonceMutation = useCreateNonceMutation;
2977
- exports.GenerateNewInviteCodesDocument = (0, client_1.gql) `
2978
- mutation GenerateNewInviteCodes($codesNum: Int!) {
2979
- generateNewInviteCodes(codesNum: $codesNum) {
2980
- inviteCode
2981
- inviteeId
2982
- isUsed
2983
- usedAt
2984
- }
2985
- }
2986
- `;
2987
- /**
2988
- * __useGenerateNewInviteCodesMutation__
2989
- *
2990
- * To run a mutation, you first call `useGenerateNewInviteCodesMutation` within a React component and pass it any options that fit your needs.
2991
- * When your component renders, `useGenerateNewInviteCodesMutation` returns a tuple that includes:
2992
- * - A mutate function that you can call at any time to execute the mutation
2993
- * - An object with fields that represent the current status of the mutation's execution
2994
- *
2995
- * @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;
2996
- *
2997
- * @example
2998
- * const [generateNewInviteCodesMutation, { data, loading, error }] = useGenerateNewInviteCodesMutation({
2999
- * variables: {
3000
- * codesNum: // value for 'codesNum'
3001
- * },
3002
- * });
3003
- */
3004
- function useGenerateNewInviteCodesMutation(baseOptions) {
3005
- return Apollo.useMutation(exports.GenerateNewInviteCodesDocument, baseOptions);
3006
- }
3007
- exports.useGenerateNewInviteCodesMutation = useGenerateNewInviteCodesMutation;
3008
- exports.UseInviteCodeDocument = (0, client_1.gql) `
3009
- mutation UseInviteCode($inviteCode: String!) {
3010
- useInviteCode(inviteCode: $inviteCode)
3011
- }
3012
- `;
3013
- /**
3014
- * __useUseInviteCodeMutation__
3015
- *
3016
- * To run a mutation, you first call `useUseInviteCodeMutation` within a React component and pass it any options that fit your needs.
3017
- * When your component renders, `useUseInviteCodeMutation` returns a tuple that includes:
3018
- * - A mutate function that you can call at any time to execute the mutation
3019
- * - An object with fields that represent the current status of the mutation's execution
3020
- *
3021
- * @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;
3022
- *
3023
- * @example
3024
- * const [useInviteCodeMutation, { data, loading, error }] = useUseInviteCodeMutation({
3025
- * variables: {
3026
- * inviteCode: // value for 'inviteCode'
3027
- * },
3028
- * });
3029
- */
3030
- function useUseInviteCodeMutation(baseOptions) {
3031
- return Apollo.useMutation(exports.UseInviteCodeDocument, baseOptions);
3032
- }
3033
- exports.useUseInviteCodeMutation = useUseInviteCodeMutation;
3034
- exports.RefreshTokenDocument = (0, client_1.gql) `
3035
- mutation RefreshToken($refreshToken: String!, $showNsfw: Boolean) {
3036
- refreshToken(refreshToken: $refreshToken, showNsfw: $showNsfw) {
3037
- userId
3038
- tokenAuth
3039
- tokenRefresh
3040
- role
3041
- }
3042
- }
3043
- `;
3044
- /**
3045
- * __useRefreshTokenMutation__
3046
- *
3047
- * To run a mutation, you first call `useRefreshTokenMutation` within a React component and pass it any options that fit your needs.
3048
- * When your component renders, `useRefreshTokenMutation` returns a tuple that includes:
3049
- * - A mutate function that you can call at any time to execute the mutation
3050
- * - An object with fields that represent the current status of the mutation's execution
3051
- *
3052
- * @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;
3053
- *
3054
- * @example
3055
- * const [refreshTokenMutation, { data, loading, error }] = useRefreshTokenMutation({
3056
- * variables: {
3057
- * refreshToken: // value for 'refreshToken'
3058
- * showNsfw: // value for 'showNsfw'
3059
- * },
3060
- * });
3061
- */
3062
- function useRefreshTokenMutation(baseOptions) {
3063
- return Apollo.useMutation(exports.RefreshTokenDocument, baseOptions);
3064
- }
3065
- exports.useRefreshTokenMutation = useRefreshTokenMutation;
3066
- exports.RemoveWalletDocument = (0, client_1.gql) `
3067
- mutation RemoveWallet($blockchain: String!, $address: String!, $chainId: String) {
3068
- removeWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
3069
- }
3070
- `;
3071
- /**
3072
- * __useRemoveWalletMutation__
3073
- *
3074
- * To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
3075
- * When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
3076
- * - A mutate function that you can call at any time to execute the mutation
3077
- * - An object with fields that represent the current status of the mutation's execution
3078
- *
3079
- * @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;
3080
- *
3081
- * @example
3082
- * const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
3083
- * variables: {
3084
- * blockchain: // value for 'blockchain'
3085
- * address: // value for 'address'
3086
- * chainId: // value for 'chainId'
3087
- * },
3088
- * });
3089
- */
3090
- function useRemoveWalletMutation(baseOptions) {
3091
- return Apollo.useMutation(exports.RemoveWalletDocument, baseOptions);
3092
- }
3093
- exports.useRemoveWalletMutation = useRemoveWalletMutation;
3094
- exports.RevokeTokenDocument = (0, client_1.gql) `
3095
- mutation RevokeToken {
3096
- revokeToken
3097
- }
3098
- `;
3099
- /**
3100
- * __useRevokeTokenMutation__
3101
- *
3102
- * To run a mutation, you first call `useRevokeTokenMutation` within a React component and pass it any options that fit your needs.
3103
- * When your component renders, `useRevokeTokenMutation` returns a tuple that includes:
3104
- * - A mutate function that you can call at any time to execute the mutation
3105
- * - An object with fields that represent the current status of the mutation's execution
3106
- *
3107
- * @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;
3108
- *
3109
- * @example
3110
- * const [revokeTokenMutation, { data, loading, error }] = useRevokeTokenMutation({
3111
- * variables: {
3112
- * },
3113
- * });
3114
- */
3115
- function useRevokeTokenMutation(baseOptions) {
3116
- return Apollo.useMutation(exports.RevokeTokenDocument, baseOptions);
3117
- }
3118
- exports.useRevokeTokenMutation = useRevokeTokenMutation;
3119
- exports.SetMainWalletDocument = (0, client_1.gql) `
3120
- mutation SetMainWallet($blockchain: String!, $address: String!, $chainId: String) {
3121
- setMainWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
3122
- }
3123
- `;
3124
- /**
3125
- * __useSetMainWalletMutation__
3126
- *
3127
- * To run a mutation, you first call `useSetMainWalletMutation` within a React component and pass it any options that fit your needs.
3128
- * When your component renders, `useSetMainWalletMutation` returns a tuple that includes:
3129
- * - A mutate function that you can call at any time to execute the mutation
3130
- * - An object with fields that represent the current status of the mutation's execution
3131
- *
3132
- * @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;
3133
- *
3134
- * @example
3135
- * const [setMainWalletMutation, { data, loading, error }] = useSetMainWalletMutation({
3136
- * variables: {
3137
- * blockchain: // value for 'blockchain'
3138
- * address: // value for 'address'
3139
- * chainId: // value for 'chainId'
3140
- * },
3141
- * });
3142
- */
3143
- function useSetMainWalletMutation(baseOptions) {
3144
- return Apollo.useMutation(exports.SetMainWalletDocument, baseOptions);
3145
- }
3146
- exports.useSetMainWalletMutation = useSetMainWalletMutation;
3147
- exports.SignInElrondDocument = (0, client_1.gql) `
3148
- mutation SignInElrond($signature: String!, $address: String!) {
3149
- signInElrond(signature: $signature, address: $address) {
3150
- userId
3151
- wallets
3152
- tokens {
3153
- portalTokenPair {
3154
- authToken
3155
- refreshToken
3156
- }
3157
- extensionTokenPair {
3158
- authToken
3159
- refreshToken
3160
- }
3161
- }
3162
- newUser
3163
- inviteCode
3164
- }
3165
- }
3166
- `;
3167
- /**
3168
- * __useSignInElrondMutation__
3169
- *
3170
- * To run a mutation, you first call `useSignInElrondMutation` within a React component and pass it any options that fit your needs.
3171
- * When your component renders, `useSignInElrondMutation` returns a tuple that includes:
3172
- * - A mutate function that you can call at any time to execute the mutation
3173
- * - An object with fields that represent the current status of the mutation's execution
3174
- *
3175
- * @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;
3176
- *
3177
- * @example
3178
- * const [signInElrondMutation, { data, loading, error }] = useSignInElrondMutation({
3179
- * variables: {
3180
- * signature: // value for 'signature'
3181
- * address: // value for 'address'
3182
- * },
3183
- * });
3184
- */
3185
- function useSignInElrondMutation(baseOptions) {
3186
- return Apollo.useMutation(exports.SignInElrondDocument, baseOptions);
3187
- }
3188
- exports.useSignInElrondMutation = useSignInElrondMutation;
3189
- exports.SignInFlowDocument = (0, client_1.gql) `
3190
- mutation SignInFlow($signature: String!, $address: String!) {
3191
- signInFlow(signature: $signature, address: $address) {
3192
- userId
3193
- wallets
3194
- tokens {
3195
- portalTokenPair {
3196
- authToken
3197
- refreshToken
3198
- }
3199
- extensionTokenPair {
3200
- authToken
3201
- refreshToken
3202
- }
3203
- }
3204
- newUser
3205
- inviteCode
3206
- }
3207
- }
3208
- `;
3209
- /**
3210
- * __useSignInFlowMutation__
3211
- *
3212
- * To run a mutation, you first call `useSignInFlowMutation` within a React component and pass it any options that fit your needs.
3213
- * When your component renders, `useSignInFlowMutation` returns a tuple that includes:
3214
- * - A mutate function that you can call at any time to execute the mutation
3215
- * - An object with fields that represent the current status of the mutation's execution
3216
- *
3217
- * @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;
3218
- *
3219
- * @example
3220
- * const [signInFlowMutation, { data, loading, error }] = useSignInFlowMutation({
3221
- * variables: {
3222
- * signature: // value for 'signature'
3223
- * address: // value for 'address'
3224
- * },
3225
- * });
3226
- */
3227
- function useSignInFlowMutation(baseOptions) {
3228
- return Apollo.useMutation(exports.SignInFlowDocument, baseOptions);
3229
- }
3230
- exports.useSignInFlowMutation = useSignInFlowMutation;
3231
- exports.SignInMetamaskDocument = (0, client_1.gql) `
3232
- mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!) {
3233
- signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
3234
- userId
3235
- wallets
3236
- tokens {
3237
- portalTokenPair {
3238
- authToken
3239
- refreshToken
3240
- }
3241
- extensionTokenPair {
3242
- authToken
3243
- refreshToken
3244
- }
3245
- }
3246
- newUser
3247
- inviteCode
3248
- }
3249
- }
3250
- `;
3251
- /**
3252
- * __useSignInMetamaskMutation__
3253
- *
3254
- * To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
3255
- * When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
3256
- * - A mutate function that you can call at any time to execute the mutation
3257
- * - An object with fields that represent the current status of the mutation's execution
3258
- *
3259
- * @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;
3260
- *
3261
- * @example
3262
- * const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
3263
- * variables: {
3264
- * signature: // value for 'signature'
3265
- * address: // value for 'address'
3266
- * chainId: // value for 'chainId'
3267
- * },
3268
- * });
3269
- */
3270
- function useSignInMetamaskMutation(baseOptions) {
3271
- return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
3272
- }
3273
- exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
3274
- exports.SignInSolanaDocument = (0, client_1.gql) `
3275
- mutation SignInSolana($signature: String!, $pubkey: String!) {
3276
- signInSolana(signature: $signature, pubkey: $pubkey) {
3277
- userId
3278
- wallets
3279
- tokens {
3280
- portalTokenPair {
3281
- authToken
3282
- refreshToken
3283
- }
3284
- extensionTokenPair {
3285
- authToken
3286
- refreshToken
3287
- }
3288
- }
3289
- newUser
3290
- inviteCode
3291
- }
3292
- }
3293
- `;
3294
- /**
3295
- * __useSignInSolanaMutation__
3296
- *
3297
- * To run a mutation, you first call `useSignInSolanaMutation` within a React component and pass it any options that fit your needs.
3298
- * When your component renders, `useSignInSolanaMutation` returns a tuple that includes:
3299
- * - A mutate function that you can call at any time to execute the mutation
3300
- * - An object with fields that represent the current status of the mutation's execution
3301
- *
3302
- * @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;
3303
- *
3304
- * @example
3305
- * const [signInSolanaMutation, { data, loading, error }] = useSignInSolanaMutation({
3306
- * variables: {
3307
- * signature: // value for 'signature'
3308
- * pubkey: // value for 'pubkey'
3309
- * },
3310
- * });
3311
- */
3312
- function useSignInSolanaMutation(baseOptions) {
3313
- return Apollo.useMutation(exports.SignInSolanaDocument, baseOptions);
3314
- }
3315
- exports.useSignInSolanaMutation = useSignInSolanaMutation;
3316
- exports.SignInTezosDocument = (0, client_1.gql) `
3317
- mutation SignInTezos($signature: String!, $pubkey: String!) {
3318
- signInTezos(signature: $signature, pubkey: $pubkey) {
3319
- userId
3320
- wallets
3321
- tokens {
3322
- portalTokenPair {
3323
- authToken
3324
- refreshToken
3325
- }
3326
- extensionTokenPair {
3327
- authToken
3328
- refreshToken
3329
- }
3330
- }
3331
- newUser
3332
- inviteCode
3333
- }
3334
- }
3335
- `;
3336
- /**
3337
- * __useSignInTezosMutation__
3338
- *
3339
- * To run a mutation, you first call `useSignInTezosMutation` within a React component and pass it any options that fit your needs.
3340
- * When your component renders, `useSignInTezosMutation` returns a tuple that includes:
3341
- * - A mutate function that you can call at any time to execute the mutation
3342
- * - An object with fields that represent the current status of the mutation's execution
3343
- *
3344
- * @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;
3345
- *
3346
- * @example
3347
- * const [signInTezosMutation, { data, loading, error }] = useSignInTezosMutation({
3348
- * variables: {
3349
- * signature: // value for 'signature'
3350
- * pubkey: // value for 'pubkey'
3351
- * },
3352
- * });
3353
- */
3354
- function useSignInTezosMutation(baseOptions) {
3355
- return Apollo.useMutation(exports.SignInTezosDocument, baseOptions);
3356
- }
3357
- exports.useSignInTezosMutation = useSignInTezosMutation;
3358
- exports.UpdateProfileDocument = (0, client_1.gql) `
3359
- mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
3360
- updateProfile(
3361
- profile: {username: $username, about: $about, showNsfw: $showNsfw, social: {facebook: $facebook, twitter: $twitter, instagram: $instagram, website: $website}}
3362
- )
3363
- }
3364
- `;
3365
- /**
3366
- * __useUpdateProfileMutation__
3367
- *
3368
- * To run a mutation, you first call `useUpdateProfileMutation` within a React component and pass it any options that fit your needs.
3369
- * When your component renders, `useUpdateProfileMutation` returns a tuple that includes:
3370
- * - A mutate function that you can call at any time to execute the mutation
3371
- * - An object with fields that represent the current status of the mutation's execution
3372
- *
3373
- * @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;
3374
- *
3375
- * @example
3376
- * const [updateProfileMutation, { data, loading, error }] = useUpdateProfileMutation({
3377
- * variables: {
3378
- * username: // value for 'username'
3379
- * about: // value for 'about'
3380
- * facebook: // value for 'facebook'
3381
- * twitter: // value for 'twitter'
3382
- * instagram: // value for 'instagram'
3383
- * website: // value for 'website'
3384
- * showNsfw: // value for 'showNsfw'
3385
- * },
3386
- * });
3387
- */
3388
- function useUpdateProfileMutation(baseOptions) {
3389
- return Apollo.useMutation(exports.UpdateProfileDocument, baseOptions);
3390
- }
3391
- exports.useUpdateProfileMutation = useUpdateProfileMutation;
3392
- exports.FetchProfileDocument = (0, client_1.gql) `
3393
- query FetchProfile($userId: ID!) {
3394
- fetchProfile(userId: $userId) {
3395
- userId
3396
- username
3397
- about
3398
- userpic
3399
- following
3400
- followings
3401
- followers
3402
- rank
3403
- social {
3404
- facebook
3405
- twitter
3406
- instagram
3407
- website
3408
- }
3409
- views
3410
- createdAt
3411
- deletedAt
3412
- visible
3413
- deleted
3414
- showNsfw
3415
- wallets {
3416
- userId
3417
- address
3418
- walletName
3419
- blockchain
3420
- chainId
3421
- }
3422
- }
3423
- }
3424
- `;
3425
- /**
3426
- * __useFetchProfileQuery__
3427
- *
3428
- * To run a query within a React component, call `useFetchProfileQuery` and pass it any options that fit your needs.
3429
- * When your component renders, `useFetchProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
3430
- * you can use to render your UI.
3431
- *
3432
- * @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;
3433
- *
3434
- * @example
3435
- * const { data, loading, error } = useFetchProfileQuery({
3436
- * variables: {
3437
- * userId: // value for 'userId'
3438
- * },
3439
- * });
3440
- */
3441
- function useFetchProfileQuery(baseOptions) {
3442
- return Apollo.useQuery(exports.FetchProfileDocument, baseOptions);
3443
- }
3444
- exports.useFetchProfileQuery = useFetchProfileQuery;
3445
- function useFetchProfileLazyQuery(baseOptions) {
3446
- return Apollo.useLazyQuery(exports.FetchProfileDocument, baseOptions);
3447
- }
3448
- exports.useFetchProfileLazyQuery = useFetchProfileLazyQuery;
3449
- exports.FetchUserWalletsDocument = (0, client_1.gql) `
3450
- query FetchUserWallets($userId: ID!) {
3451
- fetchUserWallets(userId: $userId) {
3452
- userId
3453
- address
3454
- walletName
3455
- blockchain
3456
- chainId
3457
- mainWallet
3458
- }
3459
- }
3460
- `;
3461
- /**
3462
- * __useFetchUserWalletsQuery__
3463
- *
3464
- * To run a query within a React component, call `useFetchUserWalletsQuery` and pass it any options that fit your needs.
3465
- * When your component renders, `useFetchUserWalletsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3466
- * you can use to render your UI.
3467
- *
3468
- * @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;
3469
- *
3470
- * @example
3471
- * const { data, loading, error } = useFetchUserWalletsQuery({
3472
- * variables: {
3473
- * userId: // value for 'userId'
3474
- * },
3475
- * });
3476
- */
3477
- function useFetchUserWalletsQuery(baseOptions) {
3478
- return Apollo.useQuery(exports.FetchUserWalletsDocument, baseOptions);
3479
- }
3480
- exports.useFetchUserWalletsQuery = useFetchUserWalletsQuery;
3481
- function useFetchUserWalletsLazyQuery(baseOptions) {
3482
- return Apollo.useLazyQuery(exports.FetchUserWalletsDocument, baseOptions);
3483
- }
3484
- exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
3485
- exports.GetMyInviteCodesDocument = (0, client_1.gql) `
3486
- query GetMyInviteCodes {
3487
- getMyInviteCodes {
3488
- inviteCode
3489
- inviteeId
3490
- isUsed
3491
- usedAt
3492
- }
3493
- }
3494
- `;
3495
- /**
3496
- * __useGetMyInviteCodesQuery__
3497
- *
3498
- * To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
3499
- * When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3500
- * you can use to render your UI.
3501
- *
3502
- * @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;
3503
- *
3504
- * @example
3505
- * const { data, loading, error } = useGetMyInviteCodesQuery({
3506
- * variables: {
3507
- * },
3508
- * });
3509
- */
3510
- function useGetMyInviteCodesQuery(baseOptions) {
3511
- return Apollo.useQuery(exports.GetMyInviteCodesDocument, baseOptions);
3512
- }
3513
- exports.useGetMyInviteCodesQuery = useGetMyInviteCodesQuery;
3514
- function useGetMyInviteCodesLazyQuery(baseOptions) {
3515
- return Apollo.useLazyQuery(exports.GetMyInviteCodesDocument, baseOptions);
3516
- }
3517
- exports.useGetMyInviteCodesLazyQuery = useGetMyInviteCodesLazyQuery;
3518
- exports.FetchUserpicDocument = (0, client_1.gql) `
3519
- query FetchUserpic($userId: ID!) {
3520
- fetchUserpic(userId: $userId)
3521
- }
3522
- `;
3523
- /**
3524
- * __useFetchUserpicQuery__
3525
- *
3526
- * To run a query within a React component, call `useFetchUserpicQuery` and pass it any options that fit your needs.
3527
- * When your component renders, `useFetchUserpicQuery` returns an object from Apollo Client that contains loading, error, and data properties
3528
- * you can use to render your UI.
3529
- *
3530
- * @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;
3531
- *
3532
- * @example
3533
- * const { data, loading, error } = useFetchUserpicQuery({
3534
- * variables: {
3535
- * userId: // value for 'userId'
3536
- * },
3537
- * });
3538
- */
3539
- function useFetchUserpicQuery(baseOptions) {
3540
- return Apollo.useQuery(exports.FetchUserpicDocument, baseOptions);
3541
- }
3542
- exports.useFetchUserpicQuery = useFetchUserpicQuery;
3543
- function useFetchUserpicLazyQuery(baseOptions) {
3544
- return Apollo.useLazyQuery(exports.FetchUserpicDocument, baseOptions);
3545
- }
3546
- exports.useFetchUserpicLazyQuery = useFetchUserpicLazyQuery;
3547
- exports.CreateOpportunityDocument = (0, client_1.gql) `
3548
- mutation CreateOpportunity($input: OpportunityInput!) {
3549
- createOpportunity(input: $input)
3550
- }
3551
- `;
3552
- /**
3553
- * __useCreateOpportunityMutation__
3554
- *
3555
- * To run a mutation, you first call `useCreateOpportunityMutation` within a React component and pass it any options that fit your needs.
3556
- * When your component renders, `useCreateOpportunityMutation` returns a tuple that includes:
3557
- * - A mutate function that you can call at any time to execute the mutation
3558
- * - An object with fields that represent the current status of the mutation's execution
3559
- *
3560
- * @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;
3561
- *
3562
- * @example
3563
- * const [createOpportunityMutation, { data, loading, error }] = useCreateOpportunityMutation({
3564
- * variables: {
3565
- * input: // value for 'input'
3566
- * },
3567
- * });
3568
- */
3569
- function useCreateOpportunityMutation(baseOptions) {
3570
- return Apollo.useMutation(exports.CreateOpportunityDocument, baseOptions);
3571
- }
3572
- exports.useCreateOpportunityMutation = useCreateOpportunityMutation;
3573
- exports.OpenOpportunityDocument = (0, client_1.gql) `
3574
- mutation OpenOpportunity($opportunityId: ID!) {
3575
- openOpportunity(opportunityId: $opportunityId)
3576
- }
3577
- `;
3578
- /**
3579
- * __useOpenOpportunityMutation__
3580
- *
3581
- * To run a mutation, you first call `useOpenOpportunityMutation` within a React component and pass it any options that fit your needs.
3582
- * When your component renders, `useOpenOpportunityMutation` returns a tuple that includes:
3583
- * - A mutate function that you can call at any time to execute the mutation
3584
- * - An object with fields that represent the current status of the mutation's execution
3585
- *
3586
- * @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;
3587
- *
3588
- * @example
3589
- * const [openOpportunityMutation, { data, loading, error }] = useOpenOpportunityMutation({
3590
- * variables: {
3591
- * opportunityId: // value for 'opportunityId'
3592
- * },
3593
- * });
3594
- */
3595
- function useOpenOpportunityMutation(baseOptions) {
3596
- return Apollo.useMutation(exports.OpenOpportunityDocument, baseOptions);
3597
- }
3598
- exports.useOpenOpportunityMutation = useOpenOpportunityMutation;
3599
- exports.FetchOpportunitiesDocument = (0, client_1.gql) `
3600
- query FetchOpportunities($domain: String) {
3601
- fetchOpportunities(domain: $domain) {
3602
- currentOpportunities {
3603
- opportunityId
3604
- name
3605
- description
3606
- startedAt
3607
- endedAt
3608
- createdAt
3609
- tags
3610
- category
3611
- media
3612
- links
3613
- ludoRankRequired
3614
- ludoRankRequiredMin
3615
- ludoRankRequiredMax
3616
- rewardType
3617
- creatorId
3618
- creatorWallet
3619
- status
3620
- }
3621
- similarOpportunities {
3622
- opportunityId
3623
- name
3624
- description
3625
- startedAt
3626
- endedAt
3627
- createdAt
3628
- tags
3629
- category
3630
- media
3631
- links
3632
- ludoRankRequired
3633
- ludoRankRequiredMin
3634
- ludoRankRequiredMax
3635
- rewardType
3636
- creatorId
3637
- creatorWallet
3638
- status
3639
- }
3640
- }
3641
- }
3642
- `;
3643
- /**
3644
- * __useFetchOpportunitiesQuery__
3645
- *
3646
- * To run a query within a React component, call `useFetchOpportunitiesQuery` and pass it any options that fit your needs.
3647
- * When your component renders, `useFetchOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
3648
- * you can use to render your UI.
3649
- *
3650
- * @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;
3651
- *
3652
- * @example
3653
- * const { data, loading, error } = useFetchOpportunitiesQuery({
3654
- * variables: {
3655
- * domain: // value for 'domain'
3656
- * },
3657
- * });
3658
- */
3659
- function useFetchOpportunitiesQuery(baseOptions) {
3660
- return Apollo.useQuery(exports.FetchOpportunitiesDocument, baseOptions);
3661
- }
3662
- exports.useFetchOpportunitiesQuery = useFetchOpportunitiesQuery;
3663
- function useFetchOpportunitiesLazyQuery(baseOptions) {
3664
- return Apollo.useLazyQuery(exports.FetchOpportunitiesDocument, baseOptions);
3665
- }
3666
- exports.useFetchOpportunitiesLazyQuery = useFetchOpportunitiesLazyQuery;
3667
- exports.SaveUserExpectationsDocument = (0, client_1.gql) `
3668
- mutation SaveUserExpectations($expectations: [String]!) {
3669
- saveUserExpectations(expectations: $expectations)
3670
- }
3671
- `;
3672
- /**
3673
- * __useSaveUserExpectationsMutation__
3674
- *
3675
- * To run a mutation, you first call `useSaveUserExpectationsMutation` within a React component and pass it any options that fit your needs.
3676
- * When your component renders, `useSaveUserExpectationsMutation` returns a tuple that includes:
3677
- * - A mutate function that you can call at any time to execute the mutation
3678
- * - An object with fields that represent the current status of the mutation's execution
3679
- *
3680
- * @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;
3681
- *
3682
- * @example
3683
- * const [saveUserExpectationsMutation, { data, loading, error }] = useSaveUserExpectationsMutation({
3684
- * variables: {
3685
- * expectations: // value for 'expectations'
3686
- * },
3687
- * });
3688
- */
3689
- function useSaveUserExpectationsMutation(baseOptions) {
3690
- return Apollo.useMutation(exports.SaveUserExpectationsDocument, baseOptions);
3691
- }
3692
- exports.useSaveUserExpectationsMutation = useSaveUserExpectationsMutation;
3693
- exports.SaveUserInterestsDocument = (0, client_1.gql) `
3694
- mutation SaveUserInterests($interests: [String]!) {
3695
- saveUserInterests(interests: $interests)
3696
- }
3697
- `;
3698
- /**
3699
- * __useSaveUserInterestsMutation__
3700
- *
3701
- * To run a mutation, you first call `useSaveUserInterestsMutation` within a React component and pass it any options that fit your needs.
3702
- * When your component renders, `useSaveUserInterestsMutation` returns a tuple that includes:
3703
- * - A mutate function that you can call at any time to execute the mutation
3704
- * - An object with fields that represent the current status of the mutation's execution
3705
- *
3706
- * @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;
3707
- *
3708
- * @example
3709
- * const [saveUserInterestsMutation, { data, loading, error }] = useSaveUserInterestsMutation({
3710
- * variables: {
3711
- * interests: // value for 'interests'
3712
- * },
3713
- * });
3714
- */
3715
- function useSaveUserInterestsMutation(baseOptions) {
3716
- return Apollo.useMutation(exports.SaveUserInterestsDocument, baseOptions);
3717
- }
3718
- exports.useSaveUserInterestsMutation = useSaveUserInterestsMutation;
3719
- exports.FetchExpectationsDocument = (0, client_1.gql) `
3720
- query FetchExpectations {
3721
- fetchExpectations {
3722
- name
3723
- imageUrl
3724
- }
3725
- }
3726
- `;
3727
- /**
3728
- * __useFetchExpectationsQuery__
3729
- *
3730
- * To run a query within a React component, call `useFetchExpectationsQuery` and pass it any options that fit your needs.
3731
- * When your component renders, `useFetchExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3732
- * you can use to render your UI.
3733
- *
3734
- * @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;
3735
- *
3736
- * @example
3737
- * const { data, loading, error } = useFetchExpectationsQuery({
3738
- * variables: {
3739
- * },
3740
- * });
3741
- */
3742
- function useFetchExpectationsQuery(baseOptions) {
3743
- return Apollo.useQuery(exports.FetchExpectationsDocument, baseOptions);
3744
- }
3745
- exports.useFetchExpectationsQuery = useFetchExpectationsQuery;
3746
- function useFetchExpectationsLazyQuery(baseOptions) {
3747
- return Apollo.useLazyQuery(exports.FetchExpectationsDocument, baseOptions);
3748
- }
3749
- exports.useFetchExpectationsLazyQuery = useFetchExpectationsLazyQuery;
3750
- exports.FetchInterestsDocument = (0, client_1.gql) `
3751
- query FetchInterests {
3752
- fetchInterests {
3753
- name
3754
- imageUrl
3755
- }
3756
- }
3757
- `;
3758
- /**
3759
- * __useFetchInterestsQuery__
3760
- *
3761
- * To run a query within a React component, call `useFetchInterestsQuery` and pass it any options that fit your needs.
3762
- * When your component renders, `useFetchInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3763
- * you can use to render your UI.
3764
- *
3765
- * @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;
3766
- *
3767
- * @example
3768
- * const { data, loading, error } = useFetchInterestsQuery({
3769
- * variables: {
3770
- * },
3771
- * });
3772
- */
3773
- function useFetchInterestsQuery(baseOptions) {
3774
- return Apollo.useQuery(exports.FetchInterestsDocument, baseOptions);
3775
- }
3776
- exports.useFetchInterestsQuery = useFetchInterestsQuery;
3777
- function useFetchInterestsLazyQuery(baseOptions) {
3778
- return Apollo.useLazyQuery(exports.FetchInterestsDocument, baseOptions);
3779
- }
3780
- exports.useFetchInterestsLazyQuery = useFetchInterestsLazyQuery;
3781
- exports.FetchSearchResultSelectionsDocument = (0, client_1.gql) `
3782
- query FetchSearchResultSelections {
3783
- fetchSearchResultSelections {
3784
- typeSelections {
3785
- id: name
3786
- label
3787
- }
3788
- blockchainSelections {
3789
- id: name
3790
- label
3791
- }
3792
- categorySelections {
3793
- id: name
3794
- label
3795
- }
3796
- timeSelections {
3797
- id: name
3798
- label
3799
- }
3800
- statusSelections {
3801
- id: name
3802
- label
3803
- }
3804
- }
3805
- }
3806
- `;
3807
- /**
3808
- * __useFetchSearchResultSelectionsQuery__
3809
- *
3810
- * To run a query within a React component, call `useFetchSearchResultSelectionsQuery` and pass it any options that fit your needs.
3811
- * When your component renders, `useFetchSearchResultSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3812
- * you can use to render your UI.
3813
- *
3814
- * @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;
3815
- *
3816
- * @example
3817
- * const { data, loading, error } = useFetchSearchResultSelectionsQuery({
3818
- * variables: {
3819
- * },
3820
- * });
3821
- */
3822
- function useFetchSearchResultSelectionsQuery(baseOptions) {
3823
- return Apollo.useQuery(exports.FetchSearchResultSelectionsDocument, baseOptions);
3824
- }
3825
- exports.useFetchSearchResultSelectionsQuery = useFetchSearchResultSelectionsQuery;
3826
- function useFetchSearchResultSelectionsLazyQuery(baseOptions) {
3827
- return Apollo.useLazyQuery(exports.FetchSearchResultSelectionsDocument, baseOptions);
3828
- }
3829
- exports.useFetchSearchResultSelectionsLazyQuery = useFetchSearchResultSelectionsLazyQuery;
3830
- exports.FetchSearchResultTimeSelectionsDocument = (0, client_1.gql) `
3831
- query FetchSearchResultTimeSelections {
3832
- fetchSearchResultTimeSelections {
3833
- name
3834
- label
3835
- }
3836
- }
3837
- `;
3838
- /**
3839
- * __useFetchSearchResultTimeSelectionsQuery__
3840
- *
3841
- * To run a query within a React component, call `useFetchSearchResultTimeSelectionsQuery` and pass it any options that fit your needs.
3842
- * When your component renders, `useFetchSearchResultTimeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3843
- * you can use to render your UI.
3844
- *
3845
- * @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;
3846
- *
3847
- * @example
3848
- * const { data, loading, error } = useFetchSearchResultTimeSelectionsQuery({
3849
- * variables: {
3850
- * },
3851
- * });
3852
- */
3853
- function useFetchSearchResultTimeSelectionsQuery(baseOptions) {
3854
- return Apollo.useQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
3855
- }
3856
- exports.useFetchSearchResultTimeSelectionsQuery = useFetchSearchResultTimeSelectionsQuery;
3857
- function useFetchSearchResultTimeSelectionsLazyQuery(baseOptions) {
3858
- return Apollo.useLazyQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
3859
- }
3860
- exports.useFetchSearchResultTimeSelectionsLazyQuery = useFetchSearchResultTimeSelectionsLazyQuery;
3861
- exports.FetchUserExpectationsDocument = (0, client_1.gql) `
3862
- query FetchUserExpectations {
3863
- fetchUserExpectations {
3864
- userId
3865
- name
3866
- imageUrl
3867
- }
3868
- }
3869
- `;
3870
- /**
3871
- * __useFetchUserExpectationsQuery__
3872
- *
3873
- * To run a query within a React component, call `useFetchUserExpectationsQuery` and pass it any options that fit your needs.
3874
- * When your component renders, `useFetchUserExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3875
- * you can use to render your UI.
3876
- *
3877
- * @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;
3878
- *
3879
- * @example
3880
- * const { data, loading, error } = useFetchUserExpectationsQuery({
3881
- * variables: {
3882
- * },
3883
- * });
3884
- */
3885
- function useFetchUserExpectationsQuery(baseOptions) {
3886
- return Apollo.useQuery(exports.FetchUserExpectationsDocument, baseOptions);
3887
- }
3888
- exports.useFetchUserExpectationsQuery = useFetchUserExpectationsQuery;
3889
- function useFetchUserExpectationsLazyQuery(baseOptions) {
3890
- return Apollo.useLazyQuery(exports.FetchUserExpectationsDocument, baseOptions);
3891
- }
3892
- exports.useFetchUserExpectationsLazyQuery = useFetchUserExpectationsLazyQuery;
3893
- exports.FetchUserInterestsDocument = (0, client_1.gql) `
3894
- query FetchUserInterests {
3895
- fetchUserInterests {
3896
- userId
3897
- name
3898
- imageUrl
3899
- percents
3900
- }
3901
- }
3902
- `;
3903
- /**
3904
- * __useFetchUserInterestsQuery__
3905
- *
3906
- * To run a query within a React component, call `useFetchUserInterestsQuery` and pass it any options that fit your needs.
3907
- * When your component renders, `useFetchUserInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3908
- * you can use to render your UI.
3909
- *
3910
- * @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;
3911
- *
3912
- * @example
3913
- * const { data, loading, error } = useFetchUserInterestsQuery({
3914
- * variables: {
3915
- * },
3916
- * });
3917
- */
3918
- function useFetchUserInterestsQuery(baseOptions) {
3919
- return Apollo.useQuery(exports.FetchUserInterestsDocument, baseOptions);
3920
- }
3921
- exports.useFetchUserInterestsQuery = useFetchUserInterestsQuery;
3922
- function useFetchUserInterestsLazyQuery(baseOptions) {
3923
- return Apollo.useLazyQuery(exports.FetchUserInterestsDocument, baseOptions);
3924
- }
3925
- exports.useFetchUserInterestsLazyQuery = useFetchUserInterestsLazyQuery;
3926
- exports.FetchSearchResultBlockchainSelectionsDocument = (0, client_1.gql) `
3927
- query FetchSearchResultBlockchainSelections {
3928
- fetchSearchResultBlockchainSelections {
3929
- name
3930
- label
3931
- }
3932
- }
3933
- `;
3934
- /**
3935
- * __useFetchSearchResultBlockchainSelectionsQuery__
3936
- *
3937
- * To run a query within a React component, call `useFetchSearchResultBlockchainSelectionsQuery` and pass it any options that fit your needs.
3938
- * When your component renders, `useFetchSearchResultBlockchainSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3939
- * you can use to render your UI.
3940
- *
3941
- * @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;
3942
- *
3943
- * @example
3944
- * const { data, loading, error } = useFetchSearchResultBlockchainSelectionsQuery({
3945
- * variables: {
3946
- * },
3947
- * });
3948
- */
3949
- function useFetchSearchResultBlockchainSelectionsQuery(baseOptions) {
3950
- return Apollo.useQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
3951
- }
3952
- exports.useFetchSearchResultBlockchainSelectionsQuery = useFetchSearchResultBlockchainSelectionsQuery;
3953
- function useFetchSearchResultBlockchainSelectionsLazyQuery(baseOptions) {
3954
- return Apollo.useLazyQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
3955
- }
3956
- exports.useFetchSearchResultBlockchainSelectionsLazyQuery = useFetchSearchResultBlockchainSelectionsLazyQuery;
3957
- exports.FetchSearchResultCategorySelectionsDocument = (0, client_1.gql) `
3958
- query FetchSearchResultCategorySelections {
3959
- fetchSearchResultCategorySelections {
3960
- name
3961
- label
3962
- }
3963
- }
3964
- `;
3965
- /**
3966
- * __useFetchSearchResultCategorySelectionsQuery__
3967
- *
3968
- * To run a query within a React component, call `useFetchSearchResultCategorySelectionsQuery` and pass it any options that fit your needs.
3969
- * When your component renders, `useFetchSearchResultCategorySelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
3970
- * you can use to render your UI.
3971
- *
3972
- * @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;
3973
- *
3974
- * @example
3975
- * const { data, loading, error } = useFetchSearchResultCategorySelectionsQuery({
3976
- * variables: {
3977
- * },
3978
- * });
3979
- */
3980
- function useFetchSearchResultCategorySelectionsQuery(baseOptions) {
3981
- return Apollo.useQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
3982
- }
3983
- exports.useFetchSearchResultCategorySelectionsQuery = useFetchSearchResultCategorySelectionsQuery;
3984
- function useFetchSearchResultCategorySelectionsLazyQuery(baseOptions) {
3985
- return Apollo.useLazyQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
3986
- }
3987
- exports.useFetchSearchResultCategorySelectionsLazyQuery = useFetchSearchResultCategorySelectionsLazyQuery;
3988
- exports.FetchSearchResultStatusSelectionsDocument = (0, client_1.gql) `
3989
- query FetchSearchResultStatusSelections {
3990
- fetchSearchResultStatusSelections {
3991
- name
3992
- label
3993
- }
3994
- }
3995
- `;
3996
- /**
3997
- * __useFetchSearchResultStatusSelectionsQuery__
3998
- *
3999
- * To run a query within a React component, call `useFetchSearchResultStatusSelectionsQuery` and pass it any options that fit your needs.
4000
- * When your component renders, `useFetchSearchResultStatusSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4001
- * you can use to render your UI.
4002
- *
4003
- * @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;
4004
- *
4005
- * @example
4006
- * const { data, loading, error } = useFetchSearchResultStatusSelectionsQuery({
4007
- * variables: {
4008
- * },
4009
- * });
4010
- */
4011
- function useFetchSearchResultStatusSelectionsQuery(baseOptions) {
4012
- return Apollo.useQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
4013
- }
4014
- exports.useFetchSearchResultStatusSelectionsQuery = useFetchSearchResultStatusSelectionsQuery;
4015
- function useFetchSearchResultStatusSelectionsLazyQuery(baseOptions) {
4016
- return Apollo.useLazyQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
4017
- }
4018
- exports.useFetchSearchResultStatusSelectionsLazyQuery = useFetchSearchResultStatusSelectionsLazyQuery;
4019
- exports.FetchSetsSearchResultTypeSelectionsDocument = (0, client_1.gql) `
4020
- query FetchSetsSearchResultTypeSelections {
4021
- fetchSetsSearchResultTypeSelections {
4022
- name
4023
- label
4024
- }
4025
- }
4026
- `;
4027
- /**
4028
- * __useFetchSetsSearchResultTypeSelectionsQuery__
4029
- *
4030
- * To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
4031
- * When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4032
- * you can use to render your UI.
4033
- *
4034
- * @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;
4035
- *
4036
- * @example
4037
- * const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
4038
- * variables: {
4039
- * },
4040
- * });
4041
- */
4042
- function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions) {
4043
- return Apollo.useQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
4044
- }
4045
- exports.useFetchSetsSearchResultTypeSelectionsQuery = useFetchSetsSearchResultTypeSelectionsQuery;
4046
- function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
4047
- return Apollo.useLazyQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
4048
- }
4049
- exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
4050
- exports.FetchAllCreationsDocument = (0, client_1.gql) `
4051
- query FetchAllCreations($page: PageInput) {
4052
- fetchAllCreations(page: $page) {
4053
- nextPage {
4054
- token
4055
- num
4056
- size
4057
- elements
4058
- }
4059
- creations {
4060
- id
4061
- itemType
4062
- itemId
4063
- blockchain
4064
- rank
4065
- address
4066
- liked
4067
- likes
4068
- tokenId
4069
- name
4070
- creatorsAddresses
4071
- originalUrls
4072
- media
4073
- mediaPreview
4074
- mimeType
4075
- }
4076
- }
4077
- }
4078
- `;
4079
- /**
4080
- * __useFetchAllCreationsQuery__
4081
- *
4082
- * To run a query within a React component, call `useFetchAllCreationsQuery` and pass it any options that fit your needs.
4083
- * When your component renders, `useFetchAllCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4084
- * you can use to render your UI.
4085
- *
4086
- * @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;
4087
- *
4088
- * @example
4089
- * const { data, loading, error } = useFetchAllCreationsQuery({
4090
- * variables: {
4091
- * page: // value for 'page'
4092
- * },
4093
- * });
4094
- */
4095
- function useFetchAllCreationsQuery(baseOptions) {
4096
- return Apollo.useQuery(exports.FetchAllCreationsDocument, baseOptions);
4097
- }
4098
- exports.useFetchAllCreationsQuery = useFetchAllCreationsQuery;
4099
- function useFetchAllCreationsLazyQuery(baseOptions) {
4100
- return Apollo.useLazyQuery(exports.FetchAllCreationsDocument, baseOptions);
4101
- }
4102
- exports.useFetchAllCreationsLazyQuery = useFetchAllCreationsLazyQuery;
4103
- exports.FetchAssetsCountDocument = (0, client_1.gql) `
4104
- query FetchAssetsCount {
4105
- fetchAssetsCount
4106
- }
4107
- `;
4108
- /**
4109
- * __useFetchAssetsCountQuery__
4110
- *
4111
- * To run a query within a React component, call `useFetchAssetsCountQuery` and pass it any options that fit your needs.
4112
- * When your component renders, `useFetchAssetsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
4113
- * you can use to render your UI.
4114
- *
4115
- * @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;
4116
- *
4117
- * @example
4118
- * const { data, loading, error } = useFetchAssetsCountQuery({
4119
- * variables: {
4120
- * },
4121
- * });
4122
- */
4123
- function useFetchAssetsCountQuery(baseOptions) {
4124
- return Apollo.useQuery(exports.FetchAssetsCountDocument, baseOptions);
4125
- }
4126
- exports.useFetchAssetsCountQuery = useFetchAssetsCountQuery;
4127
- function useFetchAssetsCountLazyQuery(baseOptions) {
4128
- return Apollo.useLazyQuery(exports.FetchAssetsCountDocument, baseOptions);
4129
- }
4130
- exports.useFetchAssetsCountLazyQuery = useFetchAssetsCountLazyQuery;
4131
- exports.FindCollectionsDocument = (0, client_1.gql) `
4132
- query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
4133
- findCollections(term: $term, input: $input, page: $page) {
4134
- collections {
4135
- collectionId
4136
- collectionTitle
4137
- blockchain
4138
- tokenId
4139
- likes
4140
- liked
4141
- medias {
4142
- originalUrl
4143
- url
4144
- previewUrl
4145
- mimeType
4146
- sizeRatio
4147
- fileSize
4148
- }
4149
- rank
4150
- }
4151
- nextPage {
4152
- token
4153
- num
4154
- size
4155
- elements
4156
- }
4157
- }
4158
- }
4159
- `;
4160
- /**
4161
- * __useFindCollectionsQuery__
4162
- *
4163
- * To run a query within a React component, call `useFindCollectionsQuery` and pass it any options that fit your needs.
4164
- * When your component renders, `useFindCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4165
- * you can use to render your UI.
4166
- *
4167
- * @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;
4168
- *
4169
- * @example
4170
- * const { data, loading, error } = useFindCollectionsQuery({
4171
- * variables: {
4172
- * term: // value for 'term'
4173
- * input: // value for 'input'
4174
- * page: // value for 'page'
4175
- * },
4176
- * });
4177
- */
4178
- function useFindCollectionsQuery(baseOptions) {
4179
- return Apollo.useQuery(exports.FindCollectionsDocument, baseOptions);
4180
- }
4181
- exports.useFindCollectionsQuery = useFindCollectionsQuery;
4182
- function useFindCollectionsLazyQuery(baseOptions) {
4183
- return Apollo.useLazyQuery(exports.FindCollectionsDocument, baseOptions);
4184
- }
4185
- exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
4186
- exports.FetchCreationsByTypeDocument = (0, client_1.gql) `
4187
- query FetchCreationsByType($itemType: String!, $page: PageInput) {
4188
- fetchCreationsByType(itemType: $itemType, page: $page) {
4189
- nextPage {
4190
- token
4191
- num
4192
- size
4193
- elements
4194
- }
4195
- creations {
4196
- id
4197
- itemType
4198
- itemId
4199
- blockchain
4200
- rank
4201
- liked
4202
- likes
4203
- address
4204
- tokenId
4205
- name
4206
- creatorsAddresses
4207
- originalUrls
4208
- media
4209
- mediaPreview
4210
- mimeType
4211
- }
4212
- }
4213
- }
4214
- `;
4215
- /**
4216
- * __useFetchCreationsByTypeQuery__
4217
- *
4218
- * To run a query within a React component, call `useFetchCreationsByTypeQuery` and pass it any options that fit your needs.
4219
- * When your component renders, `useFetchCreationsByTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties
4220
- * you can use to render your UI.
4221
- *
4222
- * @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;
4223
- *
4224
- * @example
4225
- * const { data, loading, error } = useFetchCreationsByTypeQuery({
4226
- * variables: {
4227
- * itemType: // value for 'itemType'
4228
- * page: // value for 'page'
4229
- * },
4230
- * });
4231
- */
4232
- function useFetchCreationsByTypeQuery(baseOptions) {
4233
- return Apollo.useQuery(exports.FetchCreationsByTypeDocument, baseOptions);
4234
- }
4235
- exports.useFetchCreationsByTypeQuery = useFetchCreationsByTypeQuery;
4236
- function useFetchCreationsByTypeLazyQuery(baseOptions) {
4237
- return Apollo.useLazyQuery(exports.FetchCreationsByTypeDocument, baseOptions);
4238
- }
4239
- exports.useFetchCreationsByTypeLazyQuery = useFetchCreationsByTypeLazyQuery;
4240
- exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
4241
- query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
4242
- findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
4243
- assets {
4244
- assetId
4245
- address
4246
- tokenId
4247
- blockchain
4248
- chainId
4249
- blockHeight
4250
- blockTimestamp
4251
- name
4252
- description
4253
- originalUrls
4254
- medias {
4255
- originalUrl
4256
- url
4257
- previewUrl
4258
- mimeType
4259
- sizeRatio
4260
- fileSize
4261
- nsfw
4262
- }
4263
- ownersAddresses
4264
- ownersProfiles {
4265
- userId
4266
- username
4267
- about
4268
- userpic
4269
- followers
4270
- followings
4271
- createdAt
4272
- deletedAt
4273
- visible
4274
- views
4275
- deleted
4276
- }
4277
- creatorsAddresses
4278
- creatorsProfiles {
4279
- userId
4280
- username
4281
- about
4282
- userpic
4283
- followers
4284
- followings
4285
- createdAt
4286
- deletedAt
4287
- visible
4288
- views
4289
- deleted
4290
- }
4291
- attributes {
4292
- name
4293
- value
4294
- }
4295
- likes
4296
- views
4297
- visible
4298
- blurred
4299
- rank
4300
- rankRaw
4301
- rankMax
4302
- rankUpdatedAt
4303
- }
4304
- collections {
4305
- collectionId
4306
- blockchain
4307
- identifier
4308
- contractAddress
4309
- tokenId
4310
- collectionTitle
4311
- totalVolumes {
4312
- currency
4313
- amount
4314
- }
4315
- likes
4316
- liked
4317
- verified
4318
- rank
4319
- floorPrices {
4320
- currency
4321
- amount
4322
- }
4323
- }
4324
- profiles {
4325
- userId
4326
- username
4327
- about
4328
- userpic
4329
- followers
4330
- followings
4331
- createdAt
4332
- deletedAt
4333
- visible
4334
- views
4335
- deleted
4336
- }
4337
- }
4338
- }
4339
- `;
4340
- /**
4341
- * __useFindAllTopEntitiesByNameQuery__
4342
- *
4343
- * To run a query within a React component, call `useFindAllTopEntitiesByNameQuery` and pass it any options that fit your needs.
4344
- * When your component renders, `useFindAllTopEntitiesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
4345
- * you can use to render your UI.
4346
- *
4347
- * @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;
4348
- *
4349
- * @example
4350
- * const { data, loading, error } = useFindAllTopEntitiesByNameQuery({
4351
- * variables: {
4352
- * name: // value for 'name'
4353
- * pageSize: // value for 'pageSize'
4354
- * },
4355
- * });
4356
- */
4357
- function useFindAllTopEntitiesByNameQuery(baseOptions) {
4358
- return Apollo.useQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
4359
- }
4360
- exports.useFindAllTopEntitiesByNameQuery = useFindAllTopEntitiesByNameQuery;
4361
- function useFindAllTopEntitiesByNameLazyQuery(baseOptions) {
4362
- return Apollo.useLazyQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
4363
- }
4364
- exports.useFindAllTopEntitiesByNameLazyQuery = useFindAllTopEntitiesByNameLazyQuery;
4365
- exports.FetchUserPortfolioDocument = (0, client_1.gql) `
4366
- query FetchUserPortfolio($ownerId: String!) {
4367
- fetchUserPortfolio(ownerId: $ownerId) {
4368
- currency
4369
- amount
4370
- }
4371
- }
4372
- `;
4373
- /**
4374
- * __useFetchUserPortfolioQuery__
4375
- *
4376
- * To run a query within a React component, call `useFetchUserPortfolioQuery` and pass it any options that fit your needs.
4377
- * When your component renders, `useFetchUserPortfolioQuery` returns an object from Apollo Client that contains loading, error, and data properties
4378
- * you can use to render your UI.
4379
- *
4380
- * @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;
4381
- *
4382
- * @example
4383
- * const { data, loading, error } = useFetchUserPortfolioQuery({
4384
- * variables: {
4385
- * ownerId: // value for 'ownerId'
4386
- * },
4387
- * });
4388
- */
4389
- function useFetchUserPortfolioQuery(baseOptions) {
4390
- return Apollo.useQuery(exports.FetchUserPortfolioDocument, baseOptions);
4391
- }
4392
- exports.useFetchUserPortfolioQuery = useFetchUserPortfolioQuery;
4393
- function useFetchUserPortfolioLazyQuery(baseOptions) {
4394
- return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
4395
- }
4396
- exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
4397
- exports.FindCreationsDocument = (0, client_1.gql) `
4398
- query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
4399
- findCreations(term: $term, input: $input, page: $page) {
4400
- nextPage {
4401
- token
4402
- num
4403
- size
4404
- elements
4405
- }
4406
- creations {
4407
- id
4408
- itemType
4409
- address
4410
- tokenId
4411
- itemId
4412
- blockchain
4413
- name
4414
- creatorsAddresses
4415
- originalUrls
4416
- media
4417
- mediaPreview
4418
- mimeType
4419
- rank
4420
- likes
4421
- liked
4422
- }
4423
- }
4424
- }
4425
- `;
4426
- /**
4427
- * __useFindCreationsQuery__
4428
- *
4429
- * To run a query within a React component, call `useFindCreationsQuery` and pass it any options that fit your needs.
4430
- * When your component renders, `useFindCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4431
- * you can use to render your UI.
4432
- *
4433
- * @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;
4434
- *
4435
- * @example
4436
- * const { data, loading, error } = useFindCreationsQuery({
4437
- * variables: {
4438
- * term: // value for 'term'
4439
- * input: // value for 'input'
4440
- * page: // value for 'page'
4441
- * },
4442
- * });
4443
- */
4444
- function useFindCreationsQuery(baseOptions) {
4445
- return Apollo.useQuery(exports.FindCreationsDocument, baseOptions);
4446
- }
4447
- exports.useFindCreationsQuery = useFindCreationsQuery;
4448
- function useFindCreationsLazyQuery(baseOptions) {
4449
- return Apollo.useLazyQuery(exports.FindCreationsDocument, baseOptions);
4450
- }
4451
- exports.useFindCreationsLazyQuery = useFindCreationsLazyQuery;
4452
- exports.FindProfilesByNameDocument = (0, client_1.gql) `
4453
- query FindProfilesByName($name: String!, $page: PageInput) {
4454
- findProfilesByName(name: $name, page: $page) {
4455
- nextPage {
4456
- token
4457
- num
4458
- size
4459
- elements
4460
- }
4461
- profiles {
4462
- userId
4463
- username
4464
- about
4465
- userpic
4466
- followers
4467
- followings
4468
- visible
4469
- }
4470
- }
4471
- }
4472
- `;
4473
- /**
4474
- * __useFindProfilesByNameQuery__
4475
- *
4476
- * To run a query within a React component, call `useFindProfilesByNameQuery` and pass it any options that fit your needs.
4477
- * When your component renders, `useFindProfilesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
4478
- * you can use to render your UI.
4479
- *
4480
- * @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;
4481
- *
4482
- * @example
4483
- * const { data, loading, error } = useFindProfilesByNameQuery({
4484
- * variables: {
4485
- * name: // value for 'name'
4486
- * page: // value for 'page'
4487
- * },
4488
- * });
4489
- */
4490
- function useFindProfilesByNameQuery(baseOptions) {
4491
- return Apollo.useQuery(exports.FindProfilesByNameDocument, baseOptions);
4492
- }
4493
- exports.useFindProfilesByNameQuery = useFindProfilesByNameQuery;
4494
- function useFindProfilesByNameLazyQuery(baseOptions) {
4495
- return Apollo.useLazyQuery(exports.FindProfilesByNameDocument, baseOptions);
4496
- }
4497
- exports.useFindProfilesByNameLazyQuery = useFindProfilesByNameLazyQuery;
4498
- exports.FindSetsDocument = (0, client_1.gql) `
4499
- query FindSets($term: String!, $input: GallerySearchFilterInput!, $pageSize: Int!, $pageToken: String) {
4500
- findSets(term: $term, input: $input, pageSize: $pageSize, pageToken: $pageToken) {
4501
- nextPageToken
4502
- galleries {
4503
- galleryId
4504
- galleryType
4505
- name
4506
- description
4507
- userId
4508
- username
4509
- userpic
4510
- banner
4511
- createdAt
4512
- items
4513
- views
4514
- publiclyAccessible
4515
- nsfw
4516
- }
4517
- results
4518
- }
4519
- }
4520
- `;
4521
- /**
4522
- * __useFindSetsQuery__
4523
- *
4524
- * To run a query within a React component, call `useFindSetsQuery` and pass it any options that fit your needs.
4525
- * When your component renders, `useFindSetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4526
- * you can use to render your UI.
4527
- *
4528
- * @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;
4529
- *
4530
- * @example
4531
- * const { data, loading, error } = useFindSetsQuery({
4532
- * variables: {
4533
- * term: // value for 'term'
4534
- * input: // value for 'input'
4535
- * pageSize: // value for 'pageSize'
4536
- * pageToken: // value for 'pageToken'
4537
- * },
4538
- * });
4539
- */
4540
- function useFindSetsQuery(baseOptions) {
4541
- return Apollo.useQuery(exports.FindSetsDocument, baseOptions);
4542
- }
4543
- exports.useFindSetsQuery = useFindSetsQuery;
4544
- function useFindSetsLazyQuery(baseOptions) {
4545
- return Apollo.useLazyQuery(exports.FindSetsDocument, baseOptions);
4546
- }
4547
- exports.useFindSetsLazyQuery = useFindSetsLazyQuery;
4548
- exports.FindShowcaseItemsDocument = (0, client_1.gql) `
4549
- query FindShowcaseItems($term: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
4550
- findShowcaseItems(
4551
- term: $term
4552
- input: $input
4553
- pageSize: $pageSize
4554
- pageToken: $pageToken
4555
- ) {
4556
- nextPageToken
4557
- results
4558
- showcaseItems {
4559
- itemType
4560
- itemId
4561
- blockchain
4562
- name
4563
- media
4564
- mediaPreview
4565
- mimeType
4566
- sizeRatio
4567
- fileSize
4568
- likes
4569
- visible
4570
- blurred
4571
- }
4572
- }
4573
- }
4574
- `;
4575
- /**
4576
- * __useFindShowcaseItemsQuery__
4577
- *
4578
- * To run a query within a React component, call `useFindShowcaseItemsQuery` and pass it any options that fit your needs.
4579
- * When your component renders, `useFindShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4580
- * you can use to render your UI.
4581
- *
4582
- * @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;
4583
- *
4584
- * @example
4585
- * const { data, loading, error } = useFindShowcaseItemsQuery({
4586
- * variables: {
4587
- * term: // value for 'term'
4588
- * input: // value for 'input'
4589
- * pageSize: // value for 'pageSize'
4590
- * pageToken: // value for 'pageToken'
4591
- * },
4592
- * });
4593
- */
4594
- function useFindShowcaseItemsQuery(baseOptions) {
4595
- return Apollo.useQuery(exports.FindShowcaseItemsDocument, baseOptions);
4596
- }
4597
- exports.useFindShowcaseItemsQuery = useFindShowcaseItemsQuery;
4598
- function useFindShowcaseItemsLazyQuery(baseOptions) {
4599
- return Apollo.useLazyQuery(exports.FindShowcaseItemsDocument, baseOptions);
4600
- }
4601
- exports.useFindShowcaseItemsLazyQuery = useFindShowcaseItemsLazyQuery;
4602
- exports.FindUserCreationsDocument = (0, client_1.gql) `
4603
- query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
4604
- findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
4605
- nextPage {
4606
- token
4607
- num
4608
- size
4609
- elements
4610
- }
4611
- creations {
4612
- id
4613
- id
4614
- itemType
4615
- tokenId
4616
- address
4617
- itemId
4618
- blockchain
4619
- rank
4620
- name
4621
- creatorsAddresses
4622
- originalUrls
4623
- media
4624
- mediaPreview
4625
- mimeType
4626
- likes
4627
- }
4628
- }
4629
- }
4630
- `;
4631
- /**
4632
- * __useFindUserCreationsQuery__
4633
- *
4634
- * To run a query within a React component, call `useFindUserCreationsQuery` and pass it any options that fit your needs.
4635
- * When your component renders, `useFindUserCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4636
- * you can use to render your UI.
4637
- *
4638
- * @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;
4639
- *
4640
- * @example
4641
- * const { data, loading, error } = useFindUserCreationsQuery({
4642
- * variables: {
4643
- * ownerId: // value for 'ownerId'
4644
- * input: // value for 'input'
4645
- * page: // value for 'page'
4646
- * },
4647
- * });
4648
- */
4649
- function useFindUserCreationsQuery(baseOptions) {
4650
- return Apollo.useQuery(exports.FindUserCreationsDocument, baseOptions);
4651
- }
4652
- exports.useFindUserCreationsQuery = useFindUserCreationsQuery;
4653
- function useFindUserCreationsLazyQuery(baseOptions) {
4654
- return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
4655
- }
4656
- exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
4657
- exports.FindUserShowcaseItemsDocument = (0, client_1.gql) `
4658
- query FindUserShowcaseItems($ownerId: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
4659
- findUserShowcaseItems(
4660
- ownerId: $ownerId
4661
- input: $input
4662
- pageSize: $pageSize
4663
- pageToken: $pageToken
4664
- ) {
4665
- showcaseItems {
4666
- itemType
4667
- itemId
4668
- blockchain
4669
- name
4670
- media
4671
- mediaPreview
4672
- mimeType
4673
- sizeRatio
4674
- fileSize
4675
- likes
4676
- visible
4677
- blurred
4678
- creatorsAddresses
4679
- }
4680
- nextPageToken
4681
- results
4682
- }
4683
- }
4684
- `;
4685
- /**
4686
- * __useFindUserShowcaseItemsQuery__
4687
- *
4688
- * To run a query within a React component, call `useFindUserShowcaseItemsQuery` and pass it any options that fit your needs.
4689
- * When your component renders, `useFindUserShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4690
- * you can use to render your UI.
4691
- *
4692
- * @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;
4693
- *
4694
- * @example
4695
- * const { data, loading, error } = useFindUserShowcaseItemsQuery({
4696
- * variables: {
4697
- * ownerId: // value for 'ownerId'
4698
- * input: // value for 'input'
4699
- * pageSize: // value for 'pageSize'
4700
- * pageToken: // value for 'pageToken'
4701
- * },
4702
- * });
4703
- */
4704
- function useFindUserShowcaseItemsQuery(baseOptions) {
4705
- return Apollo.useQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
4706
- }
4707
- exports.useFindUserShowcaseItemsQuery = useFindUserShowcaseItemsQuery;
4708
- function useFindUserShowcaseItemsLazyQuery(baseOptions) {
4709
- return Apollo.useLazyQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
4710
- }
4711
- exports.useFindUserShowcaseItemsLazyQuery = useFindUserShowcaseItemsLazyQuery;