@ludo.ninja/api 2.8.8 → 2.8.10
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,13 +23,13 @@ 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.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = exports.FetchWalletRanksDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useOnMyExperienceIncrementedSubscription = exports.OnMyExperienceIncrementedDocument = exports.useOnInviteCodeUsedSubscription = exports.OnInviteCodeUsedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery =
|
|
28
|
-
exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation =
|
|
29
|
-
exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery =
|
|
30
|
-
exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument =
|
|
31
|
-
exports.
|
|
32
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = void 0;
|
|
26
|
+
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 = 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.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = exports.IRole = void 0;
|
|
27
|
+
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 = 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 = void 0;
|
|
28
|
+
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 = 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 = void 0;
|
|
29
|
+
exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = 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 = void 0;
|
|
30
|
+
exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = 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 = void 0;
|
|
31
|
+
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.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = void 0;
|
|
32
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = void 0;
|
|
33
33
|
/* eslint-disable */
|
|
34
34
|
const client_1 = require("@apollo/client");
|
|
35
35
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -70,6 +70,87 @@ function useChangeXpPointsMutation(baseOptions) {
|
|
|
70
70
|
return Apollo.useMutation(exports.ChangeXpPointsDocument, baseOptions);
|
|
71
71
|
}
|
|
72
72
|
exports.useChangeXpPointsMutation = useChangeXpPointsMutation;
|
|
73
|
+
exports.CreateCategoryDocument = (0, client_1.gql) `
|
|
74
|
+
mutation CreateCategory($name: String!, $matchingWords: [String!]!) {
|
|
75
|
+
createCategory(name: $name, matchingWords: $matchingWords)
|
|
76
|
+
}
|
|
77
|
+
`;
|
|
78
|
+
/**
|
|
79
|
+
* __useCreateCategoryMutation__
|
|
80
|
+
*
|
|
81
|
+
* To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
|
|
82
|
+
* When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
|
|
83
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
84
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
85
|
+
*
|
|
86
|
+
* @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;
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
|
|
90
|
+
* variables: {
|
|
91
|
+
* name: // value for 'name'
|
|
92
|
+
* matchingWords: // value for 'matchingWords'
|
|
93
|
+
* },
|
|
94
|
+
* });
|
|
95
|
+
*/
|
|
96
|
+
function useCreateCategoryMutation(baseOptions) {
|
|
97
|
+
return Apollo.useMutation(exports.CreateCategoryDocument, baseOptions);
|
|
98
|
+
}
|
|
99
|
+
exports.useCreateCategoryMutation = useCreateCategoryMutation;
|
|
100
|
+
exports.CreateBrandDocument = (0, client_1.gql) `
|
|
101
|
+
mutation CreateBrand($brand: BrandInput!, $file: Upload) {
|
|
102
|
+
createBrand(brand: $brand, file: $file)
|
|
103
|
+
}
|
|
104
|
+
`;
|
|
105
|
+
/**
|
|
106
|
+
* __useCreateBrandMutation__
|
|
107
|
+
*
|
|
108
|
+
* To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
|
|
109
|
+
* When your component renders, `useCreateBrandMutation` returns a tuple that includes:
|
|
110
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
111
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
112
|
+
*
|
|
113
|
+
* @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;
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
|
|
117
|
+
* variables: {
|
|
118
|
+
* brand: // value for 'brand'
|
|
119
|
+
* file: // value for 'file'
|
|
120
|
+
* },
|
|
121
|
+
* });
|
|
122
|
+
*/
|
|
123
|
+
function useCreateBrandMutation(baseOptions) {
|
|
124
|
+
return Apollo.useMutation(exports.CreateBrandDocument, baseOptions);
|
|
125
|
+
}
|
|
126
|
+
exports.useCreateBrandMutation = useCreateBrandMutation;
|
|
127
|
+
exports.CreateAdminOpportunityDocument = (0, client_1.gql) `
|
|
128
|
+
mutation createAdminOpportunity($file: Upload, $input: OpportunityInput!) {
|
|
129
|
+
createAdminOpportunity(file: $file, input: $input)
|
|
130
|
+
}
|
|
131
|
+
`;
|
|
132
|
+
/**
|
|
133
|
+
* __useCreateAdminOpportunityMutation__
|
|
134
|
+
*
|
|
135
|
+
* To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
136
|
+
* When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
|
|
137
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
138
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
139
|
+
*
|
|
140
|
+
* @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;
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
|
|
144
|
+
* variables: {
|
|
145
|
+
* file: // value for 'file'
|
|
146
|
+
* input: // value for 'input'
|
|
147
|
+
* },
|
|
148
|
+
* });
|
|
149
|
+
*/
|
|
150
|
+
function useCreateAdminOpportunityMutation(baseOptions) {
|
|
151
|
+
return Apollo.useMutation(exports.CreateAdminOpportunityDocument, baseOptions);
|
|
152
|
+
}
|
|
153
|
+
exports.useCreateAdminOpportunityMutation = useCreateAdminOpportunityMutation;
|
|
73
154
|
exports.AddInviteCodesDocument = (0, client_1.gql) `
|
|
74
155
|
mutation AddInviteCodes($userId: String!, $codesNum: Int!) {
|
|
75
156
|
addInviteCodes(userId: $userId, codesNum: $codesNum)
|
|
@@ -674,68 +755,6 @@ function useLikeCollectionMutation(baseOptions) {
|
|
|
674
755
|
return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
|
|
675
756
|
}
|
|
676
757
|
exports.useLikeCollectionMutation = useLikeCollectionMutation;
|
|
677
|
-
exports.FetchCollectionDocument = (0, client_1.gql) `
|
|
678
|
-
query fetchCollection($collectionId: String!) {
|
|
679
|
-
fetchCollection(collectionId: $collectionId) {
|
|
680
|
-
collectionId
|
|
681
|
-
blockchain
|
|
682
|
-
identifier
|
|
683
|
-
contractAddress
|
|
684
|
-
tokenId
|
|
685
|
-
collectionTitle
|
|
686
|
-
items
|
|
687
|
-
owners
|
|
688
|
-
totalVolumes {
|
|
689
|
-
currency
|
|
690
|
-
amount
|
|
691
|
-
}
|
|
692
|
-
likes
|
|
693
|
-
liked
|
|
694
|
-
collectionMarkets {
|
|
695
|
-
marketId
|
|
696
|
-
marketName
|
|
697
|
-
marketDomain
|
|
698
|
-
marketUrl
|
|
699
|
-
}
|
|
700
|
-
creatorsAddresses
|
|
701
|
-
creatorsProfiles {
|
|
702
|
-
username
|
|
703
|
-
userpic
|
|
704
|
-
}
|
|
705
|
-
verified
|
|
706
|
-
originalUrls
|
|
707
|
-
rank
|
|
708
|
-
floorPrices {
|
|
709
|
-
currency
|
|
710
|
-
amount
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
`;
|
|
715
|
-
/**
|
|
716
|
-
* __useFetchCollectionQuery__
|
|
717
|
-
*
|
|
718
|
-
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
719
|
-
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
720
|
-
* you can use to render your UI.
|
|
721
|
-
*
|
|
722
|
-
* @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;
|
|
723
|
-
*
|
|
724
|
-
* @example
|
|
725
|
-
* const { data, loading, error } = useFetchCollectionQuery({
|
|
726
|
-
* variables: {
|
|
727
|
-
* collectionId: // value for 'collectionId'
|
|
728
|
-
* },
|
|
729
|
-
* });
|
|
730
|
-
*/
|
|
731
|
-
function useFetchCollectionQuery(baseOptions) {
|
|
732
|
-
return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
|
|
733
|
-
}
|
|
734
|
-
exports.useFetchCollectionQuery = useFetchCollectionQuery;
|
|
735
|
-
function useFetchCollectionLazyQuery(baseOptions) {
|
|
736
|
-
return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
|
|
737
|
-
}
|
|
738
|
-
exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
|
|
739
758
|
exports.FetchCollectionsDocument = (0, client_1.gql) `
|
|
740
759
|
query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
|
|
741
760
|
fetchCollectionAssets(
|
|
@@ -802,267 +821,76 @@ function useFetchCollectionsLazyQuery(baseOptions) {
|
|
|
802
821
|
return Apollo.useLazyQuery(exports.FetchCollectionsDocument, baseOptions);
|
|
803
822
|
}
|
|
804
823
|
exports.useFetchCollectionsLazyQuery = useFetchCollectionsLazyQuery;
|
|
805
|
-
exports.
|
|
806
|
-
query
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
tokenId
|
|
813
|
-
collectionTitle
|
|
814
|
-
items
|
|
815
|
-
owners
|
|
816
|
-
totalVolumes {
|
|
817
|
-
currency
|
|
818
|
-
amount
|
|
819
|
-
}
|
|
820
|
-
likes
|
|
821
|
-
liked
|
|
822
|
-
collectionMarkets {
|
|
823
|
-
marketName
|
|
824
|
-
marketDomain
|
|
825
|
-
marketUrl
|
|
826
|
-
}
|
|
827
|
-
creatorsAddresses
|
|
828
|
-
creatorsProfiles {
|
|
829
|
-
username
|
|
830
|
-
userpic
|
|
831
|
-
}
|
|
832
|
-
verified
|
|
833
|
-
originalUrls
|
|
834
|
-
rank
|
|
835
|
-
floorPrices {
|
|
836
|
-
currency
|
|
837
|
-
amount
|
|
838
|
-
}
|
|
824
|
+
exports.FetchMyExperienceV2Document = (0, client_1.gql) `
|
|
825
|
+
query FetchMyExperienceV2 {
|
|
826
|
+
fetchMyExperienceV2 {
|
|
827
|
+
xps
|
|
828
|
+
level
|
|
829
|
+
levelMaxXps
|
|
830
|
+
levelMinXps
|
|
839
831
|
}
|
|
840
832
|
}
|
|
841
833
|
`;
|
|
842
834
|
/**
|
|
843
|
-
*
|
|
835
|
+
* __useFetchMyExperienceV2Query__
|
|
844
836
|
*
|
|
845
|
-
* To run a query within a React component, call `
|
|
846
|
-
* When your component renders, `
|
|
837
|
+
* To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
|
|
838
|
+
* When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
847
839
|
* you can use to render your UI.
|
|
848
840
|
*
|
|
849
841
|
* @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;
|
|
850
842
|
*
|
|
851
843
|
* @example
|
|
852
|
-
* const { data, loading, error } =
|
|
844
|
+
* const { data, loading, error } = useFetchMyExperienceV2Query({
|
|
853
845
|
* variables: {
|
|
854
|
-
* collectionIds: // value for 'collectionIds'
|
|
855
846
|
* },
|
|
856
847
|
* });
|
|
857
848
|
*/
|
|
858
|
-
function
|
|
859
|
-
return Apollo.useQuery(exports.
|
|
849
|
+
function useFetchMyExperienceV2Query(baseOptions) {
|
|
850
|
+
return Apollo.useQuery(exports.FetchMyExperienceV2Document, baseOptions);
|
|
860
851
|
}
|
|
861
|
-
exports.
|
|
862
|
-
function
|
|
863
|
-
return Apollo.useLazyQuery(exports.
|
|
852
|
+
exports.useFetchMyExperienceV2Query = useFetchMyExperienceV2Query;
|
|
853
|
+
function useFetchMyExperienceV2LazyQuery(baseOptions) {
|
|
854
|
+
return Apollo.useLazyQuery(exports.FetchMyExperienceV2Document, baseOptions);
|
|
864
855
|
}
|
|
865
|
-
exports.
|
|
866
|
-
exports.
|
|
867
|
-
query
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
blockchain
|
|
880
|
-
address
|
|
881
|
-
tokenId
|
|
882
|
-
chainId
|
|
883
|
-
creatorsAddresses
|
|
884
|
-
originalUrls
|
|
885
|
-
name
|
|
886
|
-
description
|
|
887
|
-
likes
|
|
888
|
-
liked
|
|
889
|
-
views
|
|
890
|
-
medias {
|
|
891
|
-
originalUrl
|
|
892
|
-
url
|
|
893
|
-
previewUrl
|
|
894
|
-
mimeType
|
|
895
|
-
sizeRatio
|
|
896
|
-
fileSize
|
|
897
|
-
}
|
|
898
|
-
visible
|
|
899
|
-
createdAt
|
|
900
|
-
blurred
|
|
901
|
-
rank
|
|
902
|
-
}
|
|
903
|
-
}
|
|
856
|
+
exports.useFetchMyExperienceV2LazyQuery = useFetchMyExperienceV2LazyQuery;
|
|
857
|
+
exports.FetchMyTasksDocument = (0, client_1.gql) `
|
|
858
|
+
query FetchMyTasks {
|
|
859
|
+
fetchMyTasks {
|
|
860
|
+
taskId
|
|
861
|
+
userId
|
|
862
|
+
taskType
|
|
863
|
+
name
|
|
864
|
+
description
|
|
865
|
+
repeatable
|
|
866
|
+
maxRepeats
|
|
867
|
+
minPointsAward
|
|
868
|
+
maxPointsAward
|
|
869
|
+
repeatsCompleted
|
|
904
870
|
}
|
|
905
871
|
}
|
|
906
872
|
`;
|
|
907
873
|
/**
|
|
908
|
-
*
|
|
874
|
+
* __useFetchMyTasksQuery__
|
|
909
875
|
*
|
|
910
|
-
* To run a query within a React component, call `
|
|
911
|
-
* When your component renders, `
|
|
876
|
+
* To run a query within a React component, call `useFetchMyTasksQuery` and pass it any options that fit your needs.
|
|
877
|
+
* When your component renders, `useFetchMyTasksQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
912
878
|
* you can use to render your UI.
|
|
913
879
|
*
|
|
914
880
|
* @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;
|
|
915
881
|
*
|
|
916
882
|
* @example
|
|
917
|
-
* const { data, loading, error } =
|
|
883
|
+
* const { data, loading, error } = useFetchMyTasksQuery({
|
|
918
884
|
* variables: {
|
|
919
|
-
* input: // value for 'input'
|
|
920
885
|
* },
|
|
921
886
|
* });
|
|
922
887
|
*/
|
|
923
|
-
function
|
|
924
|
-
return Apollo.useQuery(exports.
|
|
888
|
+
function useFetchMyTasksQuery(baseOptions) {
|
|
889
|
+
return Apollo.useQuery(exports.FetchMyTasksDocument, baseOptions);
|
|
925
890
|
}
|
|
926
|
-
exports.
|
|
927
|
-
function
|
|
928
|
-
return Apollo.useLazyQuery(exports.
|
|
929
|
-
}
|
|
930
|
-
exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
|
|
931
|
-
exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
|
|
932
|
-
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
933
|
-
fetchDynamicCollectionsData(input: $input) {
|
|
934
|
-
isLikedByUser
|
|
935
|
-
likesNum
|
|
936
|
-
collectionId
|
|
937
|
-
collectionAssetsPage {
|
|
938
|
-
nextPageToken
|
|
939
|
-
collectionAssets {
|
|
940
|
-
id
|
|
941
|
-
collectionId
|
|
942
|
-
collectionTitle
|
|
943
|
-
assetId
|
|
944
|
-
blockchain
|
|
945
|
-
address
|
|
946
|
-
tokenId
|
|
947
|
-
chainId
|
|
948
|
-
creatorsAddresses
|
|
949
|
-
originalUrls
|
|
950
|
-
name
|
|
951
|
-
description
|
|
952
|
-
likes
|
|
953
|
-
liked
|
|
954
|
-
views
|
|
955
|
-
medias {
|
|
956
|
-
originalUrl
|
|
957
|
-
url
|
|
958
|
-
previewUrl
|
|
959
|
-
mimeType
|
|
960
|
-
sizeRatio
|
|
961
|
-
fileSize
|
|
962
|
-
}
|
|
963
|
-
visible
|
|
964
|
-
createdAt
|
|
965
|
-
blurred
|
|
966
|
-
rank
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
`;
|
|
972
|
-
/**
|
|
973
|
-
* __useFetchDynamicCollectionsDataQuery__
|
|
974
|
-
*
|
|
975
|
-
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
976
|
-
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
977
|
-
* you can use to render your UI.
|
|
978
|
-
*
|
|
979
|
-
* @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;
|
|
980
|
-
*
|
|
981
|
-
* @example
|
|
982
|
-
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
983
|
-
* variables: {
|
|
984
|
-
* input: // value for 'input'
|
|
985
|
-
* },
|
|
986
|
-
* });
|
|
987
|
-
*/
|
|
988
|
-
function useFetchDynamicCollectionsDataQuery(baseOptions) {
|
|
989
|
-
return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
990
|
-
}
|
|
991
|
-
exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
|
|
992
|
-
function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
|
|
993
|
-
return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
994
|
-
}
|
|
995
|
-
exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
|
|
996
|
-
exports.FetchMyExperienceV2Document = (0, client_1.gql) `
|
|
997
|
-
query FetchMyExperienceV2 {
|
|
998
|
-
fetchMyExperienceV2 {
|
|
999
|
-
xps
|
|
1000
|
-
level
|
|
1001
|
-
levelMaxXps
|
|
1002
|
-
levelMinXps
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
`;
|
|
1006
|
-
/**
|
|
1007
|
-
* __useFetchMyExperienceV2Query__
|
|
1008
|
-
*
|
|
1009
|
-
* To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
|
|
1010
|
-
* When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1011
|
-
* you can use to render your UI.
|
|
1012
|
-
*
|
|
1013
|
-
* @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;
|
|
1014
|
-
*
|
|
1015
|
-
* @example
|
|
1016
|
-
* const { data, loading, error } = useFetchMyExperienceV2Query({
|
|
1017
|
-
* variables: {
|
|
1018
|
-
* },
|
|
1019
|
-
* });
|
|
1020
|
-
*/
|
|
1021
|
-
function useFetchMyExperienceV2Query(baseOptions) {
|
|
1022
|
-
return Apollo.useQuery(exports.FetchMyExperienceV2Document, baseOptions);
|
|
1023
|
-
}
|
|
1024
|
-
exports.useFetchMyExperienceV2Query = useFetchMyExperienceV2Query;
|
|
1025
|
-
function useFetchMyExperienceV2LazyQuery(baseOptions) {
|
|
1026
|
-
return Apollo.useLazyQuery(exports.FetchMyExperienceV2Document, baseOptions);
|
|
1027
|
-
}
|
|
1028
|
-
exports.useFetchMyExperienceV2LazyQuery = useFetchMyExperienceV2LazyQuery;
|
|
1029
|
-
exports.FetchMyTasksDocument = (0, client_1.gql) `
|
|
1030
|
-
query FetchMyTasks {
|
|
1031
|
-
fetchMyTasks {
|
|
1032
|
-
taskId
|
|
1033
|
-
userId
|
|
1034
|
-
taskType
|
|
1035
|
-
name
|
|
1036
|
-
description
|
|
1037
|
-
repeatable
|
|
1038
|
-
maxRepeats
|
|
1039
|
-
minPointsAward
|
|
1040
|
-
maxPointsAward
|
|
1041
|
-
repeatsCompleted
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
`;
|
|
1045
|
-
/**
|
|
1046
|
-
* __useFetchMyTasksQuery__
|
|
1047
|
-
*
|
|
1048
|
-
* To run a query within a React component, call `useFetchMyTasksQuery` and pass it any options that fit your needs.
|
|
1049
|
-
* When your component renders, `useFetchMyTasksQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1050
|
-
* you can use to render your UI.
|
|
1051
|
-
*
|
|
1052
|
-
* @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;
|
|
1053
|
-
*
|
|
1054
|
-
* @example
|
|
1055
|
-
* const { data, loading, error } = useFetchMyTasksQuery({
|
|
1056
|
-
* variables: {
|
|
1057
|
-
* },
|
|
1058
|
-
* });
|
|
1059
|
-
*/
|
|
1060
|
-
function useFetchMyTasksQuery(baseOptions) {
|
|
1061
|
-
return Apollo.useQuery(exports.FetchMyTasksDocument, baseOptions);
|
|
1062
|
-
}
|
|
1063
|
-
exports.useFetchMyTasksQuery = useFetchMyTasksQuery;
|
|
1064
|
-
function useFetchMyTasksLazyQuery(baseOptions) {
|
|
1065
|
-
return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
|
|
891
|
+
exports.useFetchMyTasksQuery = useFetchMyTasksQuery;
|
|
892
|
+
function useFetchMyTasksLazyQuery(baseOptions) {
|
|
893
|
+
return Apollo.useLazyQuery(exports.FetchMyTasksDocument, baseOptions);
|
|
1066
894
|
}
|
|
1067
895
|
exports.useFetchMyTasksLazyQuery = useFetchMyTasksLazyQuery;
|
|
1068
896
|
exports.OnInviteCodeUsedDocument = (0, client_1.gql) `
|
|
@@ -4392,6 +4220,79 @@ function useFetchAssetsCountLazyQuery(baseOptions) {
|
|
|
4392
4220
|
return Apollo.useLazyQuery(exports.FetchAssetsCountDocument, baseOptions);
|
|
4393
4221
|
}
|
|
4394
4222
|
exports.useFetchAssetsCountLazyQuery = useFetchAssetsCountLazyQuery;
|
|
4223
|
+
exports.FetchCollectionDocument = (0, client_1.gql) `
|
|
4224
|
+
query fetchCollection($collectionId: String!) {
|
|
4225
|
+
fetchCollection(collectionId: $collectionId) {
|
|
4226
|
+
collectionId
|
|
4227
|
+
blockchain
|
|
4228
|
+
identifier
|
|
4229
|
+
contractAddress
|
|
4230
|
+
tokenId
|
|
4231
|
+
blockHeight
|
|
4232
|
+
blockTimestamp
|
|
4233
|
+
collectionTitle
|
|
4234
|
+
collectionUrl
|
|
4235
|
+
items
|
|
4236
|
+
owners
|
|
4237
|
+
totalVolumes {
|
|
4238
|
+
currency
|
|
4239
|
+
amount
|
|
4240
|
+
}
|
|
4241
|
+
likes
|
|
4242
|
+
liked
|
|
4243
|
+
collectionMarkets {
|
|
4244
|
+
marketId
|
|
4245
|
+
marketName
|
|
4246
|
+
marketDomain
|
|
4247
|
+
marketUrl
|
|
4248
|
+
}
|
|
4249
|
+
creatorsAddresses
|
|
4250
|
+
creatorsProfiles {
|
|
4251
|
+
username
|
|
4252
|
+
userpic
|
|
4253
|
+
}
|
|
4254
|
+
verified
|
|
4255
|
+
originalUrls
|
|
4256
|
+
rank
|
|
4257
|
+
nsfw
|
|
4258
|
+
medias {
|
|
4259
|
+
originalUrl
|
|
4260
|
+
url
|
|
4261
|
+
mimeType
|
|
4262
|
+
sizeRatio
|
|
4263
|
+
fileSize
|
|
4264
|
+
}
|
|
4265
|
+
floorPrices {
|
|
4266
|
+
currency
|
|
4267
|
+
amount
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
`;
|
|
4272
|
+
/**
|
|
4273
|
+
* __useFetchCollectionQuery__
|
|
4274
|
+
*
|
|
4275
|
+
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
4276
|
+
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4277
|
+
* you can use to render your UI.
|
|
4278
|
+
*
|
|
4279
|
+
* @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;
|
|
4280
|
+
*
|
|
4281
|
+
* @example
|
|
4282
|
+
* const { data, loading, error } = useFetchCollectionQuery({
|
|
4283
|
+
* variables: {
|
|
4284
|
+
* collectionId: // value for 'collectionId'
|
|
4285
|
+
* },
|
|
4286
|
+
* });
|
|
4287
|
+
*/
|
|
4288
|
+
function useFetchCollectionQuery(baseOptions) {
|
|
4289
|
+
return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
|
|
4290
|
+
}
|
|
4291
|
+
exports.useFetchCollectionQuery = useFetchCollectionQuery;
|
|
4292
|
+
function useFetchCollectionLazyQuery(baseOptions) {
|
|
4293
|
+
return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
|
|
4294
|
+
}
|
|
4295
|
+
exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
|
|
4395
4296
|
exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
4396
4297
|
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
4397
4298
|
findCollections(term: $term, input: $input, page: $page) {
|
|
@@ -4447,6 +4348,79 @@ function useFindCollectionsLazyQuery(baseOptions) {
|
|
|
4447
4348
|
return Apollo.useLazyQuery(exports.FindCollectionsDocument, baseOptions);
|
|
4448
4349
|
}
|
|
4449
4350
|
exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
|
|
4351
|
+
exports.FetchCollectionsByIdsDocument = (0, client_1.gql) `
|
|
4352
|
+
query FetchCollectionsByIds($collectionIds: [String!]!) {
|
|
4353
|
+
fetchCollectionsByIds(collectionIds: $collectionIds) {
|
|
4354
|
+
collectionId
|
|
4355
|
+
blockchain
|
|
4356
|
+
identifier
|
|
4357
|
+
contractAddress
|
|
4358
|
+
tokenId
|
|
4359
|
+
blockHeight
|
|
4360
|
+
blockTimestamp
|
|
4361
|
+
collectionTitle
|
|
4362
|
+
collectionUrl
|
|
4363
|
+
items
|
|
4364
|
+
owners
|
|
4365
|
+
totalVolumes {
|
|
4366
|
+
currency
|
|
4367
|
+
amount
|
|
4368
|
+
}
|
|
4369
|
+
likes
|
|
4370
|
+
liked
|
|
4371
|
+
collectionMarkets {
|
|
4372
|
+
marketId
|
|
4373
|
+
marketName
|
|
4374
|
+
marketDomain
|
|
4375
|
+
marketUrl
|
|
4376
|
+
}
|
|
4377
|
+
creatorsAddresses
|
|
4378
|
+
creatorsProfiles {
|
|
4379
|
+
username
|
|
4380
|
+
userpic
|
|
4381
|
+
}
|
|
4382
|
+
verified
|
|
4383
|
+
originalUrls
|
|
4384
|
+
rank
|
|
4385
|
+
nsfw
|
|
4386
|
+
medias {
|
|
4387
|
+
originalUrl
|
|
4388
|
+
url
|
|
4389
|
+
mimeType
|
|
4390
|
+
sizeRatio
|
|
4391
|
+
fileSize
|
|
4392
|
+
}
|
|
4393
|
+
floorPrices {
|
|
4394
|
+
currency
|
|
4395
|
+
amount
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
}
|
|
4399
|
+
`;
|
|
4400
|
+
/**
|
|
4401
|
+
* __useFetchCollectionsByIdsQuery__
|
|
4402
|
+
*
|
|
4403
|
+
* To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
|
|
4404
|
+
* When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4405
|
+
* you can use to render your UI.
|
|
4406
|
+
*
|
|
4407
|
+
* @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;
|
|
4408
|
+
*
|
|
4409
|
+
* @example
|
|
4410
|
+
* const { data, loading, error } = useFetchCollectionsByIdsQuery({
|
|
4411
|
+
* variables: {
|
|
4412
|
+
* collectionIds: // value for 'collectionIds'
|
|
4413
|
+
* },
|
|
4414
|
+
* });
|
|
4415
|
+
*/
|
|
4416
|
+
function useFetchCollectionsByIdsQuery(baseOptions) {
|
|
4417
|
+
return Apollo.useQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
4418
|
+
}
|
|
4419
|
+
exports.useFetchCollectionsByIdsQuery = useFetchCollectionsByIdsQuery;
|
|
4420
|
+
function useFetchCollectionsByIdsLazyQuery(baseOptions) {
|
|
4421
|
+
return Apollo.useLazyQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
4422
|
+
}
|
|
4423
|
+
exports.useFetchCollectionsByIdsLazyQuery = useFetchCollectionsByIdsLazyQuery;
|
|
4450
4424
|
exports.FetchCreationsByTypeDocument = (0, client_1.gql) `
|
|
4451
4425
|
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
4452
4426
|
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
@@ -4566,6 +4540,232 @@ function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
|
4566
4540
|
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4567
4541
|
}
|
|
4568
4542
|
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
4543
|
+
exports.FetchDynamicCollectionDataDocument = (0, client_1.gql) `
|
|
4544
|
+
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
4545
|
+
fetchDynamicCollectionData(input: $input) {
|
|
4546
|
+
isLikedByUser
|
|
4547
|
+
likesNum
|
|
4548
|
+
collectionId
|
|
4549
|
+
collectionAssetsPage {
|
|
4550
|
+
nextPageToken
|
|
4551
|
+
assets {
|
|
4552
|
+
latestPriceCurrency
|
|
4553
|
+
latestPriceAmount
|
|
4554
|
+
collectionId
|
|
4555
|
+
collectionOriginalUrls
|
|
4556
|
+
collectionTitle
|
|
4557
|
+
assetId
|
|
4558
|
+
totalVolumes {
|
|
4559
|
+
currency
|
|
4560
|
+
amount
|
|
4561
|
+
}
|
|
4562
|
+
blockchain
|
|
4563
|
+
address
|
|
4564
|
+
tokenId
|
|
4565
|
+
name
|
|
4566
|
+
description
|
|
4567
|
+
rank
|
|
4568
|
+
markets {
|
|
4569
|
+
marketId
|
|
4570
|
+
marketName
|
|
4571
|
+
marketDomain
|
|
4572
|
+
marketUrl
|
|
4573
|
+
}
|
|
4574
|
+
collectionMedias {
|
|
4575
|
+
originalUrl
|
|
4576
|
+
url
|
|
4577
|
+
previewUrl
|
|
4578
|
+
mimeType
|
|
4579
|
+
sizeRatio
|
|
4580
|
+
fileSize
|
|
4581
|
+
}
|
|
4582
|
+
originalUrls
|
|
4583
|
+
medias {
|
|
4584
|
+
originalUrl
|
|
4585
|
+
url
|
|
4586
|
+
mimeType
|
|
4587
|
+
sizeRatio
|
|
4588
|
+
fileSize
|
|
4589
|
+
previewUrl
|
|
4590
|
+
}
|
|
4591
|
+
ownersAddresses
|
|
4592
|
+
ownersProfiles {
|
|
4593
|
+
userId
|
|
4594
|
+
username
|
|
4595
|
+
about
|
|
4596
|
+
userpic
|
|
4597
|
+
followers
|
|
4598
|
+
followings
|
|
4599
|
+
visible
|
|
4600
|
+
}
|
|
4601
|
+
creatorsAddresses
|
|
4602
|
+
creatorsProfiles {
|
|
4603
|
+
userId
|
|
4604
|
+
username
|
|
4605
|
+
about
|
|
4606
|
+
userpic
|
|
4607
|
+
followers
|
|
4608
|
+
followings
|
|
4609
|
+
visible
|
|
4610
|
+
}
|
|
4611
|
+
attributes {
|
|
4612
|
+
name
|
|
4613
|
+
value
|
|
4614
|
+
}
|
|
4615
|
+
views
|
|
4616
|
+
visible
|
|
4617
|
+
blurred
|
|
4618
|
+
medias {
|
|
4619
|
+
originalUrl
|
|
4620
|
+
url
|
|
4621
|
+
previewUrl
|
|
4622
|
+
mimeType
|
|
4623
|
+
}
|
|
4624
|
+
creatorsProfiles {
|
|
4625
|
+
username
|
|
4626
|
+
}
|
|
4627
|
+
}
|
|
4628
|
+
}
|
|
4629
|
+
}
|
|
4630
|
+
}
|
|
4631
|
+
`;
|
|
4632
|
+
/**
|
|
4633
|
+
* __useFetchDynamicCollectionDataQuery__
|
|
4634
|
+
*
|
|
4635
|
+
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
4636
|
+
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4637
|
+
* you can use to render your UI.
|
|
4638
|
+
*
|
|
4639
|
+
* @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;
|
|
4640
|
+
*
|
|
4641
|
+
* @example
|
|
4642
|
+
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
4643
|
+
* variables: {
|
|
4644
|
+
* input: // value for 'input'
|
|
4645
|
+
* },
|
|
4646
|
+
* });
|
|
4647
|
+
*/
|
|
4648
|
+
function useFetchDynamicCollectionDataQuery(baseOptions) {
|
|
4649
|
+
return Apollo.useQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
4650
|
+
}
|
|
4651
|
+
exports.useFetchDynamicCollectionDataQuery = useFetchDynamicCollectionDataQuery;
|
|
4652
|
+
function useFetchDynamicCollectionDataLazyQuery(baseOptions) {
|
|
4653
|
+
return Apollo.useLazyQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
4654
|
+
}
|
|
4655
|
+
exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
|
|
4656
|
+
exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
|
|
4657
|
+
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
4658
|
+
fetchDynamicCollectionsData(inputs: $input) {
|
|
4659
|
+
isLikedByUser
|
|
4660
|
+
likesNum
|
|
4661
|
+
collectionId
|
|
4662
|
+
collectionAssetsPage {
|
|
4663
|
+
nextPageToken
|
|
4664
|
+
assets {
|
|
4665
|
+
latestPriceCurrency
|
|
4666
|
+
latestPriceAmount
|
|
4667
|
+
collectionId
|
|
4668
|
+
collectionOriginalUrls
|
|
4669
|
+
collectionTitle
|
|
4670
|
+
assetId
|
|
4671
|
+
totalVolumes {
|
|
4672
|
+
currency
|
|
4673
|
+
amount
|
|
4674
|
+
}
|
|
4675
|
+
blockchain
|
|
4676
|
+
address
|
|
4677
|
+
tokenId
|
|
4678
|
+
name
|
|
4679
|
+
description
|
|
4680
|
+
rank
|
|
4681
|
+
markets {
|
|
4682
|
+
marketId
|
|
4683
|
+
marketName
|
|
4684
|
+
marketDomain
|
|
4685
|
+
marketUrl
|
|
4686
|
+
}
|
|
4687
|
+
collectionMedias {
|
|
4688
|
+
originalUrl
|
|
4689
|
+
url
|
|
4690
|
+
previewUrl
|
|
4691
|
+
mimeType
|
|
4692
|
+
sizeRatio
|
|
4693
|
+
fileSize
|
|
4694
|
+
}
|
|
4695
|
+
originalUrls
|
|
4696
|
+
medias {
|
|
4697
|
+
originalUrl
|
|
4698
|
+
url
|
|
4699
|
+
mimeType
|
|
4700
|
+
sizeRatio
|
|
4701
|
+
fileSize
|
|
4702
|
+
previewUrl
|
|
4703
|
+
}
|
|
4704
|
+
ownersAddresses
|
|
4705
|
+
ownersProfiles {
|
|
4706
|
+
userId
|
|
4707
|
+
username
|
|
4708
|
+
about
|
|
4709
|
+
userpic
|
|
4710
|
+
followers
|
|
4711
|
+
followings
|
|
4712
|
+
visible
|
|
4713
|
+
}
|
|
4714
|
+
creatorsAddresses
|
|
4715
|
+
creatorsProfiles {
|
|
4716
|
+
userId
|
|
4717
|
+
username
|
|
4718
|
+
about
|
|
4719
|
+
userpic
|
|
4720
|
+
followers
|
|
4721
|
+
followings
|
|
4722
|
+
visible
|
|
4723
|
+
}
|
|
4724
|
+
attributes {
|
|
4725
|
+
name
|
|
4726
|
+
value
|
|
4727
|
+
}
|
|
4728
|
+
views
|
|
4729
|
+
visible
|
|
4730
|
+
blurred
|
|
4731
|
+
medias {
|
|
4732
|
+
originalUrl
|
|
4733
|
+
url
|
|
4734
|
+
previewUrl
|
|
4735
|
+
mimeType
|
|
4736
|
+
}
|
|
4737
|
+
creatorsProfiles {
|
|
4738
|
+
username
|
|
4739
|
+
}
|
|
4740
|
+
}
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4744
|
+
`;
|
|
4745
|
+
/**
|
|
4746
|
+
* __useFetchDynamicCollectionsDataQuery__
|
|
4747
|
+
*
|
|
4748
|
+
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
4749
|
+
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4750
|
+
* you can use to render your UI.
|
|
4751
|
+
*
|
|
4752
|
+
* @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;
|
|
4753
|
+
*
|
|
4754
|
+
* @example
|
|
4755
|
+
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
4756
|
+
* variables: {
|
|
4757
|
+
* input: // value for 'input'
|
|
4758
|
+
* },
|
|
4759
|
+
* });
|
|
4760
|
+
*/
|
|
4761
|
+
function useFetchDynamicCollectionsDataQuery(baseOptions) {
|
|
4762
|
+
return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
4763
|
+
}
|
|
4764
|
+
exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
|
|
4765
|
+
function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
|
|
4766
|
+
return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
4767
|
+
}
|
|
4768
|
+
exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
|
|
4569
4769
|
exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
4570
4770
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
4571
4771
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|