@ludo.ninja/api 2.8.23 → 2.8.25
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.
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.
|
|
26
|
+
exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = 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.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = exports.IRole = void 0;
|
|
27
27
|
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.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = void 0;
|
|
28
28
|
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.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = void 0;
|
|
29
29
|
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 = exports.useFetchGalleryV2LazyQuery = void 0;
|
|
@@ -230,6 +230,54 @@ function useUpdateProfileStatusMutation(baseOptions) {
|
|
|
230
230
|
return Apollo.useMutation(exports.UpdateProfileStatusDocument, baseOptions);
|
|
231
231
|
}
|
|
232
232
|
exports.useUpdateProfileStatusMutation = useUpdateProfileStatusMutation;
|
|
233
|
+
exports.FetchAdminBrandsPageDocument = (0, client_1.gql) `
|
|
234
|
+
query FetchAdminBrandsPage($filter: BrandsFilterInput!, $sort: BrandsSortInput!, $page: AdminPageInput!) {
|
|
235
|
+
fetchAdminBrandsPage(filter: $filter, sort: $sort, page: $page) {
|
|
236
|
+
brands {
|
|
237
|
+
description
|
|
238
|
+
id
|
|
239
|
+
industry
|
|
240
|
+
link
|
|
241
|
+
matchingWords
|
|
242
|
+
media
|
|
243
|
+
name
|
|
244
|
+
archived
|
|
245
|
+
}
|
|
246
|
+
nextPage {
|
|
247
|
+
num
|
|
248
|
+
lastNum
|
|
249
|
+
size
|
|
250
|
+
elements
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
`;
|
|
255
|
+
/**
|
|
256
|
+
* __useFetchAdminBrandsPageQuery__
|
|
257
|
+
*
|
|
258
|
+
* To run a query within a React component, call `useFetchAdminBrandsPageQuery` and pass it any options that fit your needs.
|
|
259
|
+
* When your component renders, `useFetchAdminBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
260
|
+
* you can use to render your UI.
|
|
261
|
+
*
|
|
262
|
+
* @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;
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* const { data, loading, error } = useFetchAdminBrandsPageQuery({
|
|
266
|
+
* variables: {
|
|
267
|
+
* filter: // value for 'filter'
|
|
268
|
+
* sort: // value for 'sort'
|
|
269
|
+
* page: // value for 'page'
|
|
270
|
+
* },
|
|
271
|
+
* });
|
|
272
|
+
*/
|
|
273
|
+
function useFetchAdminBrandsPageQuery(baseOptions) {
|
|
274
|
+
return Apollo.useQuery(exports.FetchAdminBrandsPageDocument, baseOptions);
|
|
275
|
+
}
|
|
276
|
+
exports.useFetchAdminBrandsPageQuery = useFetchAdminBrandsPageQuery;
|
|
277
|
+
function useFetchAdminBrandsPageLazyQuery(baseOptions) {
|
|
278
|
+
return Apollo.useLazyQuery(exports.FetchAdminBrandsPageDocument, baseOptions);
|
|
279
|
+
}
|
|
280
|
+
exports.useFetchAdminBrandsPageLazyQuery = useFetchAdminBrandsPageLazyQuery;
|
|
233
281
|
exports.FetchAdminInvitesPageDocument = (0, client_1.gql) `
|
|
234
282
|
query fetchAdminInvitesPage($filter: InvitesFilterInput!, $sort: InvitesSortInput!, $page: AdminPageInput!) {
|
|
235
283
|
fetchAdminInvitesPage(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -539,122 +587,76 @@ function useFetchBlockchainsLazyQuery(baseOptions) {
|
|
|
539
587
|
return Apollo.useLazyQuery(exports.FetchBlockchainsDocument, baseOptions);
|
|
540
588
|
}
|
|
541
589
|
exports.useFetchBlockchainsLazyQuery = useFetchBlockchainsLazyQuery;
|
|
542
|
-
exports.
|
|
543
|
-
query
|
|
544
|
-
|
|
590
|
+
exports.FetchAdminBrandsDocument = (0, client_1.gql) `
|
|
591
|
+
query FetchAdminBrands {
|
|
592
|
+
fetchAdminBrands {
|
|
545
593
|
id
|
|
546
594
|
name
|
|
547
595
|
}
|
|
548
596
|
}
|
|
549
597
|
`;
|
|
550
598
|
/**
|
|
551
|
-
*
|
|
599
|
+
* __useFetchAdminBrandsQuery__
|
|
552
600
|
*
|
|
553
|
-
* To run a query within a React component, call `
|
|
554
|
-
* When your component renders, `
|
|
601
|
+
* To run a query within a React component, call `useFetchAdminBrandsQuery` and pass it any options that fit your needs.
|
|
602
|
+
* When your component renders, `useFetchAdminBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
555
603
|
* you can use to render your UI.
|
|
556
604
|
*
|
|
557
605
|
* @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;
|
|
558
606
|
*
|
|
559
607
|
* @example
|
|
560
|
-
* const { data, loading, error } =
|
|
608
|
+
* const { data, loading, error } = useFetchAdminBrandsQuery({
|
|
561
609
|
* variables: {
|
|
562
610
|
* },
|
|
563
611
|
* });
|
|
564
612
|
*/
|
|
565
|
-
function
|
|
566
|
-
return Apollo.useQuery(exports.
|
|
567
|
-
}
|
|
568
|
-
exports.useFetchBrandsQuery = useFetchBrandsQuery;
|
|
569
|
-
function useFetchBrandsLazyQuery(baseOptions) {
|
|
570
|
-
return Apollo.useLazyQuery(exports.FetchBrandsDocument, baseOptions);
|
|
571
|
-
}
|
|
572
|
-
exports.useFetchBrandsLazyQuery = useFetchBrandsLazyQuery;
|
|
573
|
-
exports.FetchBrandsPageDocument = (0, client_1.gql) `
|
|
574
|
-
query FetchBrandsPage($filter: BrandsFilterInput!, $sort: BrandsSortInput!, $page: AdminPageInput!) {
|
|
575
|
-
fetchBrandsPage(filter: $filter, sort: $sort, page: $page) {
|
|
576
|
-
brands {
|
|
577
|
-
description
|
|
578
|
-
id
|
|
579
|
-
industry
|
|
580
|
-
link
|
|
581
|
-
matchingWords
|
|
582
|
-
media
|
|
583
|
-
name
|
|
584
|
-
}
|
|
585
|
-
nextPage {
|
|
586
|
-
num
|
|
587
|
-
lastNum
|
|
588
|
-
size
|
|
589
|
-
elements
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
`;
|
|
594
|
-
/**
|
|
595
|
-
* __useFetchBrandsPageQuery__
|
|
596
|
-
*
|
|
597
|
-
* To run a query within a React component, call `useFetchBrandsPageQuery` and pass it any options that fit your needs.
|
|
598
|
-
* When your component renders, `useFetchBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
599
|
-
* you can use to render your UI.
|
|
600
|
-
*
|
|
601
|
-
* @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;
|
|
602
|
-
*
|
|
603
|
-
* @example
|
|
604
|
-
* const { data, loading, error } = useFetchBrandsPageQuery({
|
|
605
|
-
* variables: {
|
|
606
|
-
* filter: // value for 'filter'
|
|
607
|
-
* sort: // value for 'sort'
|
|
608
|
-
* page: // value for 'page'
|
|
609
|
-
* },
|
|
610
|
-
* });
|
|
611
|
-
*/
|
|
612
|
-
function useFetchBrandsPageQuery(baseOptions) {
|
|
613
|
-
return Apollo.useQuery(exports.FetchBrandsPageDocument, baseOptions);
|
|
613
|
+
function useFetchAdminBrandsQuery(baseOptions) {
|
|
614
|
+
return Apollo.useQuery(exports.FetchAdminBrandsDocument, baseOptions);
|
|
614
615
|
}
|
|
615
|
-
exports.
|
|
616
|
-
function
|
|
617
|
-
return Apollo.useLazyQuery(exports.
|
|
616
|
+
exports.useFetchAdminBrandsQuery = useFetchAdminBrandsQuery;
|
|
617
|
+
function useFetchAdminBrandsLazyQuery(baseOptions) {
|
|
618
|
+
return Apollo.useLazyQuery(exports.FetchAdminBrandsDocument, baseOptions);
|
|
618
619
|
}
|
|
619
|
-
exports.
|
|
620
|
-
exports.
|
|
621
|
-
query
|
|
622
|
-
|
|
620
|
+
exports.useFetchAdminBrandsLazyQuery = useFetchAdminBrandsLazyQuery;
|
|
621
|
+
exports.FetchAdminCategoriesDocument = (0, client_1.gql) `
|
|
622
|
+
query FetchAdminCategories {
|
|
623
|
+
fetchAdminCategories {
|
|
623
624
|
id
|
|
624
625
|
name
|
|
625
626
|
}
|
|
626
627
|
}
|
|
627
628
|
`;
|
|
628
629
|
/**
|
|
629
|
-
*
|
|
630
|
+
* __useFetchAdminCategoriesQuery__
|
|
630
631
|
*
|
|
631
|
-
* To run a query within a React component, call `
|
|
632
|
-
* When your component renders, `
|
|
632
|
+
* To run a query within a React component, call `useFetchAdminCategoriesQuery` and pass it any options that fit your needs.
|
|
633
|
+
* When your component renders, `useFetchAdminCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
633
634
|
* you can use to render your UI.
|
|
634
635
|
*
|
|
635
636
|
* @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;
|
|
636
637
|
*
|
|
637
638
|
* @example
|
|
638
|
-
* const { data, loading, error } =
|
|
639
|
+
* const { data, loading, error } = useFetchAdminCategoriesQuery({
|
|
639
640
|
* variables: {
|
|
640
641
|
* },
|
|
641
642
|
* });
|
|
642
643
|
*/
|
|
643
|
-
function
|
|
644
|
-
return Apollo.useQuery(exports.
|
|
644
|
+
function useFetchAdminCategoriesQuery(baseOptions) {
|
|
645
|
+
return Apollo.useQuery(exports.FetchAdminCategoriesDocument, baseOptions);
|
|
645
646
|
}
|
|
646
|
-
exports.
|
|
647
|
-
function
|
|
648
|
-
return Apollo.useLazyQuery(exports.
|
|
647
|
+
exports.useFetchAdminCategoriesQuery = useFetchAdminCategoriesQuery;
|
|
648
|
+
function useFetchAdminCategoriesLazyQuery(baseOptions) {
|
|
649
|
+
return Apollo.useLazyQuery(exports.FetchAdminCategoriesDocument, baseOptions);
|
|
649
650
|
}
|
|
650
|
-
exports.
|
|
651
|
-
exports.
|
|
652
|
-
query
|
|
653
|
-
|
|
651
|
+
exports.useFetchAdminCategoriesLazyQuery = useFetchAdminCategoriesLazyQuery;
|
|
652
|
+
exports.FetchAdminCategoriesPageDocument = (0, client_1.gql) `
|
|
653
|
+
query FetchAdminCategoriesPage($filter: CategoriesFilterInput!, $sort: CategoriesSortInput!, $page: AdminPageInput!) {
|
|
654
|
+
fetchAdminCategoriesPage(filter: $filter, sort: $sort, page: $page) {
|
|
654
655
|
categories {
|
|
655
656
|
id
|
|
656
657
|
name
|
|
657
658
|
matchingWords
|
|
659
|
+
archived
|
|
658
660
|
}
|
|
659
661
|
nextPage {
|
|
660
662
|
num
|
|
@@ -666,16 +668,16 @@ exports.FetchCategoriesPageDocument = (0, client_1.gql) `
|
|
|
666
668
|
}
|
|
667
669
|
`;
|
|
668
670
|
/**
|
|
669
|
-
*
|
|
671
|
+
* __useFetchAdminCategoriesPageQuery__
|
|
670
672
|
*
|
|
671
|
-
* To run a query within a React component, call `
|
|
672
|
-
* When your component renders, `
|
|
673
|
+
* To run a query within a React component, call `useFetchAdminCategoriesPageQuery` and pass it any options that fit your needs.
|
|
674
|
+
* When your component renders, `useFetchAdminCategoriesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
673
675
|
* you can use to render your UI.
|
|
674
676
|
*
|
|
675
677
|
* @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;
|
|
676
678
|
*
|
|
677
679
|
* @example
|
|
678
|
-
* const { data, loading, error } =
|
|
680
|
+
* const { data, loading, error } = useFetchAdminCategoriesPageQuery({
|
|
679
681
|
* variables: {
|
|
680
682
|
* filter: // value for 'filter'
|
|
681
683
|
* sort: // value for 'sort'
|
|
@@ -683,14 +685,14 @@ exports.FetchCategoriesPageDocument = (0, client_1.gql) `
|
|
|
683
685
|
* },
|
|
684
686
|
* });
|
|
685
687
|
*/
|
|
686
|
-
function
|
|
687
|
-
return Apollo.useQuery(exports.
|
|
688
|
+
function useFetchAdminCategoriesPageQuery(baseOptions) {
|
|
689
|
+
return Apollo.useQuery(exports.FetchAdminCategoriesPageDocument, baseOptions);
|
|
688
690
|
}
|
|
689
|
-
exports.
|
|
690
|
-
function
|
|
691
|
-
return Apollo.useLazyQuery(exports.
|
|
691
|
+
exports.useFetchAdminCategoriesPageQuery = useFetchAdminCategoriesPageQuery;
|
|
692
|
+
function useFetchAdminCategoriesPageLazyQuery(baseOptions) {
|
|
693
|
+
return Apollo.useLazyQuery(exports.FetchAdminCategoriesPageDocument, baseOptions);
|
|
692
694
|
}
|
|
693
|
-
exports.
|
|
695
|
+
exports.useFetchAdminCategoriesPageLazyQuery = useFetchAdminCategoriesPageLazyQuery;
|
|
694
696
|
exports.DislikeAssetDocument = (0, client_1.gql) `
|
|
695
697
|
mutation DislikeAsset($assetId: String!) {
|
|
696
698
|
dislikeAsset(assetId: $assetId)
|