@ludo.ninja/api 1.0.0
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/graphql_tools/__generated__/schema.d.ts +4742 -0
- package/build/graphql_tools/__generated__/schema.js +3638 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +28 -0
- package/codegen.yml +22 -0
- package/package.json +26 -0
- package/src/documents/server-assets/mutations/useDislikeAsset/DislikeAsset.graphql +3 -0
- package/src/documents/server-assets/mutations/useLikeAsset/LikeAsset.graphql +3 -0
- package/src/documents/server-assets/queries/useFetchAsset/FetchAsset.graphql +80 -0
- package/src/documents/server-assets/queries/useFetchAssetByBlockchain/FetchAssetByBlockchain.graphql +88 -0
- package/src/documents/server-assets/queries/useFetchAssets/FetchAssets.graphql +78 -0
- package/src/documents/server-assets/queries/useFetchDynamicAssetLikes/FetchDynamicAssetLikes.graphql +6 -0
- package/src/documents/server-assets/queries/useFetchDynamicAssetsLikes/FetchDynamicAssetsLikes.graphql +7 -0
- package/src/documents/server-assets/queries/useFetchLiked/FetchLiked.graphql +3 -0
- package/src/documents/server-collection/mutations/useDislikeCollection/DislikeAsset.graphql +3 -0
- package/src/documents/server-collection/mutations/useLikeCollection/LikeCollection.graphql +3 -0
- package/src/documents/server-collection/queries/useFetchCollection/FetchCollection.graphql +36 -0
- package/src/documents/server-collection/queries/useFetchCollections/FetchCollectionAssets.graphql +33 -0
- package/src/documents/server-collection/queries/useFetchCollectionsByIds/FetchCollectionsByIds.graphql +35 -0
- package/src/documents/server-collection/queries/useFetchDynamicCollectionData/FetchDynamicCollectionData.graphql +38 -0
- package/src/documents/server-collection/queries/useFetchDynamicCollectionsData/FetchDynamicCollectionsData.graphql +38 -0
- package/src/documents/server-galleries/mutations/useAddAssetsToGallery/AddAssetsToGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddAssetsToGallery/AddAssetsToGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddChangeGalleryBanner/UploadGalleryBanner.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddCollectionsToGallery/AddCollectionsToGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddCollectionsToGallery/AddCollectionsToGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddCreationsToGallery/AddCreationsToGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useAddCreationsToGallery/AddCreationsToGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/mutations/useCreateFavorites/CreateFavoriteListV2.graphql +13 -0
- package/src/documents/server-galleries/mutations/useCreateFavorites/CreateFavorites.graphql +13 -0
- package/src/documents/server-galleries/mutations/useCreateGallery/CreateGallery.graphql +13 -0
- package/src/documents/server-galleries/mutations/useCreateGallery/CreateGalleryV2.graphql +13 -0
- package/src/documents/server-galleries/mutations/useDeleteGalleryBanner/DeleteGalleryBanner.graphql +3 -0
- package/src/documents/server-galleries/mutations/useEditGallery/EditGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveAssetFromGallery/RemoveAssetFromGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveAssetFromGallery/RemoveAssetFromGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveCollectionFromGallery/RemoveCollectionFromGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveCollectionFromGallery/RemoveCollectionFromGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveCreationFromGallery/RemoveCreationFromGallery.graphql +3 -0
- package/src/documents/server-galleries/mutations/useRemoveCreationFromGallery/RemoveCreationFromGalleryV2.graphql +3 -0
- package/src/documents/server-galleries/queries/useFetchGallery/FetchGallery.graphql +17 -0
- package/src/documents/server-galleries/queries/useFetchGallery/FetchGalleryCreations.graphql +42 -0
- package/src/documents/server-galleries/queries/useFetchGallery/FetchGalleryV2.graphql +18 -0
- package/src/documents/server-galleries/queries/useFetchMyFavorites/FetchMyFavorites.graphql +48 -0
- package/src/documents/server-galleries/queries/useFetchMyFavorites/FetchMyFavoritesV2.graphql +21 -0
- package/src/documents/server-galleries/queries/useFetchUserFavorites/FetchUserFavorites.graphql +59 -0
- package/src/documents/server-galleries/queries/useFetchUserFavorites/FetchUserFavoritesV2.graphql +32 -0
- package/src/documents/server-galleries/queries/useFetchUserGalleries/FetchUserGalleries.graphql +59 -0
- package/src/documents/server-galleries/queries/useFetchUserGalleries/FetchUserGalleriesV2.graphql +32 -0
- package/src/documents/server-identities/mutations/SignInMetamask.graphql +17 -0
- package/src/documents/server-identities/mutations/useAddWalletElrond/AddWalletElrond.graphql +3 -0
- package/src/documents/server-identities/mutations/useAddWalletFlow/AddWalletFlow.graphql +3 -0
- package/src/documents/server-identities/mutations/useAddWalletMetamask/AddWalletMetamask.graphql +11 -0
- package/src/documents/server-identities/mutations/useAddWalletSolana/AddWalletSolana.graphql +3 -0
- package/src/documents/server-identities/mutations/useAddWalletTezos/AddWalletTezos.graphql +3 -0
- package/src/documents/server-identities/mutations/useCreateNonce/CreateNonce.graphql +7 -0
- package/src/documents/server-identities/mutations/useRefrechToken/RefreshToken.graphql +8 -0
- package/src/documents/server-identities/mutations/useRevokeToken/RevokeToken.graphql +3 -0
- package/src/documents/server-identities/mutations/useSignInElrond/SignInElrond.graphql +9 -0
- package/src/documents/server-identities/mutations/useSignInFlow/SignInFlow.graphql +9 -0
- package/src/documents/server-identities/mutations/useSignInMetamask/SignInMetamask.graphql +13 -0
- package/src/documents/server-identities/mutations/useSignInSolana/SignInSolana.graphql +9 -0
- package/src/documents/server-identities/mutations/useSignInTezos/SignInTezos.graphql +9 -0
- package/src/documents/server-identities/mutations/useUpdateProfile/UpdateProfile.graphql +23 -0
- package/src/documents/server-identities/queries/useFetchProfile/FetchProfile.graphql +31 -0
- package/src/documents/server-identities/queries/useFetchWallets/FetchUserWallets.graphql +9 -0
- package/src/documents/server-medias/queries/useFetchUserPic/FetchUserpic.graphql +3 -0
- package/src/documents/server-preferences/mutations/useSaveUserExpectations/SaveUserExpectations.graphql +3 -0
- package/src/documents/server-preferences/mutations/useSaveUserInterests/SaveUserInterests.graphql +3 -0
- package/src/documents/server-preferences/queries/useFetchExpectations/FetchExpectations.graphql +6 -0
- package/src/documents/server-preferences/queries/useFetchInterests/FetchUserInterests.graphql +6 -0
- package/src/documents/server-preferences/queries/useFetchSearchResultTimeSelection/FetchSearchResultTimeSelections.graphql +6 -0
- package/src/documents/server-preferences/queries/useFetchUserExpectations/FetchUserExpectations.graphql +7 -0
- package/src/documents/server-preferences/queries/useFetchUserInterests/FetchUserInterests.graphql +8 -0
- package/src/documents/server-preferences/queries/useSearchResultBlockchainSelections/FetchSearchResultBlockchainSelections.graphql +6 -0
- package/src/documents/server-preferences/queries/useSearchResultCategorySelections/FetchSearchResultCategorySelections.graphql +6 -0
- package/src/documents/server-preferences/queries/useSearchResultStatusSelections/FetchSearchResultStatusSelection.graphql +6 -0
- package/src/documents/server-preferences/queries/useSearchResultTypeSelections/FetchSetsSearchResultTypeSelections.graphql +6 -0
- package/src/documents/server-search/queries/useFetchAssetsCount/FetchAssetsCount.graphql +3 -0
- package/src/documents/server-search/queries/useFetchCollections/FindCollections.graphql +31 -0
- package/src/documents/server-search/queries/useFetchCreations/FetchCreations.graphql +54 -0
- package/src/documents/server-search/queries/useFetchCreationsByItemType/FetchCreationsByItemType.graphql +61 -0
- package/src/documents/server-search/queries/useFetchFindAllTopEntitiesByName/FindAllTopEntitiesByName.graphql +98 -0
- package/src/documents/server-search/queries/useFetchNetWorth/FetchProfile.graphql +6 -0
- package/src/documents/server-search/queries/useFindCreations/FindCreations.graphql +64 -0
- package/src/documents/server-search/queries/useFindProfilesByName/FindProfilesByName.graphql +14 -0
- package/src/documents/server-search/queries/useFindSets/FindSets.graphql +31 -0
- package/src/documents/server-search/queries/useFindShowcaseItems/FetchShowcaseItems.graphql +30 -0
- package/src/documents/server-search/queries/useFindUserCreations/FindUserCreations.graphql +64 -0
- package/src/documents/server-search/queries/useFindUserShowcaseItems/FetchFindUserShowcaseItems.graphql +31 -0
- package/src/graphql_tools/__generated__/schema.graphql +1187 -0
- package/src/graphql_tools/__generated__/schema.ts +6836 -0
- package/src/graphql_tools/schemas/asset/query.graphqls +65 -0
- package/src/graphql_tools/schemas/asset/type/asset.graphqls +35 -0
- package/src/graphql_tools/schemas/asset/type/assetPage.graphqls +4 -0
- package/src/graphql_tools/schemas/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/asset/type/media.graphqls +9 -0
- package/src/graphql_tools/schemas/assets/asset/mutation.graphqls +11 -0
- package/src/graphql_tools/schemas/assets/asset/query.graphqls +14 -0
- package/src/graphql_tools/schemas/assets/asset/type/asset.graphqls +35 -0
- package/src/graphql_tools/schemas/assets/asset/type/assetGallery.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/asset/type/assetMarket.graphqls +6 -0
- package/src/graphql_tools/schemas/assets/asset/type/assetPrice.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/asset/type/assetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/asset/type/bannerAsset.graphqls +7 -0
- package/src/graphql_tools/schemas/assets/asset/type/bannerAssetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/asset/type/dynamicAssetData.graphqls +5 -0
- package/src/graphql_tools/schemas/assets/asset/type/galleries.graphqls +3 -0
- package/src/graphql_tools/schemas/assets/asset/type/media.graphqls +9 -0
- package/src/graphql_tools/schemas/assets/asset/type/profile.graphqls +15 -0
- package/src/graphql_tools/schemas/assets/asset/type/showcaseAsset.graphqls +14 -0
- package/src/graphql_tools/schemas/assets/asset/type/showcaseAssetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/assets/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/assets/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/auth/auth/mutation.graphqls +4 -0
- package/src/graphql_tools/schemas/auth/auth/query.graphqls +4 -0
- package/src/graphql_tools/schemas/auth/auth/type/login.graphqls +6 -0
- package/src/graphql_tools/schemas/auth/auth/type/loginsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/auth/auth/type/tokenPair.graphqls +6 -0
- package/src/graphql_tools/schemas/auth/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/auth/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/auth/testReponse.graphqls +5 -0
- package/src/graphql_tools/schemas/collection/input/dynamicCollectionDataInput.graphqls +5 -0
- package/src/graphql_tools/schemas/collection/query.graphqls +8 -0
- package/src/graphql_tools/schemas/collection/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/collection/type/collection.graphqls +21 -0
- package/src/graphql_tools/schemas/collection/type/collectionAsset.graphqls +30 -0
- package/src/graphql_tools/schemas/collection/type/collectionAssetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/collection/type/collectionMarket.graphqls +6 -0
- package/src/graphql_tools/schemas/collection/type/collectionPage.graphqls +4 -0
- package/src/graphql_tools/schemas/collection/type/dynamicCollectionData.graphqls +6 -0
- package/src/graphql_tools/schemas/collection/type/media.graphqls +10 -0
- package/src/graphql_tools/schemas/collection/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/collections/collection/mutation.graphqls +4 -0
- package/src/graphql_tools/schemas/collections/collection/query.graphqls +4 -0
- package/src/graphql_tools/schemas/collections/collection/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/collections/collection/type/showcaseItem.graphqls +19 -0
- package/src/graphql_tools/schemas/collections/collection/type/showcaseItemsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/collections/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/collections/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/common/input/gallerySearchFilterInput.graphqls +6 -0
- package/src/graphql_tools/schemas/common/input/searchFilterInput.graphqls +5 -0
- package/src/graphql_tools/schemas/common/input/selectionInput.graphqls +4 -0
- package/src/graphql_tools/schemas/common/query.graphqls +21 -0
- package/src/graphql_tools/schemas/common/type/topEntitiesPage.graphqls +5 -0
- package/src/graphql_tools/schemas/creation/query.graphqls +9 -0
- package/src/graphql_tools/schemas/creation/type/creation.graphqls +27 -0
- package/src/graphql_tools/schemas/creation/type/creationPage.graphqls +4 -0
- package/src/graphql_tools/schemas/galleries/gallery/input/galleryAsset.graphqls +4 -0
- package/src/graphql_tools/schemas/galleries/gallery/input/galleryCreation.graphqls +5 -0
- package/src/graphql_tools/schemas/galleries/gallery/mutation.graphqls +53 -0
- package/src/graphql_tools/schemas/galleries/gallery/query.graphqls +71 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/asset.graphqls +16 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/assetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/galleriesPage.graphqls +5 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/galleriesPageV2.graphqls +5 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/gallery.graphqlsDuplicate +13 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/media.graphqls +9 -0
- package/src/graphql_tools/schemas/galleries/gallery/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/galleries/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/galleries/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/gallery/query.graphqls +49 -0
- package/src/graphql_tools/schemas/gallery/type/gallery.graphqlsDupicate +16 -0
- package/src/graphql_tools/schemas/gallery/type/galleryAsset.graphqls +13 -0
- package/src/graphql_tools/schemas/gallery/type/galleryCreation.graphqls +29 -0
- package/src/graphql_tools/schemas/gallery/type/galleryCreationsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/gallery/type/galleryPage.graphqls +5 -0
- package/src/graphql_tools/schemas/gallery/type/profile.graphqls +7 -0
- package/src/graphql_tools/schemas/identities/identity/mutation.graphqls +51 -0
- package/src/graphql_tools/schemas/identities/identity/query.graphqls +4 -0
- package/src/graphql_tools/schemas/identities/identity/type/identity.graphqls +7 -0
- package/src/graphql_tools/schemas/identities/identity/type/wallet.graphqls +7 -0
- package/src/graphql_tools/schemas/identities/profile/input/inputProfile.graphqls +10 -0
- package/src/graphql_tools/schemas/identities/profile/input/inputSocial.graphqls +23 -0
- package/src/graphql_tools/schemas/identities/profile/mutation.graphqls +5 -0
- package/src/graphql_tools/schemas/identities/profile/query.graphqls +5 -0
- package/src/graphql_tools/schemas/identities/profile/type/follower.graphqls +6 -0
- package/src/graphql_tools/schemas/identities/profile/type/profile.graphqls +16 -0
- package/src/graphql_tools/schemas/identities/profile/type/social.graphqls +6 -0
- package/src/graphql_tools/schemas/identities/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/identities/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/images/mutation.graphqls +6 -0
- package/src/graphql_tools/schemas/images/query.graphqls +3 -0
- package/src/graphql_tools/schemas/images/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/images/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/markets/market/query.graphqls +4 -0
- package/src/graphql_tools/schemas/markets/market/type/market.graphqls +88 -0
- package/src/graphql_tools/schemas/markets/market/type/marketsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/markets/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/markets/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/moderations/asset/input/assetModerationFilter.graphqls +12 -0
- package/src/graphql_tools/schemas/moderations/asset/input/updateAssetModeration.graphqls +5 -0
- package/src/graphql_tools/schemas/moderations/asset/mutation.graphqls +12 -0
- package/src/graphql_tools/schemas/moderations/asset/query.graphqls +10 -0
- package/src/graphql_tools/schemas/moderations/asset/type/assetModeration.graphqls +29 -0
- package/src/graphql_tools/schemas/moderations/asset/type/assetModerationsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/moderations/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/moderations/asset/type/media.graphqls +7 -0
- package/src/graphql_tools/schemas/moderations/asset/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/moderations/common/input/selection.graphqls +4 -0
- package/src/graphql_tools/schemas/moderations/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/moderations/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/moderations/user/input/updateUserModeration.graphqls +6 -0
- package/src/graphql_tools/schemas/moderations/user/input/userModerationFilter.graphqls +8 -0
- package/src/graphql_tools/schemas/moderations/user/mutation.graphqls +11 -0
- package/src/graphql_tools/schemas/moderations/user/query.graphqls +9 -0
- package/src/graphql_tools/schemas/moderations/user/type/userModeration.graphqls +14 -0
- package/src/graphql_tools/schemas/moderations/user/type/userModerationsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/moderations/user/type/userWallet.graphqls +7 -0
- package/src/graphql_tools/schemas/preferences/mutation.graphqls +5 -0
- package/src/graphql_tools/schemas/preferences/query.graphqls +27 -0
- package/src/graphql_tools/schemas/preferences/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/preferences/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/preferences/type/expectation.graphqls +4 -0
- package/src/graphql_tools/schemas/preferences/type/interest.graphqls +4 -0
- package/src/graphql_tools/schemas/preferences/type/offer.graphqls +4 -0
- package/src/graphql_tools/schemas/preferences/type/selection.graphqls +5 -0
- package/src/graphql_tools/schemas/preferences/type/userExpectation.graphqls +5 -0
- package/src/graphql_tools/schemas/preferences/type/userInterest.graphqls +6 -0
- package/src/graphql_tools/schemas/preferences/type/userOffer.graphqls +4 -0
- package/src/graphql_tools/schemas/profile/query.graphqls +18 -0
- package/src/graphql_tools/schemas/profile/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/profile/type/profilePage.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/asset/input/assetReportFilter.graphqls +13 -0
- package/src/graphql_tools/schemas/reports/asset/input/assetReportRestriction.graphqls +5 -0
- package/src/graphql_tools/schemas/reports/asset/mutation.graphqls +14 -0
- package/src/graphql_tools/schemas/reports/asset/query.graphqls +7 -0
- package/src/graphql_tools/schemas/reports/asset/type/assetReport.graphqls +37 -0
- package/src/graphql_tools/schemas/reports/asset/type/assetReportsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/asset/type/media.graphqls +7 -0
- package/src/graphql_tools/schemas/reports/common/input/selectionInput.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/gallery/input/galleryReportFilter.graphqls +12 -0
- package/src/graphql_tools/schemas/reports/gallery/input/galleryReportRestriction.graphqls +5 -0
- package/src/graphql_tools/schemas/reports/gallery/mutation.graphqls +14 -0
- package/src/graphql_tools/schemas/reports/gallery/query.graphqls +7 -0
- package/src/graphql_tools/schemas/reports/gallery/type/galleryAsset.graphqls +17 -0
- package/src/graphql_tools/schemas/reports/gallery/type/galleryReport.graphqls +32 -0
- package/src/graphql_tools/schemas/reports/gallery/type/galleryReportsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/reports/schema.graphqls +21 -0
- package/src/graphql_tools/schemas/reports/user/input/userReportFilter.graphqls +9 -0
- package/src/graphql_tools/schemas/reports/user/input/userReportRestriction.graphqls +6 -0
- package/src/graphql_tools/schemas/reports/user/mutation.graphqls +12 -0
- package/src/graphql_tools/schemas/reports/user/query.graphqls +7 -0
- package/src/graphql_tools/schemas/reports/user/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/reports/user/type/userReport.graphqls +24 -0
- package/src/graphql_tools/schemas/reports/user/type/userReportsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/reports/user/type/userWallet.graphqls +7 -0
- package/src/graphql_tools/schemas/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/schema.graphqls +18 -0
- package/src/graphql_tools/schemas/search/asset/query.graphqls +65 -0
- package/src/graphql_tools/schemas/search/asset/type/asset.graphqls +27 -0
- package/src/graphql_tools/schemas/search/asset/type/assetPage.graphqls +4 -0
- package/src/graphql_tools/schemas/search/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/search/asset/type/media.graphqls +9 -0
- package/src/graphql_tools/schemas/search/collection/input/collectionFilterInput.graphqls +6 -0
- package/src/graphql_tools/schemas/search/collection/query.graphqls +17 -0
- package/src/graphql_tools/schemas/search/collection/type/collection.graphqls +11 -0
- package/src/graphql_tools/schemas/search/collection/type/collectionPage.graphqls +5 -0
- package/src/graphql_tools/schemas/search/common/input/searchFilterInput.graphqls +5 -0
- package/src/graphql_tools/schemas/search/common/input/selectionInput.graphqls +4 -0
- package/src/graphql_tools/schemas/search/common/query.graphqls +21 -0
- package/src/graphql_tools/schemas/search/common/type/topEntitiesPage.graphqls +5 -0
- package/src/graphql_tools/schemas/search/creation/input/creationFilterInput.graphqls +7 -0
- package/src/graphql_tools/schemas/search/creation/query.graphqls +26 -0
- package/src/graphql_tools/schemas/search/creation/type/creation.graphqls +27 -0
- package/src/graphql_tools/schemas/search/creation/type/creationPage.graphqls +5 -0
- package/src/graphql_tools/schemas/search/creation/type/profile.graphqls +13 -0
- package/src/graphql_tools/schemas/search/gallery/query.graphqls +34 -0
- package/src/graphql_tools/schemas/search/gallery/type/gallery.graphqls +17 -0
- package/src/graphql_tools/schemas/search/gallery/type/galleryAsset.graphqls +19 -0
- package/src/graphql_tools/schemas/search/gallery/type/galleryPage.graphqls +4 -0
- package/src/graphql_tools/schemas/search/gallery/type/galleryV2.graphqls +17 -0
- package/src/graphql_tools/schemas/search/profile/query.graphqls +18 -0
- package/src/graphql_tools/schemas/search/profile/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/search/profile/type/profilePage.graphqls +4 -0
- package/src/graphql_tools/schemas/search/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/search/schema.graphqls +18 -0
- package/src/graphql_tools/schemas/search/sets/input/galleryProfileFilterInput.graphqls +5 -0
- package/src/graphql_tools/schemas/search/sets/input/gallerySearchFilterInput.graphqls +6 -0
- package/src/graphql_tools/schemas/search/sets/query.graphqls +20 -0
- package/src/graphql_tools/schemas/search/showcase/input/showcaseItemFilterInput.graphqls +8 -0
- package/src/graphql_tools/schemas/search/showcase/query.graphqls +14 -0
- package/src/graphql_tools/schemas/search/showcase/type/showcaseItem.graphqls +19 -0
- package/src/graphql_tools/schemas/search/showcase/type/showcaseItemPage.graphqls +5 -0
- package/src/graphql_tools/schemas/showcase/collection/query.graphqls +3 -0
- package/src/graphql_tools/schemas/showcase/collection/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/showcase/collection/type/collection.graphqls +11 -0
- package/src/graphql_tools/schemas/showcase/collection/type/collectionAsset.graphqls +25 -0
- package/src/graphql_tools/schemas/showcase/collection/type/collectionsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/showcase/collection/type/media.graphqls +10 -0
- package/src/graphql_tools/schemas/showcase/collection/type/profile.graphqls +15 -0
- package/src/graphql_tools/schemas/showcase/input/showcaseItemFilterInput.graphqls +8 -0
- package/src/graphql_tools/schemas/showcase/query.graphqls +14 -0
- package/src/graphql_tools/schemas/showcase/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/showcase/schema.graphqls +12 -0
- package/src/graphql_tools/schemas/showcase/type/showcaseItem.graphqls +19 -0
- package/src/graphql_tools/schemas/showcase/type/showcaseItemPage.graphqls +5 -0
- package/src/graphql_tools/schemas/transactions/asset/mutation.graphqls +11 -0
- package/src/graphql_tools/schemas/transactions/asset/query.graphqls +10 -0
- package/src/graphql_tools/schemas/transactions/asset/type/asset.graphqls +25 -0
- package/src/graphql_tools/schemas/transactions/asset/type/assetGallery.graphqls +4 -0
- package/src/graphql_tools/schemas/transactions/asset/type/assetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/transactions/asset/type/attribute.graphqls +4 -0
- package/src/graphql_tools/schemas/transactions/asset/type/bannerAsset.graphqls +7 -0
- package/src/graphql_tools/schemas/transactions/asset/type/bannerAssetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/transactions/asset/type/galleries.graphqls +3 -0
- package/src/graphql_tools/schemas/transactions/asset/type/media.graphqls +9 -0
- package/src/graphql_tools/schemas/transactions/asset/type/profile.graphqls +9 -0
- package/src/graphql_tools/schemas/transactions/asset/type/showcaseAsset.graphqls +13 -0
- package/src/graphql_tools/schemas/transactions/asset/type/showcaseAssetsPage.graphqls +4 -0
- package/src/graphql_tools/schemas/transactions/scalars.graphqls +2 -0
- package/src/graphql_tools/schemas/transactions/schema.graphqls +12 -0
- package/src/index.ts +3 -0
- package/tsconfig.json +16 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,3638 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = 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.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = void 0;
|
|
27
|
+
exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = 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.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = void 0;
|
|
28
|
+
exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = 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.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = void 0;
|
|
29
|
+
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.useFetchCreationsByItemTypeLazyQuery = exports.useFetchCreationsByItemTypeQuery = exports.FetchCreationsByItemTypeDocument = exports.useFetchCreationsLazyQuery = exports.useFetchCreationsQuery = exports.FetchCreationsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = 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.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = void 0;
|
|
30
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = void 0;
|
|
31
|
+
/* eslint-disable */
|
|
32
|
+
const client_1 = require("@apollo/client");
|
|
33
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
34
|
+
exports.DislikeAssetDocument = (0, client_1.gql) `
|
|
35
|
+
mutation DislikeAsset($assetId: String!) {
|
|
36
|
+
dislikeAsset(assetId: $assetId)
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
/**
|
|
40
|
+
* __useDislikeAssetMutation__
|
|
41
|
+
*
|
|
42
|
+
* To run a mutation, you first call `useDislikeAssetMutation` within a React component and pass it any options that fit your needs.
|
|
43
|
+
* When your component renders, `useDislikeAssetMutation` returns a tuple that includes:
|
|
44
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
45
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
46
|
+
*
|
|
47
|
+
* @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;
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* const [dislikeAssetMutation, { data, loading, error }] = useDislikeAssetMutation({
|
|
51
|
+
* variables: {
|
|
52
|
+
* assetId: // value for 'assetId'
|
|
53
|
+
* },
|
|
54
|
+
* });
|
|
55
|
+
*/
|
|
56
|
+
function useDislikeAssetMutation(baseOptions) {
|
|
57
|
+
return Apollo.useMutation(exports.DislikeAssetDocument, baseOptions);
|
|
58
|
+
}
|
|
59
|
+
exports.useDislikeAssetMutation = useDislikeAssetMutation;
|
|
60
|
+
exports.LikeAssetDocument = (0, client_1.gql) `
|
|
61
|
+
mutation LikeAsset($assetId: String!) {
|
|
62
|
+
likeAsset(assetId: $assetId)
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
/**
|
|
66
|
+
* __useLikeAssetMutation__
|
|
67
|
+
*
|
|
68
|
+
* To run a mutation, you first call `useLikeAssetMutation` within a React component and pass it any options that fit your needs.
|
|
69
|
+
* When your component renders, `useLikeAssetMutation` returns a tuple that includes:
|
|
70
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
71
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
72
|
+
*
|
|
73
|
+
* @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;
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* const [likeAssetMutation, { data, loading, error }] = useLikeAssetMutation({
|
|
77
|
+
* variables: {
|
|
78
|
+
* assetId: // value for 'assetId'
|
|
79
|
+
* },
|
|
80
|
+
* });
|
|
81
|
+
*/
|
|
82
|
+
function useLikeAssetMutation(baseOptions) {
|
|
83
|
+
return Apollo.useMutation(exports.LikeAssetDocument, baseOptions);
|
|
84
|
+
}
|
|
85
|
+
exports.useLikeAssetMutation = useLikeAssetMutation;
|
|
86
|
+
exports.FetchAssetDocument = (0, client_1.gql) `
|
|
87
|
+
query FetchAsset($assetId: String!) {
|
|
88
|
+
fetchAsset(assetId: $assetId) {
|
|
89
|
+
latestPriceCurrency
|
|
90
|
+
latestPriceAmount
|
|
91
|
+
collectionId
|
|
92
|
+
collectionOriginalUrls
|
|
93
|
+
collectionTitle
|
|
94
|
+
assetId
|
|
95
|
+
totalVolumes {
|
|
96
|
+
currency
|
|
97
|
+
amount
|
|
98
|
+
}
|
|
99
|
+
blockchain
|
|
100
|
+
address
|
|
101
|
+
tokenId
|
|
102
|
+
name
|
|
103
|
+
description
|
|
104
|
+
rank
|
|
105
|
+
markets {
|
|
106
|
+
marketId
|
|
107
|
+
marketName
|
|
108
|
+
marketDomain
|
|
109
|
+
marketUrl
|
|
110
|
+
}
|
|
111
|
+
collectionMedias {
|
|
112
|
+
originalUrl
|
|
113
|
+
url
|
|
114
|
+
previewUrl
|
|
115
|
+
mimeType
|
|
116
|
+
sizeRatio
|
|
117
|
+
fileSize
|
|
118
|
+
}
|
|
119
|
+
originalUrls
|
|
120
|
+
medias {
|
|
121
|
+
originalUrl
|
|
122
|
+
url
|
|
123
|
+
mimeType
|
|
124
|
+
sizeRatio
|
|
125
|
+
fileSize
|
|
126
|
+
previewUrl
|
|
127
|
+
}
|
|
128
|
+
ownersAddresses
|
|
129
|
+
ownersProfiles {
|
|
130
|
+
userId
|
|
131
|
+
username
|
|
132
|
+
about
|
|
133
|
+
userpic
|
|
134
|
+
followers
|
|
135
|
+
followings
|
|
136
|
+
visible
|
|
137
|
+
}
|
|
138
|
+
creatorsAddresses
|
|
139
|
+
creatorsProfiles {
|
|
140
|
+
userId
|
|
141
|
+
username
|
|
142
|
+
about
|
|
143
|
+
userpic
|
|
144
|
+
followers
|
|
145
|
+
followings
|
|
146
|
+
visible
|
|
147
|
+
}
|
|
148
|
+
attributes {
|
|
149
|
+
name
|
|
150
|
+
value
|
|
151
|
+
}
|
|
152
|
+
views
|
|
153
|
+
visible
|
|
154
|
+
blurred
|
|
155
|
+
medias {
|
|
156
|
+
originalUrl
|
|
157
|
+
url
|
|
158
|
+
previewUrl
|
|
159
|
+
mimeType
|
|
160
|
+
sizeRatio
|
|
161
|
+
fileSize
|
|
162
|
+
}
|
|
163
|
+
creatorsProfiles {
|
|
164
|
+
username
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
`;
|
|
169
|
+
/**
|
|
170
|
+
* __useFetchAssetQuery__
|
|
171
|
+
*
|
|
172
|
+
* To run a query within a React component, call `useFetchAssetQuery` and pass it any options that fit your needs.
|
|
173
|
+
* When your component renders, `useFetchAssetQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
174
|
+
* you can use to render your UI.
|
|
175
|
+
*
|
|
176
|
+
* @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;
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* const { data, loading, error } = useFetchAssetQuery({
|
|
180
|
+
* variables: {
|
|
181
|
+
* assetId: // value for 'assetId'
|
|
182
|
+
* },
|
|
183
|
+
* });
|
|
184
|
+
*/
|
|
185
|
+
function useFetchAssetQuery(baseOptions) {
|
|
186
|
+
return Apollo.useQuery(exports.FetchAssetDocument, baseOptions);
|
|
187
|
+
}
|
|
188
|
+
exports.useFetchAssetQuery = useFetchAssetQuery;
|
|
189
|
+
function useFetchAssetLazyQuery(baseOptions) {
|
|
190
|
+
return Apollo.useLazyQuery(exports.FetchAssetDocument, baseOptions);
|
|
191
|
+
}
|
|
192
|
+
exports.useFetchAssetLazyQuery = useFetchAssetLazyQuery;
|
|
193
|
+
exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
194
|
+
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
195
|
+
fetchAssetByBlockchain(
|
|
196
|
+
blockchain: $blockchain
|
|
197
|
+
address: $address
|
|
198
|
+
tokenId: $tokenId
|
|
199
|
+
elrondId: $elrondId
|
|
200
|
+
) {
|
|
201
|
+
latestPriceCurrency
|
|
202
|
+
latestPriceAmount
|
|
203
|
+
collectionId
|
|
204
|
+
collectionOriginalUrls
|
|
205
|
+
collectionTitle
|
|
206
|
+
assetId
|
|
207
|
+
totalVolumes {
|
|
208
|
+
currency
|
|
209
|
+
amount
|
|
210
|
+
}
|
|
211
|
+
blockchain
|
|
212
|
+
address
|
|
213
|
+
tokenId
|
|
214
|
+
name
|
|
215
|
+
description
|
|
216
|
+
rank
|
|
217
|
+
markets {
|
|
218
|
+
marketId
|
|
219
|
+
marketName
|
|
220
|
+
marketDomain
|
|
221
|
+
marketUrl
|
|
222
|
+
}
|
|
223
|
+
collectionMedias {
|
|
224
|
+
originalUrl
|
|
225
|
+
url
|
|
226
|
+
previewUrl
|
|
227
|
+
mimeType
|
|
228
|
+
sizeRatio
|
|
229
|
+
fileSize
|
|
230
|
+
}
|
|
231
|
+
originalUrls
|
|
232
|
+
medias {
|
|
233
|
+
originalUrl
|
|
234
|
+
url
|
|
235
|
+
mimeType
|
|
236
|
+
previewUrl
|
|
237
|
+
sizeRatio
|
|
238
|
+
fileSize
|
|
239
|
+
}
|
|
240
|
+
ownersAddresses
|
|
241
|
+
ownersProfiles {
|
|
242
|
+
userId
|
|
243
|
+
username
|
|
244
|
+
about
|
|
245
|
+
userpic
|
|
246
|
+
followers
|
|
247
|
+
followings
|
|
248
|
+
visible
|
|
249
|
+
}
|
|
250
|
+
creatorsAddresses
|
|
251
|
+
creatorsProfiles {
|
|
252
|
+
userId
|
|
253
|
+
username
|
|
254
|
+
about
|
|
255
|
+
userpic
|
|
256
|
+
followers
|
|
257
|
+
followings
|
|
258
|
+
visible
|
|
259
|
+
}
|
|
260
|
+
attributes {
|
|
261
|
+
name
|
|
262
|
+
value
|
|
263
|
+
}
|
|
264
|
+
views
|
|
265
|
+
visible
|
|
266
|
+
blurred
|
|
267
|
+
medias {
|
|
268
|
+
originalUrl
|
|
269
|
+
url
|
|
270
|
+
previewUrl
|
|
271
|
+
mimeType
|
|
272
|
+
sizeRatio
|
|
273
|
+
fileSize
|
|
274
|
+
}
|
|
275
|
+
creatorsProfiles {
|
|
276
|
+
username
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
`;
|
|
281
|
+
/**
|
|
282
|
+
* __useFetchAssetByBlockchainQuery__
|
|
283
|
+
*
|
|
284
|
+
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
285
|
+
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
286
|
+
* you can use to render your UI.
|
|
287
|
+
*
|
|
288
|
+
* @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;
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
292
|
+
* variables: {
|
|
293
|
+
* blockchain: // value for 'blockchain'
|
|
294
|
+
* address: // value for 'address'
|
|
295
|
+
* tokenId: // value for 'tokenId'
|
|
296
|
+
* elrondId: // value for 'elrondId'
|
|
297
|
+
* },
|
|
298
|
+
* });
|
|
299
|
+
*/
|
|
300
|
+
function useFetchAssetByBlockchainQuery(baseOptions) {
|
|
301
|
+
return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
302
|
+
}
|
|
303
|
+
exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
|
|
304
|
+
function useFetchAssetByBlockchainLazyQuery(baseOptions) {
|
|
305
|
+
return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
306
|
+
}
|
|
307
|
+
exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
|
|
308
|
+
exports.FetchAssetsDocument = (0, client_1.gql) `
|
|
309
|
+
query FetchAssets($assetIds: [String!]!) {
|
|
310
|
+
fetchAssets(assetIds: $assetIds) {
|
|
311
|
+
latestPriceCurrency
|
|
312
|
+
latestPriceAmount
|
|
313
|
+
collectionId
|
|
314
|
+
collectionOriginalUrls
|
|
315
|
+
collectionTitle
|
|
316
|
+
assetId
|
|
317
|
+
totalVolumes {
|
|
318
|
+
currency
|
|
319
|
+
amount
|
|
320
|
+
}
|
|
321
|
+
blockchain
|
|
322
|
+
address
|
|
323
|
+
tokenId
|
|
324
|
+
name
|
|
325
|
+
description
|
|
326
|
+
rank
|
|
327
|
+
markets {
|
|
328
|
+
marketId
|
|
329
|
+
marketName
|
|
330
|
+
marketDomain
|
|
331
|
+
marketUrl
|
|
332
|
+
}
|
|
333
|
+
collectionMedias {
|
|
334
|
+
originalUrl
|
|
335
|
+
url
|
|
336
|
+
previewUrl
|
|
337
|
+
mimeType
|
|
338
|
+
sizeRatio
|
|
339
|
+
fileSize
|
|
340
|
+
}
|
|
341
|
+
originalUrls
|
|
342
|
+
medias {
|
|
343
|
+
originalUrl
|
|
344
|
+
url
|
|
345
|
+
mimeType
|
|
346
|
+
sizeRatio
|
|
347
|
+
fileSize
|
|
348
|
+
previewUrl
|
|
349
|
+
}
|
|
350
|
+
ownersAddresses
|
|
351
|
+
ownersProfiles {
|
|
352
|
+
userId
|
|
353
|
+
username
|
|
354
|
+
about
|
|
355
|
+
userpic
|
|
356
|
+
followers
|
|
357
|
+
followings
|
|
358
|
+
visible
|
|
359
|
+
}
|
|
360
|
+
creatorsAddresses
|
|
361
|
+
creatorsProfiles {
|
|
362
|
+
userId
|
|
363
|
+
username
|
|
364
|
+
about
|
|
365
|
+
userpic
|
|
366
|
+
followers
|
|
367
|
+
followings
|
|
368
|
+
visible
|
|
369
|
+
}
|
|
370
|
+
attributes {
|
|
371
|
+
name
|
|
372
|
+
value
|
|
373
|
+
}
|
|
374
|
+
views
|
|
375
|
+
visible
|
|
376
|
+
blurred
|
|
377
|
+
medias {
|
|
378
|
+
originalUrl
|
|
379
|
+
url
|
|
380
|
+
previewUrl
|
|
381
|
+
mimeType
|
|
382
|
+
}
|
|
383
|
+
creatorsProfiles {
|
|
384
|
+
username
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
`;
|
|
389
|
+
/**
|
|
390
|
+
* __useFetchAssetsQuery__
|
|
391
|
+
*
|
|
392
|
+
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
393
|
+
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
394
|
+
* you can use to render your UI.
|
|
395
|
+
*
|
|
396
|
+
* @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;
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* const { data, loading, error } = useFetchAssetsQuery({
|
|
400
|
+
* variables: {
|
|
401
|
+
* assetIds: // value for 'assetIds'
|
|
402
|
+
* },
|
|
403
|
+
* });
|
|
404
|
+
*/
|
|
405
|
+
function useFetchAssetsQuery(baseOptions) {
|
|
406
|
+
return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
|
|
407
|
+
}
|
|
408
|
+
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
409
|
+
function useFetchAssetsLazyQuery(baseOptions) {
|
|
410
|
+
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
411
|
+
}
|
|
412
|
+
exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
|
|
413
|
+
exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
|
|
414
|
+
query FetchDynamicAssetLikes($assetId: String!) {
|
|
415
|
+
fetchDynamicAssetData(assetId: $assetId) {
|
|
416
|
+
isLikedByUser
|
|
417
|
+
likesNum
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
`;
|
|
421
|
+
/**
|
|
422
|
+
* __useFetchDynamicAssetLikesQuery__
|
|
423
|
+
*
|
|
424
|
+
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
425
|
+
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
426
|
+
* you can use to render your UI.
|
|
427
|
+
*
|
|
428
|
+
* @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;
|
|
429
|
+
*
|
|
430
|
+
* @example
|
|
431
|
+
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
432
|
+
* variables: {
|
|
433
|
+
* assetId: // value for 'assetId'
|
|
434
|
+
* },
|
|
435
|
+
* });
|
|
436
|
+
*/
|
|
437
|
+
function useFetchDynamicAssetLikesQuery(baseOptions) {
|
|
438
|
+
return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
439
|
+
}
|
|
440
|
+
exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
|
|
441
|
+
function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
|
|
442
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
443
|
+
}
|
|
444
|
+
exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
|
|
445
|
+
exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
|
|
446
|
+
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
447
|
+
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
448
|
+
isLikedByUser
|
|
449
|
+
likesNum
|
|
450
|
+
assetId
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
`;
|
|
454
|
+
/**
|
|
455
|
+
* __useFetchDynamicAssetsLikesQuery__
|
|
456
|
+
*
|
|
457
|
+
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
458
|
+
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
459
|
+
* you can use to render your UI.
|
|
460
|
+
*
|
|
461
|
+
* @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;
|
|
462
|
+
*
|
|
463
|
+
* @example
|
|
464
|
+
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
465
|
+
* variables: {
|
|
466
|
+
* assetIds: // value for 'assetIds'
|
|
467
|
+
* },
|
|
468
|
+
* });
|
|
469
|
+
*/
|
|
470
|
+
function useFetchDynamicAssetsLikesQuery(baseOptions) {
|
|
471
|
+
return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
472
|
+
}
|
|
473
|
+
exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
|
|
474
|
+
function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
475
|
+
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
476
|
+
}
|
|
477
|
+
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
478
|
+
exports.FetchLikedDocument = (0, client_1.gql) `
|
|
479
|
+
query FetchLiked($assetId: String!) {
|
|
480
|
+
fetchLiked(assetId: $assetId)
|
|
481
|
+
}
|
|
482
|
+
`;
|
|
483
|
+
/**
|
|
484
|
+
* __useFetchLikedQuery__
|
|
485
|
+
*
|
|
486
|
+
* To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
|
|
487
|
+
* When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
488
|
+
* you can use to render your UI.
|
|
489
|
+
*
|
|
490
|
+
* @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;
|
|
491
|
+
*
|
|
492
|
+
* @example
|
|
493
|
+
* const { data, loading, error } = useFetchLikedQuery({
|
|
494
|
+
* variables: {
|
|
495
|
+
* assetId: // value for 'assetId'
|
|
496
|
+
* },
|
|
497
|
+
* });
|
|
498
|
+
*/
|
|
499
|
+
function useFetchLikedQuery(baseOptions) {
|
|
500
|
+
return Apollo.useQuery(exports.FetchLikedDocument, baseOptions);
|
|
501
|
+
}
|
|
502
|
+
exports.useFetchLikedQuery = useFetchLikedQuery;
|
|
503
|
+
function useFetchLikedLazyQuery(baseOptions) {
|
|
504
|
+
return Apollo.useLazyQuery(exports.FetchLikedDocument, baseOptions);
|
|
505
|
+
}
|
|
506
|
+
exports.useFetchLikedLazyQuery = useFetchLikedLazyQuery;
|
|
507
|
+
exports.DislikeCollectionDocument = (0, client_1.gql) `
|
|
508
|
+
mutation DislikeCollection($collectionId: String!) {
|
|
509
|
+
dislikeCollection(collectionId: $collectionId)
|
|
510
|
+
}
|
|
511
|
+
`;
|
|
512
|
+
/**
|
|
513
|
+
* __useDislikeCollectionMutation__
|
|
514
|
+
*
|
|
515
|
+
* To run a mutation, you first call `useDislikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
516
|
+
* When your component renders, `useDislikeCollectionMutation` returns a tuple that includes:
|
|
517
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
518
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
519
|
+
*
|
|
520
|
+
* @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;
|
|
521
|
+
*
|
|
522
|
+
* @example
|
|
523
|
+
* const [dislikeCollectionMutation, { data, loading, error }] = useDislikeCollectionMutation({
|
|
524
|
+
* variables: {
|
|
525
|
+
* collectionId: // value for 'collectionId'
|
|
526
|
+
* },
|
|
527
|
+
* });
|
|
528
|
+
*/
|
|
529
|
+
function useDislikeCollectionMutation(baseOptions) {
|
|
530
|
+
return Apollo.useMutation(exports.DislikeCollectionDocument, baseOptions);
|
|
531
|
+
}
|
|
532
|
+
exports.useDislikeCollectionMutation = useDislikeCollectionMutation;
|
|
533
|
+
exports.LikeCollectionDocument = (0, client_1.gql) `
|
|
534
|
+
mutation LikeCollection($collectionId: String!) {
|
|
535
|
+
likeCollection(collectionId: $collectionId)
|
|
536
|
+
}
|
|
537
|
+
`;
|
|
538
|
+
/**
|
|
539
|
+
* __useLikeCollectionMutation__
|
|
540
|
+
*
|
|
541
|
+
* To run a mutation, you first call `useLikeCollectionMutation` within a React component and pass it any options that fit your needs.
|
|
542
|
+
* When your component renders, `useLikeCollectionMutation` returns a tuple that includes:
|
|
543
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
544
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
545
|
+
*
|
|
546
|
+
* @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;
|
|
547
|
+
*
|
|
548
|
+
* @example
|
|
549
|
+
* const [likeCollectionMutation, { data, loading, error }] = useLikeCollectionMutation({
|
|
550
|
+
* variables: {
|
|
551
|
+
* collectionId: // value for 'collectionId'
|
|
552
|
+
* },
|
|
553
|
+
* });
|
|
554
|
+
*/
|
|
555
|
+
function useLikeCollectionMutation(baseOptions) {
|
|
556
|
+
return Apollo.useMutation(exports.LikeCollectionDocument, baseOptions);
|
|
557
|
+
}
|
|
558
|
+
exports.useLikeCollectionMutation = useLikeCollectionMutation;
|
|
559
|
+
exports.FetchCollectionDocument = (0, client_1.gql) `
|
|
560
|
+
query fetchCollection($collectionId: String!) {
|
|
561
|
+
fetchCollection(collectionId: $collectionId) {
|
|
562
|
+
collectionId
|
|
563
|
+
blockchain
|
|
564
|
+
identifier
|
|
565
|
+
contractAddress
|
|
566
|
+
tokenId
|
|
567
|
+
collectionTitle
|
|
568
|
+
items
|
|
569
|
+
owners
|
|
570
|
+
totalVolumes {
|
|
571
|
+
currency
|
|
572
|
+
amount
|
|
573
|
+
}
|
|
574
|
+
likes
|
|
575
|
+
liked
|
|
576
|
+
collectionMarkets {
|
|
577
|
+
marketId
|
|
578
|
+
marketName
|
|
579
|
+
marketDomain
|
|
580
|
+
marketUrl
|
|
581
|
+
}
|
|
582
|
+
creatorsAddresses
|
|
583
|
+
creatorsProfiles {
|
|
584
|
+
username
|
|
585
|
+
userpic
|
|
586
|
+
}
|
|
587
|
+
verified
|
|
588
|
+
originalUrls
|
|
589
|
+
rank
|
|
590
|
+
floorPrices {
|
|
591
|
+
currency
|
|
592
|
+
amount
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
`;
|
|
597
|
+
/**
|
|
598
|
+
* __useFetchCollectionQuery__
|
|
599
|
+
*
|
|
600
|
+
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
601
|
+
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
602
|
+
* you can use to render your UI.
|
|
603
|
+
*
|
|
604
|
+
* @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;
|
|
605
|
+
*
|
|
606
|
+
* @example
|
|
607
|
+
* const { data, loading, error } = useFetchCollectionQuery({
|
|
608
|
+
* variables: {
|
|
609
|
+
* collectionId: // value for 'collectionId'
|
|
610
|
+
* },
|
|
611
|
+
* });
|
|
612
|
+
*/
|
|
613
|
+
function useFetchCollectionQuery(baseOptions) {
|
|
614
|
+
return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
|
|
615
|
+
}
|
|
616
|
+
exports.useFetchCollectionQuery = useFetchCollectionQuery;
|
|
617
|
+
function useFetchCollectionLazyQuery(baseOptions) {
|
|
618
|
+
return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
|
|
619
|
+
}
|
|
620
|
+
exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
|
|
621
|
+
exports.FetchCollectionsDocument = (0, client_1.gql) `
|
|
622
|
+
query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
|
|
623
|
+
fetchCollectionAssets(
|
|
624
|
+
pageSize: $pageSize
|
|
625
|
+
pageToken: $pageToken
|
|
626
|
+
collectionId: $collectionId
|
|
627
|
+
) {
|
|
628
|
+
nextPageToken
|
|
629
|
+
collectionAssets {
|
|
630
|
+
collectionId
|
|
631
|
+
collectionTitle
|
|
632
|
+
assetId
|
|
633
|
+
blockchain
|
|
634
|
+
address
|
|
635
|
+
tokenId
|
|
636
|
+
chainId
|
|
637
|
+
creatorsAddresses
|
|
638
|
+
originalUrls
|
|
639
|
+
name
|
|
640
|
+
description
|
|
641
|
+
likes
|
|
642
|
+
liked
|
|
643
|
+
views
|
|
644
|
+
medias {
|
|
645
|
+
originalUrl
|
|
646
|
+
url
|
|
647
|
+
previewUrl
|
|
648
|
+
mimeType
|
|
649
|
+
sizeRatio
|
|
650
|
+
fileSize
|
|
651
|
+
}
|
|
652
|
+
visible
|
|
653
|
+
createdAt
|
|
654
|
+
blurred
|
|
655
|
+
rank
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
`;
|
|
660
|
+
/**
|
|
661
|
+
* __useFetchCollectionsQuery__
|
|
662
|
+
*
|
|
663
|
+
* To run a query within a React component, call `useFetchCollectionsQuery` and pass it any options that fit your needs.
|
|
664
|
+
* When your component renders, `useFetchCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
665
|
+
* you can use to render your UI.
|
|
666
|
+
*
|
|
667
|
+
* @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;
|
|
668
|
+
*
|
|
669
|
+
* @example
|
|
670
|
+
* const { data, loading, error } = useFetchCollectionsQuery({
|
|
671
|
+
* variables: {
|
|
672
|
+
* pageSize: // value for 'pageSize'
|
|
673
|
+
* pageToken: // value for 'pageToken'
|
|
674
|
+
* collectionId: // value for 'collectionId'
|
|
675
|
+
* },
|
|
676
|
+
* });
|
|
677
|
+
*/
|
|
678
|
+
function useFetchCollectionsQuery(baseOptions) {
|
|
679
|
+
return Apollo.useQuery(exports.FetchCollectionsDocument, baseOptions);
|
|
680
|
+
}
|
|
681
|
+
exports.useFetchCollectionsQuery = useFetchCollectionsQuery;
|
|
682
|
+
function useFetchCollectionsLazyQuery(baseOptions) {
|
|
683
|
+
return Apollo.useLazyQuery(exports.FetchCollectionsDocument, baseOptions);
|
|
684
|
+
}
|
|
685
|
+
exports.useFetchCollectionsLazyQuery = useFetchCollectionsLazyQuery;
|
|
686
|
+
exports.FetchCollectionsByIdsDocument = (0, client_1.gql) `
|
|
687
|
+
query FetchCollectionsByIds($collectionIds: [String!]!) {
|
|
688
|
+
fetchCollectionsByIds(collectionIds: $collectionIds) {
|
|
689
|
+
collectionId
|
|
690
|
+
blockchain
|
|
691
|
+
identifier
|
|
692
|
+
contractAddress
|
|
693
|
+
tokenId
|
|
694
|
+
collectionTitle
|
|
695
|
+
items
|
|
696
|
+
owners
|
|
697
|
+
totalVolumes {
|
|
698
|
+
currency
|
|
699
|
+
amount
|
|
700
|
+
}
|
|
701
|
+
likes
|
|
702
|
+
liked
|
|
703
|
+
collectionMarkets {
|
|
704
|
+
marketName
|
|
705
|
+
marketDomain
|
|
706
|
+
marketUrl
|
|
707
|
+
}
|
|
708
|
+
creatorsAddresses
|
|
709
|
+
creatorsProfiles {
|
|
710
|
+
username
|
|
711
|
+
userpic
|
|
712
|
+
}
|
|
713
|
+
verified
|
|
714
|
+
originalUrls
|
|
715
|
+
rank
|
|
716
|
+
floorPrices {
|
|
717
|
+
currency
|
|
718
|
+
amount
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
`;
|
|
723
|
+
/**
|
|
724
|
+
* __useFetchCollectionsByIdsQuery__
|
|
725
|
+
*
|
|
726
|
+
* To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
|
|
727
|
+
* When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
728
|
+
* you can use to render your UI.
|
|
729
|
+
*
|
|
730
|
+
* @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;
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* const { data, loading, error } = useFetchCollectionsByIdsQuery({
|
|
734
|
+
* variables: {
|
|
735
|
+
* collectionIds: // value for 'collectionIds'
|
|
736
|
+
* },
|
|
737
|
+
* });
|
|
738
|
+
*/
|
|
739
|
+
function useFetchCollectionsByIdsQuery(baseOptions) {
|
|
740
|
+
return Apollo.useQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
741
|
+
}
|
|
742
|
+
exports.useFetchCollectionsByIdsQuery = useFetchCollectionsByIdsQuery;
|
|
743
|
+
function useFetchCollectionsByIdsLazyQuery(baseOptions) {
|
|
744
|
+
return Apollo.useLazyQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
745
|
+
}
|
|
746
|
+
exports.useFetchCollectionsByIdsLazyQuery = useFetchCollectionsByIdsLazyQuery;
|
|
747
|
+
exports.FetchDynamicCollectionDataDocument = (0, client_1.gql) `
|
|
748
|
+
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
749
|
+
fetchDynamicCollectionData(input: $input) {
|
|
750
|
+
isLikedByUser
|
|
751
|
+
likesNum
|
|
752
|
+
collectionId
|
|
753
|
+
collectionAssetsPage {
|
|
754
|
+
nextPageToken
|
|
755
|
+
collectionAssets {
|
|
756
|
+
collectionId
|
|
757
|
+
collectionTitle
|
|
758
|
+
assetId
|
|
759
|
+
blockchain
|
|
760
|
+
address
|
|
761
|
+
tokenId
|
|
762
|
+
chainId
|
|
763
|
+
creatorsAddresses
|
|
764
|
+
originalUrls
|
|
765
|
+
name
|
|
766
|
+
description
|
|
767
|
+
likes
|
|
768
|
+
liked
|
|
769
|
+
views
|
|
770
|
+
medias {
|
|
771
|
+
originalUrl
|
|
772
|
+
url
|
|
773
|
+
previewUrl
|
|
774
|
+
mimeType
|
|
775
|
+
sizeRatio
|
|
776
|
+
fileSize
|
|
777
|
+
}
|
|
778
|
+
visible
|
|
779
|
+
createdAt
|
|
780
|
+
blurred
|
|
781
|
+
rank
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
`;
|
|
787
|
+
/**
|
|
788
|
+
* __useFetchDynamicCollectionDataQuery__
|
|
789
|
+
*
|
|
790
|
+
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
791
|
+
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
792
|
+
* you can use to render your UI.
|
|
793
|
+
*
|
|
794
|
+
* @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;
|
|
795
|
+
*
|
|
796
|
+
* @example
|
|
797
|
+
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
798
|
+
* variables: {
|
|
799
|
+
* input: // value for 'input'
|
|
800
|
+
* },
|
|
801
|
+
* });
|
|
802
|
+
*/
|
|
803
|
+
function useFetchDynamicCollectionDataQuery(baseOptions) {
|
|
804
|
+
return Apollo.useQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
805
|
+
}
|
|
806
|
+
exports.useFetchDynamicCollectionDataQuery = useFetchDynamicCollectionDataQuery;
|
|
807
|
+
function useFetchDynamicCollectionDataLazyQuery(baseOptions) {
|
|
808
|
+
return Apollo.useLazyQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
809
|
+
}
|
|
810
|
+
exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
|
|
811
|
+
exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
|
|
812
|
+
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
813
|
+
fetchDynamicCollectionsData(input: $input) {
|
|
814
|
+
isLikedByUser
|
|
815
|
+
likesNum
|
|
816
|
+
collectionId
|
|
817
|
+
collectionAssetsPage {
|
|
818
|
+
nextPageToken
|
|
819
|
+
collectionAssets {
|
|
820
|
+
collectionId
|
|
821
|
+
collectionTitle
|
|
822
|
+
assetId
|
|
823
|
+
blockchain
|
|
824
|
+
address
|
|
825
|
+
tokenId
|
|
826
|
+
chainId
|
|
827
|
+
creatorsAddresses
|
|
828
|
+
originalUrls
|
|
829
|
+
name
|
|
830
|
+
description
|
|
831
|
+
likes
|
|
832
|
+
liked
|
|
833
|
+
views
|
|
834
|
+
medias {
|
|
835
|
+
originalUrl
|
|
836
|
+
url
|
|
837
|
+
previewUrl
|
|
838
|
+
mimeType
|
|
839
|
+
sizeRatio
|
|
840
|
+
fileSize
|
|
841
|
+
}
|
|
842
|
+
visible
|
|
843
|
+
createdAt
|
|
844
|
+
blurred
|
|
845
|
+
rank
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
`;
|
|
851
|
+
/**
|
|
852
|
+
* __useFetchDynamicCollectionsDataQuery__
|
|
853
|
+
*
|
|
854
|
+
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
855
|
+
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
856
|
+
* you can use to render your UI.
|
|
857
|
+
*
|
|
858
|
+
* @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;
|
|
859
|
+
*
|
|
860
|
+
* @example
|
|
861
|
+
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
862
|
+
* variables: {
|
|
863
|
+
* input: // value for 'input'
|
|
864
|
+
* },
|
|
865
|
+
* });
|
|
866
|
+
*/
|
|
867
|
+
function useFetchDynamicCollectionsDataQuery(baseOptions) {
|
|
868
|
+
return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
869
|
+
}
|
|
870
|
+
exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
|
|
871
|
+
function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
|
|
872
|
+
return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
873
|
+
}
|
|
874
|
+
exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
|
|
875
|
+
exports.AddAssetsToGalleryDocument = (0, client_1.gql) `
|
|
876
|
+
mutation AddAssetsToGallery($galleryId: ID!, $assetIds: [String!]!) {
|
|
877
|
+
addAssetsToGallery(galleryId: $galleryId, assetIds: $assetIds)
|
|
878
|
+
}
|
|
879
|
+
`;
|
|
880
|
+
/**
|
|
881
|
+
* __useAddAssetsToGalleryMutation__
|
|
882
|
+
*
|
|
883
|
+
* To run a mutation, you first call `useAddAssetsToGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
884
|
+
* When your component renders, `useAddAssetsToGalleryMutation` returns a tuple that includes:
|
|
885
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
886
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
887
|
+
*
|
|
888
|
+
* @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;
|
|
889
|
+
*
|
|
890
|
+
* @example
|
|
891
|
+
* const [addAssetsToGalleryMutation, { data, loading, error }] = useAddAssetsToGalleryMutation({
|
|
892
|
+
* variables: {
|
|
893
|
+
* galleryId: // value for 'galleryId'
|
|
894
|
+
* assetIds: // value for 'assetIds'
|
|
895
|
+
* },
|
|
896
|
+
* });
|
|
897
|
+
*/
|
|
898
|
+
function useAddAssetsToGalleryMutation(baseOptions) {
|
|
899
|
+
return Apollo.useMutation(exports.AddAssetsToGalleryDocument, baseOptions);
|
|
900
|
+
}
|
|
901
|
+
exports.useAddAssetsToGalleryMutation = useAddAssetsToGalleryMutation;
|
|
902
|
+
exports.AddAssetsToGalleryV2Document = (0, client_1.gql) `
|
|
903
|
+
mutation AddAssetsToGalleryV2($galleryId: ID!, $assetIds: [String!]!) {
|
|
904
|
+
addAssetsToGalleryV2(galleryId: $galleryId, assetIds: $assetIds)
|
|
905
|
+
}
|
|
906
|
+
`;
|
|
907
|
+
/**
|
|
908
|
+
* __useAddAssetsToGalleryV2Mutation__
|
|
909
|
+
*
|
|
910
|
+
* To run a mutation, you first call `useAddAssetsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
911
|
+
* When your component renders, `useAddAssetsToGalleryV2Mutation` returns a tuple that includes:
|
|
912
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
913
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
914
|
+
*
|
|
915
|
+
* @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;
|
|
916
|
+
*
|
|
917
|
+
* @example
|
|
918
|
+
* const [addAssetsToGalleryV2Mutation, { data, loading, error }] = useAddAssetsToGalleryV2Mutation({
|
|
919
|
+
* variables: {
|
|
920
|
+
* galleryId: // value for 'galleryId'
|
|
921
|
+
* assetIds: // value for 'assetIds'
|
|
922
|
+
* },
|
|
923
|
+
* });
|
|
924
|
+
*/
|
|
925
|
+
function useAddAssetsToGalleryV2Mutation(baseOptions) {
|
|
926
|
+
return Apollo.useMutation(exports.AddAssetsToGalleryV2Document, baseOptions);
|
|
927
|
+
}
|
|
928
|
+
exports.useAddAssetsToGalleryV2Mutation = useAddAssetsToGalleryV2Mutation;
|
|
929
|
+
exports.UploadGalleryBannerDocument = (0, client_1.gql) `
|
|
930
|
+
mutation UploadGalleryBanner($galleryId: ID!, $file: Upload!) {
|
|
931
|
+
uploadGalleryBanner(galleryId: $galleryId, file: $file)
|
|
932
|
+
}
|
|
933
|
+
`;
|
|
934
|
+
/**
|
|
935
|
+
* __useUploadGalleryBannerMutation__
|
|
936
|
+
*
|
|
937
|
+
* To run a mutation, you first call `useUploadGalleryBannerMutation` within a React component and pass it any options that fit your needs.
|
|
938
|
+
* When your component renders, `useUploadGalleryBannerMutation` returns a tuple that includes:
|
|
939
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
940
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
941
|
+
*
|
|
942
|
+
* @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;
|
|
943
|
+
*
|
|
944
|
+
* @example
|
|
945
|
+
* const [uploadGalleryBannerMutation, { data, loading, error }] = useUploadGalleryBannerMutation({
|
|
946
|
+
* variables: {
|
|
947
|
+
* galleryId: // value for 'galleryId'
|
|
948
|
+
* file: // value for 'file'
|
|
949
|
+
* },
|
|
950
|
+
* });
|
|
951
|
+
*/
|
|
952
|
+
function useUploadGalleryBannerMutation(baseOptions) {
|
|
953
|
+
return Apollo.useMutation(exports.UploadGalleryBannerDocument, baseOptions);
|
|
954
|
+
}
|
|
955
|
+
exports.useUploadGalleryBannerMutation = useUploadGalleryBannerMutation;
|
|
956
|
+
exports.AddCollectionsToGalleryDocument = (0, client_1.gql) `
|
|
957
|
+
mutation AddCollectionsToGallery($galleryId: ID!, $collectionIds: [String!]!) {
|
|
958
|
+
addCollectionsToGallery(galleryId: $galleryId, collectionIds: $collectionIds)
|
|
959
|
+
}
|
|
960
|
+
`;
|
|
961
|
+
/**
|
|
962
|
+
* __useAddCollectionsToGalleryMutation__
|
|
963
|
+
*
|
|
964
|
+
* To run a mutation, you first call `useAddCollectionsToGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
965
|
+
* When your component renders, `useAddCollectionsToGalleryMutation` returns a tuple that includes:
|
|
966
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
967
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
968
|
+
*
|
|
969
|
+
* @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;
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* const [addCollectionsToGalleryMutation, { data, loading, error }] = useAddCollectionsToGalleryMutation({
|
|
973
|
+
* variables: {
|
|
974
|
+
* galleryId: // value for 'galleryId'
|
|
975
|
+
* collectionIds: // value for 'collectionIds'
|
|
976
|
+
* },
|
|
977
|
+
* });
|
|
978
|
+
*/
|
|
979
|
+
function useAddCollectionsToGalleryMutation(baseOptions) {
|
|
980
|
+
return Apollo.useMutation(exports.AddCollectionsToGalleryDocument, baseOptions);
|
|
981
|
+
}
|
|
982
|
+
exports.useAddCollectionsToGalleryMutation = useAddCollectionsToGalleryMutation;
|
|
983
|
+
exports.AddCollectionsToGalleryV2Document = (0, client_1.gql) `
|
|
984
|
+
mutation AddCollectionsToGalleryV2($galleryId: ID!, $collectionIds: [String!]!) {
|
|
985
|
+
addCollectionsToGalleryV2(galleryId: $galleryId, collectionIds: $collectionIds)
|
|
986
|
+
}
|
|
987
|
+
`;
|
|
988
|
+
/**
|
|
989
|
+
* __useAddCollectionsToGalleryV2Mutation__
|
|
990
|
+
*
|
|
991
|
+
* To run a mutation, you first call `useAddCollectionsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
992
|
+
* When your component renders, `useAddCollectionsToGalleryV2Mutation` returns a tuple that includes:
|
|
993
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
994
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
995
|
+
*
|
|
996
|
+
* @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;
|
|
997
|
+
*
|
|
998
|
+
* @example
|
|
999
|
+
* const [addCollectionsToGalleryV2Mutation, { data, loading, error }] = useAddCollectionsToGalleryV2Mutation({
|
|
1000
|
+
* variables: {
|
|
1001
|
+
* galleryId: // value for 'galleryId'
|
|
1002
|
+
* collectionIds: // value for 'collectionIds'
|
|
1003
|
+
* },
|
|
1004
|
+
* });
|
|
1005
|
+
*/
|
|
1006
|
+
function useAddCollectionsToGalleryV2Mutation(baseOptions) {
|
|
1007
|
+
return Apollo.useMutation(exports.AddCollectionsToGalleryV2Document, baseOptions);
|
|
1008
|
+
}
|
|
1009
|
+
exports.useAddCollectionsToGalleryV2Mutation = useAddCollectionsToGalleryV2Mutation;
|
|
1010
|
+
exports.AddCreationsToGalleryDocument = (0, client_1.gql) `
|
|
1011
|
+
mutation AddCreationsToGallery($galleryId: ID!, $creationIds: [String!]!) {
|
|
1012
|
+
addCreationsToGallery(galleryId: $galleryId, creationIds: $creationIds)
|
|
1013
|
+
}
|
|
1014
|
+
`;
|
|
1015
|
+
/**
|
|
1016
|
+
* __useAddCreationsToGalleryMutation__
|
|
1017
|
+
*
|
|
1018
|
+
* To run a mutation, you first call `useAddCreationsToGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1019
|
+
* When your component renders, `useAddCreationsToGalleryMutation` returns a tuple that includes:
|
|
1020
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1021
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1022
|
+
*
|
|
1023
|
+
* @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;
|
|
1024
|
+
*
|
|
1025
|
+
* @example
|
|
1026
|
+
* const [addCreationsToGalleryMutation, { data, loading, error }] = useAddCreationsToGalleryMutation({
|
|
1027
|
+
* variables: {
|
|
1028
|
+
* galleryId: // value for 'galleryId'
|
|
1029
|
+
* creationIds: // value for 'creationIds'
|
|
1030
|
+
* },
|
|
1031
|
+
* });
|
|
1032
|
+
*/
|
|
1033
|
+
function useAddCreationsToGalleryMutation(baseOptions) {
|
|
1034
|
+
return Apollo.useMutation(exports.AddCreationsToGalleryDocument, baseOptions);
|
|
1035
|
+
}
|
|
1036
|
+
exports.useAddCreationsToGalleryMutation = useAddCreationsToGalleryMutation;
|
|
1037
|
+
exports.AddCreationsToGalleryV2Document = (0, client_1.gql) `
|
|
1038
|
+
mutation AddCreationsToGalleryV2($galleryId: ID!, $creationIds: [String!]!) {
|
|
1039
|
+
addCreationsToGalleryV2(galleryId: $galleryId, creationIds: $creationIds)
|
|
1040
|
+
}
|
|
1041
|
+
`;
|
|
1042
|
+
/**
|
|
1043
|
+
* __useAddCreationsToGalleryV2Mutation__
|
|
1044
|
+
*
|
|
1045
|
+
* To run a mutation, you first call `useAddCreationsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1046
|
+
* When your component renders, `useAddCreationsToGalleryV2Mutation` returns a tuple that includes:
|
|
1047
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1048
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1049
|
+
*
|
|
1050
|
+
* @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;
|
|
1051
|
+
*
|
|
1052
|
+
* @example
|
|
1053
|
+
* const [addCreationsToGalleryV2Mutation, { data, loading, error }] = useAddCreationsToGalleryV2Mutation({
|
|
1054
|
+
* variables: {
|
|
1055
|
+
* galleryId: // value for 'galleryId'
|
|
1056
|
+
* creationIds: // value for 'creationIds'
|
|
1057
|
+
* },
|
|
1058
|
+
* });
|
|
1059
|
+
*/
|
|
1060
|
+
function useAddCreationsToGalleryV2Mutation(baseOptions) {
|
|
1061
|
+
return Apollo.useMutation(exports.AddCreationsToGalleryV2Document, baseOptions);
|
|
1062
|
+
}
|
|
1063
|
+
exports.useAddCreationsToGalleryV2Mutation = useAddCreationsToGalleryV2Mutation;
|
|
1064
|
+
exports.CreateFavoriteListV2Document = (0, client_1.gql) `
|
|
1065
|
+
mutation CreateFavoriteListV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
|
|
1066
|
+
createFavoriteListV2(
|
|
1067
|
+
name: $name
|
|
1068
|
+
description: $description
|
|
1069
|
+
publicAccessible: $publicAccessible
|
|
1070
|
+
creationIds: $creationIds
|
|
1071
|
+
)
|
|
1072
|
+
}
|
|
1073
|
+
`;
|
|
1074
|
+
/**
|
|
1075
|
+
* __useCreateFavoriteListV2Mutation__
|
|
1076
|
+
*
|
|
1077
|
+
* To run a mutation, you first call `useCreateFavoriteListV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1078
|
+
* When your component renders, `useCreateFavoriteListV2Mutation` returns a tuple that includes:
|
|
1079
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1080
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1081
|
+
*
|
|
1082
|
+
* @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;
|
|
1083
|
+
*
|
|
1084
|
+
* @example
|
|
1085
|
+
* const [createFavoriteListV2Mutation, { data, loading, error }] = useCreateFavoriteListV2Mutation({
|
|
1086
|
+
* variables: {
|
|
1087
|
+
* name: // value for 'name'
|
|
1088
|
+
* description: // value for 'description'
|
|
1089
|
+
* publicAccessible: // value for 'publicAccessible'
|
|
1090
|
+
* creationIds: // value for 'creationIds'
|
|
1091
|
+
* },
|
|
1092
|
+
* });
|
|
1093
|
+
*/
|
|
1094
|
+
function useCreateFavoriteListV2Mutation(baseOptions) {
|
|
1095
|
+
return Apollo.useMutation(exports.CreateFavoriteListV2Document, baseOptions);
|
|
1096
|
+
}
|
|
1097
|
+
exports.useCreateFavoriteListV2Mutation = useCreateFavoriteListV2Mutation;
|
|
1098
|
+
exports.CreateFavoritesDocument = (0, client_1.gql) `
|
|
1099
|
+
mutation CreateFavorites($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
|
|
1100
|
+
createFavorites(
|
|
1101
|
+
name: $name
|
|
1102
|
+
description: $description
|
|
1103
|
+
publicAccessible: $publicAccessible
|
|
1104
|
+
creationIds: $creationIds
|
|
1105
|
+
)
|
|
1106
|
+
}
|
|
1107
|
+
`;
|
|
1108
|
+
/**
|
|
1109
|
+
* __useCreateFavoritesMutation__
|
|
1110
|
+
*
|
|
1111
|
+
* To run a mutation, you first call `useCreateFavoritesMutation` within a React component and pass it any options that fit your needs.
|
|
1112
|
+
* When your component renders, `useCreateFavoritesMutation` returns a tuple that includes:
|
|
1113
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1114
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1115
|
+
*
|
|
1116
|
+
* @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;
|
|
1117
|
+
*
|
|
1118
|
+
* @example
|
|
1119
|
+
* const [createFavoritesMutation, { data, loading, error }] = useCreateFavoritesMutation({
|
|
1120
|
+
* variables: {
|
|
1121
|
+
* name: // value for 'name'
|
|
1122
|
+
* description: // value for 'description'
|
|
1123
|
+
* publicAccessible: // value for 'publicAccessible'
|
|
1124
|
+
* creationIds: // value for 'creationIds'
|
|
1125
|
+
* },
|
|
1126
|
+
* });
|
|
1127
|
+
*/
|
|
1128
|
+
function useCreateFavoritesMutation(baseOptions) {
|
|
1129
|
+
return Apollo.useMutation(exports.CreateFavoritesDocument, baseOptions);
|
|
1130
|
+
}
|
|
1131
|
+
exports.useCreateFavoritesMutation = useCreateFavoritesMutation;
|
|
1132
|
+
exports.CreateGalleryDocument = (0, client_1.gql) `
|
|
1133
|
+
mutation CreateGallery($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
|
|
1134
|
+
createGallery(
|
|
1135
|
+
name: $name
|
|
1136
|
+
description: $description
|
|
1137
|
+
publicAccessible: $publicAccessible
|
|
1138
|
+
creationIds: $creationIds
|
|
1139
|
+
)
|
|
1140
|
+
}
|
|
1141
|
+
`;
|
|
1142
|
+
/**
|
|
1143
|
+
* __useCreateGalleryMutation__
|
|
1144
|
+
*
|
|
1145
|
+
* To run a mutation, you first call `useCreateGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1146
|
+
* When your component renders, `useCreateGalleryMutation` returns a tuple that includes:
|
|
1147
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1148
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1149
|
+
*
|
|
1150
|
+
* @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;
|
|
1151
|
+
*
|
|
1152
|
+
* @example
|
|
1153
|
+
* const [createGalleryMutation, { data, loading, error }] = useCreateGalleryMutation({
|
|
1154
|
+
* variables: {
|
|
1155
|
+
* name: // value for 'name'
|
|
1156
|
+
* description: // value for 'description'
|
|
1157
|
+
* publicAccessible: // value for 'publicAccessible'
|
|
1158
|
+
* creationIds: // value for 'creationIds'
|
|
1159
|
+
* },
|
|
1160
|
+
* });
|
|
1161
|
+
*/
|
|
1162
|
+
function useCreateGalleryMutation(baseOptions) {
|
|
1163
|
+
return Apollo.useMutation(exports.CreateGalleryDocument, baseOptions);
|
|
1164
|
+
}
|
|
1165
|
+
exports.useCreateGalleryMutation = useCreateGalleryMutation;
|
|
1166
|
+
exports.CreateGalleryV2Document = (0, client_1.gql) `
|
|
1167
|
+
mutation CreateGalleryV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
|
|
1168
|
+
createGalleryV2(
|
|
1169
|
+
name: $name
|
|
1170
|
+
description: $description
|
|
1171
|
+
publicAccessible: $publicAccessible
|
|
1172
|
+
creationIds: $creationIds
|
|
1173
|
+
)
|
|
1174
|
+
}
|
|
1175
|
+
`;
|
|
1176
|
+
/**
|
|
1177
|
+
* __useCreateGalleryV2Mutation__
|
|
1178
|
+
*
|
|
1179
|
+
* To run a mutation, you first call `useCreateGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1180
|
+
* When your component renders, `useCreateGalleryV2Mutation` returns a tuple that includes:
|
|
1181
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1182
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1183
|
+
*
|
|
1184
|
+
* @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;
|
|
1185
|
+
*
|
|
1186
|
+
* @example
|
|
1187
|
+
* const [createGalleryV2Mutation, { data, loading, error }] = useCreateGalleryV2Mutation({
|
|
1188
|
+
* variables: {
|
|
1189
|
+
* name: // value for 'name'
|
|
1190
|
+
* description: // value for 'description'
|
|
1191
|
+
* publicAccessible: // value for 'publicAccessible'
|
|
1192
|
+
* creationIds: // value for 'creationIds'
|
|
1193
|
+
* },
|
|
1194
|
+
* });
|
|
1195
|
+
*/
|
|
1196
|
+
function useCreateGalleryV2Mutation(baseOptions) {
|
|
1197
|
+
return Apollo.useMutation(exports.CreateGalleryV2Document, baseOptions);
|
|
1198
|
+
}
|
|
1199
|
+
exports.useCreateGalleryV2Mutation = useCreateGalleryV2Mutation;
|
|
1200
|
+
exports.DeleteGalleryBannerDocument = (0, client_1.gql) `
|
|
1201
|
+
mutation DeleteGalleryBanner($galleryId: ID!) {
|
|
1202
|
+
deleteGalleryBanner(galleryId: $galleryId)
|
|
1203
|
+
}
|
|
1204
|
+
`;
|
|
1205
|
+
/**
|
|
1206
|
+
* __useDeleteGalleryBannerMutation__
|
|
1207
|
+
*
|
|
1208
|
+
* To run a mutation, you first call `useDeleteGalleryBannerMutation` within a React component and pass it any options that fit your needs.
|
|
1209
|
+
* When your component renders, `useDeleteGalleryBannerMutation` returns a tuple that includes:
|
|
1210
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1211
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1212
|
+
*
|
|
1213
|
+
* @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;
|
|
1214
|
+
*
|
|
1215
|
+
* @example
|
|
1216
|
+
* const [deleteGalleryBannerMutation, { data, loading, error }] = useDeleteGalleryBannerMutation({
|
|
1217
|
+
* variables: {
|
|
1218
|
+
* galleryId: // value for 'galleryId'
|
|
1219
|
+
* },
|
|
1220
|
+
* });
|
|
1221
|
+
*/
|
|
1222
|
+
function useDeleteGalleryBannerMutation(baseOptions) {
|
|
1223
|
+
return Apollo.useMutation(exports.DeleteGalleryBannerDocument, baseOptions);
|
|
1224
|
+
}
|
|
1225
|
+
exports.useDeleteGalleryBannerMutation = useDeleteGalleryBannerMutation;
|
|
1226
|
+
exports.EditGalleryDocument = (0, client_1.gql) `
|
|
1227
|
+
mutation EditGallery($galleryId: ID!, $name: String, $description: String) {
|
|
1228
|
+
editGallery(galleryId: $galleryId, name: $name, description: $description)
|
|
1229
|
+
}
|
|
1230
|
+
`;
|
|
1231
|
+
/**
|
|
1232
|
+
* __useEditGalleryMutation__
|
|
1233
|
+
*
|
|
1234
|
+
* To run a mutation, you first call `useEditGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1235
|
+
* When your component renders, `useEditGalleryMutation` returns a tuple that includes:
|
|
1236
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1237
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1238
|
+
*
|
|
1239
|
+
* @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;
|
|
1240
|
+
*
|
|
1241
|
+
* @example
|
|
1242
|
+
* const [editGalleryMutation, { data, loading, error }] = useEditGalleryMutation({
|
|
1243
|
+
* variables: {
|
|
1244
|
+
* galleryId: // value for 'galleryId'
|
|
1245
|
+
* name: // value for 'name'
|
|
1246
|
+
* description: // value for 'description'
|
|
1247
|
+
* },
|
|
1248
|
+
* });
|
|
1249
|
+
*/
|
|
1250
|
+
function useEditGalleryMutation(baseOptions) {
|
|
1251
|
+
return Apollo.useMutation(exports.EditGalleryDocument, baseOptions);
|
|
1252
|
+
}
|
|
1253
|
+
exports.useEditGalleryMutation = useEditGalleryMutation;
|
|
1254
|
+
exports.RemoveAssetFromGalleryDocument = (0, client_1.gql) `
|
|
1255
|
+
mutation RemoveAssetFromGallery($galleryId: ID!, $creationId: String!) {
|
|
1256
|
+
removeAssetFromGallery(galleryId: $galleryId, creationId: $creationId)
|
|
1257
|
+
}
|
|
1258
|
+
`;
|
|
1259
|
+
/**
|
|
1260
|
+
* __useRemoveAssetFromGalleryMutation__
|
|
1261
|
+
*
|
|
1262
|
+
* To run a mutation, you first call `useRemoveAssetFromGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1263
|
+
* When your component renders, `useRemoveAssetFromGalleryMutation` returns a tuple that includes:
|
|
1264
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1265
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1266
|
+
*
|
|
1267
|
+
* @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;
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* const [removeAssetFromGalleryMutation, { data, loading, error }] = useRemoveAssetFromGalleryMutation({
|
|
1271
|
+
* variables: {
|
|
1272
|
+
* galleryId: // value for 'galleryId'
|
|
1273
|
+
* creationId: // value for 'creationId'
|
|
1274
|
+
* },
|
|
1275
|
+
* });
|
|
1276
|
+
*/
|
|
1277
|
+
function useRemoveAssetFromGalleryMutation(baseOptions) {
|
|
1278
|
+
return Apollo.useMutation(exports.RemoveAssetFromGalleryDocument, baseOptions);
|
|
1279
|
+
}
|
|
1280
|
+
exports.useRemoveAssetFromGalleryMutation = useRemoveAssetFromGalleryMutation;
|
|
1281
|
+
exports.RemoveAssetFromGalleryV2Document = (0, client_1.gql) `
|
|
1282
|
+
mutation RemoveAssetFromGalleryV2($galleryId: ID!, $assetId: String!) {
|
|
1283
|
+
removeAssetFromGalleryV2(galleryId: $galleryId, assetId: $assetId)
|
|
1284
|
+
}
|
|
1285
|
+
`;
|
|
1286
|
+
/**
|
|
1287
|
+
* __useRemoveAssetFromGalleryV2Mutation__
|
|
1288
|
+
*
|
|
1289
|
+
* To run a mutation, you first call `useRemoveAssetFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1290
|
+
* When your component renders, `useRemoveAssetFromGalleryV2Mutation` returns a tuple that includes:
|
|
1291
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1292
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1293
|
+
*
|
|
1294
|
+
* @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;
|
|
1295
|
+
*
|
|
1296
|
+
* @example
|
|
1297
|
+
* const [removeAssetFromGalleryV2Mutation, { data, loading, error }] = useRemoveAssetFromGalleryV2Mutation({
|
|
1298
|
+
* variables: {
|
|
1299
|
+
* galleryId: // value for 'galleryId'
|
|
1300
|
+
* assetId: // value for 'assetId'
|
|
1301
|
+
* },
|
|
1302
|
+
* });
|
|
1303
|
+
*/
|
|
1304
|
+
function useRemoveAssetFromGalleryV2Mutation(baseOptions) {
|
|
1305
|
+
return Apollo.useMutation(exports.RemoveAssetFromGalleryV2Document, baseOptions);
|
|
1306
|
+
}
|
|
1307
|
+
exports.useRemoveAssetFromGalleryV2Mutation = useRemoveAssetFromGalleryV2Mutation;
|
|
1308
|
+
exports.RemoveCollectionFromGalleryDocument = (0, client_1.gql) `
|
|
1309
|
+
mutation RemoveCollectionFromGallery($galleryId: ID!, $creationId: String!) {
|
|
1310
|
+
removeCollectionFromGallery(galleryId: $galleryId, creationId: $creationId)
|
|
1311
|
+
}
|
|
1312
|
+
`;
|
|
1313
|
+
/**
|
|
1314
|
+
* __useRemoveCollectionFromGalleryMutation__
|
|
1315
|
+
*
|
|
1316
|
+
* To run a mutation, you first call `useRemoveCollectionFromGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1317
|
+
* When your component renders, `useRemoveCollectionFromGalleryMutation` returns a tuple that includes:
|
|
1318
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1319
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1320
|
+
*
|
|
1321
|
+
* @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;
|
|
1322
|
+
*
|
|
1323
|
+
* @example
|
|
1324
|
+
* const [removeCollectionFromGalleryMutation, { data, loading, error }] = useRemoveCollectionFromGalleryMutation({
|
|
1325
|
+
* variables: {
|
|
1326
|
+
* galleryId: // value for 'galleryId'
|
|
1327
|
+
* creationId: // value for 'creationId'
|
|
1328
|
+
* },
|
|
1329
|
+
* });
|
|
1330
|
+
*/
|
|
1331
|
+
function useRemoveCollectionFromGalleryMutation(baseOptions) {
|
|
1332
|
+
return Apollo.useMutation(exports.RemoveCollectionFromGalleryDocument, baseOptions);
|
|
1333
|
+
}
|
|
1334
|
+
exports.useRemoveCollectionFromGalleryMutation = useRemoveCollectionFromGalleryMutation;
|
|
1335
|
+
exports.RemoveCollectionFromGalleryV2Document = (0, client_1.gql) `
|
|
1336
|
+
mutation RemoveCollectionFromGalleryV2($galleryId: ID!, $collectionId: String!) {
|
|
1337
|
+
removeCollectionFromGalleryV2(
|
|
1338
|
+
galleryId: $galleryId
|
|
1339
|
+
collectionId: $collectionId
|
|
1340
|
+
)
|
|
1341
|
+
}
|
|
1342
|
+
`;
|
|
1343
|
+
/**
|
|
1344
|
+
* __useRemoveCollectionFromGalleryV2Mutation__
|
|
1345
|
+
*
|
|
1346
|
+
* To run a mutation, you first call `useRemoveCollectionFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1347
|
+
* When your component renders, `useRemoveCollectionFromGalleryV2Mutation` returns a tuple that includes:
|
|
1348
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1349
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1350
|
+
*
|
|
1351
|
+
* @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;
|
|
1352
|
+
*
|
|
1353
|
+
* @example
|
|
1354
|
+
* const [removeCollectionFromGalleryV2Mutation, { data, loading, error }] = useRemoveCollectionFromGalleryV2Mutation({
|
|
1355
|
+
* variables: {
|
|
1356
|
+
* galleryId: // value for 'galleryId'
|
|
1357
|
+
* collectionId: // value for 'collectionId'
|
|
1358
|
+
* },
|
|
1359
|
+
* });
|
|
1360
|
+
*/
|
|
1361
|
+
function useRemoveCollectionFromGalleryV2Mutation(baseOptions) {
|
|
1362
|
+
return Apollo.useMutation(exports.RemoveCollectionFromGalleryV2Document, baseOptions);
|
|
1363
|
+
}
|
|
1364
|
+
exports.useRemoveCollectionFromGalleryV2Mutation = useRemoveCollectionFromGalleryV2Mutation;
|
|
1365
|
+
exports.RemoveCreationFromGalleryDocument = (0, client_1.gql) `
|
|
1366
|
+
mutation RemoveCreationFromGallery($galleryId: ID!, $creationId: String!) {
|
|
1367
|
+
removeCreationFromGallery(galleryId: $galleryId, creationId: $creationId)
|
|
1368
|
+
}
|
|
1369
|
+
`;
|
|
1370
|
+
/**
|
|
1371
|
+
* __useRemoveCreationFromGalleryMutation__
|
|
1372
|
+
*
|
|
1373
|
+
* To run a mutation, you first call `useRemoveCreationFromGalleryMutation` within a React component and pass it any options that fit your needs.
|
|
1374
|
+
* When your component renders, `useRemoveCreationFromGalleryMutation` returns a tuple that includes:
|
|
1375
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1376
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1377
|
+
*
|
|
1378
|
+
* @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;
|
|
1379
|
+
*
|
|
1380
|
+
* @example
|
|
1381
|
+
* const [removeCreationFromGalleryMutation, { data, loading, error }] = useRemoveCreationFromGalleryMutation({
|
|
1382
|
+
* variables: {
|
|
1383
|
+
* galleryId: // value for 'galleryId'
|
|
1384
|
+
* creationId: // value for 'creationId'
|
|
1385
|
+
* },
|
|
1386
|
+
* });
|
|
1387
|
+
*/
|
|
1388
|
+
function useRemoveCreationFromGalleryMutation(baseOptions) {
|
|
1389
|
+
return Apollo.useMutation(exports.RemoveCreationFromGalleryDocument, baseOptions);
|
|
1390
|
+
}
|
|
1391
|
+
exports.useRemoveCreationFromGalleryMutation = useRemoveCreationFromGalleryMutation;
|
|
1392
|
+
exports.RemoveCreationFromGalleryV2Document = (0, client_1.gql) `
|
|
1393
|
+
mutation RemoveCreationFromGalleryV2($galleryId: ID!, $creationId: String!) {
|
|
1394
|
+
removeCreationFromGalleryV2(galleryId: $galleryId, creationId: $creationId)
|
|
1395
|
+
}
|
|
1396
|
+
`;
|
|
1397
|
+
/**
|
|
1398
|
+
* __useRemoveCreationFromGalleryV2Mutation__
|
|
1399
|
+
*
|
|
1400
|
+
* To run a mutation, you first call `useRemoveCreationFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
|
|
1401
|
+
* When your component renders, `useRemoveCreationFromGalleryV2Mutation` returns a tuple that includes:
|
|
1402
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1403
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1404
|
+
*
|
|
1405
|
+
* @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;
|
|
1406
|
+
*
|
|
1407
|
+
* @example
|
|
1408
|
+
* const [removeCreationFromGalleryV2Mutation, { data, loading, error }] = useRemoveCreationFromGalleryV2Mutation({
|
|
1409
|
+
* variables: {
|
|
1410
|
+
* galleryId: // value for 'galleryId'
|
|
1411
|
+
* creationId: // value for 'creationId'
|
|
1412
|
+
* },
|
|
1413
|
+
* });
|
|
1414
|
+
*/
|
|
1415
|
+
function useRemoveCreationFromGalleryV2Mutation(baseOptions) {
|
|
1416
|
+
return Apollo.useMutation(exports.RemoveCreationFromGalleryV2Document, baseOptions);
|
|
1417
|
+
}
|
|
1418
|
+
exports.useRemoveCreationFromGalleryV2Mutation = useRemoveCreationFromGalleryV2Mutation;
|
|
1419
|
+
exports.FetchGalleryDocument = (0, client_1.gql) `
|
|
1420
|
+
query FetchGallery($galleryId: String!) {
|
|
1421
|
+
fetchGallery(galleryId: $galleryId) {
|
|
1422
|
+
galleryId
|
|
1423
|
+
galleryType
|
|
1424
|
+
name
|
|
1425
|
+
description
|
|
1426
|
+
userId
|
|
1427
|
+
username
|
|
1428
|
+
userpic
|
|
1429
|
+
banner
|
|
1430
|
+
createdAt
|
|
1431
|
+
items
|
|
1432
|
+
views
|
|
1433
|
+
publiclyAccessible
|
|
1434
|
+
nsfw
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
`;
|
|
1438
|
+
/**
|
|
1439
|
+
* __useFetchGalleryQuery__
|
|
1440
|
+
*
|
|
1441
|
+
* To run a query within a React component, call `useFetchGalleryQuery` and pass it any options that fit your needs.
|
|
1442
|
+
* When your component renders, `useFetchGalleryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1443
|
+
* you can use to render your UI.
|
|
1444
|
+
*
|
|
1445
|
+
* @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;
|
|
1446
|
+
*
|
|
1447
|
+
* @example
|
|
1448
|
+
* const { data, loading, error } = useFetchGalleryQuery({
|
|
1449
|
+
* variables: {
|
|
1450
|
+
* galleryId: // value for 'galleryId'
|
|
1451
|
+
* },
|
|
1452
|
+
* });
|
|
1453
|
+
*/
|
|
1454
|
+
function useFetchGalleryQuery(baseOptions) {
|
|
1455
|
+
return Apollo.useQuery(exports.FetchGalleryDocument, baseOptions);
|
|
1456
|
+
}
|
|
1457
|
+
exports.useFetchGalleryQuery = useFetchGalleryQuery;
|
|
1458
|
+
function useFetchGalleryLazyQuery(baseOptions) {
|
|
1459
|
+
return Apollo.useLazyQuery(exports.FetchGalleryDocument, baseOptions);
|
|
1460
|
+
}
|
|
1461
|
+
exports.useFetchGalleryLazyQuery = useFetchGalleryLazyQuery;
|
|
1462
|
+
exports.FetchGalleryCreationsDocument = (0, client_1.gql) `
|
|
1463
|
+
query FetchGalleryCreations($galleryId: String!, $pageSize: Int!, $pageToken: String) {
|
|
1464
|
+
fetchGalleryCreations(
|
|
1465
|
+
galleryId: $galleryId
|
|
1466
|
+
pageSize: $pageSize
|
|
1467
|
+
pageToken: $pageToken
|
|
1468
|
+
) {
|
|
1469
|
+
nextPageToken
|
|
1470
|
+
galleryCreations {
|
|
1471
|
+
galleryId
|
|
1472
|
+
creationId
|
|
1473
|
+
address
|
|
1474
|
+
tokenId
|
|
1475
|
+
itemId
|
|
1476
|
+
itemType
|
|
1477
|
+
itemOrder
|
|
1478
|
+
galleryName
|
|
1479
|
+
blockchain
|
|
1480
|
+
name
|
|
1481
|
+
creatorsAddresses
|
|
1482
|
+
originalUrls
|
|
1483
|
+
media
|
|
1484
|
+
mediaPreview
|
|
1485
|
+
mimeType
|
|
1486
|
+
sizeRatio
|
|
1487
|
+
fileSize
|
|
1488
|
+
nsfw
|
|
1489
|
+
likes
|
|
1490
|
+
liked
|
|
1491
|
+
views
|
|
1492
|
+
visible
|
|
1493
|
+
blurred
|
|
1494
|
+
prices {
|
|
1495
|
+
currency
|
|
1496
|
+
amount
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
`;
|
|
1502
|
+
/**
|
|
1503
|
+
* __useFetchGalleryCreationsQuery__
|
|
1504
|
+
*
|
|
1505
|
+
* To run a query within a React component, call `useFetchGalleryCreationsQuery` and pass it any options that fit your needs.
|
|
1506
|
+
* When your component renders, `useFetchGalleryCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1507
|
+
* you can use to render your UI.
|
|
1508
|
+
*
|
|
1509
|
+
* @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;
|
|
1510
|
+
*
|
|
1511
|
+
* @example
|
|
1512
|
+
* const { data, loading, error } = useFetchGalleryCreationsQuery({
|
|
1513
|
+
* variables: {
|
|
1514
|
+
* galleryId: // value for 'galleryId'
|
|
1515
|
+
* pageSize: // value for 'pageSize'
|
|
1516
|
+
* pageToken: // value for 'pageToken'
|
|
1517
|
+
* },
|
|
1518
|
+
* });
|
|
1519
|
+
*/
|
|
1520
|
+
function useFetchGalleryCreationsQuery(baseOptions) {
|
|
1521
|
+
return Apollo.useQuery(exports.FetchGalleryCreationsDocument, baseOptions);
|
|
1522
|
+
}
|
|
1523
|
+
exports.useFetchGalleryCreationsQuery = useFetchGalleryCreationsQuery;
|
|
1524
|
+
function useFetchGalleryCreationsLazyQuery(baseOptions) {
|
|
1525
|
+
return Apollo.useLazyQuery(exports.FetchGalleryCreationsDocument, baseOptions);
|
|
1526
|
+
}
|
|
1527
|
+
exports.useFetchGalleryCreationsLazyQuery = useFetchGalleryCreationsLazyQuery;
|
|
1528
|
+
exports.FetchGalleryV2Document = (0, client_1.gql) `
|
|
1529
|
+
query FetchGalleryV2($galleryId: String!) {
|
|
1530
|
+
fetchGalleryV2(galleryId: $galleryId) {
|
|
1531
|
+
galleryId
|
|
1532
|
+
galleryType
|
|
1533
|
+
name
|
|
1534
|
+
description
|
|
1535
|
+
userId
|
|
1536
|
+
username
|
|
1537
|
+
userpic
|
|
1538
|
+
banner
|
|
1539
|
+
createdAt
|
|
1540
|
+
items
|
|
1541
|
+
views
|
|
1542
|
+
publiclyAccessible
|
|
1543
|
+
nsfw
|
|
1544
|
+
creationIds
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
`;
|
|
1548
|
+
/**
|
|
1549
|
+
* __useFetchGalleryV2Query__
|
|
1550
|
+
*
|
|
1551
|
+
* To run a query within a React component, call `useFetchGalleryV2Query` and pass it any options that fit your needs.
|
|
1552
|
+
* When your component renders, `useFetchGalleryV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1553
|
+
* you can use to render your UI.
|
|
1554
|
+
*
|
|
1555
|
+
* @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;
|
|
1556
|
+
*
|
|
1557
|
+
* @example
|
|
1558
|
+
* const { data, loading, error } = useFetchGalleryV2Query({
|
|
1559
|
+
* variables: {
|
|
1560
|
+
* galleryId: // value for 'galleryId'
|
|
1561
|
+
* },
|
|
1562
|
+
* });
|
|
1563
|
+
*/
|
|
1564
|
+
function useFetchGalleryV2Query(baseOptions) {
|
|
1565
|
+
return Apollo.useQuery(exports.FetchGalleryV2Document, baseOptions);
|
|
1566
|
+
}
|
|
1567
|
+
exports.useFetchGalleryV2Query = useFetchGalleryV2Query;
|
|
1568
|
+
function useFetchGalleryV2LazyQuery(baseOptions) {
|
|
1569
|
+
return Apollo.useLazyQuery(exports.FetchGalleryV2Document, baseOptions);
|
|
1570
|
+
}
|
|
1571
|
+
exports.useFetchGalleryV2LazyQuery = useFetchGalleryV2LazyQuery;
|
|
1572
|
+
exports.FetchMyFavoritesDocument = (0, client_1.gql) `
|
|
1573
|
+
query FetchMyFavorites($pageSize: Int!, $pageToken: String) {
|
|
1574
|
+
fetchMyFavorites(pageSize: $pageSize, pageToken: $pageToken) {
|
|
1575
|
+
nextPageToken
|
|
1576
|
+
galleries {
|
|
1577
|
+
galleryId
|
|
1578
|
+
galleryType
|
|
1579
|
+
name
|
|
1580
|
+
description
|
|
1581
|
+
userId
|
|
1582
|
+
username
|
|
1583
|
+
userpic
|
|
1584
|
+
banner
|
|
1585
|
+
createdAt
|
|
1586
|
+
items
|
|
1587
|
+
views
|
|
1588
|
+
publiclyAccessible
|
|
1589
|
+
nsfw
|
|
1590
|
+
galleryCreations {
|
|
1591
|
+
galleryId
|
|
1592
|
+
creationId
|
|
1593
|
+
itemId
|
|
1594
|
+
itemType
|
|
1595
|
+
itemOrder
|
|
1596
|
+
galleryName
|
|
1597
|
+
blockchain
|
|
1598
|
+
name
|
|
1599
|
+
creatorsAddresses
|
|
1600
|
+
ownersAddresses
|
|
1601
|
+
originalUrls
|
|
1602
|
+
media
|
|
1603
|
+
mediaPreview
|
|
1604
|
+
mimeType
|
|
1605
|
+
sizeRatio
|
|
1606
|
+
fileSize
|
|
1607
|
+
nsfw
|
|
1608
|
+
likes
|
|
1609
|
+
liked
|
|
1610
|
+
views
|
|
1611
|
+
visible
|
|
1612
|
+
blurred
|
|
1613
|
+
prices {
|
|
1614
|
+
currency
|
|
1615
|
+
amount
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
`;
|
|
1622
|
+
/**
|
|
1623
|
+
* __useFetchMyFavoritesQuery__
|
|
1624
|
+
*
|
|
1625
|
+
* To run a query within a React component, call `useFetchMyFavoritesQuery` and pass it any options that fit your needs.
|
|
1626
|
+
* When your component renders, `useFetchMyFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1627
|
+
* you can use to render your UI.
|
|
1628
|
+
*
|
|
1629
|
+
* @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;
|
|
1630
|
+
*
|
|
1631
|
+
* @example
|
|
1632
|
+
* const { data, loading, error } = useFetchMyFavoritesQuery({
|
|
1633
|
+
* variables: {
|
|
1634
|
+
* pageSize: // value for 'pageSize'
|
|
1635
|
+
* pageToken: // value for 'pageToken'
|
|
1636
|
+
* },
|
|
1637
|
+
* });
|
|
1638
|
+
*/
|
|
1639
|
+
function useFetchMyFavoritesQuery(baseOptions) {
|
|
1640
|
+
return Apollo.useQuery(exports.FetchMyFavoritesDocument, baseOptions);
|
|
1641
|
+
}
|
|
1642
|
+
exports.useFetchMyFavoritesQuery = useFetchMyFavoritesQuery;
|
|
1643
|
+
function useFetchMyFavoritesLazyQuery(baseOptions) {
|
|
1644
|
+
return Apollo.useLazyQuery(exports.FetchMyFavoritesDocument, baseOptions);
|
|
1645
|
+
}
|
|
1646
|
+
exports.useFetchMyFavoritesLazyQuery = useFetchMyFavoritesLazyQuery;
|
|
1647
|
+
exports.FetchMyFavoritesV2Document = (0, client_1.gql) `
|
|
1648
|
+
query FetchMyFavoritesV2($pageSize: Int!, $pageToken: String) {
|
|
1649
|
+
fetchMyFavoritesV2(pageSize: $pageSize, pageToken: $pageToken) {
|
|
1650
|
+
nextPageToken
|
|
1651
|
+
galleries {
|
|
1652
|
+
galleryId
|
|
1653
|
+
galleryType
|
|
1654
|
+
name
|
|
1655
|
+
description
|
|
1656
|
+
userId
|
|
1657
|
+
username
|
|
1658
|
+
userpic
|
|
1659
|
+
banner
|
|
1660
|
+
createdAt
|
|
1661
|
+
items
|
|
1662
|
+
views
|
|
1663
|
+
publiclyAccessible
|
|
1664
|
+
nsfw
|
|
1665
|
+
creationIds
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
`;
|
|
1670
|
+
/**
|
|
1671
|
+
* __useFetchMyFavoritesV2Query__
|
|
1672
|
+
*
|
|
1673
|
+
* To run a query within a React component, call `useFetchMyFavoritesV2Query` and pass it any options that fit your needs.
|
|
1674
|
+
* When your component renders, `useFetchMyFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1675
|
+
* you can use to render your UI.
|
|
1676
|
+
*
|
|
1677
|
+
* @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;
|
|
1678
|
+
*
|
|
1679
|
+
* @example
|
|
1680
|
+
* const { data, loading, error } = useFetchMyFavoritesV2Query({
|
|
1681
|
+
* variables: {
|
|
1682
|
+
* pageSize: // value for 'pageSize'
|
|
1683
|
+
* pageToken: // value for 'pageToken'
|
|
1684
|
+
* },
|
|
1685
|
+
* });
|
|
1686
|
+
*/
|
|
1687
|
+
function useFetchMyFavoritesV2Query(baseOptions) {
|
|
1688
|
+
return Apollo.useQuery(exports.FetchMyFavoritesV2Document, baseOptions);
|
|
1689
|
+
}
|
|
1690
|
+
exports.useFetchMyFavoritesV2Query = useFetchMyFavoritesV2Query;
|
|
1691
|
+
function useFetchMyFavoritesV2LazyQuery(baseOptions) {
|
|
1692
|
+
return Apollo.useLazyQuery(exports.FetchMyFavoritesV2Document, baseOptions);
|
|
1693
|
+
}
|
|
1694
|
+
exports.useFetchMyFavoritesV2LazyQuery = useFetchMyFavoritesV2LazyQuery;
|
|
1695
|
+
exports.FetchUserFavoritesDocument = (0, client_1.gql) `
|
|
1696
|
+
query FetchUserFavorites($userId: ID!, $pageSize: Int!, $pageToken: String) {
|
|
1697
|
+
fetchUserFavorites(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
|
|
1698
|
+
nextPageToken
|
|
1699
|
+
galleries {
|
|
1700
|
+
galleryId
|
|
1701
|
+
galleryType
|
|
1702
|
+
name
|
|
1703
|
+
description
|
|
1704
|
+
userId
|
|
1705
|
+
username
|
|
1706
|
+
userpic
|
|
1707
|
+
userWallets {
|
|
1708
|
+
userId
|
|
1709
|
+
address
|
|
1710
|
+
walletName
|
|
1711
|
+
blockchain
|
|
1712
|
+
chainId
|
|
1713
|
+
}
|
|
1714
|
+
banner
|
|
1715
|
+
createdAt
|
|
1716
|
+
items
|
|
1717
|
+
views
|
|
1718
|
+
publiclyAccessible
|
|
1719
|
+
nsfw
|
|
1720
|
+
galleryCreations {
|
|
1721
|
+
galleryId
|
|
1722
|
+
creationId
|
|
1723
|
+
itemId
|
|
1724
|
+
itemType
|
|
1725
|
+
itemOrder
|
|
1726
|
+
galleryName
|
|
1727
|
+
blockchain
|
|
1728
|
+
name
|
|
1729
|
+
creatorsAddresses
|
|
1730
|
+
ownersAddresses
|
|
1731
|
+
originalUrls
|
|
1732
|
+
media
|
|
1733
|
+
mediaPreview
|
|
1734
|
+
mimeType
|
|
1735
|
+
sizeRatio
|
|
1736
|
+
fileSize
|
|
1737
|
+
nsfw
|
|
1738
|
+
likes
|
|
1739
|
+
liked
|
|
1740
|
+
views
|
|
1741
|
+
visible
|
|
1742
|
+
blurred
|
|
1743
|
+
prices {
|
|
1744
|
+
currency
|
|
1745
|
+
amount
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
`;
|
|
1752
|
+
/**
|
|
1753
|
+
* __useFetchUserFavoritesQuery__
|
|
1754
|
+
*
|
|
1755
|
+
* To run a query within a React component, call `useFetchUserFavoritesQuery` and pass it any options that fit your needs.
|
|
1756
|
+
* When your component renders, `useFetchUserFavoritesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1757
|
+
* you can use to render your UI.
|
|
1758
|
+
*
|
|
1759
|
+
* @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;
|
|
1760
|
+
*
|
|
1761
|
+
* @example
|
|
1762
|
+
* const { data, loading, error } = useFetchUserFavoritesQuery({
|
|
1763
|
+
* variables: {
|
|
1764
|
+
* userId: // value for 'userId'
|
|
1765
|
+
* pageSize: // value for 'pageSize'
|
|
1766
|
+
* pageToken: // value for 'pageToken'
|
|
1767
|
+
* },
|
|
1768
|
+
* });
|
|
1769
|
+
*/
|
|
1770
|
+
function useFetchUserFavoritesQuery(baseOptions) {
|
|
1771
|
+
return Apollo.useQuery(exports.FetchUserFavoritesDocument, baseOptions);
|
|
1772
|
+
}
|
|
1773
|
+
exports.useFetchUserFavoritesQuery = useFetchUserFavoritesQuery;
|
|
1774
|
+
function useFetchUserFavoritesLazyQuery(baseOptions) {
|
|
1775
|
+
return Apollo.useLazyQuery(exports.FetchUserFavoritesDocument, baseOptions);
|
|
1776
|
+
}
|
|
1777
|
+
exports.useFetchUserFavoritesLazyQuery = useFetchUserFavoritesLazyQuery;
|
|
1778
|
+
exports.FetchUserFavoritesV2Document = (0, client_1.gql) `
|
|
1779
|
+
query FetchUserFavoritesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
|
|
1780
|
+
fetchUserFavoritesV2(
|
|
1781
|
+
userId: $userId
|
|
1782
|
+
pageSize: $pageSize
|
|
1783
|
+
pageToken: $pageToken
|
|
1784
|
+
) {
|
|
1785
|
+
nextPageToken
|
|
1786
|
+
galleries {
|
|
1787
|
+
galleryId
|
|
1788
|
+
galleryType
|
|
1789
|
+
name
|
|
1790
|
+
description
|
|
1791
|
+
userId
|
|
1792
|
+
username
|
|
1793
|
+
userpic
|
|
1794
|
+
userWallets {
|
|
1795
|
+
userId
|
|
1796
|
+
address
|
|
1797
|
+
walletName
|
|
1798
|
+
blockchain
|
|
1799
|
+
chainId
|
|
1800
|
+
}
|
|
1801
|
+
banner
|
|
1802
|
+
createdAt
|
|
1803
|
+
items
|
|
1804
|
+
views
|
|
1805
|
+
publiclyAccessible
|
|
1806
|
+
nsfw
|
|
1807
|
+
creationIds
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
`;
|
|
1812
|
+
/**
|
|
1813
|
+
* __useFetchUserFavoritesV2Query__
|
|
1814
|
+
*
|
|
1815
|
+
* To run a query within a React component, call `useFetchUserFavoritesV2Query` and pass it any options that fit your needs.
|
|
1816
|
+
* When your component renders, `useFetchUserFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1817
|
+
* you can use to render your UI.
|
|
1818
|
+
*
|
|
1819
|
+
* @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;
|
|
1820
|
+
*
|
|
1821
|
+
* @example
|
|
1822
|
+
* const { data, loading, error } = useFetchUserFavoritesV2Query({
|
|
1823
|
+
* variables: {
|
|
1824
|
+
* userId: // value for 'userId'
|
|
1825
|
+
* pageSize: // value for 'pageSize'
|
|
1826
|
+
* pageToken: // value for 'pageToken'
|
|
1827
|
+
* },
|
|
1828
|
+
* });
|
|
1829
|
+
*/
|
|
1830
|
+
function useFetchUserFavoritesV2Query(baseOptions) {
|
|
1831
|
+
return Apollo.useQuery(exports.FetchUserFavoritesV2Document, baseOptions);
|
|
1832
|
+
}
|
|
1833
|
+
exports.useFetchUserFavoritesV2Query = useFetchUserFavoritesV2Query;
|
|
1834
|
+
function useFetchUserFavoritesV2LazyQuery(baseOptions) {
|
|
1835
|
+
return Apollo.useLazyQuery(exports.FetchUserFavoritesV2Document, baseOptions);
|
|
1836
|
+
}
|
|
1837
|
+
exports.useFetchUserFavoritesV2LazyQuery = useFetchUserFavoritesV2LazyQuery;
|
|
1838
|
+
exports.FetchUserGalleriesDocument = (0, client_1.gql) `
|
|
1839
|
+
query fetchUserGalleries($userId: ID!, $pageSize: Int!, $pageToken: String) {
|
|
1840
|
+
fetchUserGalleries(userId: $userId, pageSize: $pageSize, pageToken: $pageToken) {
|
|
1841
|
+
nextPageToken
|
|
1842
|
+
galleries {
|
|
1843
|
+
galleryId
|
|
1844
|
+
galleryType
|
|
1845
|
+
name
|
|
1846
|
+
description
|
|
1847
|
+
userId
|
|
1848
|
+
username
|
|
1849
|
+
userpic
|
|
1850
|
+
userWallets {
|
|
1851
|
+
userId
|
|
1852
|
+
address
|
|
1853
|
+
walletName
|
|
1854
|
+
blockchain
|
|
1855
|
+
chainId
|
|
1856
|
+
}
|
|
1857
|
+
banner
|
|
1858
|
+
createdAt
|
|
1859
|
+
items
|
|
1860
|
+
views
|
|
1861
|
+
publiclyAccessible
|
|
1862
|
+
nsfw
|
|
1863
|
+
galleryCreations {
|
|
1864
|
+
galleryId
|
|
1865
|
+
creationId
|
|
1866
|
+
itemId
|
|
1867
|
+
itemType
|
|
1868
|
+
itemOrder
|
|
1869
|
+
galleryName
|
|
1870
|
+
blockchain
|
|
1871
|
+
name
|
|
1872
|
+
creatorsAddresses
|
|
1873
|
+
ownersAddresses
|
|
1874
|
+
originalUrls
|
|
1875
|
+
media
|
|
1876
|
+
mediaPreview
|
|
1877
|
+
mimeType
|
|
1878
|
+
sizeRatio
|
|
1879
|
+
fileSize
|
|
1880
|
+
nsfw
|
|
1881
|
+
likes
|
|
1882
|
+
liked
|
|
1883
|
+
views
|
|
1884
|
+
visible
|
|
1885
|
+
blurred
|
|
1886
|
+
prices {
|
|
1887
|
+
currency
|
|
1888
|
+
amount
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
`;
|
|
1895
|
+
/**
|
|
1896
|
+
* __useFetchUserGalleriesQuery__
|
|
1897
|
+
*
|
|
1898
|
+
* To run a query within a React component, call `useFetchUserGalleriesQuery` and pass it any options that fit your needs.
|
|
1899
|
+
* When your component renders, `useFetchUserGalleriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1900
|
+
* you can use to render your UI.
|
|
1901
|
+
*
|
|
1902
|
+
* @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;
|
|
1903
|
+
*
|
|
1904
|
+
* @example
|
|
1905
|
+
* const { data, loading, error } = useFetchUserGalleriesQuery({
|
|
1906
|
+
* variables: {
|
|
1907
|
+
* userId: // value for 'userId'
|
|
1908
|
+
* pageSize: // value for 'pageSize'
|
|
1909
|
+
* pageToken: // value for 'pageToken'
|
|
1910
|
+
* },
|
|
1911
|
+
* });
|
|
1912
|
+
*/
|
|
1913
|
+
function useFetchUserGalleriesQuery(baseOptions) {
|
|
1914
|
+
return Apollo.useQuery(exports.FetchUserGalleriesDocument, baseOptions);
|
|
1915
|
+
}
|
|
1916
|
+
exports.useFetchUserGalleriesQuery = useFetchUserGalleriesQuery;
|
|
1917
|
+
function useFetchUserGalleriesLazyQuery(baseOptions) {
|
|
1918
|
+
return Apollo.useLazyQuery(exports.FetchUserGalleriesDocument, baseOptions);
|
|
1919
|
+
}
|
|
1920
|
+
exports.useFetchUserGalleriesLazyQuery = useFetchUserGalleriesLazyQuery;
|
|
1921
|
+
exports.FetchUserGalleriesV2Document = (0, client_1.gql) `
|
|
1922
|
+
query fetchUserGalleriesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
|
|
1923
|
+
fetchUserGalleriesV2(
|
|
1924
|
+
userId: $userId
|
|
1925
|
+
pageSize: $pageSize
|
|
1926
|
+
pageToken: $pageToken
|
|
1927
|
+
) {
|
|
1928
|
+
nextPageToken
|
|
1929
|
+
galleries {
|
|
1930
|
+
galleryId
|
|
1931
|
+
galleryType
|
|
1932
|
+
name
|
|
1933
|
+
description
|
|
1934
|
+
userId
|
|
1935
|
+
username
|
|
1936
|
+
userpic
|
|
1937
|
+
userWallets {
|
|
1938
|
+
userId
|
|
1939
|
+
address
|
|
1940
|
+
walletName
|
|
1941
|
+
blockchain
|
|
1942
|
+
chainId
|
|
1943
|
+
}
|
|
1944
|
+
banner
|
|
1945
|
+
createdAt
|
|
1946
|
+
items
|
|
1947
|
+
views
|
|
1948
|
+
publiclyAccessible
|
|
1949
|
+
nsfw
|
|
1950
|
+
creationIds
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
`;
|
|
1955
|
+
/**
|
|
1956
|
+
* __useFetchUserGalleriesV2Query__
|
|
1957
|
+
*
|
|
1958
|
+
* To run a query within a React component, call `useFetchUserGalleriesV2Query` and pass it any options that fit your needs.
|
|
1959
|
+
* When your component renders, `useFetchUserGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1960
|
+
* you can use to render your UI.
|
|
1961
|
+
*
|
|
1962
|
+
* @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;
|
|
1963
|
+
*
|
|
1964
|
+
* @example
|
|
1965
|
+
* const { data, loading, error } = useFetchUserGalleriesV2Query({
|
|
1966
|
+
* variables: {
|
|
1967
|
+
* userId: // value for 'userId'
|
|
1968
|
+
* pageSize: // value for 'pageSize'
|
|
1969
|
+
* pageToken: // value for 'pageToken'
|
|
1970
|
+
* },
|
|
1971
|
+
* });
|
|
1972
|
+
*/
|
|
1973
|
+
function useFetchUserGalleriesV2Query(baseOptions) {
|
|
1974
|
+
return Apollo.useQuery(exports.FetchUserGalleriesV2Document, baseOptions);
|
|
1975
|
+
}
|
|
1976
|
+
exports.useFetchUserGalleriesV2Query = useFetchUserGalleriesV2Query;
|
|
1977
|
+
function useFetchUserGalleriesV2LazyQuery(baseOptions) {
|
|
1978
|
+
return Apollo.useLazyQuery(exports.FetchUserGalleriesV2Document, baseOptions);
|
|
1979
|
+
}
|
|
1980
|
+
exports.useFetchUserGalleriesV2LazyQuery = useFetchUserGalleriesV2LazyQuery;
|
|
1981
|
+
exports.SignInMetamaskDocument = (0, client_1.gql) `
|
|
1982
|
+
mutation SignInMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
1983
|
+
signInMetamask(signature: $signature, address: $address, chainId: $chainId) {
|
|
1984
|
+
userId
|
|
1985
|
+
wallets
|
|
1986
|
+
authToken
|
|
1987
|
+
refreshToken
|
|
1988
|
+
newUser
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
`;
|
|
1992
|
+
/**
|
|
1993
|
+
* __useSignInMetamaskMutation__
|
|
1994
|
+
*
|
|
1995
|
+
* To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
1996
|
+
* When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
|
|
1997
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1998
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1999
|
+
*
|
|
2000
|
+
* @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;
|
|
2001
|
+
*
|
|
2002
|
+
* @example
|
|
2003
|
+
* const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
|
|
2004
|
+
* variables: {
|
|
2005
|
+
* signature: // value for 'signature'
|
|
2006
|
+
* address: // value for 'address'
|
|
2007
|
+
* chainId: // value for 'chainId'
|
|
2008
|
+
* },
|
|
2009
|
+
* });
|
|
2010
|
+
*/
|
|
2011
|
+
function useSignInMetamaskMutation(baseOptions) {
|
|
2012
|
+
return Apollo.useMutation(exports.SignInMetamaskDocument, baseOptions);
|
|
2013
|
+
}
|
|
2014
|
+
exports.useSignInMetamaskMutation = useSignInMetamaskMutation;
|
|
2015
|
+
exports.AddWalletElrondDocument = (0, client_1.gql) `
|
|
2016
|
+
mutation AddWalletElrond($signature: String!, $address: String!) {
|
|
2017
|
+
addWalletElrond(signature: $signature, address: $address)
|
|
2018
|
+
}
|
|
2019
|
+
`;
|
|
2020
|
+
/**
|
|
2021
|
+
* __useAddWalletElrondMutation__
|
|
2022
|
+
*
|
|
2023
|
+
* To run a mutation, you first call `useAddWalletElrondMutation` within a React component and pass it any options that fit your needs.
|
|
2024
|
+
* When your component renders, `useAddWalletElrondMutation` returns a tuple that includes:
|
|
2025
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2026
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2027
|
+
*
|
|
2028
|
+
* @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;
|
|
2029
|
+
*
|
|
2030
|
+
* @example
|
|
2031
|
+
* const [addWalletElrondMutation, { data, loading, error }] = useAddWalletElrondMutation({
|
|
2032
|
+
* variables: {
|
|
2033
|
+
* signature: // value for 'signature'
|
|
2034
|
+
* address: // value for 'address'
|
|
2035
|
+
* },
|
|
2036
|
+
* });
|
|
2037
|
+
*/
|
|
2038
|
+
function useAddWalletElrondMutation(baseOptions) {
|
|
2039
|
+
return Apollo.useMutation(exports.AddWalletElrondDocument, baseOptions);
|
|
2040
|
+
}
|
|
2041
|
+
exports.useAddWalletElrondMutation = useAddWalletElrondMutation;
|
|
2042
|
+
exports.AddWalletFlowDocument = (0, client_1.gql) `
|
|
2043
|
+
mutation AddWalletFlow($signature: String!, $address: String!) {
|
|
2044
|
+
addWalletFlow(signature: $signature, address: $address)
|
|
2045
|
+
}
|
|
2046
|
+
`;
|
|
2047
|
+
/**
|
|
2048
|
+
* __useAddWalletFlowMutation__
|
|
2049
|
+
*
|
|
2050
|
+
* To run a mutation, you first call `useAddWalletFlowMutation` within a React component and pass it any options that fit your needs.
|
|
2051
|
+
* When your component renders, `useAddWalletFlowMutation` returns a tuple that includes:
|
|
2052
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2053
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2054
|
+
*
|
|
2055
|
+
* @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;
|
|
2056
|
+
*
|
|
2057
|
+
* @example
|
|
2058
|
+
* const [addWalletFlowMutation, { data, loading, error }] = useAddWalletFlowMutation({
|
|
2059
|
+
* variables: {
|
|
2060
|
+
* signature: // value for 'signature'
|
|
2061
|
+
* address: // value for 'address'
|
|
2062
|
+
* },
|
|
2063
|
+
* });
|
|
2064
|
+
*/
|
|
2065
|
+
function useAddWalletFlowMutation(baseOptions) {
|
|
2066
|
+
return Apollo.useMutation(exports.AddWalletFlowDocument, baseOptions);
|
|
2067
|
+
}
|
|
2068
|
+
exports.useAddWalletFlowMutation = useAddWalletFlowMutation;
|
|
2069
|
+
exports.AddWalletMetamaskDocument = (0, client_1.gql) `
|
|
2070
|
+
mutation AddWalletMetamask($signature: String!, $address: String!, $chainId: String!) {
|
|
2071
|
+
addWalletMetamask(signature: $signature, address: $address, chainId: $chainId)
|
|
2072
|
+
}
|
|
2073
|
+
`;
|
|
2074
|
+
/**
|
|
2075
|
+
* __useAddWalletMetamaskMutation__
|
|
2076
|
+
*
|
|
2077
|
+
* To run a mutation, you first call `useAddWalletMetamaskMutation` within a React component and pass it any options that fit your needs.
|
|
2078
|
+
* When your component renders, `useAddWalletMetamaskMutation` returns a tuple that includes:
|
|
2079
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2080
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2081
|
+
*
|
|
2082
|
+
* @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;
|
|
2083
|
+
*
|
|
2084
|
+
* @example
|
|
2085
|
+
* const [addWalletMetamaskMutation, { data, loading, error }] = useAddWalletMetamaskMutation({
|
|
2086
|
+
* variables: {
|
|
2087
|
+
* signature: // value for 'signature'
|
|
2088
|
+
* address: // value for 'address'
|
|
2089
|
+
* chainId: // value for 'chainId'
|
|
2090
|
+
* },
|
|
2091
|
+
* });
|
|
2092
|
+
*/
|
|
2093
|
+
function useAddWalletMetamaskMutation(baseOptions) {
|
|
2094
|
+
return Apollo.useMutation(exports.AddWalletMetamaskDocument, baseOptions);
|
|
2095
|
+
}
|
|
2096
|
+
exports.useAddWalletMetamaskMutation = useAddWalletMetamaskMutation;
|
|
2097
|
+
exports.AddWalletSolanaDocument = (0, client_1.gql) `
|
|
2098
|
+
mutation AddWalletSolana($signature: String!, $pubkey: String!) {
|
|
2099
|
+
addWalletSolana(signature: $signature, pubkey: $pubkey)
|
|
2100
|
+
}
|
|
2101
|
+
`;
|
|
2102
|
+
/**
|
|
2103
|
+
* __useAddWalletSolanaMutation__
|
|
2104
|
+
*
|
|
2105
|
+
* To run a mutation, you first call `useAddWalletSolanaMutation` within a React component and pass it any options that fit your needs.
|
|
2106
|
+
* When your component renders, `useAddWalletSolanaMutation` returns a tuple that includes:
|
|
2107
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2108
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2109
|
+
*
|
|
2110
|
+
* @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;
|
|
2111
|
+
*
|
|
2112
|
+
* @example
|
|
2113
|
+
* const [addWalletSolanaMutation, { data, loading, error }] = useAddWalletSolanaMutation({
|
|
2114
|
+
* variables: {
|
|
2115
|
+
* signature: // value for 'signature'
|
|
2116
|
+
* pubkey: // value for 'pubkey'
|
|
2117
|
+
* },
|
|
2118
|
+
* });
|
|
2119
|
+
*/
|
|
2120
|
+
function useAddWalletSolanaMutation(baseOptions) {
|
|
2121
|
+
return Apollo.useMutation(exports.AddWalletSolanaDocument, baseOptions);
|
|
2122
|
+
}
|
|
2123
|
+
exports.useAddWalletSolanaMutation = useAddWalletSolanaMutation;
|
|
2124
|
+
exports.AddWalletTezosDocument = (0, client_1.gql) `
|
|
2125
|
+
mutation AddWalletTezos($signature: String!, $pubkey: String!) {
|
|
2126
|
+
addWalletTezos(signature: $signature, pubkey: $pubkey)
|
|
2127
|
+
}
|
|
2128
|
+
`;
|
|
2129
|
+
/**
|
|
2130
|
+
* __useAddWalletTezosMutation__
|
|
2131
|
+
*
|
|
2132
|
+
* To run a mutation, you first call `useAddWalletTezosMutation` within a React component and pass it any options that fit your needs.
|
|
2133
|
+
* When your component renders, `useAddWalletTezosMutation` returns a tuple that includes:
|
|
2134
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2135
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2136
|
+
*
|
|
2137
|
+
* @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;
|
|
2138
|
+
*
|
|
2139
|
+
* @example
|
|
2140
|
+
* const [addWalletTezosMutation, { data, loading, error }] = useAddWalletTezosMutation({
|
|
2141
|
+
* variables: {
|
|
2142
|
+
* signature: // value for 'signature'
|
|
2143
|
+
* pubkey: // value for 'pubkey'
|
|
2144
|
+
* },
|
|
2145
|
+
* });
|
|
2146
|
+
*/
|
|
2147
|
+
function useAddWalletTezosMutation(baseOptions) {
|
|
2148
|
+
return Apollo.useMutation(exports.AddWalletTezosDocument, baseOptions);
|
|
2149
|
+
}
|
|
2150
|
+
exports.useAddWalletTezosMutation = useAddWalletTezosMutation;
|
|
2151
|
+
exports.CreateNonceDocument = (0, client_1.gql) `
|
|
2152
|
+
mutation CreateNonce($address: String!, $blockchain: String!, $chainId: String) {
|
|
2153
|
+
createNonce(address: $address, blockchain: $blockchain, chainId: $chainId)
|
|
2154
|
+
}
|
|
2155
|
+
`;
|
|
2156
|
+
/**
|
|
2157
|
+
* __useCreateNonceMutation__
|
|
2158
|
+
*
|
|
2159
|
+
* To run a mutation, you first call `useCreateNonceMutation` within a React component and pass it any options that fit your needs.
|
|
2160
|
+
* When your component renders, `useCreateNonceMutation` returns a tuple that includes:
|
|
2161
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2162
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2163
|
+
*
|
|
2164
|
+
* @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;
|
|
2165
|
+
*
|
|
2166
|
+
* @example
|
|
2167
|
+
* const [createNonceMutation, { data, loading, error }] = useCreateNonceMutation({
|
|
2168
|
+
* variables: {
|
|
2169
|
+
* address: // value for 'address'
|
|
2170
|
+
* blockchain: // value for 'blockchain'
|
|
2171
|
+
* chainId: // value for 'chainId'
|
|
2172
|
+
* },
|
|
2173
|
+
* });
|
|
2174
|
+
*/
|
|
2175
|
+
function useCreateNonceMutation(baseOptions) {
|
|
2176
|
+
return Apollo.useMutation(exports.CreateNonceDocument, baseOptions);
|
|
2177
|
+
}
|
|
2178
|
+
exports.useCreateNonceMutation = useCreateNonceMutation;
|
|
2179
|
+
exports.RefreshTokenDocument = (0, client_1.gql) `
|
|
2180
|
+
mutation RefreshToken($refreshToken: String!) {
|
|
2181
|
+
refreshToken(refreshToken: $refreshToken) {
|
|
2182
|
+
userId
|
|
2183
|
+
tokenAuth
|
|
2184
|
+
tokenRefresh
|
|
2185
|
+
role
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
`;
|
|
2189
|
+
/**
|
|
2190
|
+
* __useRefreshTokenMutation__
|
|
2191
|
+
*
|
|
2192
|
+
* To run a mutation, you first call `useRefreshTokenMutation` within a React component and pass it any options that fit your needs.
|
|
2193
|
+
* When your component renders, `useRefreshTokenMutation` returns a tuple that includes:
|
|
2194
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2195
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2196
|
+
*
|
|
2197
|
+
* @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;
|
|
2198
|
+
*
|
|
2199
|
+
* @example
|
|
2200
|
+
* const [refreshTokenMutation, { data, loading, error }] = useRefreshTokenMutation({
|
|
2201
|
+
* variables: {
|
|
2202
|
+
* refreshToken: // value for 'refreshToken'
|
|
2203
|
+
* },
|
|
2204
|
+
* });
|
|
2205
|
+
*/
|
|
2206
|
+
function useRefreshTokenMutation(baseOptions) {
|
|
2207
|
+
return Apollo.useMutation(exports.RefreshTokenDocument, baseOptions);
|
|
2208
|
+
}
|
|
2209
|
+
exports.useRefreshTokenMutation = useRefreshTokenMutation;
|
|
2210
|
+
exports.RevokeTokenDocument = (0, client_1.gql) `
|
|
2211
|
+
mutation RevokeToken {
|
|
2212
|
+
revokeToken
|
|
2213
|
+
}
|
|
2214
|
+
`;
|
|
2215
|
+
/**
|
|
2216
|
+
* __useRevokeTokenMutation__
|
|
2217
|
+
*
|
|
2218
|
+
* To run a mutation, you first call `useRevokeTokenMutation` within a React component and pass it any options that fit your needs.
|
|
2219
|
+
* When your component renders, `useRevokeTokenMutation` returns a tuple that includes:
|
|
2220
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2221
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2222
|
+
*
|
|
2223
|
+
* @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;
|
|
2224
|
+
*
|
|
2225
|
+
* @example
|
|
2226
|
+
* const [revokeTokenMutation, { data, loading, error }] = useRevokeTokenMutation({
|
|
2227
|
+
* variables: {
|
|
2228
|
+
* },
|
|
2229
|
+
* });
|
|
2230
|
+
*/
|
|
2231
|
+
function useRevokeTokenMutation(baseOptions) {
|
|
2232
|
+
return Apollo.useMutation(exports.RevokeTokenDocument, baseOptions);
|
|
2233
|
+
}
|
|
2234
|
+
exports.useRevokeTokenMutation = useRevokeTokenMutation;
|
|
2235
|
+
exports.SignInElrondDocument = (0, client_1.gql) `
|
|
2236
|
+
mutation SignInElrond($signature: String!, $address: String!) {
|
|
2237
|
+
signInElrond(signature: $signature, address: $address) {
|
|
2238
|
+
userId
|
|
2239
|
+
wallets
|
|
2240
|
+
authToken
|
|
2241
|
+
refreshToken
|
|
2242
|
+
newUser
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
`;
|
|
2246
|
+
/**
|
|
2247
|
+
* __useSignInElrondMutation__
|
|
2248
|
+
*
|
|
2249
|
+
* To run a mutation, you first call `useSignInElrondMutation` within a React component and pass it any options that fit your needs.
|
|
2250
|
+
* When your component renders, `useSignInElrondMutation` returns a tuple that includes:
|
|
2251
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2252
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2253
|
+
*
|
|
2254
|
+
* @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;
|
|
2255
|
+
*
|
|
2256
|
+
* @example
|
|
2257
|
+
* const [signInElrondMutation, { data, loading, error }] = useSignInElrondMutation({
|
|
2258
|
+
* variables: {
|
|
2259
|
+
* signature: // value for 'signature'
|
|
2260
|
+
* address: // value for 'address'
|
|
2261
|
+
* },
|
|
2262
|
+
* });
|
|
2263
|
+
*/
|
|
2264
|
+
function useSignInElrondMutation(baseOptions) {
|
|
2265
|
+
return Apollo.useMutation(exports.SignInElrondDocument, baseOptions);
|
|
2266
|
+
}
|
|
2267
|
+
exports.useSignInElrondMutation = useSignInElrondMutation;
|
|
2268
|
+
exports.SignInFlowDocument = (0, client_1.gql) `
|
|
2269
|
+
mutation SignInFlow($signature: String!, $address: String!) {
|
|
2270
|
+
signInFlow(signature: $signature, address: $address) {
|
|
2271
|
+
userId
|
|
2272
|
+
wallets
|
|
2273
|
+
authToken
|
|
2274
|
+
refreshToken
|
|
2275
|
+
newUser
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
`;
|
|
2279
|
+
/**
|
|
2280
|
+
* __useSignInFlowMutation__
|
|
2281
|
+
*
|
|
2282
|
+
* To run a mutation, you first call `useSignInFlowMutation` within a React component and pass it any options that fit your needs.
|
|
2283
|
+
* When your component renders, `useSignInFlowMutation` returns a tuple that includes:
|
|
2284
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2285
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2286
|
+
*
|
|
2287
|
+
* @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;
|
|
2288
|
+
*
|
|
2289
|
+
* @example
|
|
2290
|
+
* const [signInFlowMutation, { data, loading, error }] = useSignInFlowMutation({
|
|
2291
|
+
* variables: {
|
|
2292
|
+
* signature: // value for 'signature'
|
|
2293
|
+
* address: // value for 'address'
|
|
2294
|
+
* },
|
|
2295
|
+
* });
|
|
2296
|
+
*/
|
|
2297
|
+
function useSignInFlowMutation(baseOptions) {
|
|
2298
|
+
return Apollo.useMutation(exports.SignInFlowDocument, baseOptions);
|
|
2299
|
+
}
|
|
2300
|
+
exports.useSignInFlowMutation = useSignInFlowMutation;
|
|
2301
|
+
exports.SignInSolanaDocument = (0, client_1.gql) `
|
|
2302
|
+
mutation SignInSolana($signature: String!, $pubkey: String!) {
|
|
2303
|
+
signInSolana(signature: $signature, pubkey: $pubkey) {
|
|
2304
|
+
userId
|
|
2305
|
+
wallets
|
|
2306
|
+
authToken
|
|
2307
|
+
refreshToken
|
|
2308
|
+
newUser
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
`;
|
|
2312
|
+
/**
|
|
2313
|
+
* __useSignInSolanaMutation__
|
|
2314
|
+
*
|
|
2315
|
+
* To run a mutation, you first call `useSignInSolanaMutation` within a React component and pass it any options that fit your needs.
|
|
2316
|
+
* When your component renders, `useSignInSolanaMutation` returns a tuple that includes:
|
|
2317
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2318
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2319
|
+
*
|
|
2320
|
+
* @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;
|
|
2321
|
+
*
|
|
2322
|
+
* @example
|
|
2323
|
+
* const [signInSolanaMutation, { data, loading, error }] = useSignInSolanaMutation({
|
|
2324
|
+
* variables: {
|
|
2325
|
+
* signature: // value for 'signature'
|
|
2326
|
+
* pubkey: // value for 'pubkey'
|
|
2327
|
+
* },
|
|
2328
|
+
* });
|
|
2329
|
+
*/
|
|
2330
|
+
function useSignInSolanaMutation(baseOptions) {
|
|
2331
|
+
return Apollo.useMutation(exports.SignInSolanaDocument, baseOptions);
|
|
2332
|
+
}
|
|
2333
|
+
exports.useSignInSolanaMutation = useSignInSolanaMutation;
|
|
2334
|
+
exports.SignInTezosDocument = (0, client_1.gql) `
|
|
2335
|
+
mutation SignInTezos($signature: String!, $pubkey: String!) {
|
|
2336
|
+
signInTezos(signature: $signature, pubkey: $pubkey) {
|
|
2337
|
+
userId
|
|
2338
|
+
wallets
|
|
2339
|
+
authToken
|
|
2340
|
+
refreshToken
|
|
2341
|
+
newUser
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
`;
|
|
2345
|
+
/**
|
|
2346
|
+
* __useSignInTezosMutation__
|
|
2347
|
+
*
|
|
2348
|
+
* To run a mutation, you first call `useSignInTezosMutation` within a React component and pass it any options that fit your needs.
|
|
2349
|
+
* When your component renders, `useSignInTezosMutation` returns a tuple that includes:
|
|
2350
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2351
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2352
|
+
*
|
|
2353
|
+
* @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;
|
|
2354
|
+
*
|
|
2355
|
+
* @example
|
|
2356
|
+
* const [signInTezosMutation, { data, loading, error }] = useSignInTezosMutation({
|
|
2357
|
+
* variables: {
|
|
2358
|
+
* signature: // value for 'signature'
|
|
2359
|
+
* pubkey: // value for 'pubkey'
|
|
2360
|
+
* },
|
|
2361
|
+
* });
|
|
2362
|
+
*/
|
|
2363
|
+
function useSignInTezosMutation(baseOptions) {
|
|
2364
|
+
return Apollo.useMutation(exports.SignInTezosDocument, baseOptions);
|
|
2365
|
+
}
|
|
2366
|
+
exports.useSignInTezosMutation = useSignInTezosMutation;
|
|
2367
|
+
exports.UpdateProfileDocument = (0, client_1.gql) `
|
|
2368
|
+
mutation UpdateProfile($username: String, $about: String, $facebook: String, $twitter: String, $instagram: String, $website: String, $showNsfw: Boolean) {
|
|
2369
|
+
updateProfile(
|
|
2370
|
+
profile: {username: $username, about: $about, showNsfw: $showNsfw, social: {facebook: $facebook, twitter: $twitter, instagram: $instagram, website: $website}}
|
|
2371
|
+
)
|
|
2372
|
+
}
|
|
2373
|
+
`;
|
|
2374
|
+
/**
|
|
2375
|
+
* __useUpdateProfileMutation__
|
|
2376
|
+
*
|
|
2377
|
+
* To run a mutation, you first call `useUpdateProfileMutation` within a React component and pass it any options that fit your needs.
|
|
2378
|
+
* When your component renders, `useUpdateProfileMutation` returns a tuple that includes:
|
|
2379
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2380
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2381
|
+
*
|
|
2382
|
+
* @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;
|
|
2383
|
+
*
|
|
2384
|
+
* @example
|
|
2385
|
+
* const [updateProfileMutation, { data, loading, error }] = useUpdateProfileMutation({
|
|
2386
|
+
* variables: {
|
|
2387
|
+
* username: // value for 'username'
|
|
2388
|
+
* about: // value for 'about'
|
|
2389
|
+
* facebook: // value for 'facebook'
|
|
2390
|
+
* twitter: // value for 'twitter'
|
|
2391
|
+
* instagram: // value for 'instagram'
|
|
2392
|
+
* website: // value for 'website'
|
|
2393
|
+
* showNsfw: // value for 'showNsfw'
|
|
2394
|
+
* },
|
|
2395
|
+
* });
|
|
2396
|
+
*/
|
|
2397
|
+
function useUpdateProfileMutation(baseOptions) {
|
|
2398
|
+
return Apollo.useMutation(exports.UpdateProfileDocument, baseOptions);
|
|
2399
|
+
}
|
|
2400
|
+
exports.useUpdateProfileMutation = useUpdateProfileMutation;
|
|
2401
|
+
exports.FetchProfileDocument = (0, client_1.gql) `
|
|
2402
|
+
query FetchProfile($userId: ID!) {
|
|
2403
|
+
fetchProfile(userId: $userId) {
|
|
2404
|
+
userId
|
|
2405
|
+
username
|
|
2406
|
+
about
|
|
2407
|
+
userpic
|
|
2408
|
+
following
|
|
2409
|
+
followings
|
|
2410
|
+
followers
|
|
2411
|
+
rank
|
|
2412
|
+
social {
|
|
2413
|
+
facebook
|
|
2414
|
+
twitter
|
|
2415
|
+
instagram
|
|
2416
|
+
website
|
|
2417
|
+
}
|
|
2418
|
+
views
|
|
2419
|
+
createdAt
|
|
2420
|
+
deletedAt
|
|
2421
|
+
visible
|
|
2422
|
+
deleted
|
|
2423
|
+
showNsfw
|
|
2424
|
+
wallets {
|
|
2425
|
+
userId
|
|
2426
|
+
address
|
|
2427
|
+
walletName
|
|
2428
|
+
blockchain
|
|
2429
|
+
chainId
|
|
2430
|
+
}
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
`;
|
|
2434
|
+
/**
|
|
2435
|
+
* __useFetchProfileQuery__
|
|
2436
|
+
*
|
|
2437
|
+
* To run a query within a React component, call `useFetchProfileQuery` and pass it any options that fit your needs.
|
|
2438
|
+
* When your component renders, `useFetchProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2439
|
+
* you can use to render your UI.
|
|
2440
|
+
*
|
|
2441
|
+
* @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;
|
|
2442
|
+
*
|
|
2443
|
+
* @example
|
|
2444
|
+
* const { data, loading, error } = useFetchProfileQuery({
|
|
2445
|
+
* variables: {
|
|
2446
|
+
* userId: // value for 'userId'
|
|
2447
|
+
* },
|
|
2448
|
+
* });
|
|
2449
|
+
*/
|
|
2450
|
+
function useFetchProfileQuery(baseOptions) {
|
|
2451
|
+
return Apollo.useQuery(exports.FetchProfileDocument, baseOptions);
|
|
2452
|
+
}
|
|
2453
|
+
exports.useFetchProfileQuery = useFetchProfileQuery;
|
|
2454
|
+
function useFetchProfileLazyQuery(baseOptions) {
|
|
2455
|
+
return Apollo.useLazyQuery(exports.FetchProfileDocument, baseOptions);
|
|
2456
|
+
}
|
|
2457
|
+
exports.useFetchProfileLazyQuery = useFetchProfileLazyQuery;
|
|
2458
|
+
exports.FetchUserWalletsDocument = (0, client_1.gql) `
|
|
2459
|
+
query FetchUserWallets($userId: ID!) {
|
|
2460
|
+
fetchUserWallets(userId: $userId) {
|
|
2461
|
+
userId
|
|
2462
|
+
address
|
|
2463
|
+
walletName
|
|
2464
|
+
blockchain
|
|
2465
|
+
chainId
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
`;
|
|
2469
|
+
/**
|
|
2470
|
+
* __useFetchUserWalletsQuery__
|
|
2471
|
+
*
|
|
2472
|
+
* To run a query within a React component, call `useFetchUserWalletsQuery` and pass it any options that fit your needs.
|
|
2473
|
+
* When your component renders, `useFetchUserWalletsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2474
|
+
* you can use to render your UI.
|
|
2475
|
+
*
|
|
2476
|
+
* @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;
|
|
2477
|
+
*
|
|
2478
|
+
* @example
|
|
2479
|
+
* const { data, loading, error } = useFetchUserWalletsQuery({
|
|
2480
|
+
* variables: {
|
|
2481
|
+
* userId: // value for 'userId'
|
|
2482
|
+
* },
|
|
2483
|
+
* });
|
|
2484
|
+
*/
|
|
2485
|
+
function useFetchUserWalletsQuery(baseOptions) {
|
|
2486
|
+
return Apollo.useQuery(exports.FetchUserWalletsDocument, baseOptions);
|
|
2487
|
+
}
|
|
2488
|
+
exports.useFetchUserWalletsQuery = useFetchUserWalletsQuery;
|
|
2489
|
+
function useFetchUserWalletsLazyQuery(baseOptions) {
|
|
2490
|
+
return Apollo.useLazyQuery(exports.FetchUserWalletsDocument, baseOptions);
|
|
2491
|
+
}
|
|
2492
|
+
exports.useFetchUserWalletsLazyQuery = useFetchUserWalletsLazyQuery;
|
|
2493
|
+
exports.FetchUserpicDocument = (0, client_1.gql) `
|
|
2494
|
+
query FetchUserpic($userId: ID!) {
|
|
2495
|
+
fetchUserpic(userId: $userId)
|
|
2496
|
+
}
|
|
2497
|
+
`;
|
|
2498
|
+
/**
|
|
2499
|
+
* __useFetchUserpicQuery__
|
|
2500
|
+
*
|
|
2501
|
+
* To run a query within a React component, call `useFetchUserpicQuery` and pass it any options that fit your needs.
|
|
2502
|
+
* When your component renders, `useFetchUserpicQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2503
|
+
* you can use to render your UI.
|
|
2504
|
+
*
|
|
2505
|
+
* @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;
|
|
2506
|
+
*
|
|
2507
|
+
* @example
|
|
2508
|
+
* const { data, loading, error } = useFetchUserpicQuery({
|
|
2509
|
+
* variables: {
|
|
2510
|
+
* userId: // value for 'userId'
|
|
2511
|
+
* },
|
|
2512
|
+
* });
|
|
2513
|
+
*/
|
|
2514
|
+
function useFetchUserpicQuery(baseOptions) {
|
|
2515
|
+
return Apollo.useQuery(exports.FetchUserpicDocument, baseOptions);
|
|
2516
|
+
}
|
|
2517
|
+
exports.useFetchUserpicQuery = useFetchUserpicQuery;
|
|
2518
|
+
function useFetchUserpicLazyQuery(baseOptions) {
|
|
2519
|
+
return Apollo.useLazyQuery(exports.FetchUserpicDocument, baseOptions);
|
|
2520
|
+
}
|
|
2521
|
+
exports.useFetchUserpicLazyQuery = useFetchUserpicLazyQuery;
|
|
2522
|
+
exports.SaveUserExpectationsDocument = (0, client_1.gql) `
|
|
2523
|
+
mutation SaveUserExpectations($expectations: [String]!) {
|
|
2524
|
+
saveUserExpectations(expectations: $expectations)
|
|
2525
|
+
}
|
|
2526
|
+
`;
|
|
2527
|
+
/**
|
|
2528
|
+
* __useSaveUserExpectationsMutation__
|
|
2529
|
+
*
|
|
2530
|
+
* To run a mutation, you first call `useSaveUserExpectationsMutation` within a React component and pass it any options that fit your needs.
|
|
2531
|
+
* When your component renders, `useSaveUserExpectationsMutation` returns a tuple that includes:
|
|
2532
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2533
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2534
|
+
*
|
|
2535
|
+
* @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;
|
|
2536
|
+
*
|
|
2537
|
+
* @example
|
|
2538
|
+
* const [saveUserExpectationsMutation, { data, loading, error }] = useSaveUserExpectationsMutation({
|
|
2539
|
+
* variables: {
|
|
2540
|
+
* expectations: // value for 'expectations'
|
|
2541
|
+
* },
|
|
2542
|
+
* });
|
|
2543
|
+
*/
|
|
2544
|
+
function useSaveUserExpectationsMutation(baseOptions) {
|
|
2545
|
+
return Apollo.useMutation(exports.SaveUserExpectationsDocument, baseOptions);
|
|
2546
|
+
}
|
|
2547
|
+
exports.useSaveUserExpectationsMutation = useSaveUserExpectationsMutation;
|
|
2548
|
+
exports.SaveUserInterestsDocument = (0, client_1.gql) `
|
|
2549
|
+
mutation SaveUserInterests($interests: [String]!) {
|
|
2550
|
+
saveUserInterests(interests: $interests)
|
|
2551
|
+
}
|
|
2552
|
+
`;
|
|
2553
|
+
/**
|
|
2554
|
+
* __useSaveUserInterestsMutation__
|
|
2555
|
+
*
|
|
2556
|
+
* To run a mutation, you first call `useSaveUserInterestsMutation` within a React component and pass it any options that fit your needs.
|
|
2557
|
+
* When your component renders, `useSaveUserInterestsMutation` returns a tuple that includes:
|
|
2558
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2559
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2560
|
+
*
|
|
2561
|
+
* @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;
|
|
2562
|
+
*
|
|
2563
|
+
* @example
|
|
2564
|
+
* const [saveUserInterestsMutation, { data, loading, error }] = useSaveUserInterestsMutation({
|
|
2565
|
+
* variables: {
|
|
2566
|
+
* interests: // value for 'interests'
|
|
2567
|
+
* },
|
|
2568
|
+
* });
|
|
2569
|
+
*/
|
|
2570
|
+
function useSaveUserInterestsMutation(baseOptions) {
|
|
2571
|
+
return Apollo.useMutation(exports.SaveUserInterestsDocument, baseOptions);
|
|
2572
|
+
}
|
|
2573
|
+
exports.useSaveUserInterestsMutation = useSaveUserInterestsMutation;
|
|
2574
|
+
exports.FetchExpectationsDocument = (0, client_1.gql) `
|
|
2575
|
+
query FetchExpectations {
|
|
2576
|
+
fetchExpectations {
|
|
2577
|
+
name
|
|
2578
|
+
imageUrl
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
`;
|
|
2582
|
+
/**
|
|
2583
|
+
* __useFetchExpectationsQuery__
|
|
2584
|
+
*
|
|
2585
|
+
* To run a query within a React component, call `useFetchExpectationsQuery` and pass it any options that fit your needs.
|
|
2586
|
+
* When your component renders, `useFetchExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2587
|
+
* you can use to render your UI.
|
|
2588
|
+
*
|
|
2589
|
+
* @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;
|
|
2590
|
+
*
|
|
2591
|
+
* @example
|
|
2592
|
+
* const { data, loading, error } = useFetchExpectationsQuery({
|
|
2593
|
+
* variables: {
|
|
2594
|
+
* },
|
|
2595
|
+
* });
|
|
2596
|
+
*/
|
|
2597
|
+
function useFetchExpectationsQuery(baseOptions) {
|
|
2598
|
+
return Apollo.useQuery(exports.FetchExpectationsDocument, baseOptions);
|
|
2599
|
+
}
|
|
2600
|
+
exports.useFetchExpectationsQuery = useFetchExpectationsQuery;
|
|
2601
|
+
function useFetchExpectationsLazyQuery(baseOptions) {
|
|
2602
|
+
return Apollo.useLazyQuery(exports.FetchExpectationsDocument, baseOptions);
|
|
2603
|
+
}
|
|
2604
|
+
exports.useFetchExpectationsLazyQuery = useFetchExpectationsLazyQuery;
|
|
2605
|
+
exports.FetchInterestsDocument = (0, client_1.gql) `
|
|
2606
|
+
query FetchInterests {
|
|
2607
|
+
fetchInterests {
|
|
2608
|
+
name
|
|
2609
|
+
imageUrl
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
`;
|
|
2613
|
+
/**
|
|
2614
|
+
* __useFetchInterestsQuery__
|
|
2615
|
+
*
|
|
2616
|
+
* To run a query within a React component, call `useFetchInterestsQuery` and pass it any options that fit your needs.
|
|
2617
|
+
* When your component renders, `useFetchInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2618
|
+
* you can use to render your UI.
|
|
2619
|
+
*
|
|
2620
|
+
* @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;
|
|
2621
|
+
*
|
|
2622
|
+
* @example
|
|
2623
|
+
* const { data, loading, error } = useFetchInterestsQuery({
|
|
2624
|
+
* variables: {
|
|
2625
|
+
* },
|
|
2626
|
+
* });
|
|
2627
|
+
*/
|
|
2628
|
+
function useFetchInterestsQuery(baseOptions) {
|
|
2629
|
+
return Apollo.useQuery(exports.FetchInterestsDocument, baseOptions);
|
|
2630
|
+
}
|
|
2631
|
+
exports.useFetchInterestsQuery = useFetchInterestsQuery;
|
|
2632
|
+
function useFetchInterestsLazyQuery(baseOptions) {
|
|
2633
|
+
return Apollo.useLazyQuery(exports.FetchInterestsDocument, baseOptions);
|
|
2634
|
+
}
|
|
2635
|
+
exports.useFetchInterestsLazyQuery = useFetchInterestsLazyQuery;
|
|
2636
|
+
exports.FetchSearchResultTimeSelectionsDocument = (0, client_1.gql) `
|
|
2637
|
+
query FetchSearchResultTimeSelections {
|
|
2638
|
+
fetchSearchResultTimeSelections {
|
|
2639
|
+
id
|
|
2640
|
+
label
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
`;
|
|
2644
|
+
/**
|
|
2645
|
+
* __useFetchSearchResultTimeSelectionsQuery__
|
|
2646
|
+
*
|
|
2647
|
+
* To run a query within a React component, call `useFetchSearchResultTimeSelectionsQuery` and pass it any options that fit your needs.
|
|
2648
|
+
* When your component renders, `useFetchSearchResultTimeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2649
|
+
* you can use to render your UI.
|
|
2650
|
+
*
|
|
2651
|
+
* @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;
|
|
2652
|
+
*
|
|
2653
|
+
* @example
|
|
2654
|
+
* const { data, loading, error } = useFetchSearchResultTimeSelectionsQuery({
|
|
2655
|
+
* variables: {
|
|
2656
|
+
* },
|
|
2657
|
+
* });
|
|
2658
|
+
*/
|
|
2659
|
+
function useFetchSearchResultTimeSelectionsQuery(baseOptions) {
|
|
2660
|
+
return Apollo.useQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
|
|
2661
|
+
}
|
|
2662
|
+
exports.useFetchSearchResultTimeSelectionsQuery = useFetchSearchResultTimeSelectionsQuery;
|
|
2663
|
+
function useFetchSearchResultTimeSelectionsLazyQuery(baseOptions) {
|
|
2664
|
+
return Apollo.useLazyQuery(exports.FetchSearchResultTimeSelectionsDocument, baseOptions);
|
|
2665
|
+
}
|
|
2666
|
+
exports.useFetchSearchResultTimeSelectionsLazyQuery = useFetchSearchResultTimeSelectionsLazyQuery;
|
|
2667
|
+
exports.FetchUserExpectationsDocument = (0, client_1.gql) `
|
|
2668
|
+
query FetchUserExpectations {
|
|
2669
|
+
fetchUserExpectations {
|
|
2670
|
+
userId
|
|
2671
|
+
name
|
|
2672
|
+
imageUrl
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
`;
|
|
2676
|
+
/**
|
|
2677
|
+
* __useFetchUserExpectationsQuery__
|
|
2678
|
+
*
|
|
2679
|
+
* To run a query within a React component, call `useFetchUserExpectationsQuery` and pass it any options that fit your needs.
|
|
2680
|
+
* When your component renders, `useFetchUserExpectationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2681
|
+
* you can use to render your UI.
|
|
2682
|
+
*
|
|
2683
|
+
* @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;
|
|
2684
|
+
*
|
|
2685
|
+
* @example
|
|
2686
|
+
* const { data, loading, error } = useFetchUserExpectationsQuery({
|
|
2687
|
+
* variables: {
|
|
2688
|
+
* },
|
|
2689
|
+
* });
|
|
2690
|
+
*/
|
|
2691
|
+
function useFetchUserExpectationsQuery(baseOptions) {
|
|
2692
|
+
return Apollo.useQuery(exports.FetchUserExpectationsDocument, baseOptions);
|
|
2693
|
+
}
|
|
2694
|
+
exports.useFetchUserExpectationsQuery = useFetchUserExpectationsQuery;
|
|
2695
|
+
function useFetchUserExpectationsLazyQuery(baseOptions) {
|
|
2696
|
+
return Apollo.useLazyQuery(exports.FetchUserExpectationsDocument, baseOptions);
|
|
2697
|
+
}
|
|
2698
|
+
exports.useFetchUserExpectationsLazyQuery = useFetchUserExpectationsLazyQuery;
|
|
2699
|
+
exports.FetchUserInterestsDocument = (0, client_1.gql) `
|
|
2700
|
+
query FetchUserInterests {
|
|
2701
|
+
fetchUserInterests {
|
|
2702
|
+
userId
|
|
2703
|
+
name
|
|
2704
|
+
imageUrl
|
|
2705
|
+
percents
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
`;
|
|
2709
|
+
/**
|
|
2710
|
+
* __useFetchUserInterestsQuery__
|
|
2711
|
+
*
|
|
2712
|
+
* To run a query within a React component, call `useFetchUserInterestsQuery` and pass it any options that fit your needs.
|
|
2713
|
+
* When your component renders, `useFetchUserInterestsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2714
|
+
* you can use to render your UI.
|
|
2715
|
+
*
|
|
2716
|
+
* @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;
|
|
2717
|
+
*
|
|
2718
|
+
* @example
|
|
2719
|
+
* const { data, loading, error } = useFetchUserInterestsQuery({
|
|
2720
|
+
* variables: {
|
|
2721
|
+
* },
|
|
2722
|
+
* });
|
|
2723
|
+
*/
|
|
2724
|
+
function useFetchUserInterestsQuery(baseOptions) {
|
|
2725
|
+
return Apollo.useQuery(exports.FetchUserInterestsDocument, baseOptions);
|
|
2726
|
+
}
|
|
2727
|
+
exports.useFetchUserInterestsQuery = useFetchUserInterestsQuery;
|
|
2728
|
+
function useFetchUserInterestsLazyQuery(baseOptions) {
|
|
2729
|
+
return Apollo.useLazyQuery(exports.FetchUserInterestsDocument, baseOptions);
|
|
2730
|
+
}
|
|
2731
|
+
exports.useFetchUserInterestsLazyQuery = useFetchUserInterestsLazyQuery;
|
|
2732
|
+
exports.FetchSearchResultBlockchainSelectionsDocument = (0, client_1.gql) `
|
|
2733
|
+
query FetchSearchResultBlockchainSelections {
|
|
2734
|
+
fetchSearchResultBlockchainSelections {
|
|
2735
|
+
id
|
|
2736
|
+
label
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
`;
|
|
2740
|
+
/**
|
|
2741
|
+
* __useFetchSearchResultBlockchainSelectionsQuery__
|
|
2742
|
+
*
|
|
2743
|
+
* To run a query within a React component, call `useFetchSearchResultBlockchainSelectionsQuery` and pass it any options that fit your needs.
|
|
2744
|
+
* When your component renders, `useFetchSearchResultBlockchainSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2745
|
+
* you can use to render your UI.
|
|
2746
|
+
*
|
|
2747
|
+
* @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;
|
|
2748
|
+
*
|
|
2749
|
+
* @example
|
|
2750
|
+
* const { data, loading, error } = useFetchSearchResultBlockchainSelectionsQuery({
|
|
2751
|
+
* variables: {
|
|
2752
|
+
* },
|
|
2753
|
+
* });
|
|
2754
|
+
*/
|
|
2755
|
+
function useFetchSearchResultBlockchainSelectionsQuery(baseOptions) {
|
|
2756
|
+
return Apollo.useQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
|
|
2757
|
+
}
|
|
2758
|
+
exports.useFetchSearchResultBlockchainSelectionsQuery = useFetchSearchResultBlockchainSelectionsQuery;
|
|
2759
|
+
function useFetchSearchResultBlockchainSelectionsLazyQuery(baseOptions) {
|
|
2760
|
+
return Apollo.useLazyQuery(exports.FetchSearchResultBlockchainSelectionsDocument, baseOptions);
|
|
2761
|
+
}
|
|
2762
|
+
exports.useFetchSearchResultBlockchainSelectionsLazyQuery = useFetchSearchResultBlockchainSelectionsLazyQuery;
|
|
2763
|
+
exports.FetchSearchResultCategorySelectionsDocument = (0, client_1.gql) `
|
|
2764
|
+
query FetchSearchResultCategorySelections {
|
|
2765
|
+
fetchSearchResultCategorySelections {
|
|
2766
|
+
id
|
|
2767
|
+
label
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
`;
|
|
2771
|
+
/**
|
|
2772
|
+
* __useFetchSearchResultCategorySelectionsQuery__
|
|
2773
|
+
*
|
|
2774
|
+
* To run a query within a React component, call `useFetchSearchResultCategorySelectionsQuery` and pass it any options that fit your needs.
|
|
2775
|
+
* When your component renders, `useFetchSearchResultCategorySelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2776
|
+
* you can use to render your UI.
|
|
2777
|
+
*
|
|
2778
|
+
* @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;
|
|
2779
|
+
*
|
|
2780
|
+
* @example
|
|
2781
|
+
* const { data, loading, error } = useFetchSearchResultCategorySelectionsQuery({
|
|
2782
|
+
* variables: {
|
|
2783
|
+
* },
|
|
2784
|
+
* });
|
|
2785
|
+
*/
|
|
2786
|
+
function useFetchSearchResultCategorySelectionsQuery(baseOptions) {
|
|
2787
|
+
return Apollo.useQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
|
|
2788
|
+
}
|
|
2789
|
+
exports.useFetchSearchResultCategorySelectionsQuery = useFetchSearchResultCategorySelectionsQuery;
|
|
2790
|
+
function useFetchSearchResultCategorySelectionsLazyQuery(baseOptions) {
|
|
2791
|
+
return Apollo.useLazyQuery(exports.FetchSearchResultCategorySelectionsDocument, baseOptions);
|
|
2792
|
+
}
|
|
2793
|
+
exports.useFetchSearchResultCategorySelectionsLazyQuery = useFetchSearchResultCategorySelectionsLazyQuery;
|
|
2794
|
+
exports.FetchSearchResultStatusSelectionsDocument = (0, client_1.gql) `
|
|
2795
|
+
query FetchSearchResultStatusSelections {
|
|
2796
|
+
fetchSearchResultStatusSelections {
|
|
2797
|
+
id
|
|
2798
|
+
label
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
`;
|
|
2802
|
+
/**
|
|
2803
|
+
* __useFetchSearchResultStatusSelectionsQuery__
|
|
2804
|
+
*
|
|
2805
|
+
* To run a query within a React component, call `useFetchSearchResultStatusSelectionsQuery` and pass it any options that fit your needs.
|
|
2806
|
+
* When your component renders, `useFetchSearchResultStatusSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2807
|
+
* you can use to render your UI.
|
|
2808
|
+
*
|
|
2809
|
+
* @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;
|
|
2810
|
+
*
|
|
2811
|
+
* @example
|
|
2812
|
+
* const { data, loading, error } = useFetchSearchResultStatusSelectionsQuery({
|
|
2813
|
+
* variables: {
|
|
2814
|
+
* },
|
|
2815
|
+
* });
|
|
2816
|
+
*/
|
|
2817
|
+
function useFetchSearchResultStatusSelectionsQuery(baseOptions) {
|
|
2818
|
+
return Apollo.useQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
2819
|
+
}
|
|
2820
|
+
exports.useFetchSearchResultStatusSelectionsQuery = useFetchSearchResultStatusSelectionsQuery;
|
|
2821
|
+
function useFetchSearchResultStatusSelectionsLazyQuery(baseOptions) {
|
|
2822
|
+
return Apollo.useLazyQuery(exports.FetchSearchResultStatusSelectionsDocument, baseOptions);
|
|
2823
|
+
}
|
|
2824
|
+
exports.useFetchSearchResultStatusSelectionsLazyQuery = useFetchSearchResultStatusSelectionsLazyQuery;
|
|
2825
|
+
exports.FetchSetsSearchResultTypeSelectionsDocument = (0, client_1.gql) `
|
|
2826
|
+
query FetchSetsSearchResultTypeSelections {
|
|
2827
|
+
fetchSetsSearchResultTypeSelections {
|
|
2828
|
+
id
|
|
2829
|
+
label
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
`;
|
|
2833
|
+
/**
|
|
2834
|
+
* __useFetchSetsSearchResultTypeSelectionsQuery__
|
|
2835
|
+
*
|
|
2836
|
+
* To run a query within a React component, call `useFetchSetsSearchResultTypeSelectionsQuery` and pass it any options that fit your needs.
|
|
2837
|
+
* When your component renders, `useFetchSetsSearchResultTypeSelectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2838
|
+
* you can use to render your UI.
|
|
2839
|
+
*
|
|
2840
|
+
* @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;
|
|
2841
|
+
*
|
|
2842
|
+
* @example
|
|
2843
|
+
* const { data, loading, error } = useFetchSetsSearchResultTypeSelectionsQuery({
|
|
2844
|
+
* variables: {
|
|
2845
|
+
* },
|
|
2846
|
+
* });
|
|
2847
|
+
*/
|
|
2848
|
+
function useFetchSetsSearchResultTypeSelectionsQuery(baseOptions) {
|
|
2849
|
+
return Apollo.useQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
2850
|
+
}
|
|
2851
|
+
exports.useFetchSetsSearchResultTypeSelectionsQuery = useFetchSetsSearchResultTypeSelectionsQuery;
|
|
2852
|
+
function useFetchSetsSearchResultTypeSelectionsLazyQuery(baseOptions) {
|
|
2853
|
+
return Apollo.useLazyQuery(exports.FetchSetsSearchResultTypeSelectionsDocument, baseOptions);
|
|
2854
|
+
}
|
|
2855
|
+
exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = useFetchSetsSearchResultTypeSelectionsLazyQuery;
|
|
2856
|
+
exports.FetchAssetsCountDocument = (0, client_1.gql) `
|
|
2857
|
+
query FetchAssetsCount {
|
|
2858
|
+
fetchAssetsCount
|
|
2859
|
+
}
|
|
2860
|
+
`;
|
|
2861
|
+
/**
|
|
2862
|
+
* __useFetchAssetsCountQuery__
|
|
2863
|
+
*
|
|
2864
|
+
* To run a query within a React component, call `useFetchAssetsCountQuery` and pass it any options that fit your needs.
|
|
2865
|
+
* When your component renders, `useFetchAssetsCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2866
|
+
* you can use to render your UI.
|
|
2867
|
+
*
|
|
2868
|
+
* @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;
|
|
2869
|
+
*
|
|
2870
|
+
* @example
|
|
2871
|
+
* const { data, loading, error } = useFetchAssetsCountQuery({
|
|
2872
|
+
* variables: {
|
|
2873
|
+
* },
|
|
2874
|
+
* });
|
|
2875
|
+
*/
|
|
2876
|
+
function useFetchAssetsCountQuery(baseOptions) {
|
|
2877
|
+
return Apollo.useQuery(exports.FetchAssetsCountDocument, baseOptions);
|
|
2878
|
+
}
|
|
2879
|
+
exports.useFetchAssetsCountQuery = useFetchAssetsCountQuery;
|
|
2880
|
+
function useFetchAssetsCountLazyQuery(baseOptions) {
|
|
2881
|
+
return Apollo.useLazyQuery(exports.FetchAssetsCountDocument, baseOptions);
|
|
2882
|
+
}
|
|
2883
|
+
exports.useFetchAssetsCountLazyQuery = useFetchAssetsCountLazyQuery;
|
|
2884
|
+
exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
2885
|
+
query FindCollections($term: String!, $input: CollectionFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
2886
|
+
findCollections(
|
|
2887
|
+
term: $term
|
|
2888
|
+
input: $input
|
|
2889
|
+
pageSize: $pageSize
|
|
2890
|
+
pageToken: $pageToken
|
|
2891
|
+
) {
|
|
2892
|
+
collections {
|
|
2893
|
+
collectionId
|
|
2894
|
+
collectionTitle
|
|
2895
|
+
blockchain
|
|
2896
|
+
tokenId
|
|
2897
|
+
medias {
|
|
2898
|
+
originalUrl
|
|
2899
|
+
url
|
|
2900
|
+
previewUrl
|
|
2901
|
+
mimeType
|
|
2902
|
+
sizeRatio
|
|
2903
|
+
fileSize
|
|
2904
|
+
}
|
|
2905
|
+
rank
|
|
2906
|
+
}
|
|
2907
|
+
nextPageToken
|
|
2908
|
+
results
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
`;
|
|
2912
|
+
/**
|
|
2913
|
+
* __useFindCollectionsQuery__
|
|
2914
|
+
*
|
|
2915
|
+
* To run a query within a React component, call `useFindCollectionsQuery` and pass it any options that fit your needs.
|
|
2916
|
+
* When your component renders, `useFindCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2917
|
+
* you can use to render your UI.
|
|
2918
|
+
*
|
|
2919
|
+
* @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;
|
|
2920
|
+
*
|
|
2921
|
+
* @example
|
|
2922
|
+
* const { data, loading, error } = useFindCollectionsQuery({
|
|
2923
|
+
* variables: {
|
|
2924
|
+
* term: // value for 'term'
|
|
2925
|
+
* input: // value for 'input'
|
|
2926
|
+
* pageSize: // value for 'pageSize'
|
|
2927
|
+
* pageToken: // value for 'pageToken'
|
|
2928
|
+
* },
|
|
2929
|
+
* });
|
|
2930
|
+
*/
|
|
2931
|
+
function useFindCollectionsQuery(baseOptions) {
|
|
2932
|
+
return Apollo.useQuery(exports.FindCollectionsDocument, baseOptions);
|
|
2933
|
+
}
|
|
2934
|
+
exports.useFindCollectionsQuery = useFindCollectionsQuery;
|
|
2935
|
+
function useFindCollectionsLazyQuery(baseOptions) {
|
|
2936
|
+
return Apollo.useLazyQuery(exports.FindCollectionsDocument, baseOptions);
|
|
2937
|
+
}
|
|
2938
|
+
exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
|
|
2939
|
+
exports.FetchCreationsDocument = (0, client_1.gql) `
|
|
2940
|
+
query FetchCreations($pageSize: Int!, $pageToken: String) {
|
|
2941
|
+
fetchCreations(pageSize: $pageSize, pageToken: $pageToken) {
|
|
2942
|
+
nextPageToken
|
|
2943
|
+
creations {
|
|
2944
|
+
itemType
|
|
2945
|
+
itemId
|
|
2946
|
+
rank
|
|
2947
|
+
blockchain
|
|
2948
|
+
address
|
|
2949
|
+
tokenId
|
|
2950
|
+
name
|
|
2951
|
+
creatorsAddresses
|
|
2952
|
+
creatorsProfiles {
|
|
2953
|
+
userId
|
|
2954
|
+
username
|
|
2955
|
+
about
|
|
2956
|
+
userpic
|
|
2957
|
+
followers
|
|
2958
|
+
followings
|
|
2959
|
+
createdAt
|
|
2960
|
+
deletedAt
|
|
2961
|
+
visible
|
|
2962
|
+
views
|
|
2963
|
+
deleted
|
|
2964
|
+
}
|
|
2965
|
+
ownersAddresses
|
|
2966
|
+
ownersProfiles {
|
|
2967
|
+
userId
|
|
2968
|
+
username
|
|
2969
|
+
about
|
|
2970
|
+
userpic
|
|
2971
|
+
followers
|
|
2972
|
+
followings
|
|
2973
|
+
createdAt
|
|
2974
|
+
deletedAt
|
|
2975
|
+
visible
|
|
2976
|
+
views
|
|
2977
|
+
deleted
|
|
2978
|
+
}
|
|
2979
|
+
originalUrls
|
|
2980
|
+
media
|
|
2981
|
+
mediaPreview
|
|
2982
|
+
mimeType
|
|
2983
|
+
sizeRatio
|
|
2984
|
+
fileSize
|
|
2985
|
+
nsfw
|
|
2986
|
+
likes
|
|
2987
|
+
liked
|
|
2988
|
+
views
|
|
2989
|
+
visible
|
|
2990
|
+
blurred
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2994
|
+
`;
|
|
2995
|
+
/**
|
|
2996
|
+
* __useFetchCreationsQuery__
|
|
2997
|
+
*
|
|
2998
|
+
* To run a query within a React component, call `useFetchCreationsQuery` and pass it any options that fit your needs.
|
|
2999
|
+
* When your component renders, `useFetchCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3000
|
+
* you can use to render your UI.
|
|
3001
|
+
*
|
|
3002
|
+
* @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;
|
|
3003
|
+
*
|
|
3004
|
+
* @example
|
|
3005
|
+
* const { data, loading, error } = useFetchCreationsQuery({
|
|
3006
|
+
* variables: {
|
|
3007
|
+
* pageSize: // value for 'pageSize'
|
|
3008
|
+
* pageToken: // value for 'pageToken'
|
|
3009
|
+
* },
|
|
3010
|
+
* });
|
|
3011
|
+
*/
|
|
3012
|
+
function useFetchCreationsQuery(baseOptions) {
|
|
3013
|
+
return Apollo.useQuery(exports.FetchCreationsDocument, baseOptions);
|
|
3014
|
+
}
|
|
3015
|
+
exports.useFetchCreationsQuery = useFetchCreationsQuery;
|
|
3016
|
+
function useFetchCreationsLazyQuery(baseOptions) {
|
|
3017
|
+
return Apollo.useLazyQuery(exports.FetchCreationsDocument, baseOptions);
|
|
3018
|
+
}
|
|
3019
|
+
exports.useFetchCreationsLazyQuery = useFetchCreationsLazyQuery;
|
|
3020
|
+
exports.FetchCreationsByItemTypeDocument = (0, client_1.gql) `
|
|
3021
|
+
query FetchCreationsByItemType($itemType: String!, $pageSize: Int!, $pageToken: String) {
|
|
3022
|
+
fetchCreationsByItemType(
|
|
3023
|
+
itemType: $itemType
|
|
3024
|
+
pageSize: $pageSize
|
|
3025
|
+
pageToken: $pageToken
|
|
3026
|
+
) {
|
|
3027
|
+
nextPageToken
|
|
3028
|
+
creations {
|
|
3029
|
+
itemType
|
|
3030
|
+
itemId
|
|
3031
|
+
address
|
|
3032
|
+
tokenId
|
|
3033
|
+
blockchain
|
|
3034
|
+
name
|
|
3035
|
+
rank
|
|
3036
|
+
creatorsAddresses
|
|
3037
|
+
creatorsProfiles {
|
|
3038
|
+
userId
|
|
3039
|
+
username
|
|
3040
|
+
about
|
|
3041
|
+
userpic
|
|
3042
|
+
followers
|
|
3043
|
+
followings
|
|
3044
|
+
createdAt
|
|
3045
|
+
deletedAt
|
|
3046
|
+
visible
|
|
3047
|
+
views
|
|
3048
|
+
deleted
|
|
3049
|
+
}
|
|
3050
|
+
ownersAddresses
|
|
3051
|
+
ownersProfiles {
|
|
3052
|
+
userId
|
|
3053
|
+
username
|
|
3054
|
+
about
|
|
3055
|
+
userpic
|
|
3056
|
+
followers
|
|
3057
|
+
followings
|
|
3058
|
+
createdAt
|
|
3059
|
+
deletedAt
|
|
3060
|
+
visible
|
|
3061
|
+
views
|
|
3062
|
+
deleted
|
|
3063
|
+
}
|
|
3064
|
+
originalUrls
|
|
3065
|
+
media
|
|
3066
|
+
mediaPreview
|
|
3067
|
+
mimeType
|
|
3068
|
+
sizeRatio
|
|
3069
|
+
fileSize
|
|
3070
|
+
nsfw
|
|
3071
|
+
likes
|
|
3072
|
+
views
|
|
3073
|
+
visible
|
|
3074
|
+
blurred
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
`;
|
|
3079
|
+
/**
|
|
3080
|
+
* __useFetchCreationsByItemTypeQuery__
|
|
3081
|
+
*
|
|
3082
|
+
* To run a query within a React component, call `useFetchCreationsByItemTypeQuery` and pass it any options that fit your needs.
|
|
3083
|
+
* When your component renders, `useFetchCreationsByItemTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3084
|
+
* you can use to render your UI.
|
|
3085
|
+
*
|
|
3086
|
+
* @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;
|
|
3087
|
+
*
|
|
3088
|
+
* @example
|
|
3089
|
+
* const { data, loading, error } = useFetchCreationsByItemTypeQuery({
|
|
3090
|
+
* variables: {
|
|
3091
|
+
* itemType: // value for 'itemType'
|
|
3092
|
+
* pageSize: // value for 'pageSize'
|
|
3093
|
+
* pageToken: // value for 'pageToken'
|
|
3094
|
+
* },
|
|
3095
|
+
* });
|
|
3096
|
+
*/
|
|
3097
|
+
function useFetchCreationsByItemTypeQuery(baseOptions) {
|
|
3098
|
+
return Apollo.useQuery(exports.FetchCreationsByItemTypeDocument, baseOptions);
|
|
3099
|
+
}
|
|
3100
|
+
exports.useFetchCreationsByItemTypeQuery = useFetchCreationsByItemTypeQuery;
|
|
3101
|
+
function useFetchCreationsByItemTypeLazyQuery(baseOptions) {
|
|
3102
|
+
return Apollo.useLazyQuery(exports.FetchCreationsByItemTypeDocument, baseOptions);
|
|
3103
|
+
}
|
|
3104
|
+
exports.useFetchCreationsByItemTypeLazyQuery = useFetchCreationsByItemTypeLazyQuery;
|
|
3105
|
+
exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
3106
|
+
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
3107
|
+
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|
|
3108
|
+
assets {
|
|
3109
|
+
assetId
|
|
3110
|
+
address
|
|
3111
|
+
tokenId
|
|
3112
|
+
blockchain
|
|
3113
|
+
chainId
|
|
3114
|
+
blockHeight
|
|
3115
|
+
blockTimestamp
|
|
3116
|
+
name
|
|
3117
|
+
description
|
|
3118
|
+
originalUrls
|
|
3119
|
+
medias {
|
|
3120
|
+
originalUrl
|
|
3121
|
+
url
|
|
3122
|
+
previewUrl
|
|
3123
|
+
mimeType
|
|
3124
|
+
sizeRatio
|
|
3125
|
+
fileSize
|
|
3126
|
+
nsfw
|
|
3127
|
+
}
|
|
3128
|
+
ownersAddresses
|
|
3129
|
+
ownersProfiles {
|
|
3130
|
+
userId
|
|
3131
|
+
username
|
|
3132
|
+
about
|
|
3133
|
+
userpic
|
|
3134
|
+
followers
|
|
3135
|
+
followings
|
|
3136
|
+
createdAt
|
|
3137
|
+
deletedAt
|
|
3138
|
+
visible
|
|
3139
|
+
views
|
|
3140
|
+
deleted
|
|
3141
|
+
}
|
|
3142
|
+
creatorsAddresses
|
|
3143
|
+
creatorsProfiles {
|
|
3144
|
+
userId
|
|
3145
|
+
username
|
|
3146
|
+
about
|
|
3147
|
+
userpic
|
|
3148
|
+
followers
|
|
3149
|
+
followings
|
|
3150
|
+
createdAt
|
|
3151
|
+
deletedAt
|
|
3152
|
+
visible
|
|
3153
|
+
views
|
|
3154
|
+
deleted
|
|
3155
|
+
}
|
|
3156
|
+
attributes {
|
|
3157
|
+
name
|
|
3158
|
+
value
|
|
3159
|
+
}
|
|
3160
|
+
likes
|
|
3161
|
+
views
|
|
3162
|
+
visible
|
|
3163
|
+
blurred
|
|
3164
|
+
rank
|
|
3165
|
+
rankRaw
|
|
3166
|
+
rankMax
|
|
3167
|
+
rankUpdatedAt
|
|
3168
|
+
}
|
|
3169
|
+
collections {
|
|
3170
|
+
collectionId
|
|
3171
|
+
blockchain
|
|
3172
|
+
identifier
|
|
3173
|
+
contractAddress
|
|
3174
|
+
tokenId
|
|
3175
|
+
collectionTitle
|
|
3176
|
+
totalVolumes {
|
|
3177
|
+
currency
|
|
3178
|
+
amount
|
|
3179
|
+
}
|
|
3180
|
+
likes
|
|
3181
|
+
liked
|
|
3182
|
+
verified
|
|
3183
|
+
rank
|
|
3184
|
+
floorPrices {
|
|
3185
|
+
currency
|
|
3186
|
+
amount
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3189
|
+
profiles {
|
|
3190
|
+
userId
|
|
3191
|
+
username
|
|
3192
|
+
about
|
|
3193
|
+
userpic
|
|
3194
|
+
followers
|
|
3195
|
+
followings
|
|
3196
|
+
createdAt
|
|
3197
|
+
deletedAt
|
|
3198
|
+
visible
|
|
3199
|
+
views
|
|
3200
|
+
deleted
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
`;
|
|
3205
|
+
/**
|
|
3206
|
+
* __useFindAllTopEntitiesByNameQuery__
|
|
3207
|
+
*
|
|
3208
|
+
* To run a query within a React component, call `useFindAllTopEntitiesByNameQuery` and pass it any options that fit your needs.
|
|
3209
|
+
* When your component renders, `useFindAllTopEntitiesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3210
|
+
* you can use to render your UI.
|
|
3211
|
+
*
|
|
3212
|
+
* @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;
|
|
3213
|
+
*
|
|
3214
|
+
* @example
|
|
3215
|
+
* const { data, loading, error } = useFindAllTopEntitiesByNameQuery({
|
|
3216
|
+
* variables: {
|
|
3217
|
+
* name: // value for 'name'
|
|
3218
|
+
* pageSize: // value for 'pageSize'
|
|
3219
|
+
* },
|
|
3220
|
+
* });
|
|
3221
|
+
*/
|
|
3222
|
+
function useFindAllTopEntitiesByNameQuery(baseOptions) {
|
|
3223
|
+
return Apollo.useQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
|
|
3224
|
+
}
|
|
3225
|
+
exports.useFindAllTopEntitiesByNameQuery = useFindAllTopEntitiesByNameQuery;
|
|
3226
|
+
function useFindAllTopEntitiesByNameLazyQuery(baseOptions) {
|
|
3227
|
+
return Apollo.useLazyQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
|
|
3228
|
+
}
|
|
3229
|
+
exports.useFindAllTopEntitiesByNameLazyQuery = useFindAllTopEntitiesByNameLazyQuery;
|
|
3230
|
+
exports.FetchUserPortfolioDocument = (0, client_1.gql) `
|
|
3231
|
+
query FetchUserPortfolio($ownerId: String!) {
|
|
3232
|
+
fetchUserPortfolio(ownerId: $ownerId) {
|
|
3233
|
+
currency
|
|
3234
|
+
amount
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
`;
|
|
3238
|
+
/**
|
|
3239
|
+
* __useFetchUserPortfolioQuery__
|
|
3240
|
+
*
|
|
3241
|
+
* To run a query within a React component, call `useFetchUserPortfolioQuery` and pass it any options that fit your needs.
|
|
3242
|
+
* When your component renders, `useFetchUserPortfolioQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3243
|
+
* you can use to render your UI.
|
|
3244
|
+
*
|
|
3245
|
+
* @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;
|
|
3246
|
+
*
|
|
3247
|
+
* @example
|
|
3248
|
+
* const { data, loading, error } = useFetchUserPortfolioQuery({
|
|
3249
|
+
* variables: {
|
|
3250
|
+
* ownerId: // value for 'ownerId'
|
|
3251
|
+
* },
|
|
3252
|
+
* });
|
|
3253
|
+
*/
|
|
3254
|
+
function useFetchUserPortfolioQuery(baseOptions) {
|
|
3255
|
+
return Apollo.useQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
3256
|
+
}
|
|
3257
|
+
exports.useFetchUserPortfolioQuery = useFetchUserPortfolioQuery;
|
|
3258
|
+
function useFetchUserPortfolioLazyQuery(baseOptions) {
|
|
3259
|
+
return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
3260
|
+
}
|
|
3261
|
+
exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
|
|
3262
|
+
exports.FindCreationsDocument = (0, client_1.gql) `
|
|
3263
|
+
query FindCreations($term: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
3264
|
+
findCreations(
|
|
3265
|
+
term: $term
|
|
3266
|
+
input: $input
|
|
3267
|
+
pageSize: $pageSize
|
|
3268
|
+
pageToken: $pageToken
|
|
3269
|
+
) {
|
|
3270
|
+
nextPageToken
|
|
3271
|
+
results
|
|
3272
|
+
creations {
|
|
3273
|
+
itemType
|
|
3274
|
+
address
|
|
3275
|
+
tokenId
|
|
3276
|
+
itemId
|
|
3277
|
+
blockchain
|
|
3278
|
+
name
|
|
3279
|
+
creatorsAddresses
|
|
3280
|
+
creatorsProfiles {
|
|
3281
|
+
userId
|
|
3282
|
+
username
|
|
3283
|
+
about
|
|
3284
|
+
userpic
|
|
3285
|
+
followers
|
|
3286
|
+
views
|
|
3287
|
+
createdAt
|
|
3288
|
+
deletedAt
|
|
3289
|
+
visible
|
|
3290
|
+
deleted
|
|
3291
|
+
}
|
|
3292
|
+
ownersAddresses
|
|
3293
|
+
ownersProfiles {
|
|
3294
|
+
userId
|
|
3295
|
+
username
|
|
3296
|
+
about
|
|
3297
|
+
userpic
|
|
3298
|
+
followings
|
|
3299
|
+
followers
|
|
3300
|
+
views
|
|
3301
|
+
createdAt
|
|
3302
|
+
deletedAt
|
|
3303
|
+
visible
|
|
3304
|
+
deleted
|
|
3305
|
+
}
|
|
3306
|
+
originalUrls
|
|
3307
|
+
media
|
|
3308
|
+
mediaPreview
|
|
3309
|
+
mimeType
|
|
3310
|
+
rank
|
|
3311
|
+
sizeRatio
|
|
3312
|
+
fileSize
|
|
3313
|
+
nsfw
|
|
3314
|
+
likes
|
|
3315
|
+
liked
|
|
3316
|
+
views
|
|
3317
|
+
visible
|
|
3318
|
+
blurred
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
`;
|
|
3323
|
+
/**
|
|
3324
|
+
* __useFindCreationsQuery__
|
|
3325
|
+
*
|
|
3326
|
+
* To run a query within a React component, call `useFindCreationsQuery` and pass it any options that fit your needs.
|
|
3327
|
+
* When your component renders, `useFindCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3328
|
+
* you can use to render your UI.
|
|
3329
|
+
*
|
|
3330
|
+
* @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;
|
|
3331
|
+
*
|
|
3332
|
+
* @example
|
|
3333
|
+
* const { data, loading, error } = useFindCreationsQuery({
|
|
3334
|
+
* variables: {
|
|
3335
|
+
* term: // value for 'term'
|
|
3336
|
+
* input: // value for 'input'
|
|
3337
|
+
* pageSize: // value for 'pageSize'
|
|
3338
|
+
* pageToken: // value for 'pageToken'
|
|
3339
|
+
* },
|
|
3340
|
+
* });
|
|
3341
|
+
*/
|
|
3342
|
+
function useFindCreationsQuery(baseOptions) {
|
|
3343
|
+
return Apollo.useQuery(exports.FindCreationsDocument, baseOptions);
|
|
3344
|
+
}
|
|
3345
|
+
exports.useFindCreationsQuery = useFindCreationsQuery;
|
|
3346
|
+
function useFindCreationsLazyQuery(baseOptions) {
|
|
3347
|
+
return Apollo.useLazyQuery(exports.FindCreationsDocument, baseOptions);
|
|
3348
|
+
}
|
|
3349
|
+
exports.useFindCreationsLazyQuery = useFindCreationsLazyQuery;
|
|
3350
|
+
exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
3351
|
+
query FindProfilesByName($name: String!, $pageSize: Int!, $pageToken: String) {
|
|
3352
|
+
findProfilesByName(name: $name, pageSize: $pageSize, pageToken: $pageToken) {
|
|
3353
|
+
nextPageToken
|
|
3354
|
+
profiles {
|
|
3355
|
+
userId
|
|
3356
|
+
username
|
|
3357
|
+
about
|
|
3358
|
+
userpic
|
|
3359
|
+
followers
|
|
3360
|
+
followings
|
|
3361
|
+
visible
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
`;
|
|
3366
|
+
/**
|
|
3367
|
+
* __useFindProfilesByNameQuery__
|
|
3368
|
+
*
|
|
3369
|
+
* To run a query within a React component, call `useFindProfilesByNameQuery` and pass it any options that fit your needs.
|
|
3370
|
+
* When your component renders, `useFindProfilesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3371
|
+
* you can use to render your UI.
|
|
3372
|
+
*
|
|
3373
|
+
* @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;
|
|
3374
|
+
*
|
|
3375
|
+
* @example
|
|
3376
|
+
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
3377
|
+
* variables: {
|
|
3378
|
+
* name: // value for 'name'
|
|
3379
|
+
* pageSize: // value for 'pageSize'
|
|
3380
|
+
* pageToken: // value for 'pageToken'
|
|
3381
|
+
* },
|
|
3382
|
+
* });
|
|
3383
|
+
*/
|
|
3384
|
+
function useFindProfilesByNameQuery(baseOptions) {
|
|
3385
|
+
return Apollo.useQuery(exports.FindProfilesByNameDocument, baseOptions);
|
|
3386
|
+
}
|
|
3387
|
+
exports.useFindProfilesByNameQuery = useFindProfilesByNameQuery;
|
|
3388
|
+
function useFindProfilesByNameLazyQuery(baseOptions) {
|
|
3389
|
+
return Apollo.useLazyQuery(exports.FindProfilesByNameDocument, baseOptions);
|
|
3390
|
+
}
|
|
3391
|
+
exports.useFindProfilesByNameLazyQuery = useFindProfilesByNameLazyQuery;
|
|
3392
|
+
exports.FindSetsDocument = (0, client_1.gql) `
|
|
3393
|
+
query FindSets($term: String!, $input: GallerySearchFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
3394
|
+
findSets(term: $term, input: $input, pageSize: $pageSize, pageToken: $pageToken) {
|
|
3395
|
+
nextPageToken
|
|
3396
|
+
galleries {
|
|
3397
|
+
galleryId
|
|
3398
|
+
galleryType
|
|
3399
|
+
name
|
|
3400
|
+
description
|
|
3401
|
+
userId
|
|
3402
|
+
username
|
|
3403
|
+
userpic
|
|
3404
|
+
banner
|
|
3405
|
+
createdAt
|
|
3406
|
+
items
|
|
3407
|
+
views
|
|
3408
|
+
publiclyAccessible
|
|
3409
|
+
nsfw
|
|
3410
|
+
}
|
|
3411
|
+
results
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
`;
|
|
3415
|
+
/**
|
|
3416
|
+
* __useFindSetsQuery__
|
|
3417
|
+
*
|
|
3418
|
+
* To run a query within a React component, call `useFindSetsQuery` and pass it any options that fit your needs.
|
|
3419
|
+
* When your component renders, `useFindSetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3420
|
+
* you can use to render your UI.
|
|
3421
|
+
*
|
|
3422
|
+
* @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;
|
|
3423
|
+
*
|
|
3424
|
+
* @example
|
|
3425
|
+
* const { data, loading, error } = useFindSetsQuery({
|
|
3426
|
+
* variables: {
|
|
3427
|
+
* term: // value for 'term'
|
|
3428
|
+
* input: // value for 'input'
|
|
3429
|
+
* pageSize: // value for 'pageSize'
|
|
3430
|
+
* pageToken: // value for 'pageToken'
|
|
3431
|
+
* },
|
|
3432
|
+
* });
|
|
3433
|
+
*/
|
|
3434
|
+
function useFindSetsQuery(baseOptions) {
|
|
3435
|
+
return Apollo.useQuery(exports.FindSetsDocument, baseOptions);
|
|
3436
|
+
}
|
|
3437
|
+
exports.useFindSetsQuery = useFindSetsQuery;
|
|
3438
|
+
function useFindSetsLazyQuery(baseOptions) {
|
|
3439
|
+
return Apollo.useLazyQuery(exports.FindSetsDocument, baseOptions);
|
|
3440
|
+
}
|
|
3441
|
+
exports.useFindSetsLazyQuery = useFindSetsLazyQuery;
|
|
3442
|
+
exports.FindShowcaseItemsDocument = (0, client_1.gql) `
|
|
3443
|
+
query FindShowcaseItems($term: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
3444
|
+
findShowcaseItems(
|
|
3445
|
+
term: $term
|
|
3446
|
+
input: $input
|
|
3447
|
+
pageSize: $pageSize
|
|
3448
|
+
pageToken: $pageToken
|
|
3449
|
+
) {
|
|
3450
|
+
nextPageToken
|
|
3451
|
+
results
|
|
3452
|
+
showcaseItems {
|
|
3453
|
+
itemType
|
|
3454
|
+
itemId
|
|
3455
|
+
blockchain
|
|
3456
|
+
name
|
|
3457
|
+
media
|
|
3458
|
+
mediaPreview
|
|
3459
|
+
mimeType
|
|
3460
|
+
sizeRatio
|
|
3461
|
+
fileSize
|
|
3462
|
+
likes
|
|
3463
|
+
visible
|
|
3464
|
+
blurred
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
}
|
|
3468
|
+
`;
|
|
3469
|
+
/**
|
|
3470
|
+
* __useFindShowcaseItemsQuery__
|
|
3471
|
+
*
|
|
3472
|
+
* To run a query within a React component, call `useFindShowcaseItemsQuery` and pass it any options that fit your needs.
|
|
3473
|
+
* When your component renders, `useFindShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3474
|
+
* you can use to render your UI.
|
|
3475
|
+
*
|
|
3476
|
+
* @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;
|
|
3477
|
+
*
|
|
3478
|
+
* @example
|
|
3479
|
+
* const { data, loading, error } = useFindShowcaseItemsQuery({
|
|
3480
|
+
* variables: {
|
|
3481
|
+
* term: // value for 'term'
|
|
3482
|
+
* input: // value for 'input'
|
|
3483
|
+
* pageSize: // value for 'pageSize'
|
|
3484
|
+
* pageToken: // value for 'pageToken'
|
|
3485
|
+
* },
|
|
3486
|
+
* });
|
|
3487
|
+
*/
|
|
3488
|
+
function useFindShowcaseItemsQuery(baseOptions) {
|
|
3489
|
+
return Apollo.useQuery(exports.FindShowcaseItemsDocument, baseOptions);
|
|
3490
|
+
}
|
|
3491
|
+
exports.useFindShowcaseItemsQuery = useFindShowcaseItemsQuery;
|
|
3492
|
+
function useFindShowcaseItemsLazyQuery(baseOptions) {
|
|
3493
|
+
return Apollo.useLazyQuery(exports.FindShowcaseItemsDocument, baseOptions);
|
|
3494
|
+
}
|
|
3495
|
+
exports.useFindShowcaseItemsLazyQuery = useFindShowcaseItemsLazyQuery;
|
|
3496
|
+
exports.FindUserCreationsDocument = (0, client_1.gql) `
|
|
3497
|
+
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
3498
|
+
findUserCreations(
|
|
3499
|
+
ownerId: $ownerId
|
|
3500
|
+
input: $input
|
|
3501
|
+
pageSize: $pageSize
|
|
3502
|
+
pageToken: $pageToken
|
|
3503
|
+
) {
|
|
3504
|
+
nextPageToken
|
|
3505
|
+
results
|
|
3506
|
+
creations {
|
|
3507
|
+
id
|
|
3508
|
+
itemType
|
|
3509
|
+
tokenId
|
|
3510
|
+
address
|
|
3511
|
+
itemId
|
|
3512
|
+
blockchain
|
|
3513
|
+
name
|
|
3514
|
+
creatorsAddresses
|
|
3515
|
+
creatorsProfiles {
|
|
3516
|
+
userId
|
|
3517
|
+
username
|
|
3518
|
+
about
|
|
3519
|
+
userpic
|
|
3520
|
+
followers
|
|
3521
|
+
followings
|
|
3522
|
+
createdAt
|
|
3523
|
+
deletedAt
|
|
3524
|
+
visible
|
|
3525
|
+
views
|
|
3526
|
+
deleted
|
|
3527
|
+
}
|
|
3528
|
+
ownersAddresses
|
|
3529
|
+
ownersProfiles {
|
|
3530
|
+
userId
|
|
3531
|
+
username
|
|
3532
|
+
about
|
|
3533
|
+
userpic
|
|
3534
|
+
followers
|
|
3535
|
+
followings
|
|
3536
|
+
createdAt
|
|
3537
|
+
deletedAt
|
|
3538
|
+
visible
|
|
3539
|
+
views
|
|
3540
|
+
deleted
|
|
3541
|
+
}
|
|
3542
|
+
originalUrls
|
|
3543
|
+
media
|
|
3544
|
+
mediaPreview
|
|
3545
|
+
mimeType
|
|
3546
|
+
sizeRatio
|
|
3547
|
+
fileSize
|
|
3548
|
+
nsfw
|
|
3549
|
+
likes
|
|
3550
|
+
views
|
|
3551
|
+
visible
|
|
3552
|
+
blurred
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
`;
|
|
3557
|
+
/**
|
|
3558
|
+
* __useFindUserCreationsQuery__
|
|
3559
|
+
*
|
|
3560
|
+
* To run a query within a React component, call `useFindUserCreationsQuery` and pass it any options that fit your needs.
|
|
3561
|
+
* When your component renders, `useFindUserCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3562
|
+
* you can use to render your UI.
|
|
3563
|
+
*
|
|
3564
|
+
* @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;
|
|
3565
|
+
*
|
|
3566
|
+
* @example
|
|
3567
|
+
* const { data, loading, error } = useFindUserCreationsQuery({
|
|
3568
|
+
* variables: {
|
|
3569
|
+
* ownerId: // value for 'ownerId'
|
|
3570
|
+
* input: // value for 'input'
|
|
3571
|
+
* pageSize: // value for 'pageSize'
|
|
3572
|
+
* pageToken: // value for 'pageToken'
|
|
3573
|
+
* },
|
|
3574
|
+
* });
|
|
3575
|
+
*/
|
|
3576
|
+
function useFindUserCreationsQuery(baseOptions) {
|
|
3577
|
+
return Apollo.useQuery(exports.FindUserCreationsDocument, baseOptions);
|
|
3578
|
+
}
|
|
3579
|
+
exports.useFindUserCreationsQuery = useFindUserCreationsQuery;
|
|
3580
|
+
function useFindUserCreationsLazyQuery(baseOptions) {
|
|
3581
|
+
return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
|
|
3582
|
+
}
|
|
3583
|
+
exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
|
|
3584
|
+
exports.FindUserShowcaseItemsDocument = (0, client_1.gql) `
|
|
3585
|
+
query FindUserShowcaseItems($ownerId: String!, $input: ShowcaseItemFilterInput!, $pageSize: Int!, $pageToken: String) {
|
|
3586
|
+
findUserShowcaseItems(
|
|
3587
|
+
ownerId: $ownerId
|
|
3588
|
+
input: $input
|
|
3589
|
+
pageSize: $pageSize
|
|
3590
|
+
pageToken: $pageToken
|
|
3591
|
+
) {
|
|
3592
|
+
showcaseItems {
|
|
3593
|
+
itemType
|
|
3594
|
+
itemId
|
|
3595
|
+
blockchain
|
|
3596
|
+
name
|
|
3597
|
+
media
|
|
3598
|
+
mediaPreview
|
|
3599
|
+
mimeType
|
|
3600
|
+
sizeRatio
|
|
3601
|
+
fileSize
|
|
3602
|
+
likes
|
|
3603
|
+
visible
|
|
3604
|
+
blurred
|
|
3605
|
+
creatorsAddresses
|
|
3606
|
+
}
|
|
3607
|
+
nextPageToken
|
|
3608
|
+
results
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
`;
|
|
3612
|
+
/**
|
|
3613
|
+
* __useFindUserShowcaseItemsQuery__
|
|
3614
|
+
*
|
|
3615
|
+
* To run a query within a React component, call `useFindUserShowcaseItemsQuery` and pass it any options that fit your needs.
|
|
3616
|
+
* When your component renders, `useFindUserShowcaseItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3617
|
+
* you can use to render your UI.
|
|
3618
|
+
*
|
|
3619
|
+
* @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;
|
|
3620
|
+
*
|
|
3621
|
+
* @example
|
|
3622
|
+
* const { data, loading, error } = useFindUserShowcaseItemsQuery({
|
|
3623
|
+
* variables: {
|
|
3624
|
+
* ownerId: // value for 'ownerId'
|
|
3625
|
+
* input: // value for 'input'
|
|
3626
|
+
* pageSize: // value for 'pageSize'
|
|
3627
|
+
* pageToken: // value for 'pageToken'
|
|
3628
|
+
* },
|
|
3629
|
+
* });
|
|
3630
|
+
*/
|
|
3631
|
+
function useFindUserShowcaseItemsQuery(baseOptions) {
|
|
3632
|
+
return Apollo.useQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
|
|
3633
|
+
}
|
|
3634
|
+
exports.useFindUserShowcaseItemsQuery = useFindUserShowcaseItemsQuery;
|
|
3635
|
+
function useFindUserShowcaseItemsLazyQuery(baseOptions) {
|
|
3636
|
+
return Apollo.useLazyQuery(exports.FindUserShowcaseItemsDocument, baseOptions);
|
|
3637
|
+
}
|
|
3638
|
+
exports.useFindUserShowcaseItemsLazyQuery = useFindUserShowcaseItemsLazyQuery;
|