@ludo.ninja/api 2.6.0 → 2.6.2

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