@ludo.ninja/api 2.8.4 → 2.8.6
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,12 +23,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
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.
|
|
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.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = void 0;
|
|
28
|
+
exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = void 0;
|
|
29
|
+
exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = 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 = void 0;
|
|
30
|
+
exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = void 0;
|
|
31
|
+
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.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 = void 0;
|
|
32
32
|
exports.useFindUserShowcaseItemsLazyQuery = void 0;
|
|
33
33
|
/* eslint-disable */
|
|
34
34
|
const client_1 = require("@apollo/client");
|
|
@@ -217,6 +217,8 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
|
|
|
217
217
|
projectUrl
|
|
218
218
|
pushNotificationsEnabled
|
|
219
219
|
status
|
|
220
|
+
media
|
|
221
|
+
description
|
|
220
222
|
activeFrom
|
|
221
223
|
activeUntil
|
|
222
224
|
minXpLevel
|
|
@@ -591,375 +593,85 @@ function useFetchAssetLazyQuery(baseOptions) {
|
|
|
591
593
|
return Apollo.useLazyQuery(exports.FetchAssetDocument, baseOptions);
|
|
592
594
|
}
|
|
593
595
|
exports.useFetchAssetLazyQuery = useFetchAssetLazyQuery;
|
|
594
|
-
exports.
|
|
595
|
-
query
|
|
596
|
-
|
|
597
|
-
blockchain: $blockchain
|
|
598
|
-
address: $address
|
|
599
|
-
tokenId: $tokenId
|
|
600
|
-
elrondId: $elrondId
|
|
601
|
-
) {
|
|
602
|
-
latestPriceCurrency
|
|
603
|
-
latestPriceAmount
|
|
604
|
-
collectionId
|
|
605
|
-
collectionOriginalUrls
|
|
606
|
-
collectionTitle
|
|
607
|
-
assetId
|
|
608
|
-
totalVolumes {
|
|
609
|
-
currency
|
|
610
|
-
amount
|
|
611
|
-
}
|
|
612
|
-
blockchain
|
|
613
|
-
blockchainLabel
|
|
614
|
-
address
|
|
615
|
-
tokenId
|
|
616
|
-
name
|
|
617
|
-
description
|
|
618
|
-
rank
|
|
619
|
-
markets {
|
|
620
|
-
marketId
|
|
621
|
-
marketName
|
|
622
|
-
marketDomain
|
|
623
|
-
marketUrl
|
|
624
|
-
}
|
|
625
|
-
collectionMedias {
|
|
626
|
-
originalUrl
|
|
627
|
-
url
|
|
628
|
-
previewUrl
|
|
629
|
-
mimeType
|
|
630
|
-
sizeRatio
|
|
631
|
-
fileSize
|
|
632
|
-
}
|
|
633
|
-
originalUrls
|
|
634
|
-
medias {
|
|
635
|
-
originalUrl
|
|
636
|
-
url
|
|
637
|
-
mimeType
|
|
638
|
-
originalMime
|
|
639
|
-
previewUrl
|
|
640
|
-
sizeRatio
|
|
641
|
-
fileSize
|
|
642
|
-
}
|
|
643
|
-
ownersAddresses
|
|
644
|
-
ownersProfiles {
|
|
645
|
-
userId
|
|
646
|
-
username
|
|
647
|
-
about
|
|
648
|
-
userpic
|
|
649
|
-
followers
|
|
650
|
-
followings
|
|
651
|
-
visible
|
|
652
|
-
}
|
|
653
|
-
creatorsAddresses
|
|
654
|
-
creatorsProfiles {
|
|
655
|
-
userId
|
|
656
|
-
username
|
|
657
|
-
about
|
|
658
|
-
userpic
|
|
659
|
-
followers
|
|
660
|
-
followings
|
|
661
|
-
visible
|
|
662
|
-
}
|
|
663
|
-
attributes {
|
|
664
|
-
name
|
|
665
|
-
value
|
|
666
|
-
}
|
|
667
|
-
views
|
|
668
|
-
visible
|
|
669
|
-
blurred
|
|
670
|
-
medias {
|
|
671
|
-
originalUrl
|
|
672
|
-
originalMime
|
|
673
|
-
url
|
|
674
|
-
previewUrl
|
|
675
|
-
mimeType
|
|
676
|
-
sizeRatio
|
|
677
|
-
fileSize
|
|
678
|
-
}
|
|
679
|
-
creatorsProfiles {
|
|
680
|
-
username
|
|
681
|
-
}
|
|
682
|
-
category
|
|
683
|
-
categoryLabel
|
|
684
|
-
}
|
|
596
|
+
exports.FetchLikedDocument = (0, client_1.gql) `
|
|
597
|
+
query FetchLiked($assetId: String!) {
|
|
598
|
+
fetchLiked(assetId: $assetId)
|
|
685
599
|
}
|
|
686
600
|
`;
|
|
687
601
|
/**
|
|
688
|
-
*
|
|
602
|
+
* __useFetchLikedQuery__
|
|
689
603
|
*
|
|
690
|
-
* To run a query within a React component, call `
|
|
691
|
-
* When your component renders, `
|
|
604
|
+
* To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
|
|
605
|
+
* When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
692
606
|
* you can use to render your UI.
|
|
693
607
|
*
|
|
694
608
|
* @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;
|
|
695
609
|
*
|
|
696
610
|
* @example
|
|
697
|
-
* const { data, loading, error } =
|
|
611
|
+
* const { data, loading, error } = useFetchLikedQuery({
|
|
698
612
|
* variables: {
|
|
699
|
-
*
|
|
700
|
-
* address: // value for 'address'
|
|
701
|
-
* tokenId: // value for 'tokenId'
|
|
702
|
-
* elrondId: // value for 'elrondId'
|
|
613
|
+
* assetId: // value for 'assetId'
|
|
703
614
|
* },
|
|
704
615
|
* });
|
|
705
616
|
*/
|
|
706
|
-
function
|
|
707
|
-
return Apollo.useQuery(exports.
|
|
617
|
+
function useFetchLikedQuery(baseOptions) {
|
|
618
|
+
return Apollo.useQuery(exports.FetchLikedDocument, baseOptions);
|
|
708
619
|
}
|
|
709
|
-
exports.
|
|
710
|
-
function
|
|
711
|
-
return Apollo.useLazyQuery(exports.
|
|
620
|
+
exports.useFetchLikedQuery = useFetchLikedQuery;
|
|
621
|
+
function useFetchLikedLazyQuery(baseOptions) {
|
|
622
|
+
return Apollo.useLazyQuery(exports.FetchLikedDocument, baseOptions);
|
|
712
623
|
}
|
|
713
|
-
exports.
|
|
714
|
-
exports.
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
latestPriceCurrency
|
|
718
|
-
latestPriceAmount
|
|
719
|
-
collectionId
|
|
720
|
-
collectionOriginalUrls
|
|
721
|
-
collectionTitle
|
|
722
|
-
assetId
|
|
723
|
-
totalVolumes {
|
|
724
|
-
currency
|
|
725
|
-
amount
|
|
726
|
-
}
|
|
727
|
-
blockchain
|
|
728
|
-
address
|
|
729
|
-
tokenId
|
|
730
|
-
name
|
|
731
|
-
description
|
|
732
|
-
rank
|
|
733
|
-
markets {
|
|
734
|
-
marketId
|
|
735
|
-
marketName
|
|
736
|
-
marketDomain
|
|
737
|
-
marketUrl
|
|
738
|
-
}
|
|
739
|
-
collectionMedias {
|
|
740
|
-
originalUrl
|
|
741
|
-
url
|
|
742
|
-
previewUrl
|
|
743
|
-
mimeType
|
|
744
|
-
sizeRatio
|
|
745
|
-
fileSize
|
|
746
|
-
}
|
|
747
|
-
originalUrls
|
|
748
|
-
medias {
|
|
749
|
-
originalUrl
|
|
750
|
-
url
|
|
751
|
-
mimeType
|
|
752
|
-
sizeRatio
|
|
753
|
-
fileSize
|
|
754
|
-
previewUrl
|
|
755
|
-
}
|
|
756
|
-
ownersAddresses
|
|
757
|
-
ownersProfiles {
|
|
758
|
-
userId
|
|
759
|
-
username
|
|
760
|
-
about
|
|
761
|
-
userpic
|
|
762
|
-
followers
|
|
763
|
-
followings
|
|
764
|
-
visible
|
|
765
|
-
}
|
|
766
|
-
creatorsAddresses
|
|
767
|
-
creatorsProfiles {
|
|
768
|
-
userId
|
|
769
|
-
username
|
|
770
|
-
about
|
|
771
|
-
userpic
|
|
772
|
-
followers
|
|
773
|
-
followings
|
|
774
|
-
visible
|
|
775
|
-
}
|
|
776
|
-
attributes {
|
|
777
|
-
name
|
|
778
|
-
value
|
|
779
|
-
}
|
|
780
|
-
views
|
|
781
|
-
visible
|
|
782
|
-
blurred
|
|
783
|
-
medias {
|
|
784
|
-
originalUrl
|
|
785
|
-
url
|
|
786
|
-
previewUrl
|
|
787
|
-
mimeType
|
|
788
|
-
}
|
|
789
|
-
creatorsProfiles {
|
|
790
|
-
username
|
|
791
|
-
}
|
|
792
|
-
}
|
|
624
|
+
exports.useFetchLikedLazyQuery = useFetchLikedLazyQuery;
|
|
625
|
+
exports.DislikeCollectionDocument = (0, client_1.gql) `
|
|
626
|
+
mutation DislikeCollection($collectionId: String!) {
|
|
627
|
+
dislikeCollection(collectionId: $collectionId)
|
|
793
628
|
}
|
|
794
629
|
`;
|
|
795
630
|
/**
|
|
796
|
-
*
|
|
631
|
+
* __useDislikeCollectionMutation__
|
|
797
632
|
*
|
|
798
|
-
* To run a
|
|
799
|
-
* When your component renders, `
|
|
800
|
-
* you can
|
|
633
|
+
* To run a mutation, you first call `useDislikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
634
|
+
* When your component renders, `useDislikeCollectionMutation` returns a tuple that includes:
|
|
635
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
636
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
801
637
|
*
|
|
802
|
-
* @param baseOptions options that will be passed into the
|
|
638
|
+
* @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;
|
|
803
639
|
*
|
|
804
640
|
* @example
|
|
805
|
-
* const { data, loading, error } =
|
|
641
|
+
* const [dislikeCollectionMutation, { data, loading, error }] = useDislikeCollectionMutation({
|
|
806
642
|
* variables: {
|
|
807
|
-
*
|
|
643
|
+
* collectionId: // value for 'collectionId'
|
|
808
644
|
* },
|
|
809
645
|
* });
|
|
810
646
|
*/
|
|
811
|
-
function
|
|
812
|
-
return Apollo.
|
|
813
|
-
}
|
|
814
|
-
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
815
|
-
function useFetchAssetsLazyQuery(baseOptions) {
|
|
816
|
-
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
647
|
+
function useDislikeCollectionMutation(baseOptions) {
|
|
648
|
+
return Apollo.useMutation(exports.DislikeCollectionDocument, baseOptions);
|
|
817
649
|
}
|
|
818
|
-
exports.
|
|
819
|
-
exports.
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
isLikedByUser
|
|
823
|
-
likesNum
|
|
824
|
-
}
|
|
650
|
+
exports.useDislikeCollectionMutation = useDislikeCollectionMutation;
|
|
651
|
+
exports.LikeCollectionDocument = (0, client_1.gql) `
|
|
652
|
+
mutation LikeCollection($collectionId: String!) {
|
|
653
|
+
likeCollection(collectionId: $collectionId)
|
|
825
654
|
}
|
|
826
655
|
`;
|
|
827
656
|
/**
|
|
828
|
-
*
|
|
657
|
+
* __useLikeCollectionMutation__
|
|
829
658
|
*
|
|
830
|
-
* To run a
|
|
831
|
-
* When your component renders, `
|
|
832
|
-
* you can
|
|
659
|
+
* To run a mutation, you first call `useLikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
660
|
+
* When your component renders, `useLikeCollectionMutation` returns a tuple that includes:
|
|
661
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
662
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
833
663
|
*
|
|
834
|
-
* @param baseOptions options that will be passed into the
|
|
664
|
+
* @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;
|
|
835
665
|
*
|
|
836
666
|
* @example
|
|
837
|
-
* const { data, loading, error } =
|
|
667
|
+
* const [likeCollectionMutation, { data, loading, error }] = useLikeCollectionMutation({
|
|
838
668
|
* variables: {
|
|
839
|
-
*
|
|
669
|
+
* collectionId: // value for 'collectionId'
|
|
840
670
|
* },
|
|
841
671
|
* });
|
|
842
672
|
*/
|
|
843
|
-
function
|
|
844
|
-
return Apollo.
|
|
845
|
-
}
|
|
846
|
-
exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
|
|
847
|
-
function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
|
|
848
|
-
return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
849
|
-
}
|
|
850
|
-
exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
|
|
851
|
-
exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
|
|
852
|
-
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
853
|
-
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
854
|
-
isLikedByUser
|
|
855
|
-
likesNum
|
|
856
|
-
assetId
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
`;
|
|
860
|
-
/**
|
|
861
|
-
* __useFetchDynamicAssetsLikesQuery__
|
|
862
|
-
*
|
|
863
|
-
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
864
|
-
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
865
|
-
* you can use to render your UI.
|
|
866
|
-
*
|
|
867
|
-
* @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;
|
|
868
|
-
*
|
|
869
|
-
* @example
|
|
870
|
-
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
871
|
-
* variables: {
|
|
872
|
-
* assetIds: // value for 'assetIds'
|
|
873
|
-
* },
|
|
874
|
-
* });
|
|
875
|
-
*/
|
|
876
|
-
function useFetchDynamicAssetsLikesQuery(baseOptions) {
|
|
877
|
-
return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
878
|
-
}
|
|
879
|
-
exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
|
|
880
|
-
function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
881
|
-
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
882
|
-
}
|
|
883
|
-
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
884
|
-
exports.FetchLikedDocument = (0, client_1.gql) `
|
|
885
|
-
query FetchLiked($assetId: String!) {
|
|
886
|
-
fetchLiked(assetId: $assetId)
|
|
887
|
-
}
|
|
888
|
-
`;
|
|
889
|
-
/**
|
|
890
|
-
* __useFetchLikedQuery__
|
|
891
|
-
*
|
|
892
|
-
* To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
|
|
893
|
-
* When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
894
|
-
* you can use to render your UI.
|
|
895
|
-
*
|
|
896
|
-
* @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;
|
|
897
|
-
*
|
|
898
|
-
* @example
|
|
899
|
-
* const { data, loading, error } = useFetchLikedQuery({
|
|
900
|
-
* variables: {
|
|
901
|
-
* assetId: // value for 'assetId'
|
|
902
|
-
* },
|
|
903
|
-
* });
|
|
904
|
-
*/
|
|
905
|
-
function useFetchLikedQuery(baseOptions) {
|
|
906
|
-
return Apollo.useQuery(exports.FetchLikedDocument, baseOptions);
|
|
907
|
-
}
|
|
908
|
-
exports.useFetchLikedQuery = useFetchLikedQuery;
|
|
909
|
-
function useFetchLikedLazyQuery(baseOptions) {
|
|
910
|
-
return Apollo.useLazyQuery(exports.FetchLikedDocument, baseOptions);
|
|
911
|
-
}
|
|
912
|
-
exports.useFetchLikedLazyQuery = useFetchLikedLazyQuery;
|
|
913
|
-
exports.DislikeCollectionDocument = (0, client_1.gql) `
|
|
914
|
-
mutation DislikeCollection($collectionId: String!) {
|
|
915
|
-
dislikeCollection(collectionId: $collectionId)
|
|
916
|
-
}
|
|
917
|
-
`;
|
|
918
|
-
/**
|
|
919
|
-
* __useDislikeCollectionMutation__
|
|
920
|
-
*
|
|
921
|
-
* To run a mutation, you first call `useDislikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
922
|
-
* When your component renders, `useDislikeCollectionMutation` returns a tuple that includes:
|
|
923
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
924
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
925
|
-
*
|
|
926
|
-
* @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;
|
|
927
|
-
*
|
|
928
|
-
* @example
|
|
929
|
-
* const [dislikeCollectionMutation, { data, loading, error }] = useDislikeCollectionMutation({
|
|
930
|
-
* variables: {
|
|
931
|
-
* collectionId: // value for 'collectionId'
|
|
932
|
-
* },
|
|
933
|
-
* });
|
|
934
|
-
*/
|
|
935
|
-
function useDislikeCollectionMutation(baseOptions) {
|
|
936
|
-
return Apollo.useMutation(exports.DislikeCollectionDocument, baseOptions);
|
|
937
|
-
}
|
|
938
|
-
exports.useDislikeCollectionMutation = useDislikeCollectionMutation;
|
|
939
|
-
exports.LikeCollectionDocument = (0, client_1.gql) `
|
|
940
|
-
mutation LikeCollection($collectionId: String!) {
|
|
941
|
-
likeCollection(collectionId: $collectionId)
|
|
942
|
-
}
|
|
943
|
-
`;
|
|
944
|
-
/**
|
|
945
|
-
* __useLikeCollectionMutation__
|
|
946
|
-
*
|
|
947
|
-
* To run a mutation, you first call `useLikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
948
|
-
* When your component renders, `useLikeCollectionMutation` returns a tuple that includes:
|
|
949
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
950
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
951
|
-
*
|
|
952
|
-
* @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;
|
|
953
|
-
*
|
|
954
|
-
* @example
|
|
955
|
-
* const [likeCollectionMutation, { data, loading, error }] = useLikeCollectionMutation({
|
|
956
|
-
* variables: {
|
|
957
|
-
* collectionId: // value for 'collectionId'
|
|
958
|
-
* },
|
|
959
|
-
* });
|
|
960
|
-
*/
|
|
961
|
-
function useLikeCollectionMutation(baseOptions) {
|
|
962
|
-
return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
|
|
673
|
+
function useLikeCollectionMutation(baseOptions) {
|
|
674
|
+
return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
|
|
963
675
|
}
|
|
964
676
|
exports.useLikeCollectionMutation = useLikeCollectionMutation;
|
|
965
677
|
exports.FetchCollectionDocument = (0, client_1.gql) `
|
|
@@ -4379,6 +4091,247 @@ function useFetchAllCreationsLazyQuery(baseOptions) {
|
|
|
4379
4091
|
return Apollo.useLazyQuery(exports.FetchAllCreationsDocument, baseOptions);
|
|
4380
4092
|
}
|
|
4381
4093
|
exports.useFetchAllCreationsLazyQuery = useFetchAllCreationsLazyQuery;
|
|
4094
|
+
exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
4095
|
+
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
4096
|
+
fetchAssetByBlockchain(
|
|
4097
|
+
blockchain: $blockchain
|
|
4098
|
+
address: $address
|
|
4099
|
+
tokenId: $tokenId
|
|
4100
|
+
elrondId: $elrondId
|
|
4101
|
+
) {
|
|
4102
|
+
assetId
|
|
4103
|
+
blockchain
|
|
4104
|
+
blockchainLabel
|
|
4105
|
+
address
|
|
4106
|
+
tokenId
|
|
4107
|
+
collection
|
|
4108
|
+
id
|
|
4109
|
+
chainId
|
|
4110
|
+
blockHeight
|
|
4111
|
+
blockTimestamp
|
|
4112
|
+
name
|
|
4113
|
+
description
|
|
4114
|
+
originalUrls
|
|
4115
|
+
medias {
|
|
4116
|
+
originalUrl
|
|
4117
|
+
url
|
|
4118
|
+
previewUrl
|
|
4119
|
+
mimeType
|
|
4120
|
+
sizeRatio
|
|
4121
|
+
fileSize
|
|
4122
|
+
nsfw
|
|
4123
|
+
originalMime
|
|
4124
|
+
hidden
|
|
4125
|
+
cover
|
|
4126
|
+
}
|
|
4127
|
+
ownersAddresses
|
|
4128
|
+
ownersProfiles {
|
|
4129
|
+
userId
|
|
4130
|
+
username
|
|
4131
|
+
about
|
|
4132
|
+
userpic
|
|
4133
|
+
followers
|
|
4134
|
+
followings
|
|
4135
|
+
createdAt
|
|
4136
|
+
deletedAt
|
|
4137
|
+
visible
|
|
4138
|
+
views
|
|
4139
|
+
deleted
|
|
4140
|
+
}
|
|
4141
|
+
creatorsAddresses
|
|
4142
|
+
creatorsProfiles {
|
|
4143
|
+
userId
|
|
4144
|
+
username
|
|
4145
|
+
about
|
|
4146
|
+
userpic
|
|
4147
|
+
followers
|
|
4148
|
+
followings
|
|
4149
|
+
createdAt
|
|
4150
|
+
deletedAt
|
|
4151
|
+
visible
|
|
4152
|
+
views
|
|
4153
|
+
deleted
|
|
4154
|
+
}
|
|
4155
|
+
attributes {
|
|
4156
|
+
name
|
|
4157
|
+
value
|
|
4158
|
+
}
|
|
4159
|
+
likes
|
|
4160
|
+
liked
|
|
4161
|
+
views
|
|
4162
|
+
visible
|
|
4163
|
+
createdAt
|
|
4164
|
+
blurred
|
|
4165
|
+
rank
|
|
4166
|
+
trueRank
|
|
4167
|
+
rankRaw
|
|
4168
|
+
rankMax
|
|
4169
|
+
rankUpdatedAt
|
|
4170
|
+
collectionId
|
|
4171
|
+
collectionTitle
|
|
4172
|
+
collectionOriginalUrls
|
|
4173
|
+
collectionMedias {
|
|
4174
|
+
originalUrl
|
|
4175
|
+
url
|
|
4176
|
+
previewUrl
|
|
4177
|
+
mimeType
|
|
4178
|
+
sizeRatio
|
|
4179
|
+
fileSize
|
|
4180
|
+
nsfw
|
|
4181
|
+
originalMime
|
|
4182
|
+
hidden
|
|
4183
|
+
cover
|
|
4184
|
+
}
|
|
4185
|
+
markets {
|
|
4186
|
+
marketId
|
|
4187
|
+
marketName
|
|
4188
|
+
marketDomain
|
|
4189
|
+
marketUrl
|
|
4190
|
+
}
|
|
4191
|
+
latestPriceBlockHeight
|
|
4192
|
+
latestPriceCurrency
|
|
4193
|
+
latestPriceAmount
|
|
4194
|
+
totalVolumes {
|
|
4195
|
+
currency
|
|
4196
|
+
amount
|
|
4197
|
+
}
|
|
4198
|
+
category
|
|
4199
|
+
categoryLabel
|
|
4200
|
+
}
|
|
4201
|
+
}
|
|
4202
|
+
`;
|
|
4203
|
+
/**
|
|
4204
|
+
* __useFetchAssetByBlockchainQuery__
|
|
4205
|
+
*
|
|
4206
|
+
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
4207
|
+
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4208
|
+
* you can use to render your UI.
|
|
4209
|
+
*
|
|
4210
|
+
* @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;
|
|
4211
|
+
*
|
|
4212
|
+
* @example
|
|
4213
|
+
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
4214
|
+
* variables: {
|
|
4215
|
+
* blockchain: // value for 'blockchain'
|
|
4216
|
+
* address: // value for 'address'
|
|
4217
|
+
* tokenId: // value for 'tokenId'
|
|
4218
|
+
* elrondId: // value for 'elrondId'
|
|
4219
|
+
* },
|
|
4220
|
+
* });
|
|
4221
|
+
*/
|
|
4222
|
+
function useFetchAssetByBlockchainQuery(baseOptions) {
|
|
4223
|
+
return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
4224
|
+
}
|
|
4225
|
+
exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
|
|
4226
|
+
function useFetchAssetByBlockchainLazyQuery(baseOptions) {
|
|
4227
|
+
return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
4228
|
+
}
|
|
4229
|
+
exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
|
|
4230
|
+
exports.FetchAssetsDocument = (0, client_1.gql) `
|
|
4231
|
+
query FetchAssets($assetIds: [String!]!) {
|
|
4232
|
+
fetchAssets(assetIds: $assetIds) {
|
|
4233
|
+
latestPriceCurrency
|
|
4234
|
+
latestPriceAmount
|
|
4235
|
+
collectionId
|
|
4236
|
+
collectionOriginalUrls
|
|
4237
|
+
collectionTitle
|
|
4238
|
+
assetId
|
|
4239
|
+
totalVolumes {
|
|
4240
|
+
currency
|
|
4241
|
+
amount
|
|
4242
|
+
}
|
|
4243
|
+
blockchain
|
|
4244
|
+
address
|
|
4245
|
+
tokenId
|
|
4246
|
+
name
|
|
4247
|
+
description
|
|
4248
|
+
rank
|
|
4249
|
+
markets {
|
|
4250
|
+
marketId
|
|
4251
|
+
marketName
|
|
4252
|
+
marketDomain
|
|
4253
|
+
marketUrl
|
|
4254
|
+
}
|
|
4255
|
+
collectionMedias {
|
|
4256
|
+
originalUrl
|
|
4257
|
+
url
|
|
4258
|
+
previewUrl
|
|
4259
|
+
mimeType
|
|
4260
|
+
sizeRatio
|
|
4261
|
+
fileSize
|
|
4262
|
+
}
|
|
4263
|
+
originalUrls
|
|
4264
|
+
medias {
|
|
4265
|
+
originalUrl
|
|
4266
|
+
url
|
|
4267
|
+
mimeType
|
|
4268
|
+
sizeRatio
|
|
4269
|
+
fileSize
|
|
4270
|
+
previewUrl
|
|
4271
|
+
}
|
|
4272
|
+
ownersAddresses
|
|
4273
|
+
ownersProfiles {
|
|
4274
|
+
userId
|
|
4275
|
+
username
|
|
4276
|
+
about
|
|
4277
|
+
userpic
|
|
4278
|
+
followers
|
|
4279
|
+
followings
|
|
4280
|
+
visible
|
|
4281
|
+
}
|
|
4282
|
+
creatorsAddresses
|
|
4283
|
+
creatorsProfiles {
|
|
4284
|
+
userId
|
|
4285
|
+
username
|
|
4286
|
+
about
|
|
4287
|
+
userpic
|
|
4288
|
+
followers
|
|
4289
|
+
followings
|
|
4290
|
+
visible
|
|
4291
|
+
}
|
|
4292
|
+
attributes {
|
|
4293
|
+
name
|
|
4294
|
+
value
|
|
4295
|
+
}
|
|
4296
|
+
views
|
|
4297
|
+
visible
|
|
4298
|
+
blurred
|
|
4299
|
+
medias {
|
|
4300
|
+
originalUrl
|
|
4301
|
+
url
|
|
4302
|
+
previewUrl
|
|
4303
|
+
mimeType
|
|
4304
|
+
}
|
|
4305
|
+
creatorsProfiles {
|
|
4306
|
+
username
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
}
|
|
4310
|
+
`;
|
|
4311
|
+
/**
|
|
4312
|
+
* __useFetchAssetsQuery__
|
|
4313
|
+
*
|
|
4314
|
+
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
4315
|
+
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4316
|
+
* you can use to render your UI.
|
|
4317
|
+
*
|
|
4318
|
+
* @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;
|
|
4319
|
+
*
|
|
4320
|
+
* @example
|
|
4321
|
+
* const { data, loading, error } = useFetchAssetsQuery({
|
|
4322
|
+
* variables: {
|
|
4323
|
+
* assetIds: // value for 'assetIds'
|
|
4324
|
+
* },
|
|
4325
|
+
* });
|
|
4326
|
+
*/
|
|
4327
|
+
function useFetchAssetsQuery(baseOptions) {
|
|
4328
|
+
return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
|
|
4329
|
+
}
|
|
4330
|
+
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
4331
|
+
function useFetchAssetsLazyQuery(baseOptions) {
|
|
4332
|
+
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
4333
|
+
}
|
|
4334
|
+
exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
|
|
4382
4335
|
exports.FetchAssetsCountDocument = (0, client_1.gql) `
|
|
4383
4336
|
query FetchAssetsCount {
|
|
4384
4337
|
fetchAssetsCount
|
|
@@ -4516,6 +4469,71 @@ function useFetchCreationsByTypeLazyQuery(baseOptions) {
|
|
|
4516
4469
|
return Apollo.useLazyQuery(exports.FetchCreationsByTypeDocument, baseOptions);
|
|
4517
4470
|
}
|
|
4518
4471
|
exports.useFetchCreationsByTypeLazyQuery = useFetchCreationsByTypeLazyQuery;
|
|
4472
|
+
exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
|
|
4473
|
+
query FetchDynamicAssetLikes($assetId: String!) {
|
|
4474
|
+
fetchDynamicAssetData(assetId: $assetId) {
|
|
4475
|
+
isLikedByUser
|
|
4476
|
+
likesNum
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
`;
|
|
4480
|
+
/**
|
|
4481
|
+
* __useFetchDynamicAssetLikesQuery__
|
|
4482
|
+
*
|
|
4483
|
+
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
4484
|
+
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4485
|
+
* you can use to render your UI.
|
|
4486
|
+
*
|
|
4487
|
+
* @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;
|
|
4488
|
+
*
|
|
4489
|
+
* @example
|
|
4490
|
+
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
4491
|
+
* variables: {
|
|
4492
|
+
* assetId: // value for 'assetId'
|
|
4493
|
+
* },
|
|
4494
|
+
* });
|
|
4495
|
+
*/
|
|
4496
|
+
function useFetchDynamicAssetLikesQuery(baseOptions) {
|
|
4497
|
+
return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
4498
|
+
}
|
|
4499
|
+
exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
|
|
4500
|
+
function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
|
|
4501
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
4502
|
+
}
|
|
4503
|
+
exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
|
|
4504
|
+
exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
|
|
4505
|
+
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
4506
|
+
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
4507
|
+
isLikedByUser
|
|
4508
|
+
likesNum
|
|
4509
|
+
assetId
|
|
4510
|
+
}
|
|
4511
|
+
}
|
|
4512
|
+
`;
|
|
4513
|
+
/**
|
|
4514
|
+
* __useFetchDynamicAssetsLikesQuery__
|
|
4515
|
+
*
|
|
4516
|
+
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
4517
|
+
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4518
|
+
* you can use to render your UI.
|
|
4519
|
+
*
|
|
4520
|
+
* @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;
|
|
4521
|
+
*
|
|
4522
|
+
* @example
|
|
4523
|
+
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
4524
|
+
* variables: {
|
|
4525
|
+
* assetIds: // value for 'assetIds'
|
|
4526
|
+
* },
|
|
4527
|
+
* });
|
|
4528
|
+
*/
|
|
4529
|
+
function useFetchDynamicAssetsLikesQuery(baseOptions) {
|
|
4530
|
+
return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4531
|
+
}
|
|
4532
|
+
exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
|
|
4533
|
+
function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
4534
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4535
|
+
}
|
|
4536
|
+
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
4519
4537
|
exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
4520
4538
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
4521
4539
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|