@ludo.ninja/api 2.8.3 → 2.8.5
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.
- package/build/cookies/index.d.ts +4 -2
- package/build/cookies/index.js +14 -5
- package/build/graphql_tools/__generated__/schema.d.ts +177 -159
- package/build/graphql_tools/__generated__/schema.js +385 -369
- package/package.json +1 -1
- package/src/cookies/index.ts +14 -4
- package/src/graphql_tools/__generated__/schema.ts +563 -524
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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");
|
|
@@ -591,296 +591,6 @@ function useFetchAssetLazyQuery(baseOptions) {
|
|
|
591
591
|
return Apollo.useLazyQuery(exports.FetchAssetDocument, baseOptions);
|
|
592
592
|
}
|
|
593
593
|
exports.useFetchAssetLazyQuery = useFetchAssetLazyQuery;
|
|
594
|
-
exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
595
|
-
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
596
|
-
fetchAssetByBlockchain(
|
|
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
|
-
}
|
|
685
|
-
}
|
|
686
|
-
`;
|
|
687
|
-
/**
|
|
688
|
-
* __useFetchAssetByBlockchainQuery__
|
|
689
|
-
*
|
|
690
|
-
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
691
|
-
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
692
|
-
* you can use to render your UI.
|
|
693
|
-
*
|
|
694
|
-
* @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
|
-
*
|
|
696
|
-
* @example
|
|
697
|
-
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
698
|
-
* variables: {
|
|
699
|
-
* blockchain: // value for 'blockchain'
|
|
700
|
-
* address: // value for 'address'
|
|
701
|
-
* tokenId: // value for 'tokenId'
|
|
702
|
-
* elrondId: // value for 'elrondId'
|
|
703
|
-
* },
|
|
704
|
-
* });
|
|
705
|
-
*/
|
|
706
|
-
function useFetchAssetByBlockchainQuery(baseOptions) {
|
|
707
|
-
return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
708
|
-
}
|
|
709
|
-
exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
|
|
710
|
-
function useFetchAssetByBlockchainLazyQuery(baseOptions) {
|
|
711
|
-
return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
712
|
-
}
|
|
713
|
-
exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
|
|
714
|
-
exports.FetchAssetsDocument = (0, client_1.gql) `
|
|
715
|
-
query FetchAssets($assetIds: [String!]!) {
|
|
716
|
-
fetchAssets(assetIds: $assetIds) {
|
|
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
|
-
}
|
|
793
|
-
}
|
|
794
|
-
`;
|
|
795
|
-
/**
|
|
796
|
-
* __useFetchAssetsQuery__
|
|
797
|
-
*
|
|
798
|
-
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
799
|
-
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
800
|
-
* you can use to render your UI.
|
|
801
|
-
*
|
|
802
|
-
* @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;
|
|
803
|
-
*
|
|
804
|
-
* @example
|
|
805
|
-
* const { data, loading, error } = useFetchAssetsQuery({
|
|
806
|
-
* variables: {
|
|
807
|
-
* assetIds: // value for 'assetIds'
|
|
808
|
-
* },
|
|
809
|
-
* });
|
|
810
|
-
*/
|
|
811
|
-
function useFetchAssetsQuery(baseOptions) {
|
|
812
|
-
return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
|
|
813
|
-
}
|
|
814
|
-
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
815
|
-
function useFetchAssetsLazyQuery(baseOptions) {
|
|
816
|
-
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
817
|
-
}
|
|
818
|
-
exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
|
|
819
|
-
exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
|
|
820
|
-
query FetchDynamicAssetLikes($assetId: String!) {
|
|
821
|
-
fetchDynamicAssetData(assetId: $assetId) {
|
|
822
|
-
isLikedByUser
|
|
823
|
-
likesNum
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
`;
|
|
827
|
-
/**
|
|
828
|
-
* __useFetchDynamicAssetLikesQuery__
|
|
829
|
-
*
|
|
830
|
-
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
831
|
-
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
832
|
-
* you can use to render your UI.
|
|
833
|
-
*
|
|
834
|
-
* @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;
|
|
835
|
-
*
|
|
836
|
-
* @example
|
|
837
|
-
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
838
|
-
* variables: {
|
|
839
|
-
* assetId: // value for 'assetId'
|
|
840
|
-
* },
|
|
841
|
-
* });
|
|
842
|
-
*/
|
|
843
|
-
function useFetchDynamicAssetLikesQuery(baseOptions) {
|
|
844
|
-
return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
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
594
|
exports.FetchLikedDocument = (0, client_1.gql) `
|
|
885
595
|
query FetchLiked($assetId: String!) {
|
|
886
596
|
fetchLiked(assetId: $assetId)
|
|
@@ -4273,112 +3983,353 @@ exports.FetchSearchResultStatusSelectionsDocument = (0, client_1.gql) `
|
|
|
4273
3983
|
}
|
|
4274
3984
|
`;
|
|
4275
3985
|
/**
|
|
4276
|
-
* __useFetchSearchResultStatusSelectionsQuery__
|
|
3986
|
+
* __useFetchSearchResultStatusSelectionsQuery__
|
|
3987
|
+
*
|
|
3988
|
+
* To run a query within a React component, call `useFetchSearchResultStatusSelectionsQuery` and pass it any options that fit your needs.
|
|
3989
|
+
* When your component renders, `useFetchSearchResultStatusSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3990
|
+
* you can use to render your UI.
|
|
3991
|
+
*
|
|
3992
|
+
* @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;
|
|
3993
|
+
*
|
|
3994
|
+
* @example
|
|
3995
|
+
* const { data, loading, error } = useFetchSearchResultStatusSelectionsQuery({
|
|
3996
|
+
* variables: {
|
|
3997
|
+
* },
|
|
3998
|
+
* });
|
|
3999
|
+
*/
|
|
4000
|
+
function useFetchSearchResultStatusSelectionsQuery(baseOptions) {
|
|
4001
|
+
return Apollo.useQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
4002
|
+
}
|
|
4003
|
+
exports.useFetchSearchResultStatusSelectionsQuery = useFetchSearchResultStatusSelectionsQuery;
|
|
4004
|
+
function useFetchSearchResultStatusSelectionsLazyQuery(baseOptions) {
|
|
4005
|
+
return Apollo.useLazyQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
4006
|
+
}
|
|
4007
|
+
exports.useFetchSearchResultStatusSelectionsLazyQuery = useFetchSearchResultStatusSelectionsLazyQuery;
|
|
4008
|
+
exports.FetchSetsSearchResultTypeSelectionsDocument = (0, client_1.gql) `
|
|
4009
|
+
query FetchSetsSearchResultTypeSelections {
|
|
4010
|
+
fetchSetsSearchResultTypeSelections {
|
|
4011
|
+
name
|
|
4012
|
+
label
|
|
4013
|
+
}
|
|
4014
|
+
}
|
|
4015
|
+
`;
|
|
4016
|
+
/**
|
|
4017
|
+
* __useFetchSetsSearchResultTypeSelectionsQuery__
|
|
4018
|
+
*
|
|
4019
|
+
* To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
|
|
4020
|
+
* When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4021
|
+
* you can use to render your UI.
|
|
4022
|
+
*
|
|
4023
|
+
* @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;
|
|
4024
|
+
*
|
|
4025
|
+
* @example
|
|
4026
|
+
* const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
|
|
4027
|
+
* variables: {
|
|
4028
|
+
* },
|
|
4029
|
+
* });
|
|
4030
|
+
*/
|
|
4031
|
+
function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions) {
|
|
4032
|
+
return Apollo.useQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
4033
|
+
}
|
|
4034
|
+
exports.useFetchSetsSearchResultTypeSelectionsQuery = useFetchSetsSearchResultTypeSelectionsQuery;
|
|
4035
|
+
function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
|
|
4036
|
+
return Apollo.useLazyQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
4037
|
+
}
|
|
4038
|
+
exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
|
|
4039
|
+
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
4040
|
+
query FetchAllCreations($page: PageInput) {
|
|
4041
|
+
fetchAllCreations(page: $page) {
|
|
4042
|
+
nextPage {
|
|
4043
|
+
token
|
|
4044
|
+
num
|
|
4045
|
+
size
|
|
4046
|
+
elements
|
|
4047
|
+
}
|
|
4048
|
+
creations {
|
|
4049
|
+
id
|
|
4050
|
+
itemType
|
|
4051
|
+
itemId
|
|
4052
|
+
blockchain
|
|
4053
|
+
rank
|
|
4054
|
+
address
|
|
4055
|
+
liked
|
|
4056
|
+
likes
|
|
4057
|
+
tokenId
|
|
4058
|
+
name
|
|
4059
|
+
creatorsAddresses
|
|
4060
|
+
originalUrls
|
|
4061
|
+
media
|
|
4062
|
+
mediaPreview
|
|
4063
|
+
mimeType
|
|
4064
|
+
}
|
|
4065
|
+
}
|
|
4066
|
+
}
|
|
4067
|
+
`;
|
|
4068
|
+
/**
|
|
4069
|
+
* __useFetchAllCreationsQuery__
|
|
4070
|
+
*
|
|
4071
|
+
* To run a query within a React component, call `useFetchAllCreationsQuery` and pass it any options that fit your needs.
|
|
4072
|
+
* When your component renders, `useFetchAllCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4073
|
+
* you can use to render your UI.
|
|
4074
|
+
*
|
|
4075
|
+
* @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;
|
|
4076
|
+
*
|
|
4077
|
+
* @example
|
|
4078
|
+
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
4079
|
+
* variables: {
|
|
4080
|
+
* page: // value for 'page'
|
|
4081
|
+
* },
|
|
4082
|
+
* });
|
|
4083
|
+
*/
|
|
4084
|
+
function useFetchAllCreationsQuery(baseOptions) {
|
|
4085
|
+
return Apollo.useQuery(exports.FetchAllCreationsDocument, baseOptions);
|
|
4086
|
+
}
|
|
4087
|
+
exports.useFetchAllCreationsQuery = useFetchAllCreationsQuery;
|
|
4088
|
+
function useFetchAllCreationsLazyQuery(baseOptions) {
|
|
4089
|
+
return Apollo.useLazyQuery(exports.FetchAllCreationsDocument, baseOptions);
|
|
4090
|
+
}
|
|
4091
|
+
exports.useFetchAllCreationsLazyQuery = useFetchAllCreationsLazyQuery;
|
|
4092
|
+
exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
4093
|
+
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
4094
|
+
fetchAssetByBlockchain(
|
|
4095
|
+
blockchain: $blockchain
|
|
4096
|
+
address: $address
|
|
4097
|
+
tokenId: $tokenId
|
|
4098
|
+
elrondId: $elrondId
|
|
4099
|
+
) {
|
|
4100
|
+
assetId
|
|
4101
|
+
blockchain
|
|
4102
|
+
blockchainLabel
|
|
4103
|
+
address
|
|
4104
|
+
tokenId
|
|
4105
|
+
collection
|
|
4106
|
+
id
|
|
4107
|
+
chainId
|
|
4108
|
+
blockHeight
|
|
4109
|
+
blockTimestamp
|
|
4110
|
+
name
|
|
4111
|
+
description
|
|
4112
|
+
originalUrls
|
|
4113
|
+
medias {
|
|
4114
|
+
originalUrl
|
|
4115
|
+
url
|
|
4116
|
+
previewUrl
|
|
4117
|
+
mimeType
|
|
4118
|
+
sizeRatio
|
|
4119
|
+
fileSize
|
|
4120
|
+
nsfw
|
|
4121
|
+
originalMime
|
|
4122
|
+
hidden
|
|
4123
|
+
cover
|
|
4124
|
+
}
|
|
4125
|
+
ownersAddresses
|
|
4126
|
+
ownersProfiles {
|
|
4127
|
+
userId
|
|
4128
|
+
username
|
|
4129
|
+
about
|
|
4130
|
+
userpic
|
|
4131
|
+
followers
|
|
4132
|
+
followings
|
|
4133
|
+
createdAt
|
|
4134
|
+
deletedAt
|
|
4135
|
+
visible
|
|
4136
|
+
views
|
|
4137
|
+
deleted
|
|
4138
|
+
}
|
|
4139
|
+
creatorsAddresses
|
|
4140
|
+
creatorsProfiles {
|
|
4141
|
+
userId
|
|
4142
|
+
username
|
|
4143
|
+
about
|
|
4144
|
+
userpic
|
|
4145
|
+
followers
|
|
4146
|
+
followings
|
|
4147
|
+
createdAt
|
|
4148
|
+
deletedAt
|
|
4149
|
+
visible
|
|
4150
|
+
views
|
|
4151
|
+
deleted
|
|
4152
|
+
}
|
|
4153
|
+
attributes {
|
|
4154
|
+
name
|
|
4155
|
+
value
|
|
4156
|
+
}
|
|
4157
|
+
likes
|
|
4158
|
+
liked
|
|
4159
|
+
views
|
|
4160
|
+
visible
|
|
4161
|
+
createdAt
|
|
4162
|
+
blurred
|
|
4163
|
+
rank
|
|
4164
|
+
trueRank
|
|
4165
|
+
rankRaw
|
|
4166
|
+
rankMax
|
|
4167
|
+
rankUpdatedAt
|
|
4168
|
+
collectionId
|
|
4169
|
+
collectionTitle
|
|
4170
|
+
collectionOriginalUrls
|
|
4171
|
+
collectionMedias {
|
|
4172
|
+
originalUrl
|
|
4173
|
+
url
|
|
4174
|
+
previewUrl
|
|
4175
|
+
mimeType
|
|
4176
|
+
sizeRatio
|
|
4177
|
+
fileSize
|
|
4178
|
+
nsfw
|
|
4179
|
+
originalMime
|
|
4180
|
+
hidden
|
|
4181
|
+
cover
|
|
4182
|
+
}
|
|
4183
|
+
markets {
|
|
4184
|
+
marketId
|
|
4185
|
+
marketName
|
|
4186
|
+
marketDomain
|
|
4187
|
+
marketUrl
|
|
4188
|
+
}
|
|
4189
|
+
latestPriceBlockHeight
|
|
4190
|
+
latestPriceCurrency
|
|
4191
|
+
latestPriceAmount
|
|
4192
|
+
totalVolumes {
|
|
4193
|
+
currency
|
|
4194
|
+
amount
|
|
4195
|
+
}
|
|
4196
|
+
category
|
|
4197
|
+
categoryLabel
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
`;
|
|
4201
|
+
/**
|
|
4202
|
+
* __useFetchAssetByBlockchainQuery__
|
|
4277
4203
|
*
|
|
4278
|
-
* To run a query within a React component, call `
|
|
4279
|
-
* When your component renders, `
|
|
4204
|
+
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
4205
|
+
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4280
4206
|
* you can use to render your UI.
|
|
4281
4207
|
*
|
|
4282
4208
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4283
4209
|
*
|
|
4284
4210
|
* @example
|
|
4285
|
-
* const { data, loading, error } =
|
|
4211
|
+
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
4286
4212
|
* variables: {
|
|
4213
|
+
* blockchain: // value for 'blockchain'
|
|
4214
|
+
* address: // value for 'address'
|
|
4215
|
+
* tokenId: // value for 'tokenId'
|
|
4216
|
+
* elrondId: // value for 'elrondId'
|
|
4287
4217
|
* },
|
|
4288
4218
|
* });
|
|
4289
4219
|
*/
|
|
4290
|
-
function
|
|
4291
|
-
return Apollo.useQuery(exports.
|
|
4220
|
+
function useFetchAssetByBlockchainQuery(baseOptions) {
|
|
4221
|
+
return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
4292
4222
|
}
|
|
4293
|
-
exports.
|
|
4294
|
-
function
|
|
4295
|
-
return Apollo.useLazyQuery(exports.
|
|
4223
|
+
exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
|
|
4224
|
+
function useFetchAssetByBlockchainLazyQuery(baseOptions) {
|
|
4225
|
+
return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
4296
4226
|
}
|
|
4297
|
-
exports.
|
|
4298
|
-
exports.
|
|
4299
|
-
query
|
|
4300
|
-
|
|
4227
|
+
exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
|
|
4228
|
+
exports.FetchAssetsDocument = (0, client_1.gql) `
|
|
4229
|
+
query FetchAssets($assetIds: [String!]!) {
|
|
4230
|
+
fetchAssets(assetIds: $assetIds) {
|
|
4231
|
+
latestPriceCurrency
|
|
4232
|
+
latestPriceAmount
|
|
4233
|
+
collectionId
|
|
4234
|
+
collectionOriginalUrls
|
|
4235
|
+
collectionTitle
|
|
4236
|
+
assetId
|
|
4237
|
+
totalVolumes {
|
|
4238
|
+
currency
|
|
4239
|
+
amount
|
|
4240
|
+
}
|
|
4241
|
+
blockchain
|
|
4242
|
+
address
|
|
4243
|
+
tokenId
|
|
4301
4244
|
name
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
* To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
|
|
4310
|
-
* When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4311
|
-
* you can use to render your UI.
|
|
4312
|
-
*
|
|
4313
|
-
* @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;
|
|
4314
|
-
*
|
|
4315
|
-
* @example
|
|
4316
|
-
* const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
|
|
4317
|
-
* variables: {
|
|
4318
|
-
* },
|
|
4319
|
-
* });
|
|
4320
|
-
*/
|
|
4321
|
-
function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions) {
|
|
4322
|
-
return Apollo.useQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
4323
|
-
}
|
|
4324
|
-
exports.useFetchSetsSearchResultTypeSelectionsQuery = useFetchSetsSearchResultTypeSelectionsQuery;
|
|
4325
|
-
function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
|
|
4326
|
-
return Apollo.useLazyQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
4327
|
-
}
|
|
4328
|
-
exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
|
|
4329
|
-
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
4330
|
-
query FetchAllCreations($page: PageInput) {
|
|
4331
|
-
fetchAllCreations(page: $page) {
|
|
4332
|
-
nextPage {
|
|
4333
|
-
token
|
|
4334
|
-
num
|
|
4335
|
-
size
|
|
4336
|
-
elements
|
|
4245
|
+
description
|
|
4246
|
+
rank
|
|
4247
|
+
markets {
|
|
4248
|
+
marketId
|
|
4249
|
+
marketName
|
|
4250
|
+
marketDomain
|
|
4251
|
+
marketUrl
|
|
4337
4252
|
}
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4253
|
+
collectionMedias {
|
|
4254
|
+
originalUrl
|
|
4255
|
+
url
|
|
4256
|
+
previewUrl
|
|
4257
|
+
mimeType
|
|
4258
|
+
sizeRatio
|
|
4259
|
+
fileSize
|
|
4260
|
+
}
|
|
4261
|
+
originalUrls
|
|
4262
|
+
medias {
|
|
4263
|
+
originalUrl
|
|
4264
|
+
url
|
|
4265
|
+
mimeType
|
|
4266
|
+
sizeRatio
|
|
4267
|
+
fileSize
|
|
4268
|
+
previewUrl
|
|
4269
|
+
}
|
|
4270
|
+
ownersAddresses
|
|
4271
|
+
ownersProfiles {
|
|
4272
|
+
userId
|
|
4273
|
+
username
|
|
4274
|
+
about
|
|
4275
|
+
userpic
|
|
4276
|
+
followers
|
|
4277
|
+
followings
|
|
4278
|
+
visible
|
|
4279
|
+
}
|
|
4280
|
+
creatorsAddresses
|
|
4281
|
+
creatorsProfiles {
|
|
4282
|
+
userId
|
|
4283
|
+
username
|
|
4284
|
+
about
|
|
4285
|
+
userpic
|
|
4286
|
+
followers
|
|
4287
|
+
followings
|
|
4288
|
+
visible
|
|
4289
|
+
}
|
|
4290
|
+
attributes {
|
|
4348
4291
|
name
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4292
|
+
value
|
|
4293
|
+
}
|
|
4294
|
+
views
|
|
4295
|
+
visible
|
|
4296
|
+
blurred
|
|
4297
|
+
medias {
|
|
4298
|
+
originalUrl
|
|
4299
|
+
url
|
|
4300
|
+
previewUrl
|
|
4353
4301
|
mimeType
|
|
4354
4302
|
}
|
|
4303
|
+
creatorsProfiles {
|
|
4304
|
+
username
|
|
4305
|
+
}
|
|
4355
4306
|
}
|
|
4356
4307
|
}
|
|
4357
4308
|
`;
|
|
4358
4309
|
/**
|
|
4359
|
-
*
|
|
4310
|
+
* __useFetchAssetsQuery__
|
|
4360
4311
|
*
|
|
4361
|
-
* To run a query within a React component, call `
|
|
4362
|
-
* When your component renders, `
|
|
4312
|
+
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
4313
|
+
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4363
4314
|
* you can use to render your UI.
|
|
4364
4315
|
*
|
|
4365
4316
|
* @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;
|
|
4366
4317
|
*
|
|
4367
4318
|
* @example
|
|
4368
|
-
* const { data, loading, error } =
|
|
4319
|
+
* const { data, loading, error } = useFetchAssetsQuery({
|
|
4369
4320
|
* variables: {
|
|
4370
|
-
*
|
|
4321
|
+
* assetIds: // value for 'assetIds'
|
|
4371
4322
|
* },
|
|
4372
4323
|
* });
|
|
4373
4324
|
*/
|
|
4374
|
-
function
|
|
4375
|
-
return Apollo.useQuery(exports.
|
|
4325
|
+
function useFetchAssetsQuery(baseOptions) {
|
|
4326
|
+
return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
|
|
4376
4327
|
}
|
|
4377
|
-
exports.
|
|
4378
|
-
function
|
|
4379
|
-
return Apollo.useLazyQuery(exports.
|
|
4328
|
+
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
4329
|
+
function useFetchAssetsLazyQuery(baseOptions) {
|
|
4330
|
+
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
4380
4331
|
}
|
|
4381
|
-
exports.
|
|
4332
|
+
exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
|
|
4382
4333
|
exports.FetchAssetsCountDocument = (0, client_1.gql) `
|
|
4383
4334
|
query FetchAssetsCount {
|
|
4384
4335
|
fetchAssetsCount
|
|
@@ -4516,6 +4467,71 @@ function useFetchCreationsByTypeLazyQuery(baseOptions) {
|
|
|
4516
4467
|
return Apollo.useLazyQuery(exports.FetchCreationsByTypeDocument, baseOptions);
|
|
4517
4468
|
}
|
|
4518
4469
|
exports.useFetchCreationsByTypeLazyQuery = useFetchCreationsByTypeLazyQuery;
|
|
4470
|
+
exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
|
|
4471
|
+
query FetchDynamicAssetLikes($assetId: String!) {
|
|
4472
|
+
fetchDynamicAssetData(assetId: $assetId) {
|
|
4473
|
+
isLikedByUser
|
|
4474
|
+
likesNum
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4477
|
+
`;
|
|
4478
|
+
/**
|
|
4479
|
+
* __useFetchDynamicAssetLikesQuery__
|
|
4480
|
+
*
|
|
4481
|
+
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
4482
|
+
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4483
|
+
* you can use to render your UI.
|
|
4484
|
+
*
|
|
4485
|
+
* @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;
|
|
4486
|
+
*
|
|
4487
|
+
* @example
|
|
4488
|
+
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
4489
|
+
* variables: {
|
|
4490
|
+
* assetId: // value for 'assetId'
|
|
4491
|
+
* },
|
|
4492
|
+
* });
|
|
4493
|
+
*/
|
|
4494
|
+
function useFetchDynamicAssetLikesQuery(baseOptions) {
|
|
4495
|
+
return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
4496
|
+
}
|
|
4497
|
+
exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
|
|
4498
|
+
function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
|
|
4499
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
4500
|
+
}
|
|
4501
|
+
exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
|
|
4502
|
+
exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
|
|
4503
|
+
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
4504
|
+
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
4505
|
+
isLikedByUser
|
|
4506
|
+
likesNum
|
|
4507
|
+
assetId
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
`;
|
|
4511
|
+
/**
|
|
4512
|
+
* __useFetchDynamicAssetsLikesQuery__
|
|
4513
|
+
*
|
|
4514
|
+
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
4515
|
+
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4516
|
+
* you can use to render your UI.
|
|
4517
|
+
*
|
|
4518
|
+
* @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;
|
|
4519
|
+
*
|
|
4520
|
+
* @example
|
|
4521
|
+
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
4522
|
+
* variables: {
|
|
4523
|
+
* assetIds: // value for 'assetIds'
|
|
4524
|
+
* },
|
|
4525
|
+
* });
|
|
4526
|
+
*/
|
|
4527
|
+
function useFetchDynamicAssetsLikesQuery(baseOptions) {
|
|
4528
|
+
return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4529
|
+
}
|
|
4530
|
+
exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
|
|
4531
|
+
function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
4532
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4533
|
+
}
|
|
4534
|
+
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
4519
4535
|
exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
4520
4536
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
4521
4537
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|