@ludo.ninja/api 2.7.8 → 2.8.0

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