@ludo.ninja/api 2.8.6 → 2.8.8
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.
|
@@ -41,13 +41,12 @@ export type IAdminInvite = {
|
|
|
41
41
|
export type IAdminOpportunity = {
|
|
42
42
|
opportunityId: Scalars['ID'];
|
|
43
43
|
name?: Maybe<Scalars['String']>;
|
|
44
|
+
description?: Maybe<Scalars['String']>;
|
|
44
45
|
brandName?: Maybe<Scalars['String']>;
|
|
45
46
|
industry?: Maybe<Scalars['String']>;
|
|
46
47
|
category?: Maybe<Scalars['String']>;
|
|
47
48
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
48
49
|
projectUrl?: Maybe<Scalars['String']>;
|
|
49
|
-
media?: Maybe<Scalars['String']>;
|
|
50
|
-
description?: Maybe<Scalars['String']>;
|
|
51
50
|
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
52
51
|
status?: Maybe<Scalars['String']>;
|
|
53
52
|
activeFrom?: Maybe<Scalars['Long']>;
|
|
@@ -56,6 +55,7 @@ export type IAdminOpportunity = {
|
|
|
56
55
|
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
57
56
|
minLudoRank?: Maybe<Scalars['Float']>;
|
|
58
57
|
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
58
|
+
media?: Maybe<Scalars['String']>;
|
|
59
59
|
minWalletValue?: Maybe<Scalars['Float']>;
|
|
60
60
|
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
61
61
|
clicks?: Maybe<Scalars['Int']>;
|
|
@@ -310,17 +310,26 @@ export type IBannerAssetsPage = {
|
|
|
310
310
|
};
|
|
311
311
|
export type IBrand = {
|
|
312
312
|
brandId: Scalars['ID'];
|
|
313
|
-
name: Scalars['String'];
|
|
314
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
315
313
|
description?: Maybe<Scalars['String']>;
|
|
314
|
+
id: Scalars['String'];
|
|
316
315
|
industry?: Maybe<Scalars['String']>;
|
|
317
316
|
link?: Maybe<Scalars['String']>;
|
|
317
|
+
matchingWords: Array<Scalars['String']>;
|
|
318
318
|
media?: Maybe<Scalars['String']>;
|
|
319
|
+
name: Scalars['String'];
|
|
320
|
+
};
|
|
321
|
+
export type IBrandInput = {
|
|
322
|
+
name: Scalars['String'];
|
|
323
|
+
matchingWords: Array<Scalars['String']>;
|
|
324
|
+
description: Scalars['String'];
|
|
325
|
+
industry?: Maybe<Scalars['String']>;
|
|
326
|
+
link?: Maybe<Scalars['String']>;
|
|
319
327
|
};
|
|
320
328
|
export type ICategory = {
|
|
321
329
|
categoryId: Scalars['ID'];
|
|
330
|
+
id: Scalars['String'];
|
|
331
|
+
matchingWords: Array<Scalars['String']>;
|
|
322
332
|
name: Scalars['String'];
|
|
323
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
324
333
|
};
|
|
325
334
|
export type ICollection = {
|
|
326
335
|
blockchain?: Maybe<Scalars['String']>;
|
|
@@ -802,6 +811,8 @@ export type IMutation = {
|
|
|
802
811
|
blockUser: Scalars['Boolean'];
|
|
803
812
|
blockUsers: Scalars['Boolean'];
|
|
804
813
|
changeXpPoints: Scalars['Boolean'];
|
|
814
|
+
createBrand: Scalars['Boolean'];
|
|
815
|
+
createCategory: Scalars['Boolean'];
|
|
805
816
|
createFavoriteListV2: Scalars['ID'];
|
|
806
817
|
createFavorites: Scalars['ID'];
|
|
807
818
|
createGallery: Scalars['ID'];
|
|
@@ -875,6 +886,7 @@ export type IMutation = {
|
|
|
875
886
|
subscribeGallery: Scalars['Int'];
|
|
876
887
|
unfollowProfile: Scalars['Boolean'];
|
|
877
888
|
unsubscribeGallery: Scalars['Int'];
|
|
889
|
+
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
878
890
|
updateProfile: Scalars['Boolean'];
|
|
879
891
|
updateProfileStatus: Scalars['Boolean'];
|
|
880
892
|
uploadGalleryBanner: Scalars['String'];
|
|
@@ -976,6 +988,14 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
976
988
|
userId: Scalars['ID'];
|
|
977
989
|
pointsDiff: Scalars['Int'];
|
|
978
990
|
};
|
|
991
|
+
export type IMutationCreateBrandArgs = {
|
|
992
|
+
brand: IBrandInput;
|
|
993
|
+
file?: Maybe<Scalars['Upload']>;
|
|
994
|
+
};
|
|
995
|
+
export type IMutationCreateCategoryArgs = {
|
|
996
|
+
name: Scalars['String'];
|
|
997
|
+
matchingWords: Array<Scalars['String']>;
|
|
998
|
+
};
|
|
979
999
|
export type IMutationCreateFavoriteListV2Args = {
|
|
980
1000
|
name: Scalars['String'];
|
|
981
1001
|
description?: Maybe<Scalars['String']>;
|
|
@@ -1006,6 +1026,7 @@ export type IMutationCreateNonceArgs = {
|
|
|
1006
1026
|
chainId?: Maybe<Scalars['String']>;
|
|
1007
1027
|
};
|
|
1008
1028
|
export type IMutationCreateOpportunityArgs = {
|
|
1029
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1009
1030
|
input: IOpportunityInput;
|
|
1010
1031
|
};
|
|
1011
1032
|
export type IMutationDeleteGalleryArgs = {
|
|
@@ -1250,6 +1271,10 @@ export type IMutationUnfollowProfileArgs = {
|
|
|
1250
1271
|
export type IMutationUnsubscribeGalleryArgs = {
|
|
1251
1272
|
galleryId: Scalars['ID'];
|
|
1252
1273
|
};
|
|
1274
|
+
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
1275
|
+
opportunityId: Scalars['ID'];
|
|
1276
|
+
isActive: Scalars['Boolean'];
|
|
1277
|
+
};
|
|
1253
1278
|
export type IMutationUpdateProfileArgs = {
|
|
1254
1279
|
profile?: Maybe<IInputProfile>;
|
|
1255
1280
|
};
|
|
@@ -1362,19 +1387,35 @@ export type IOpportunity = {
|
|
|
1362
1387
|
status?: Maybe<Scalars['String']>;
|
|
1363
1388
|
};
|
|
1364
1389
|
export type IOpportunityInput = {
|
|
1365
|
-
|
|
1390
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
1391
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
1392
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
1393
|
+
brandId: Scalars['String'];
|
|
1394
|
+
category?: Maybe<Scalars['String']>;
|
|
1395
|
+
categoryId: Scalars['String'];
|
|
1396
|
+
collection?: Maybe<Scalars['String']>;
|
|
1397
|
+
creatorWallet?: Maybe<Scalars['String']>;
|
|
1366
1398
|
description: Scalars['String'];
|
|
1367
|
-
startedAt: Scalars['Long'];
|
|
1368
1399
|
endedAt: Scalars['Long'];
|
|
1369
|
-
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1370
|
-
category?: Maybe<Scalars['String']>;
|
|
1371
1400
|
links?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1372
1401
|
ludoRankRequired?: Maybe<Scalars['Boolean']>;
|
|
1373
1402
|
ludoRankRequiredMax?: Maybe<Scalars['Int']>;
|
|
1374
1403
|
ludoRankRequiredMin?: Maybe<Scalars['Int']>;
|
|
1404
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
1405
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
1406
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
1407
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
1408
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
1409
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
1410
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
1411
|
+
name: Scalars['String'];
|
|
1412
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
1413
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
1375
1414
|
rewardType?: Maybe<Scalars['String']>;
|
|
1376
|
-
|
|
1415
|
+
startedAt: Scalars['Long'];
|
|
1377
1416
|
status?: Maybe<Scalars['String']>;
|
|
1417
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1418
|
+
type?: Maybe<Scalars['String']>;
|
|
1378
1419
|
};
|
|
1379
1420
|
export type IOpportunityPage = {
|
|
1380
1421
|
currentOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
|
|
@@ -1467,6 +1508,9 @@ export type IQuery = {
|
|
|
1467
1508
|
fetchAssetsCount: Scalars['Long'];
|
|
1468
1509
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1469
1510
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1511
|
+
fetchBlockchains: Array<Scalars['String']>;
|
|
1512
|
+
fetchBrands: Array<IBrand>;
|
|
1513
|
+
fetchCategories: Array<ICategory>;
|
|
1470
1514
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1471
1515
|
fetchCollection: ICollection;
|
|
1472
1516
|
fetchCollectionAssets: ICollectionAssetsPage;
|
|
@@ -1542,6 +1586,7 @@ export type IQuery = {
|
|
|
1542
1586
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
1543
1587
|
fetchUserpic?: Maybe<Scalars['String']>;
|
|
1544
1588
|
fetchVarietyOfAddressSelections: Array<Maybe<ISelection>>;
|
|
1589
|
+
fetchWalletRanks: Array<IWalletRank>;
|
|
1545
1590
|
fetchWalletSelections: Array<Maybe<ISelection>>;
|
|
1546
1591
|
fetchWallets: Array<Maybe<IWallet>>;
|
|
1547
1592
|
/** This query should be changed according to new design */
|
|
@@ -1857,6 +1902,9 @@ export type IQueryFetchUserWalletsArgs = {
|
|
|
1857
1902
|
export type IQueryFetchUserpicArgs = {
|
|
1858
1903
|
userId: Scalars['ID'];
|
|
1859
1904
|
};
|
|
1905
|
+
export type IQueryFetchWalletRanksArgs = {
|
|
1906
|
+
wallets: Array<Scalars['String']>;
|
|
1907
|
+
};
|
|
1860
1908
|
export type IQueryFindAllAssetsByNameArgs = {
|
|
1861
1909
|
input: ISearchFilterInput;
|
|
1862
1910
|
pageSize: Scalars['Int'];
|
|
@@ -2320,6 +2368,10 @@ export type IWallet = {
|
|
|
2320
2368
|
userId: Scalars['ID'];
|
|
2321
2369
|
walletName: Scalars['String'];
|
|
2322
2370
|
};
|
|
2371
|
+
export type IWalletRank = {
|
|
2372
|
+
wallet: Scalars['String'];
|
|
2373
|
+
rank?: Maybe<Scalars['Float']>;
|
|
2374
|
+
};
|
|
2323
2375
|
export type IXpFilterInput = {
|
|
2324
2376
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
2325
2377
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -2618,6 +2670,12 @@ export type IFetchNftRanksQueryVariables = Exact<{
|
|
|
2618
2670
|
export type IFetchNftRanksQuery = {
|
|
2619
2671
|
fetchNFTRanks: Array<Pick<INftRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'rank'>>;
|
|
2620
2672
|
};
|
|
2673
|
+
export type IFetchWalletRanksQueryVariables = Exact<{
|
|
2674
|
+
wallets: Array<Scalars['String']>;
|
|
2675
|
+
}>;
|
|
2676
|
+
export type IFetchWalletRanksQuery = {
|
|
2677
|
+
fetchWalletRanks: Array<Pick<IWalletRank, 'wallet' | 'rank'>>;
|
|
2678
|
+
};
|
|
2621
2679
|
export type IAddAssetsToGalleryMutationVariables = Exact<{
|
|
2622
2680
|
galleryId: Scalars['ID'];
|
|
2623
2681
|
assetIds: Array<Scalars['String']>;
|
|
@@ -4207,6 +4265,32 @@ export declare function useFetchNftRanksLazyQuery(baseOptions?: Apollo.LazyQuery
|
|
|
4207
4265
|
export type FetchNftRanksQueryHookResult = ReturnType<typeof useFetchNftRanksQuery>;
|
|
4208
4266
|
export type FetchNftRanksLazyQueryHookResult = ReturnType<typeof useFetchNftRanksLazyQuery>;
|
|
4209
4267
|
export type FetchNftRanksQueryResult = Apollo.QueryResult<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>;
|
|
4268
|
+
export declare const FetchWalletRanksDocument: Apollo.DocumentNode;
|
|
4269
|
+
/**
|
|
4270
|
+
* __useFetchWalletRanksQuery__
|
|
4271
|
+
*
|
|
4272
|
+
* To run a query within a React component, call `useFetchWalletRanksQuery` and pass it any options that fit your needs.
|
|
4273
|
+
* When your component renders, `useFetchWalletRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4274
|
+
* you can use to render your UI.
|
|
4275
|
+
*
|
|
4276
|
+
* @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;
|
|
4277
|
+
*
|
|
4278
|
+
* @example
|
|
4279
|
+
* const { data, loading, error } = useFetchWalletRanksQuery({
|
|
4280
|
+
* variables: {
|
|
4281
|
+
* wallets: // value for 'wallets'
|
|
4282
|
+
* },
|
|
4283
|
+
* });
|
|
4284
|
+
*/
|
|
4285
|
+
export declare function useFetchWalletRanksQuery(baseOptions: Apollo.QueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>): Apollo.QueryResult<IFetchWalletRanksQuery, Exact<{
|
|
4286
|
+
wallets: string[];
|
|
4287
|
+
}>>;
|
|
4288
|
+
export declare function useFetchWalletRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>): Apollo.LazyQueryResultTuple<IFetchWalletRanksQuery, Exact<{
|
|
4289
|
+
wallets: string[];
|
|
4290
|
+
}>>;
|
|
4291
|
+
export type FetchWalletRanksQueryHookResult = ReturnType<typeof useFetchWalletRanksQuery>;
|
|
4292
|
+
export type FetchWalletRanksLazyQueryHookResult = ReturnType<typeof useFetchWalletRanksLazyQuery>;
|
|
4293
|
+
export type FetchWalletRanksQueryResult = Apollo.QueryResult<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>;
|
|
4210
4294
|
export declare const AddAssetsToGalleryDocument: Apollo.DocumentNode;
|
|
4211
4295
|
export type IAddAssetsToGalleryMutationFn = Apollo.MutationFunction<IAddAssetsToGalleryMutation, IAddAssetsToGalleryMutationVariables>;
|
|
4212
4296
|
/**
|
|
@@ -24,12 +24,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.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 = exports.IRole = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.useFindUserShowcaseItemsLazyQuery = void 0;
|
|
27
|
+
exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = exports.FetchWalletRanksDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = void 0;
|
|
28
|
+
exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = void 0;
|
|
29
|
+
exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = 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 = void 0;
|
|
30
|
+
exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = void 0;
|
|
31
|
+
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.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = void 0;
|
|
32
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = void 0;
|
|
33
33
|
/* eslint-disable */
|
|
34
34
|
const client_1 = require("@apollo/client");
|
|
35
35
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -1545,6 +1545,38 @@ function useFetchNftRanksLazyQuery(baseOptions) {
|
|
|
1545
1545
|
return Apollo.useLazyQuery(exports.FetchNftRanksDocument, baseOptions);
|
|
1546
1546
|
}
|
|
1547
1547
|
exports.useFetchNftRanksLazyQuery = useFetchNftRanksLazyQuery;
|
|
1548
|
+
exports.FetchWalletRanksDocument = (0, client_1.gql) `
|
|
1549
|
+
query FetchWalletRanks($wallets: [String!]!) {
|
|
1550
|
+
fetchWalletRanks(wallets: $wallets) {
|
|
1551
|
+
wallet
|
|
1552
|
+
rank
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
`;
|
|
1556
|
+
/**
|
|
1557
|
+
* __useFetchWalletRanksQuery__
|
|
1558
|
+
*
|
|
1559
|
+
* To run a query within a React component, call `useFetchWalletRanksQuery` and pass it any options that fit your needs.
|
|
1560
|
+
* When your component renders, `useFetchWalletRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1561
|
+
* you can use to render your UI.
|
|
1562
|
+
*
|
|
1563
|
+
* @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;
|
|
1564
|
+
*
|
|
1565
|
+
* @example
|
|
1566
|
+
* const { data, loading, error } = useFetchWalletRanksQuery({
|
|
1567
|
+
* variables: {
|
|
1568
|
+
* wallets: // value for 'wallets'
|
|
1569
|
+
* },
|
|
1570
|
+
* });
|
|
1571
|
+
*/
|
|
1572
|
+
function useFetchWalletRanksQuery(baseOptions) {
|
|
1573
|
+
return Apollo.useQuery(exports.FetchWalletRanksDocument, baseOptions);
|
|
1574
|
+
}
|
|
1575
|
+
exports.useFetchWalletRanksQuery = useFetchWalletRanksQuery;
|
|
1576
|
+
function useFetchWalletRanksLazyQuery(baseOptions) {
|
|
1577
|
+
return Apollo.useLazyQuery(exports.FetchWalletRanksDocument, baseOptions);
|
|
1578
|
+
}
|
|
1579
|
+
exports.useFetchWalletRanksLazyQuery = useFetchWalletRanksLazyQuery;
|
|
1548
1580
|
exports.AddAssetsToGalleryDocument = (0, client_1.gql) `
|
|
1549
1581
|
mutation AddAssetsToGallery($galleryId: ID!, $assetIds: [String!]!) {
|
|
1550
1582
|
addAssetsToGallery(galleryId: $galleryId, assetIds: $assetIds)
|
package/package.json
CHANGED
|
@@ -43,13 +43,12 @@ export type IAdminInvite = {
|
|
|
43
43
|
export type IAdminOpportunity = {
|
|
44
44
|
opportunityId: Scalars['ID'];
|
|
45
45
|
name?: Maybe<Scalars['String']>;
|
|
46
|
+
description?: Maybe<Scalars['String']>;
|
|
46
47
|
brandName?: Maybe<Scalars['String']>;
|
|
47
48
|
industry?: Maybe<Scalars['String']>;
|
|
48
49
|
category?: Maybe<Scalars['String']>;
|
|
49
50
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
50
51
|
projectUrl?: Maybe<Scalars['String']>;
|
|
51
|
-
media?: Maybe<Scalars['String']>;
|
|
52
|
-
description?: Maybe<Scalars['String']>;
|
|
53
52
|
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
54
53
|
status?: Maybe<Scalars['String']>;
|
|
55
54
|
activeFrom?: Maybe<Scalars['Long']>;
|
|
@@ -58,6 +57,7 @@ export type IAdminOpportunity = {
|
|
|
58
57
|
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
59
58
|
minLudoRank?: Maybe<Scalars['Float']>;
|
|
60
59
|
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
60
|
+
media?: Maybe<Scalars['String']>;
|
|
61
61
|
minWalletValue?: Maybe<Scalars['Float']>;
|
|
62
62
|
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
63
63
|
clicks?: Maybe<Scalars['Int']>;
|
|
@@ -335,18 +335,28 @@ export type IBannerAssetsPage = {
|
|
|
335
335
|
|
|
336
336
|
export type IBrand = {
|
|
337
337
|
brandId: Scalars['ID'];
|
|
338
|
-
name: Scalars['String'];
|
|
339
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
340
338
|
description?: Maybe<Scalars['String']>;
|
|
339
|
+
id: Scalars['String'];
|
|
341
340
|
industry?: Maybe<Scalars['String']>;
|
|
342
341
|
link?: Maybe<Scalars['String']>;
|
|
342
|
+
matchingWords: Array<Scalars['String']>;
|
|
343
343
|
media?: Maybe<Scalars['String']>;
|
|
344
|
+
name: Scalars['String'];
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
export type IBrandInput = {
|
|
348
|
+
name: Scalars['String'];
|
|
349
|
+
matchingWords: Array<Scalars['String']>;
|
|
350
|
+
description: Scalars['String'];
|
|
351
|
+
industry?: Maybe<Scalars['String']>;
|
|
352
|
+
link?: Maybe<Scalars['String']>;
|
|
344
353
|
};
|
|
345
354
|
|
|
346
355
|
export type ICategory = {
|
|
347
356
|
categoryId: Scalars['ID'];
|
|
357
|
+
id: Scalars['String'];
|
|
358
|
+
matchingWords: Array<Scalars['String']>;
|
|
348
359
|
name: Scalars['String'];
|
|
349
|
-
matchingWords: Array<Maybe<Scalars['String']>>;
|
|
350
360
|
};
|
|
351
361
|
|
|
352
362
|
export type ICollection = {
|
|
@@ -883,6 +893,8 @@ export type IMutation = {
|
|
|
883
893
|
blockUser: Scalars['Boolean'];
|
|
884
894
|
blockUsers: Scalars['Boolean'];
|
|
885
895
|
changeXpPoints: Scalars['Boolean'];
|
|
896
|
+
createBrand: Scalars['Boolean'];
|
|
897
|
+
createCategory: Scalars['Boolean'];
|
|
886
898
|
createFavoriteListV2: Scalars['ID'];
|
|
887
899
|
createFavorites: Scalars['ID'];
|
|
888
900
|
createGallery: Scalars['ID'];
|
|
@@ -956,6 +968,7 @@ export type IMutation = {
|
|
|
956
968
|
subscribeGallery: Scalars['Int'];
|
|
957
969
|
unfollowProfile: Scalars['Boolean'];
|
|
958
970
|
unsubscribeGallery: Scalars['Int'];
|
|
971
|
+
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
959
972
|
updateProfile: Scalars['Boolean'];
|
|
960
973
|
updateProfileStatus: Scalars['Boolean'];
|
|
961
974
|
uploadGalleryBanner: Scalars['String'];
|
|
@@ -1107,6 +1120,18 @@ export type IMutationChangeXpPointsArgs = {
|
|
|
1107
1120
|
};
|
|
1108
1121
|
|
|
1109
1122
|
|
|
1123
|
+
export type IMutationCreateBrandArgs = {
|
|
1124
|
+
brand: IBrandInput;
|
|
1125
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
export type IMutationCreateCategoryArgs = {
|
|
1130
|
+
name: Scalars['String'];
|
|
1131
|
+
matchingWords: Array<Scalars['String']>;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
|
|
1110
1135
|
export type IMutationCreateFavoriteListV2Args = {
|
|
1111
1136
|
name: Scalars['String'];
|
|
1112
1137
|
description?: Maybe<Scalars['String']>;
|
|
@@ -1147,6 +1172,7 @@ export type IMutationCreateNonceArgs = {
|
|
|
1147
1172
|
|
|
1148
1173
|
|
|
1149
1174
|
export type IMutationCreateOpportunityArgs = {
|
|
1175
|
+
file?: Maybe<Scalars['Upload']>;
|
|
1150
1176
|
input: IOpportunityInput;
|
|
1151
1177
|
};
|
|
1152
1178
|
|
|
@@ -1521,6 +1547,12 @@ export type IMutationUnsubscribeGalleryArgs = {
|
|
|
1521
1547
|
};
|
|
1522
1548
|
|
|
1523
1549
|
|
|
1550
|
+
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
1551
|
+
opportunityId: Scalars['ID'];
|
|
1552
|
+
isActive: Scalars['Boolean'];
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
|
|
1524
1556
|
export type IMutationUpdateProfileArgs = {
|
|
1525
1557
|
profile?: Maybe<IInputProfile>;
|
|
1526
1558
|
};
|
|
@@ -1653,19 +1685,35 @@ export type IOpportunity = {
|
|
|
1653
1685
|
};
|
|
1654
1686
|
|
|
1655
1687
|
export type IOpportunityInput = {
|
|
1656
|
-
|
|
1688
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
1689
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
1690
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
1691
|
+
brandId: Scalars['String'];
|
|
1692
|
+
category?: Maybe<Scalars['String']>;
|
|
1693
|
+
categoryId: Scalars['String'];
|
|
1694
|
+
collection?: Maybe<Scalars['String']>;
|
|
1695
|
+
creatorWallet?: Maybe<Scalars['String']>;
|
|
1657
1696
|
description: Scalars['String'];
|
|
1658
|
-
startedAt: Scalars['Long'];
|
|
1659
1697
|
endedAt: Scalars['Long'];
|
|
1660
|
-
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1661
|
-
category?: Maybe<Scalars['String']>;
|
|
1662
1698
|
links?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1663
1699
|
ludoRankRequired?: Maybe<Scalars['Boolean']>;
|
|
1664
1700
|
ludoRankRequiredMax?: Maybe<Scalars['Int']>;
|
|
1665
1701
|
ludoRankRequiredMin?: Maybe<Scalars['Int']>;
|
|
1702
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
1703
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
1704
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
1705
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
1706
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
1707
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
1708
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
1709
|
+
name: Scalars['String'];
|
|
1710
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
1711
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
1666
1712
|
rewardType?: Maybe<Scalars['String']>;
|
|
1667
|
-
|
|
1713
|
+
startedAt: Scalars['Long'];
|
|
1668
1714
|
status?: Maybe<Scalars['String']>;
|
|
1715
|
+
tags?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1716
|
+
type?: Maybe<Scalars['String']>;
|
|
1669
1717
|
};
|
|
1670
1718
|
|
|
1671
1719
|
export type IOpportunityPage = {
|
|
@@ -1765,6 +1813,9 @@ export type IQuery = {
|
|
|
1765
1813
|
fetchAssetsCount: Scalars['Long'];
|
|
1766
1814
|
fetchBannerAssets: Array<Maybe<IBannerAsset>>;
|
|
1767
1815
|
fetchBlockchainSelections: Array<Maybe<ISelection>>;
|
|
1816
|
+
fetchBlockchains: Array<Scalars['String']>;
|
|
1817
|
+
fetchBrands: Array<IBrand>;
|
|
1818
|
+
fetchCategories: Array<ICategory>;
|
|
1768
1819
|
fetchCategorySelections: Array<Maybe<ISelection>>;
|
|
1769
1820
|
fetchCollection: ICollection;
|
|
1770
1821
|
fetchCollectionAssets: ICollectionAssetsPage;
|
|
@@ -1840,6 +1891,7 @@ export type IQuery = {
|
|
|
1840
1891
|
fetchUserWallets: Array<Maybe<IWallet>>;
|
|
1841
1892
|
fetchUserpic?: Maybe<Scalars['String']>;
|
|
1842
1893
|
fetchVarietyOfAddressSelections: Array<Maybe<ISelection>>;
|
|
1894
|
+
fetchWalletRanks: Array<IWalletRank>;
|
|
1843
1895
|
fetchWalletSelections: Array<Maybe<ISelection>>;
|
|
1844
1896
|
fetchWallets: Array<Maybe<IWallet>>;
|
|
1845
1897
|
/** This query should be changed according to new design */
|
|
@@ -2295,6 +2347,11 @@ export type IQueryFetchUserpicArgs = {
|
|
|
2295
2347
|
};
|
|
2296
2348
|
|
|
2297
2349
|
|
|
2350
|
+
export type IQueryFetchWalletRanksArgs = {
|
|
2351
|
+
wallets: Array<Scalars['String']>;
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
|
|
2298
2355
|
export type IQueryFindAllAssetsByNameArgs = {
|
|
2299
2356
|
input: ISearchFilterInput;
|
|
2300
2357
|
pageSize: Scalars['Int'];
|
|
@@ -2864,6 +2921,11 @@ export type IWallet = {
|
|
|
2864
2921
|
walletName: Scalars['String'];
|
|
2865
2922
|
};
|
|
2866
2923
|
|
|
2924
|
+
export type IWalletRank = {
|
|
2925
|
+
wallet: Scalars['String'];
|
|
2926
|
+
rank?: Maybe<Scalars['Float']>;
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2867
2929
|
export type IXpFilterInput = {
|
|
2868
2930
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
2869
2931
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -3196,6 +3258,13 @@ export type IFetchNftRanksQueryVariables = Exact<{
|
|
|
3196
3258
|
|
|
3197
3259
|
export type IFetchNftRanksQuery = { fetchNFTRanks: Array<Pick<INftRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'rank'>> };
|
|
3198
3260
|
|
|
3261
|
+
export type IFetchWalletRanksQueryVariables = Exact<{
|
|
3262
|
+
wallets: Array<Scalars['String']>;
|
|
3263
|
+
}>;
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
export type IFetchWalletRanksQuery = { fetchWalletRanks: Array<Pick<IWalletRank, 'wallet' | 'rank'>> };
|
|
3267
|
+
|
|
3199
3268
|
export type IAddAssetsToGalleryMutationVariables = Exact<{
|
|
3200
3269
|
galleryId: Scalars['ID'];
|
|
3201
3270
|
assetIds: Array<Scalars['String']>;
|
|
@@ -5558,6 +5627,40 @@ export function useFetchNftRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOpti
|
|
|
5558
5627
|
export type FetchNftRanksQueryHookResult = ReturnType<typeof useFetchNftRanksQuery>;
|
|
5559
5628
|
export type FetchNftRanksLazyQueryHookResult = ReturnType<typeof useFetchNftRanksLazyQuery>;
|
|
5560
5629
|
export type FetchNftRanksQueryResult = Apollo.QueryResult<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>;
|
|
5630
|
+
export const FetchWalletRanksDocument = gql`
|
|
5631
|
+
query FetchWalletRanks($wallets: [String!]!) {
|
|
5632
|
+
fetchWalletRanks(wallets: $wallets) {
|
|
5633
|
+
wallet
|
|
5634
|
+
rank
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
`;
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* __useFetchWalletRanksQuery__
|
|
5641
|
+
*
|
|
5642
|
+
* To run a query within a React component, call `useFetchWalletRanksQuery` and pass it any options that fit your needs.
|
|
5643
|
+
* When your component renders, `useFetchWalletRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5644
|
+
* you can use to render your UI.
|
|
5645
|
+
*
|
|
5646
|
+
* @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;
|
|
5647
|
+
*
|
|
5648
|
+
* @example
|
|
5649
|
+
* const { data, loading, error } = useFetchWalletRanksQuery({
|
|
5650
|
+
* variables: {
|
|
5651
|
+
* wallets: // value for 'wallets'
|
|
5652
|
+
* },
|
|
5653
|
+
* });
|
|
5654
|
+
*/
|
|
5655
|
+
export function useFetchWalletRanksQuery(baseOptions: Apollo.QueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>) {
|
|
5656
|
+
return Apollo.useQuery<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>(FetchWalletRanksDocument, baseOptions);
|
|
5657
|
+
}
|
|
5658
|
+
export function useFetchWalletRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>) {
|
|
5659
|
+
return Apollo.useLazyQuery<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>(FetchWalletRanksDocument, baseOptions);
|
|
5660
|
+
}
|
|
5661
|
+
export type FetchWalletRanksQueryHookResult = ReturnType<typeof useFetchWalletRanksQuery>;
|
|
5662
|
+
export type FetchWalletRanksLazyQueryHookResult = ReturnType<typeof useFetchWalletRanksLazyQuery>;
|
|
5663
|
+
export type FetchWalletRanksQueryResult = Apollo.QueryResult<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>;
|
|
5561
5664
|
export const AddAssetsToGalleryDocument = gql`
|
|
5562
5665
|
mutation AddAssetsToGallery($galleryId: ID!, $assetIds: [String!]!) {
|
|
5563
5666
|
addAssetsToGallery(galleryId: $galleryId, assetIds: $assetIds)
|