@ludo.ninja/api 2.8.9 → 2.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -360,11 +360,14 @@ export type ICategory = {
|
|
|
360
360
|
};
|
|
361
361
|
|
|
362
362
|
export type ICollection = {
|
|
363
|
+
blockHeight?: Maybe<Scalars['Long']>;
|
|
364
|
+
blockTimestamp?: Maybe<Scalars['Long']>;
|
|
363
365
|
blockchain?: Maybe<Scalars['String']>;
|
|
364
366
|
collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
|
|
365
|
-
collectionId
|
|
367
|
+
collectionId: Scalars['String'];
|
|
366
368
|
collectionMarkets?: Maybe<Array<Maybe<ICollectionMarket>>>;
|
|
367
369
|
collectionTitle?: Maybe<Scalars['String']>;
|
|
370
|
+
collectionUrl?: Maybe<Scalars['String']>;
|
|
368
371
|
contractAddress?: Maybe<Scalars['String']>;
|
|
369
372
|
creatorsAddresses?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
370
373
|
creatorsProfiles?: Maybe<Array<Maybe<IProfile>>>;
|
|
@@ -515,10 +518,10 @@ export type IDynamicAssetData = {
|
|
|
515
518
|
};
|
|
516
519
|
|
|
517
520
|
export type IDynamicCollectionData = {
|
|
521
|
+
collectionId: Scalars['String'];
|
|
518
522
|
isLikedByUser?: Maybe<Scalars['Boolean']>;
|
|
519
523
|
likesNum?: Maybe<Scalars['Int']>;
|
|
520
|
-
collectionAssetsPage?: Maybe<
|
|
521
|
-
collectionId?: Maybe<Scalars['String']>;
|
|
524
|
+
collectionAssetsPage?: Maybe<IAssetsPage>;
|
|
522
525
|
};
|
|
523
526
|
|
|
524
527
|
export type IDynamicCollectionDataInput = {
|
|
@@ -2128,7 +2131,7 @@ export type IQueryFetchDynamicCollectionDataArgs = {
|
|
|
2128
2131
|
|
|
2129
2132
|
|
|
2130
2133
|
export type IQueryFetchDynamicCollectionsDataArgs = {
|
|
2131
|
-
|
|
2134
|
+
inputs: Array<IDynamicCollectionDataInput>;
|
|
2132
2135
|
};
|
|
2133
2136
|
|
|
2134
2137
|
|
|
@@ -3118,16 +3121,6 @@ export type ILikeCollectionMutationVariables = Exact<{
|
|
|
3118
3121
|
|
|
3119
3122
|
export type ILikeCollectionMutation = Pick<IMutation, 'likeCollection'>;
|
|
3120
3123
|
|
|
3121
|
-
export type IFetchCollectionQueryVariables = Exact<{
|
|
3122
|
-
collectionId: Scalars['String'];
|
|
3123
|
-
}>;
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
export type IFetchCollectionQuery = { fetchCollection: (
|
|
3127
|
-
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'collectionTitle' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank'>
|
|
3128
|
-
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
3129
|
-
) };
|
|
3130
|
-
|
|
3131
3124
|
export type IFetchCollectionsQueryVariables = Exact<{
|
|
3132
3125
|
pageSize: Scalars['Int'];
|
|
3133
3126
|
pageToken?: Maybe<Scalars['String']>;
|
|
@@ -3143,48 +3136,6 @@ export type IFetchCollectionsQuery = { fetchCollectionAssets: (
|
|
|
3143
3136
|
)>>> }
|
|
3144
3137
|
) };
|
|
3145
3138
|
|
|
3146
|
-
export type IFetchCollectionsByIdsQueryVariables = Exact<{
|
|
3147
|
-
collectionIds: Array<Scalars['String']>;
|
|
3148
|
-
}>;
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
export type IFetchCollectionsByIdsQuery = { fetchCollectionsByIds: Array<(
|
|
3152
|
-
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'collectionTitle' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank'>
|
|
3153
|
-
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
3154
|
-
)> };
|
|
3155
|
-
|
|
3156
|
-
export type IFetchDynamicCollectionDataQueryVariables = Exact<{
|
|
3157
|
-
input: IDynamicCollectionDataInput;
|
|
3158
|
-
}>;
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
export type IFetchDynamicCollectionDataQuery = { fetchDynamicCollectionData: (
|
|
3162
|
-
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3163
|
-
& { collectionAssetsPage?: Maybe<(
|
|
3164
|
-
Pick<ICollectionAssetsPage, 'nextPageToken'>
|
|
3165
|
-
& { collectionAssets?: Maybe<Array<Maybe<(
|
|
3166
|
-
Pick<ICollectionAsset, 'id' | 'collectionId' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'chainId' | 'creatorsAddresses' | 'originalUrls' | 'name' | 'description' | 'likes' | 'liked' | 'views' | 'visible' | 'createdAt' | 'blurred' | 'rank'>
|
|
3167
|
-
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3168
|
-
)>>> }
|
|
3169
|
-
)> }
|
|
3170
|
-
) };
|
|
3171
|
-
|
|
3172
|
-
export type IFetchDynamicCollectionsDataQueryVariables = Exact<{
|
|
3173
|
-
input: Array<IDynamicCollectionDataInput>;
|
|
3174
|
-
}>;
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
export type IFetchDynamicCollectionsDataQuery = { fetchDynamicCollectionsData: Array<(
|
|
3178
|
-
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3179
|
-
& { collectionAssetsPage?: Maybe<(
|
|
3180
|
-
Pick<ICollectionAssetsPage, 'nextPageToken'>
|
|
3181
|
-
& { collectionAssets?: Maybe<Array<Maybe<(
|
|
3182
|
-
Pick<ICollectionAsset, 'id' | 'collectionId' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'chainId' | 'creatorsAddresses' | 'originalUrls' | 'name' | 'description' | 'likes' | 'liked' | 'views' | 'visible' | 'createdAt' | 'blurred' | 'rank'>
|
|
3183
|
-
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3184
|
-
)>>> }
|
|
3185
|
-
)> }
|
|
3186
|
-
)> };
|
|
3187
|
-
|
|
3188
3139
|
export type IFetchMyExperienceV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
3189
3140
|
|
|
3190
3141
|
|
|
@@ -3944,6 +3895,16 @@ export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
3944
3895
|
|
|
3945
3896
|
export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
3946
3897
|
|
|
3898
|
+
export type IFetchCollectionQueryVariables = Exact<{
|
|
3899
|
+
collectionId: Scalars['String'];
|
|
3900
|
+
}>;
|
|
3901
|
+
|
|
3902
|
+
|
|
3903
|
+
export type IFetchCollectionQuery = { fetchCollection: (
|
|
3904
|
+
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
|
|
3905
|
+
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
3906
|
+
) };
|
|
3907
|
+
|
|
3947
3908
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
3948
3909
|
term: Scalars['String'];
|
|
3949
3910
|
input: ICollectionFilterInput;
|
|
@@ -3956,6 +3917,16 @@ export type IFindCollectionsQuery = { findCollections: { collections: Array<Mayb
|
|
|
3956
3917
|
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3957
3918
|
)>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
|
|
3958
3919
|
|
|
3920
|
+
export type IFetchCollectionsByIdsQueryVariables = Exact<{
|
|
3921
|
+
collectionIds: Array<Scalars['String']>;
|
|
3922
|
+
}>;
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
export type IFetchCollectionsByIdsQuery = { fetchCollectionsByIds: Array<(
|
|
3926
|
+
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
|
|
3927
|
+
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, collectionMarkets?: Maybe<Array<Maybe<Pick<ICollectionMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'username' | 'userpic'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, floorPrices?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
3928
|
+
)> };
|
|
3929
|
+
|
|
3959
3930
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
3960
3931
|
itemType: Scalars['String'];
|
|
3961
3932
|
page?: Maybe<IPageInput>;
|
|
@@ -3978,6 +3949,38 @@ export type IFetchDynamicAssetsLikesQueryVariables = Exact<{
|
|
|
3978
3949
|
|
|
3979
3950
|
export type IFetchDynamicAssetsLikesQuery = { fetchDynamicAssetsData: Array<Maybe<Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum' | 'assetId'>>> };
|
|
3980
3951
|
|
|
3952
|
+
export type IFetchDynamicCollectionDataQueryVariables = Exact<{
|
|
3953
|
+
input: IDynamicCollectionDataInput;
|
|
3954
|
+
}>;
|
|
3955
|
+
|
|
3956
|
+
|
|
3957
|
+
export type IFetchDynamicCollectionDataQuery = { fetchDynamicCollectionData: (
|
|
3958
|
+
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3959
|
+
& { collectionAssetsPage?: Maybe<(
|
|
3960
|
+
Pick<IAssetsPage, 'nextPageToken'>
|
|
3961
|
+
& { assets: Array<Maybe<(
|
|
3962
|
+
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3963
|
+
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'previewUrl'>>>>, ownersProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, attributes?: Maybe<Array<Maybe<Pick<IAttribute, 'name' | 'value'>>>> }
|
|
3964
|
+
)>> }
|
|
3965
|
+
)> }
|
|
3966
|
+
) };
|
|
3967
|
+
|
|
3968
|
+
export type IFetchDynamicCollectionsDataQueryVariables = Exact<{
|
|
3969
|
+
input: Array<IDynamicCollectionDataInput>;
|
|
3970
|
+
}>;
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
export type IFetchDynamicCollectionsDataQuery = { fetchDynamicCollectionsData: Array<(
|
|
3974
|
+
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3975
|
+
& { collectionAssetsPage?: Maybe<(
|
|
3976
|
+
Pick<IAssetsPage, 'nextPageToken'>
|
|
3977
|
+
& { assets: Array<Maybe<(
|
|
3978
|
+
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3979
|
+
& { totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>>, markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>>, medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'previewUrl'>>>>, ownersProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>>>, attributes?: Maybe<Array<Maybe<Pick<IAttribute, 'name' | 'value'>>>> }
|
|
3980
|
+
)>> }
|
|
3981
|
+
)> }
|
|
3982
|
+
)> };
|
|
3983
|
+
|
|
3981
3984
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3982
3985
|
name: Scalars['String'];
|
|
3983
3986
|
pageSize: Scalars['Int'];
|
|
@@ -4835,70 +4838,6 @@ export function useLikeCollectionMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
4835
4838
|
export type LikeCollectionMutationHookResult = ReturnType<typeof useLikeCollectionMutation>;
|
|
4836
4839
|
export type LikeCollectionMutationResult = Apollo.MutationResult<ILikeCollectionMutation>;
|
|
4837
4840
|
export type LikeCollectionMutationOptions = Apollo.BaseMutationOptions<ILikeCollectionMutation, ILikeCollectionMutationVariables>;
|
|
4838
|
-
export const FetchCollectionDocument = gql`
|
|
4839
|
-
query fetchCollection($collectionId: String!) {
|
|
4840
|
-
fetchCollection(collectionId: $collectionId) {
|
|
4841
|
-
collectionId
|
|
4842
|
-
blockchain
|
|
4843
|
-
identifier
|
|
4844
|
-
contractAddress
|
|
4845
|
-
tokenId
|
|
4846
|
-
collectionTitle
|
|
4847
|
-
items
|
|
4848
|
-
owners
|
|
4849
|
-
totalVolumes {
|
|
4850
|
-
currency
|
|
4851
|
-
amount
|
|
4852
|
-
}
|
|
4853
|
-
likes
|
|
4854
|
-
liked
|
|
4855
|
-
collectionMarkets {
|
|
4856
|
-
marketId
|
|
4857
|
-
marketName
|
|
4858
|
-
marketDomain
|
|
4859
|
-
marketUrl
|
|
4860
|
-
}
|
|
4861
|
-
creatorsAddresses
|
|
4862
|
-
creatorsProfiles {
|
|
4863
|
-
username
|
|
4864
|
-
userpic
|
|
4865
|
-
}
|
|
4866
|
-
verified
|
|
4867
|
-
originalUrls
|
|
4868
|
-
rank
|
|
4869
|
-
floorPrices {
|
|
4870
|
-
currency
|
|
4871
|
-
amount
|
|
4872
|
-
}
|
|
4873
|
-
}
|
|
4874
|
-
}
|
|
4875
|
-
`;
|
|
4876
|
-
|
|
4877
|
-
/**
|
|
4878
|
-
* __useFetchCollectionQuery__
|
|
4879
|
-
*
|
|
4880
|
-
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
4881
|
-
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4882
|
-
* you can use to render your UI.
|
|
4883
|
-
*
|
|
4884
|
-
* @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;
|
|
4885
|
-
*
|
|
4886
|
-
* @example
|
|
4887
|
-
* const { data, loading, error } = useFetchCollectionQuery({
|
|
4888
|
-
* variables: {
|
|
4889
|
-
* collectionId: // value for 'collectionId'
|
|
4890
|
-
* },
|
|
4891
|
-
* });
|
|
4892
|
-
*/
|
|
4893
|
-
export function useFetchCollectionQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
4894
|
-
return Apollo.useQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
4895
|
-
}
|
|
4896
|
-
export function useFetchCollectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
4897
|
-
return Apollo.useLazyQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
4898
|
-
}
|
|
4899
|
-
export type FetchCollectionQueryHookResult = ReturnType<typeof useFetchCollectionQuery>;
|
|
4900
|
-
export type FetchCollectionLazyQueryHookResult = ReturnType<typeof useFetchCollectionLazyQuery>;
|
|
4901
|
-
export type FetchCollectionQueryResult = Apollo.QueryResult<IFetchCollectionQuery, IFetchCollectionQueryVariables>;
|
|
4902
4841
|
export const FetchCollectionsDocument = gql`
|
|
4903
4842
|
query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
|
|
4904
4843
|
fetchCollectionAssets(
|
|
@@ -4967,234 +4906,37 @@ export function useFetchCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
4967
4906
|
export type FetchCollectionsQueryHookResult = ReturnType<typeof useFetchCollectionsQuery>;
|
|
4968
4907
|
export type FetchCollectionsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsLazyQuery>;
|
|
4969
4908
|
export type FetchCollectionsQueryResult = Apollo.QueryResult<IFetchCollectionsQuery, IFetchCollectionsQueryVariables>;
|
|
4970
|
-
export const
|
|
4971
|
-
query
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
tokenId
|
|
4978
|
-
collectionTitle
|
|
4979
|
-
items
|
|
4980
|
-
owners
|
|
4981
|
-
totalVolumes {
|
|
4982
|
-
currency
|
|
4983
|
-
amount
|
|
4984
|
-
}
|
|
4985
|
-
likes
|
|
4986
|
-
liked
|
|
4987
|
-
collectionMarkets {
|
|
4988
|
-
marketName
|
|
4989
|
-
marketDomain
|
|
4990
|
-
marketUrl
|
|
4991
|
-
}
|
|
4992
|
-
creatorsAddresses
|
|
4993
|
-
creatorsProfiles {
|
|
4994
|
-
username
|
|
4995
|
-
userpic
|
|
4996
|
-
}
|
|
4997
|
-
verified
|
|
4998
|
-
originalUrls
|
|
4999
|
-
rank
|
|
5000
|
-
floorPrices {
|
|
5001
|
-
currency
|
|
5002
|
-
amount
|
|
5003
|
-
}
|
|
4909
|
+
export const FetchMyExperienceV2Document = gql`
|
|
4910
|
+
query FetchMyExperienceV2 {
|
|
4911
|
+
fetchMyExperienceV2 {
|
|
4912
|
+
xps
|
|
4913
|
+
level
|
|
4914
|
+
levelMaxXps
|
|
4915
|
+
levelMinXps
|
|
5004
4916
|
}
|
|
5005
4917
|
}
|
|
5006
4918
|
`;
|
|
5007
4919
|
|
|
5008
4920
|
/**
|
|
5009
|
-
*
|
|
4921
|
+
* __useFetchMyExperienceV2Query__
|
|
5010
4922
|
*
|
|
5011
|
-
* To run a query within a React component, call `
|
|
5012
|
-
* When your component renders, `
|
|
4923
|
+
* To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
|
|
4924
|
+
* When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5013
4925
|
* you can use to render your UI.
|
|
5014
4926
|
*
|
|
5015
4927
|
* @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;
|
|
5016
4928
|
*
|
|
5017
4929
|
* @example
|
|
5018
|
-
* const { data, loading, error } =
|
|
4930
|
+
* const { data, loading, error } = useFetchMyExperienceV2Query({
|
|
5019
4931
|
* variables: {
|
|
5020
|
-
* collectionIds: // value for 'collectionIds'
|
|
5021
4932
|
* },
|
|
5022
4933
|
* });
|
|
5023
4934
|
*/
|
|
5024
|
-
export function
|
|
5025
|
-
return Apollo.useQuery<
|
|
4935
|
+
export function useFetchMyExperienceV2Query(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
4936
|
+
return Apollo.useQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
5026
4937
|
}
|
|
5027
|
-
export function
|
|
5028
|
-
return Apollo.useLazyQuery<
|
|
5029
|
-
}
|
|
5030
|
-
export type FetchCollectionsByIdsQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsQuery>;
|
|
5031
|
-
export type FetchCollectionsByIdsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsLazyQuery>;
|
|
5032
|
-
export type FetchCollectionsByIdsQueryResult = Apollo.QueryResult<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>;
|
|
5033
|
-
export const FetchDynamicCollectionDataDocument = gql`
|
|
5034
|
-
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
5035
|
-
fetchDynamicCollectionData(input: $input) {
|
|
5036
|
-
isLikedByUser
|
|
5037
|
-
likesNum
|
|
5038
|
-
collectionId
|
|
5039
|
-
collectionAssetsPage {
|
|
5040
|
-
nextPageToken
|
|
5041
|
-
collectionAssets {
|
|
5042
|
-
id
|
|
5043
|
-
collectionId
|
|
5044
|
-
collectionTitle
|
|
5045
|
-
assetId
|
|
5046
|
-
blockchain
|
|
5047
|
-
address
|
|
5048
|
-
tokenId
|
|
5049
|
-
chainId
|
|
5050
|
-
creatorsAddresses
|
|
5051
|
-
originalUrls
|
|
5052
|
-
name
|
|
5053
|
-
description
|
|
5054
|
-
likes
|
|
5055
|
-
liked
|
|
5056
|
-
views
|
|
5057
|
-
medias {
|
|
5058
|
-
originalUrl
|
|
5059
|
-
url
|
|
5060
|
-
previewUrl
|
|
5061
|
-
mimeType
|
|
5062
|
-
sizeRatio
|
|
5063
|
-
fileSize
|
|
5064
|
-
}
|
|
5065
|
-
visible
|
|
5066
|
-
createdAt
|
|
5067
|
-
blurred
|
|
5068
|
-
rank
|
|
5069
|
-
}
|
|
5070
|
-
}
|
|
5071
|
-
}
|
|
5072
|
-
}
|
|
5073
|
-
`;
|
|
5074
|
-
|
|
5075
|
-
/**
|
|
5076
|
-
* __useFetchDynamicCollectionDataQuery__
|
|
5077
|
-
*
|
|
5078
|
-
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
5079
|
-
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5080
|
-
* you can use to render your UI.
|
|
5081
|
-
*
|
|
5082
|
-
* @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;
|
|
5083
|
-
*
|
|
5084
|
-
* @example
|
|
5085
|
-
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
5086
|
-
* variables: {
|
|
5087
|
-
* input: // value for 'input'
|
|
5088
|
-
* },
|
|
5089
|
-
* });
|
|
5090
|
-
*/
|
|
5091
|
-
export function useFetchDynamicCollectionDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
5092
|
-
return Apollo.useQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
5093
|
-
}
|
|
5094
|
-
export function useFetchDynamicCollectionDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
5095
|
-
return Apollo.useLazyQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
5096
|
-
}
|
|
5097
|
-
export type FetchDynamicCollectionDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataQuery>;
|
|
5098
|
-
export type FetchDynamicCollectionDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataLazyQuery>;
|
|
5099
|
-
export type FetchDynamicCollectionDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>;
|
|
5100
|
-
export const FetchDynamicCollectionsDataDocument = gql`
|
|
5101
|
-
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
5102
|
-
fetchDynamicCollectionsData(input: $input) {
|
|
5103
|
-
isLikedByUser
|
|
5104
|
-
likesNum
|
|
5105
|
-
collectionId
|
|
5106
|
-
collectionAssetsPage {
|
|
5107
|
-
nextPageToken
|
|
5108
|
-
collectionAssets {
|
|
5109
|
-
id
|
|
5110
|
-
collectionId
|
|
5111
|
-
collectionTitle
|
|
5112
|
-
assetId
|
|
5113
|
-
blockchain
|
|
5114
|
-
address
|
|
5115
|
-
tokenId
|
|
5116
|
-
chainId
|
|
5117
|
-
creatorsAddresses
|
|
5118
|
-
originalUrls
|
|
5119
|
-
name
|
|
5120
|
-
description
|
|
5121
|
-
likes
|
|
5122
|
-
liked
|
|
5123
|
-
views
|
|
5124
|
-
medias {
|
|
5125
|
-
originalUrl
|
|
5126
|
-
url
|
|
5127
|
-
previewUrl
|
|
5128
|
-
mimeType
|
|
5129
|
-
sizeRatio
|
|
5130
|
-
fileSize
|
|
5131
|
-
}
|
|
5132
|
-
visible
|
|
5133
|
-
createdAt
|
|
5134
|
-
blurred
|
|
5135
|
-
rank
|
|
5136
|
-
}
|
|
5137
|
-
}
|
|
5138
|
-
}
|
|
5139
|
-
}
|
|
5140
|
-
`;
|
|
5141
|
-
|
|
5142
|
-
/**
|
|
5143
|
-
* __useFetchDynamicCollectionsDataQuery__
|
|
5144
|
-
*
|
|
5145
|
-
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
5146
|
-
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5147
|
-
* you can use to render your UI.
|
|
5148
|
-
*
|
|
5149
|
-
* @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;
|
|
5150
|
-
*
|
|
5151
|
-
* @example
|
|
5152
|
-
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
5153
|
-
* variables: {
|
|
5154
|
-
* input: // value for 'input'
|
|
5155
|
-
* },
|
|
5156
|
-
* });
|
|
5157
|
-
*/
|
|
5158
|
-
export function useFetchDynamicCollectionsDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
5159
|
-
return Apollo.useQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
5160
|
-
}
|
|
5161
|
-
export function useFetchDynamicCollectionsDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
5162
|
-
return Apollo.useLazyQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
5163
|
-
}
|
|
5164
|
-
export type FetchDynamicCollectionsDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataQuery>;
|
|
5165
|
-
export type FetchDynamicCollectionsDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataLazyQuery>;
|
|
5166
|
-
export type FetchDynamicCollectionsDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>;
|
|
5167
|
-
export const FetchMyExperienceV2Document = gql`
|
|
5168
|
-
query FetchMyExperienceV2 {
|
|
5169
|
-
fetchMyExperienceV2 {
|
|
5170
|
-
xps
|
|
5171
|
-
level
|
|
5172
|
-
levelMaxXps
|
|
5173
|
-
levelMinXps
|
|
5174
|
-
}
|
|
5175
|
-
}
|
|
5176
|
-
`;
|
|
5177
|
-
|
|
5178
|
-
/**
|
|
5179
|
-
* __useFetchMyExperienceV2Query__
|
|
5180
|
-
*
|
|
5181
|
-
* To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
|
|
5182
|
-
* When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5183
|
-
* you can use to render your UI.
|
|
5184
|
-
*
|
|
5185
|
-
* @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;
|
|
5186
|
-
*
|
|
5187
|
-
* @example
|
|
5188
|
-
* const { data, loading, error } = useFetchMyExperienceV2Query({
|
|
5189
|
-
* variables: {
|
|
5190
|
-
* },
|
|
5191
|
-
* });
|
|
5192
|
-
*/
|
|
5193
|
-
export function useFetchMyExperienceV2Query(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
5194
|
-
return Apollo.useQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
5195
|
-
}
|
|
5196
|
-
export function useFetchMyExperienceV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
5197
|
-
return Apollo.useLazyQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
4938
|
+
export function useFetchMyExperienceV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
4939
|
+
return Apollo.useLazyQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
5198
4940
|
}
|
|
5199
4941
|
export type FetchMyExperienceV2QueryHookResult = ReturnType<typeof useFetchMyExperienceV2Query>;
|
|
5200
4942
|
export type FetchMyExperienceV2LazyQueryHookResult = ReturnType<typeof useFetchMyExperienceV2LazyQuery>;
|
|
@@ -8833,6 +8575,81 @@ export function useFetchAssetsCountLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
8833
8575
|
export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCountQuery>;
|
|
8834
8576
|
export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
|
|
8835
8577
|
export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
|
|
8578
|
+
export const FetchCollectionDocument = gql`
|
|
8579
|
+
query fetchCollection($collectionId: String!) {
|
|
8580
|
+
fetchCollection(collectionId: $collectionId) {
|
|
8581
|
+
collectionId
|
|
8582
|
+
blockchain
|
|
8583
|
+
identifier
|
|
8584
|
+
contractAddress
|
|
8585
|
+
tokenId
|
|
8586
|
+
blockHeight
|
|
8587
|
+
blockTimestamp
|
|
8588
|
+
collectionTitle
|
|
8589
|
+
collectionUrl
|
|
8590
|
+
items
|
|
8591
|
+
owners
|
|
8592
|
+
totalVolumes {
|
|
8593
|
+
currency
|
|
8594
|
+
amount
|
|
8595
|
+
}
|
|
8596
|
+
likes
|
|
8597
|
+
liked
|
|
8598
|
+
collectionMarkets {
|
|
8599
|
+
marketId
|
|
8600
|
+
marketName
|
|
8601
|
+
marketDomain
|
|
8602
|
+
marketUrl
|
|
8603
|
+
}
|
|
8604
|
+
creatorsAddresses
|
|
8605
|
+
creatorsProfiles {
|
|
8606
|
+
username
|
|
8607
|
+
userpic
|
|
8608
|
+
}
|
|
8609
|
+
verified
|
|
8610
|
+
originalUrls
|
|
8611
|
+
rank
|
|
8612
|
+
nsfw
|
|
8613
|
+
medias {
|
|
8614
|
+
originalUrl
|
|
8615
|
+
url
|
|
8616
|
+
mimeType
|
|
8617
|
+
sizeRatio
|
|
8618
|
+
fileSize
|
|
8619
|
+
}
|
|
8620
|
+
floorPrices {
|
|
8621
|
+
currency
|
|
8622
|
+
amount
|
|
8623
|
+
}
|
|
8624
|
+
}
|
|
8625
|
+
}
|
|
8626
|
+
`;
|
|
8627
|
+
|
|
8628
|
+
/**
|
|
8629
|
+
* __useFetchCollectionQuery__
|
|
8630
|
+
*
|
|
8631
|
+
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
8632
|
+
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8633
|
+
* you can use to render your UI.
|
|
8634
|
+
*
|
|
8635
|
+
* @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;
|
|
8636
|
+
*
|
|
8637
|
+
* @example
|
|
8638
|
+
* const { data, loading, error } = useFetchCollectionQuery({
|
|
8639
|
+
* variables: {
|
|
8640
|
+
* collectionId: // value for 'collectionId'
|
|
8641
|
+
* },
|
|
8642
|
+
* });
|
|
8643
|
+
*/
|
|
8644
|
+
export function useFetchCollectionQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
8645
|
+
return Apollo.useQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
8646
|
+
}
|
|
8647
|
+
export function useFetchCollectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
8648
|
+
return Apollo.useLazyQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
8649
|
+
}
|
|
8650
|
+
export type FetchCollectionQueryHookResult = ReturnType<typeof useFetchCollectionQuery>;
|
|
8651
|
+
export type FetchCollectionLazyQueryHookResult = ReturnType<typeof useFetchCollectionLazyQuery>;
|
|
8652
|
+
export type FetchCollectionQueryResult = Apollo.QueryResult<IFetchCollectionQuery, IFetchCollectionQueryVariables>;
|
|
8836
8653
|
export const FindCollectionsDocument = gql`
|
|
8837
8654
|
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
8838
8655
|
findCollections(term: $term, input: $input, page: $page) {
|
|
@@ -8890,6 +8707,81 @@ export function useFindCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOp
|
|
|
8890
8707
|
export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollectionsQuery>;
|
|
8891
8708
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
8892
8709
|
export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
|
|
8710
|
+
export const FetchCollectionsByIdsDocument = gql`
|
|
8711
|
+
query FetchCollectionsByIds($collectionIds: [String!]!) {
|
|
8712
|
+
fetchCollectionsByIds(collectionIds: $collectionIds) {
|
|
8713
|
+
collectionId
|
|
8714
|
+
blockchain
|
|
8715
|
+
identifier
|
|
8716
|
+
contractAddress
|
|
8717
|
+
tokenId
|
|
8718
|
+
blockHeight
|
|
8719
|
+
blockTimestamp
|
|
8720
|
+
collectionTitle
|
|
8721
|
+
collectionUrl
|
|
8722
|
+
items
|
|
8723
|
+
owners
|
|
8724
|
+
totalVolumes {
|
|
8725
|
+
currency
|
|
8726
|
+
amount
|
|
8727
|
+
}
|
|
8728
|
+
likes
|
|
8729
|
+
liked
|
|
8730
|
+
collectionMarkets {
|
|
8731
|
+
marketId
|
|
8732
|
+
marketName
|
|
8733
|
+
marketDomain
|
|
8734
|
+
marketUrl
|
|
8735
|
+
}
|
|
8736
|
+
creatorsAddresses
|
|
8737
|
+
creatorsProfiles {
|
|
8738
|
+
username
|
|
8739
|
+
userpic
|
|
8740
|
+
}
|
|
8741
|
+
verified
|
|
8742
|
+
originalUrls
|
|
8743
|
+
rank
|
|
8744
|
+
nsfw
|
|
8745
|
+
medias {
|
|
8746
|
+
originalUrl
|
|
8747
|
+
url
|
|
8748
|
+
mimeType
|
|
8749
|
+
sizeRatio
|
|
8750
|
+
fileSize
|
|
8751
|
+
}
|
|
8752
|
+
floorPrices {
|
|
8753
|
+
currency
|
|
8754
|
+
amount
|
|
8755
|
+
}
|
|
8756
|
+
}
|
|
8757
|
+
}
|
|
8758
|
+
`;
|
|
8759
|
+
|
|
8760
|
+
/**
|
|
8761
|
+
* __useFetchCollectionsByIdsQuery__
|
|
8762
|
+
*
|
|
8763
|
+
* To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
|
|
8764
|
+
* When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8765
|
+
* you can use to render your UI.
|
|
8766
|
+
*
|
|
8767
|
+
* @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;
|
|
8768
|
+
*
|
|
8769
|
+
* @example
|
|
8770
|
+
* const { data, loading, error } = useFetchCollectionsByIdsQuery({
|
|
8771
|
+
* variables: {
|
|
8772
|
+
* collectionIds: // value for 'collectionIds'
|
|
8773
|
+
* },
|
|
8774
|
+
* });
|
|
8775
|
+
*/
|
|
8776
|
+
export function useFetchCollectionsByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
|
|
8777
|
+
return Apollo.useQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
|
|
8778
|
+
}
|
|
8779
|
+
export function useFetchCollectionsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
|
|
8780
|
+
return Apollo.useLazyQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
|
|
8781
|
+
}
|
|
8782
|
+
export type FetchCollectionsByIdsQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsQuery>;
|
|
8783
|
+
export type FetchCollectionsByIdsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsLazyQuery>;
|
|
8784
|
+
export type FetchCollectionsByIdsQueryResult = Apollo.QueryResult<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>;
|
|
8893
8785
|
export const FetchCreationsByTypeDocument = gql`
|
|
8894
8786
|
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
8895
8787
|
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
@@ -9015,6 +8907,236 @@ export function useFetchDynamicAssetsLikesLazyQuery(baseOptions?: Apollo.LazyQue
|
|
|
9015
8907
|
export type FetchDynamicAssetsLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesQuery>;
|
|
9016
8908
|
export type FetchDynamicAssetsLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesLazyQuery>;
|
|
9017
8909
|
export type FetchDynamicAssetsLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>;
|
|
8910
|
+
export const FetchDynamicCollectionDataDocument = gql`
|
|
8911
|
+
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
8912
|
+
fetchDynamicCollectionData(input: $input) {
|
|
8913
|
+
isLikedByUser
|
|
8914
|
+
likesNum
|
|
8915
|
+
collectionId
|
|
8916
|
+
collectionAssetsPage {
|
|
8917
|
+
nextPageToken
|
|
8918
|
+
assets {
|
|
8919
|
+
latestPriceCurrency
|
|
8920
|
+
latestPriceAmount
|
|
8921
|
+
collectionId
|
|
8922
|
+
collectionOriginalUrls
|
|
8923
|
+
collectionTitle
|
|
8924
|
+
assetId
|
|
8925
|
+
totalVolumes {
|
|
8926
|
+
currency
|
|
8927
|
+
amount
|
|
8928
|
+
}
|
|
8929
|
+
blockchain
|
|
8930
|
+
address
|
|
8931
|
+
tokenId
|
|
8932
|
+
name
|
|
8933
|
+
description
|
|
8934
|
+
rank
|
|
8935
|
+
markets {
|
|
8936
|
+
marketId
|
|
8937
|
+
marketName
|
|
8938
|
+
marketDomain
|
|
8939
|
+
marketUrl
|
|
8940
|
+
}
|
|
8941
|
+
collectionMedias {
|
|
8942
|
+
originalUrl
|
|
8943
|
+
url
|
|
8944
|
+
previewUrl
|
|
8945
|
+
mimeType
|
|
8946
|
+
sizeRatio
|
|
8947
|
+
fileSize
|
|
8948
|
+
}
|
|
8949
|
+
originalUrls
|
|
8950
|
+
medias {
|
|
8951
|
+
originalUrl
|
|
8952
|
+
url
|
|
8953
|
+
mimeType
|
|
8954
|
+
sizeRatio
|
|
8955
|
+
fileSize
|
|
8956
|
+
previewUrl
|
|
8957
|
+
}
|
|
8958
|
+
ownersAddresses
|
|
8959
|
+
ownersProfiles {
|
|
8960
|
+
userId
|
|
8961
|
+
username
|
|
8962
|
+
about
|
|
8963
|
+
userpic
|
|
8964
|
+
followers
|
|
8965
|
+
followings
|
|
8966
|
+
visible
|
|
8967
|
+
}
|
|
8968
|
+
creatorsAddresses
|
|
8969
|
+
creatorsProfiles {
|
|
8970
|
+
userId
|
|
8971
|
+
username
|
|
8972
|
+
about
|
|
8973
|
+
userpic
|
|
8974
|
+
followers
|
|
8975
|
+
followings
|
|
8976
|
+
visible
|
|
8977
|
+
}
|
|
8978
|
+
attributes {
|
|
8979
|
+
name
|
|
8980
|
+
value
|
|
8981
|
+
}
|
|
8982
|
+
views
|
|
8983
|
+
visible
|
|
8984
|
+
blurred
|
|
8985
|
+
medias {
|
|
8986
|
+
originalUrl
|
|
8987
|
+
url
|
|
8988
|
+
previewUrl
|
|
8989
|
+
mimeType
|
|
8990
|
+
}
|
|
8991
|
+
creatorsProfiles {
|
|
8992
|
+
username
|
|
8993
|
+
}
|
|
8994
|
+
}
|
|
8995
|
+
}
|
|
8996
|
+
}
|
|
8997
|
+
}
|
|
8998
|
+
`;
|
|
8999
|
+
|
|
9000
|
+
/**
|
|
9001
|
+
* __useFetchDynamicCollectionDataQuery__
|
|
9002
|
+
*
|
|
9003
|
+
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
9004
|
+
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9005
|
+
* you can use to render your UI.
|
|
9006
|
+
*
|
|
9007
|
+
* @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;
|
|
9008
|
+
*
|
|
9009
|
+
* @example
|
|
9010
|
+
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
9011
|
+
* variables: {
|
|
9012
|
+
* input: // value for 'input'
|
|
9013
|
+
* },
|
|
9014
|
+
* });
|
|
9015
|
+
*/
|
|
9016
|
+
export function useFetchDynamicCollectionDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
9017
|
+
return Apollo.useQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
9018
|
+
}
|
|
9019
|
+
export function useFetchDynamicCollectionDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
9020
|
+
return Apollo.useLazyQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
9021
|
+
}
|
|
9022
|
+
export type FetchDynamicCollectionDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataQuery>;
|
|
9023
|
+
export type FetchDynamicCollectionDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataLazyQuery>;
|
|
9024
|
+
export type FetchDynamicCollectionDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>;
|
|
9025
|
+
export const FetchDynamicCollectionsDataDocument = gql`
|
|
9026
|
+
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
9027
|
+
fetchDynamicCollectionsData(inputs: $input) {
|
|
9028
|
+
isLikedByUser
|
|
9029
|
+
likesNum
|
|
9030
|
+
collectionId
|
|
9031
|
+
collectionAssetsPage {
|
|
9032
|
+
nextPageToken
|
|
9033
|
+
assets {
|
|
9034
|
+
latestPriceCurrency
|
|
9035
|
+
latestPriceAmount
|
|
9036
|
+
collectionId
|
|
9037
|
+
collectionOriginalUrls
|
|
9038
|
+
collectionTitle
|
|
9039
|
+
assetId
|
|
9040
|
+
totalVolumes {
|
|
9041
|
+
currency
|
|
9042
|
+
amount
|
|
9043
|
+
}
|
|
9044
|
+
blockchain
|
|
9045
|
+
address
|
|
9046
|
+
tokenId
|
|
9047
|
+
name
|
|
9048
|
+
description
|
|
9049
|
+
rank
|
|
9050
|
+
markets {
|
|
9051
|
+
marketId
|
|
9052
|
+
marketName
|
|
9053
|
+
marketDomain
|
|
9054
|
+
marketUrl
|
|
9055
|
+
}
|
|
9056
|
+
collectionMedias {
|
|
9057
|
+
originalUrl
|
|
9058
|
+
url
|
|
9059
|
+
previewUrl
|
|
9060
|
+
mimeType
|
|
9061
|
+
sizeRatio
|
|
9062
|
+
fileSize
|
|
9063
|
+
}
|
|
9064
|
+
originalUrls
|
|
9065
|
+
medias {
|
|
9066
|
+
originalUrl
|
|
9067
|
+
url
|
|
9068
|
+
mimeType
|
|
9069
|
+
sizeRatio
|
|
9070
|
+
fileSize
|
|
9071
|
+
previewUrl
|
|
9072
|
+
}
|
|
9073
|
+
ownersAddresses
|
|
9074
|
+
ownersProfiles {
|
|
9075
|
+
userId
|
|
9076
|
+
username
|
|
9077
|
+
about
|
|
9078
|
+
userpic
|
|
9079
|
+
followers
|
|
9080
|
+
followings
|
|
9081
|
+
visible
|
|
9082
|
+
}
|
|
9083
|
+
creatorsAddresses
|
|
9084
|
+
creatorsProfiles {
|
|
9085
|
+
userId
|
|
9086
|
+
username
|
|
9087
|
+
about
|
|
9088
|
+
userpic
|
|
9089
|
+
followers
|
|
9090
|
+
followings
|
|
9091
|
+
visible
|
|
9092
|
+
}
|
|
9093
|
+
attributes {
|
|
9094
|
+
name
|
|
9095
|
+
value
|
|
9096
|
+
}
|
|
9097
|
+
views
|
|
9098
|
+
visible
|
|
9099
|
+
blurred
|
|
9100
|
+
medias {
|
|
9101
|
+
originalUrl
|
|
9102
|
+
url
|
|
9103
|
+
previewUrl
|
|
9104
|
+
mimeType
|
|
9105
|
+
}
|
|
9106
|
+
creatorsProfiles {
|
|
9107
|
+
username
|
|
9108
|
+
}
|
|
9109
|
+
}
|
|
9110
|
+
}
|
|
9111
|
+
}
|
|
9112
|
+
}
|
|
9113
|
+
`;
|
|
9114
|
+
|
|
9115
|
+
/**
|
|
9116
|
+
* __useFetchDynamicCollectionsDataQuery__
|
|
9117
|
+
*
|
|
9118
|
+
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
9119
|
+
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9120
|
+
* you can use to render your UI.
|
|
9121
|
+
*
|
|
9122
|
+
* @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;
|
|
9123
|
+
*
|
|
9124
|
+
* @example
|
|
9125
|
+
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
9126
|
+
* variables: {
|
|
9127
|
+
* input: // value for 'input'
|
|
9128
|
+
* },
|
|
9129
|
+
* });
|
|
9130
|
+
*/
|
|
9131
|
+
export function useFetchDynamicCollectionsDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
9132
|
+
return Apollo.useQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
9133
|
+
}
|
|
9134
|
+
export function useFetchDynamicCollectionsDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
9135
|
+
return Apollo.useLazyQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
9136
|
+
}
|
|
9137
|
+
export type FetchDynamicCollectionsDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataQuery>;
|
|
9138
|
+
export type FetchDynamicCollectionsDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataLazyQuery>;
|
|
9139
|
+
export type FetchDynamicCollectionsDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>;
|
|
9018
9140
|
export const FindAllTopEntitiesByNameDocument = gql`
|
|
9019
9141
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
9020
9142
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|