@ludo.ninja/api 2.8.9 → 2.8.11
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.
|
@@ -239,6 +239,7 @@ export type IAssetModerationsPage = {
|
|
|
239
239
|
|
|
240
240
|
export type IAssetPage = {
|
|
241
241
|
assets: Array<Maybe<IAsset>>;
|
|
242
|
+
nextPage?: Maybe<Scalars['String']>;
|
|
242
243
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
243
244
|
};
|
|
244
245
|
|
|
@@ -312,6 +313,7 @@ export type IAssetReportsPage = {
|
|
|
312
313
|
|
|
313
314
|
export type IAssetsPage = {
|
|
314
315
|
assets: Array<Maybe<IAsset>>;
|
|
316
|
+
nextPage?: Maybe<Scalars['String']>;
|
|
315
317
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
316
318
|
};
|
|
317
319
|
|
|
@@ -360,11 +362,14 @@ export type ICategory = {
|
|
|
360
362
|
};
|
|
361
363
|
|
|
362
364
|
export type ICollection = {
|
|
365
|
+
blockHeight?: Maybe<Scalars['Long']>;
|
|
366
|
+
blockTimestamp?: Maybe<Scalars['Long']>;
|
|
363
367
|
blockchain?: Maybe<Scalars['String']>;
|
|
364
368
|
collectionAssets?: Maybe<Array<Maybe<ICollectionAsset>>>;
|
|
365
|
-
collectionId
|
|
369
|
+
collectionId: Scalars['String'];
|
|
366
370
|
collectionMarkets?: Maybe<Array<Maybe<ICollectionMarket>>>;
|
|
367
371
|
collectionTitle?: Maybe<Scalars['String']>;
|
|
372
|
+
collectionUrl?: Maybe<Scalars['String']>;
|
|
368
373
|
contractAddress?: Maybe<Scalars['String']>;
|
|
369
374
|
creatorsAddresses?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
370
375
|
creatorsProfiles?: Maybe<Array<Maybe<IProfile>>>;
|
|
@@ -515,10 +520,10 @@ export type IDynamicAssetData = {
|
|
|
515
520
|
};
|
|
516
521
|
|
|
517
522
|
export type IDynamicCollectionData = {
|
|
523
|
+
collectionId: Scalars['String'];
|
|
518
524
|
isLikedByUser?: Maybe<Scalars['Boolean']>;
|
|
519
525
|
likesNum?: Maybe<Scalars['Int']>;
|
|
520
|
-
collectionAssetsPage?: Maybe<
|
|
521
|
-
collectionId?: Maybe<Scalars['String']>;
|
|
526
|
+
collectionAssetsPage?: Maybe<IAssetsPage>;
|
|
522
527
|
};
|
|
523
528
|
|
|
524
529
|
export type IDynamicCollectionDataInput = {
|
|
@@ -2128,7 +2133,7 @@ export type IQueryFetchDynamicCollectionDataArgs = {
|
|
|
2128
2133
|
|
|
2129
2134
|
|
|
2130
2135
|
export type IQueryFetchDynamicCollectionsDataArgs = {
|
|
2131
|
-
|
|
2136
|
+
inputs: Array<IDynamicCollectionDataInput>;
|
|
2132
2137
|
};
|
|
2133
2138
|
|
|
2134
2139
|
|
|
@@ -3118,16 +3123,6 @@ export type ILikeCollectionMutationVariables = Exact<{
|
|
|
3118
3123
|
|
|
3119
3124
|
export type ILikeCollectionMutation = Pick<IMutation, 'likeCollection'>;
|
|
3120
3125
|
|
|
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
3126
|
export type IFetchCollectionsQueryVariables = Exact<{
|
|
3132
3127
|
pageSize: Scalars['Int'];
|
|
3133
3128
|
pageToken?: Maybe<Scalars['String']>;
|
|
@@ -3143,48 +3138,6 @@ export type IFetchCollectionsQuery = { fetchCollectionAssets: (
|
|
|
3143
3138
|
)>>> }
|
|
3144
3139
|
) };
|
|
3145
3140
|
|
|
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
3141
|
export type IFetchMyExperienceV2QueryVariables = Exact<{ [key: string]: never; }>;
|
|
3189
3142
|
|
|
3190
3143
|
|
|
@@ -3944,6 +3897,16 @@ export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
3944
3897
|
|
|
3945
3898
|
export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
|
|
3946
3899
|
|
|
3900
|
+
export type IFetchCollectionQueryVariables = Exact<{
|
|
3901
|
+
collectionId: Scalars['String'];
|
|
3902
|
+
}>;
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
export type IFetchCollectionQuery = { fetchCollection: (
|
|
3906
|
+
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
|
|
3907
|
+
& { 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'>>>> }
|
|
3908
|
+
) };
|
|
3909
|
+
|
|
3947
3910
|
export type IFindCollectionsQueryVariables = Exact<{
|
|
3948
3911
|
term: Scalars['String'];
|
|
3949
3912
|
input: ICollectionFilterInput;
|
|
@@ -3956,6 +3919,16 @@ export type IFindCollectionsQuery = { findCollections: { collections: Array<Mayb
|
|
|
3956
3919
|
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
|
|
3957
3920
|
)>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
|
|
3958
3921
|
|
|
3922
|
+
export type IFetchCollectionsByIdsQueryVariables = Exact<{
|
|
3923
|
+
collectionIds: Array<Scalars['String']>;
|
|
3924
|
+
}>;
|
|
3925
|
+
|
|
3926
|
+
|
|
3927
|
+
export type IFetchCollectionsByIdsQuery = { fetchCollectionsByIds: Array<(
|
|
3928
|
+
Pick<ICollection, 'collectionId' | 'blockchain' | 'identifier' | 'contractAddress' | 'tokenId' | 'blockHeight' | 'blockTimestamp' | 'collectionTitle' | 'collectionUrl' | 'items' | 'owners' | 'likes' | 'liked' | 'creatorsAddresses' | 'verified' | 'originalUrls' | 'rank' | 'nsfw'>
|
|
3929
|
+
& { 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'>>>> }
|
|
3930
|
+
)> };
|
|
3931
|
+
|
|
3959
3932
|
export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
3960
3933
|
itemType: Scalars['String'];
|
|
3961
3934
|
page?: Maybe<IPageInput>;
|
|
@@ -3978,6 +3951,38 @@ export type IFetchDynamicAssetsLikesQueryVariables = Exact<{
|
|
|
3978
3951
|
|
|
3979
3952
|
export type IFetchDynamicAssetsLikesQuery = { fetchDynamicAssetsData: Array<Maybe<Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum' | 'assetId'>>> };
|
|
3980
3953
|
|
|
3954
|
+
export type IFetchDynamicCollectionDataQueryVariables = Exact<{
|
|
3955
|
+
input: IDynamicCollectionDataInput;
|
|
3956
|
+
}>;
|
|
3957
|
+
|
|
3958
|
+
|
|
3959
|
+
export type IFetchDynamicCollectionDataQuery = { fetchDynamicCollectionData: (
|
|
3960
|
+
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3961
|
+
& { collectionAssetsPage?: Maybe<(
|
|
3962
|
+
Pick<IAssetsPage, 'nextPage'>
|
|
3963
|
+
& { assets: Array<Maybe<(
|
|
3964
|
+
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3965
|
+
& { 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'>>>> }
|
|
3966
|
+
)>> }
|
|
3967
|
+
)> }
|
|
3968
|
+
) };
|
|
3969
|
+
|
|
3970
|
+
export type IFetchDynamicCollectionsDataQueryVariables = Exact<{
|
|
3971
|
+
input: Array<IDynamicCollectionDataInput>;
|
|
3972
|
+
}>;
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
export type IFetchDynamicCollectionsDataQuery = { fetchDynamicCollectionsData: Array<(
|
|
3976
|
+
Pick<IDynamicCollectionData, 'isLikedByUser' | 'likesNum' | 'collectionId'>
|
|
3977
|
+
& { collectionAssetsPage?: Maybe<(
|
|
3978
|
+
Pick<IAssetsPage, 'nextPage'>
|
|
3979
|
+
& { assets: Array<Maybe<(
|
|
3980
|
+
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3981
|
+
& { 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'>>>> }
|
|
3982
|
+
)>> }
|
|
3983
|
+
)> }
|
|
3984
|
+
)> };
|
|
3985
|
+
|
|
3981
3986
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3982
3987
|
name: Scalars['String'];
|
|
3983
3988
|
pageSize: Scalars['Int'];
|
|
@@ -4835,70 +4840,6 @@ export function useLikeCollectionMutation(baseOptions?: Apollo.MutationHookOptio
|
|
|
4835
4840
|
export type LikeCollectionMutationHookResult = ReturnType<typeof useLikeCollectionMutation>;
|
|
4836
4841
|
export type LikeCollectionMutationResult = Apollo.MutationResult<ILikeCollectionMutation>;
|
|
4837
4842
|
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
4843
|
export const FetchCollectionsDocument = gql`
|
|
4903
4844
|
query fetchCollections($pageSize: Int!, $pageToken: String, $collectionId: String!) {
|
|
4904
4845
|
fetchCollectionAssets(
|
|
@@ -4967,234 +4908,37 @@ export function useFetchCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
4967
4908
|
export type FetchCollectionsQueryHookResult = ReturnType<typeof useFetchCollectionsQuery>;
|
|
4968
4909
|
export type FetchCollectionsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsLazyQuery>;
|
|
4969
4910
|
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
|
-
}
|
|
4911
|
+
export const FetchMyExperienceV2Document = gql`
|
|
4912
|
+
query FetchMyExperienceV2 {
|
|
4913
|
+
fetchMyExperienceV2 {
|
|
4914
|
+
xps
|
|
4915
|
+
level
|
|
4916
|
+
levelMaxXps
|
|
4917
|
+
levelMinXps
|
|
5004
4918
|
}
|
|
5005
4919
|
}
|
|
5006
4920
|
`;
|
|
5007
4921
|
|
|
5008
4922
|
/**
|
|
5009
|
-
*
|
|
4923
|
+
* __useFetchMyExperienceV2Query__
|
|
5010
4924
|
*
|
|
5011
|
-
* To run a query within a React component, call `
|
|
5012
|
-
* When your component renders, `
|
|
4925
|
+
* To run a query within a React component, call `useFetchMyExperienceV2Query` and pass it any options that fit your needs.
|
|
4926
|
+
* When your component renders, `useFetchMyExperienceV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5013
4927
|
* you can use to render your UI.
|
|
5014
4928
|
*
|
|
5015
4929
|
* @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
4930
|
*
|
|
5017
4931
|
* @example
|
|
5018
|
-
* const { data, loading, error } =
|
|
4932
|
+
* const { data, loading, error } = useFetchMyExperienceV2Query({
|
|
5019
4933
|
* variables: {
|
|
5020
|
-
* collectionIds: // value for 'collectionIds'
|
|
5021
4934
|
* },
|
|
5022
4935
|
* });
|
|
5023
4936
|
*/
|
|
5024
|
-
export function
|
|
5025
|
-
return Apollo.useQuery<
|
|
4937
|
+
export function useFetchMyExperienceV2Query(baseOptions?: Apollo.QueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
4938
|
+
return Apollo.useQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
5026
4939
|
}
|
|
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);
|
|
4940
|
+
export function useFetchMyExperienceV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>) {
|
|
4941
|
+
return Apollo.useLazyQuery<IFetchMyExperienceV2Query, IFetchMyExperienceV2QueryVariables>(FetchMyExperienceV2Document, baseOptions);
|
|
5198
4942
|
}
|
|
5199
4943
|
export type FetchMyExperienceV2QueryHookResult = ReturnType<typeof useFetchMyExperienceV2Query>;
|
|
5200
4944
|
export type FetchMyExperienceV2LazyQueryHookResult = ReturnType<typeof useFetchMyExperienceV2LazyQuery>;
|
|
@@ -8833,6 +8577,81 @@ export function useFetchAssetsCountLazyQuery(baseOptions?: Apollo.LazyQueryHookO
|
|
|
8833
8577
|
export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCountQuery>;
|
|
8834
8578
|
export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
|
|
8835
8579
|
export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
|
|
8580
|
+
export const FetchCollectionDocument = gql`
|
|
8581
|
+
query fetchCollection($collectionId: String!) {
|
|
8582
|
+
fetchCollection(collectionId: $collectionId) {
|
|
8583
|
+
collectionId
|
|
8584
|
+
blockchain
|
|
8585
|
+
identifier
|
|
8586
|
+
contractAddress
|
|
8587
|
+
tokenId
|
|
8588
|
+
blockHeight
|
|
8589
|
+
blockTimestamp
|
|
8590
|
+
collectionTitle
|
|
8591
|
+
collectionUrl
|
|
8592
|
+
items
|
|
8593
|
+
owners
|
|
8594
|
+
totalVolumes {
|
|
8595
|
+
currency
|
|
8596
|
+
amount
|
|
8597
|
+
}
|
|
8598
|
+
likes
|
|
8599
|
+
liked
|
|
8600
|
+
collectionMarkets {
|
|
8601
|
+
marketId
|
|
8602
|
+
marketName
|
|
8603
|
+
marketDomain
|
|
8604
|
+
marketUrl
|
|
8605
|
+
}
|
|
8606
|
+
creatorsAddresses
|
|
8607
|
+
creatorsProfiles {
|
|
8608
|
+
username
|
|
8609
|
+
userpic
|
|
8610
|
+
}
|
|
8611
|
+
verified
|
|
8612
|
+
originalUrls
|
|
8613
|
+
rank
|
|
8614
|
+
nsfw
|
|
8615
|
+
medias {
|
|
8616
|
+
originalUrl
|
|
8617
|
+
url
|
|
8618
|
+
mimeType
|
|
8619
|
+
sizeRatio
|
|
8620
|
+
fileSize
|
|
8621
|
+
}
|
|
8622
|
+
floorPrices {
|
|
8623
|
+
currency
|
|
8624
|
+
amount
|
|
8625
|
+
}
|
|
8626
|
+
}
|
|
8627
|
+
}
|
|
8628
|
+
`;
|
|
8629
|
+
|
|
8630
|
+
/**
|
|
8631
|
+
* __useFetchCollectionQuery__
|
|
8632
|
+
*
|
|
8633
|
+
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
8634
|
+
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8635
|
+
* you can use to render your UI.
|
|
8636
|
+
*
|
|
8637
|
+
* @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;
|
|
8638
|
+
*
|
|
8639
|
+
* @example
|
|
8640
|
+
* const { data, loading, error } = useFetchCollectionQuery({
|
|
8641
|
+
* variables: {
|
|
8642
|
+
* collectionId: // value for 'collectionId'
|
|
8643
|
+
* },
|
|
8644
|
+
* });
|
|
8645
|
+
*/
|
|
8646
|
+
export function useFetchCollectionQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
8647
|
+
return Apollo.useQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
8648
|
+
}
|
|
8649
|
+
export function useFetchCollectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionQuery, IFetchCollectionQueryVariables>) {
|
|
8650
|
+
return Apollo.useLazyQuery<IFetchCollectionQuery, IFetchCollectionQueryVariables>(FetchCollectionDocument, baseOptions);
|
|
8651
|
+
}
|
|
8652
|
+
export type FetchCollectionQueryHookResult = ReturnType<typeof useFetchCollectionQuery>;
|
|
8653
|
+
export type FetchCollectionLazyQueryHookResult = ReturnType<typeof useFetchCollectionLazyQuery>;
|
|
8654
|
+
export type FetchCollectionQueryResult = Apollo.QueryResult<IFetchCollectionQuery, IFetchCollectionQueryVariables>;
|
|
8836
8655
|
export const FindCollectionsDocument = gql`
|
|
8837
8656
|
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
8838
8657
|
findCollections(term: $term, input: $input, page: $page) {
|
|
@@ -8890,6 +8709,81 @@ export function useFindCollectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOp
|
|
|
8890
8709
|
export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollectionsQuery>;
|
|
8891
8710
|
export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
|
|
8892
8711
|
export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
|
|
8712
|
+
export const FetchCollectionsByIdsDocument = gql`
|
|
8713
|
+
query FetchCollectionsByIds($collectionIds: [String!]!) {
|
|
8714
|
+
fetchCollectionsByIds(collectionIds: $collectionIds) {
|
|
8715
|
+
collectionId
|
|
8716
|
+
blockchain
|
|
8717
|
+
identifier
|
|
8718
|
+
contractAddress
|
|
8719
|
+
tokenId
|
|
8720
|
+
blockHeight
|
|
8721
|
+
blockTimestamp
|
|
8722
|
+
collectionTitle
|
|
8723
|
+
collectionUrl
|
|
8724
|
+
items
|
|
8725
|
+
owners
|
|
8726
|
+
totalVolumes {
|
|
8727
|
+
currency
|
|
8728
|
+
amount
|
|
8729
|
+
}
|
|
8730
|
+
likes
|
|
8731
|
+
liked
|
|
8732
|
+
collectionMarkets {
|
|
8733
|
+
marketId
|
|
8734
|
+
marketName
|
|
8735
|
+
marketDomain
|
|
8736
|
+
marketUrl
|
|
8737
|
+
}
|
|
8738
|
+
creatorsAddresses
|
|
8739
|
+
creatorsProfiles {
|
|
8740
|
+
username
|
|
8741
|
+
userpic
|
|
8742
|
+
}
|
|
8743
|
+
verified
|
|
8744
|
+
originalUrls
|
|
8745
|
+
rank
|
|
8746
|
+
nsfw
|
|
8747
|
+
medias {
|
|
8748
|
+
originalUrl
|
|
8749
|
+
url
|
|
8750
|
+
mimeType
|
|
8751
|
+
sizeRatio
|
|
8752
|
+
fileSize
|
|
8753
|
+
}
|
|
8754
|
+
floorPrices {
|
|
8755
|
+
currency
|
|
8756
|
+
amount
|
|
8757
|
+
}
|
|
8758
|
+
}
|
|
8759
|
+
}
|
|
8760
|
+
`;
|
|
8761
|
+
|
|
8762
|
+
/**
|
|
8763
|
+
* __useFetchCollectionsByIdsQuery__
|
|
8764
|
+
*
|
|
8765
|
+
* To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
|
|
8766
|
+
* When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8767
|
+
* you can use to render your UI.
|
|
8768
|
+
*
|
|
8769
|
+
* @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;
|
|
8770
|
+
*
|
|
8771
|
+
* @example
|
|
8772
|
+
* const { data, loading, error } = useFetchCollectionsByIdsQuery({
|
|
8773
|
+
* variables: {
|
|
8774
|
+
* collectionIds: // value for 'collectionIds'
|
|
8775
|
+
* },
|
|
8776
|
+
* });
|
|
8777
|
+
*/
|
|
8778
|
+
export function useFetchCollectionsByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
|
|
8779
|
+
return Apollo.useQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
|
|
8780
|
+
}
|
|
8781
|
+
export function useFetchCollectionsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>) {
|
|
8782
|
+
return Apollo.useLazyQuery<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>(FetchCollectionsByIdsDocument, baseOptions);
|
|
8783
|
+
}
|
|
8784
|
+
export type FetchCollectionsByIdsQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsQuery>;
|
|
8785
|
+
export type FetchCollectionsByIdsLazyQueryHookResult = ReturnType<typeof useFetchCollectionsByIdsLazyQuery>;
|
|
8786
|
+
export type FetchCollectionsByIdsQueryResult = Apollo.QueryResult<IFetchCollectionsByIdsQuery, IFetchCollectionsByIdsQueryVariables>;
|
|
8893
8787
|
export const FetchCreationsByTypeDocument = gql`
|
|
8894
8788
|
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
8895
8789
|
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
@@ -9015,6 +8909,236 @@ export function useFetchDynamicAssetsLikesLazyQuery(baseOptions?: Apollo.LazyQue
|
|
|
9015
8909
|
export type FetchDynamicAssetsLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesQuery>;
|
|
9016
8910
|
export type FetchDynamicAssetsLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesLazyQuery>;
|
|
9017
8911
|
export type FetchDynamicAssetsLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>;
|
|
8912
|
+
export const FetchDynamicCollectionDataDocument = gql`
|
|
8913
|
+
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
8914
|
+
fetchDynamicCollectionData(input: $input) {
|
|
8915
|
+
isLikedByUser
|
|
8916
|
+
likesNum
|
|
8917
|
+
collectionId
|
|
8918
|
+
collectionAssetsPage {
|
|
8919
|
+
nextPage
|
|
8920
|
+
assets {
|
|
8921
|
+
latestPriceCurrency
|
|
8922
|
+
latestPriceAmount
|
|
8923
|
+
collectionId
|
|
8924
|
+
collectionOriginalUrls
|
|
8925
|
+
collectionTitle
|
|
8926
|
+
assetId
|
|
8927
|
+
totalVolumes {
|
|
8928
|
+
currency
|
|
8929
|
+
amount
|
|
8930
|
+
}
|
|
8931
|
+
blockchain
|
|
8932
|
+
address
|
|
8933
|
+
tokenId
|
|
8934
|
+
name
|
|
8935
|
+
description
|
|
8936
|
+
rank
|
|
8937
|
+
markets {
|
|
8938
|
+
marketId
|
|
8939
|
+
marketName
|
|
8940
|
+
marketDomain
|
|
8941
|
+
marketUrl
|
|
8942
|
+
}
|
|
8943
|
+
collectionMedias {
|
|
8944
|
+
originalUrl
|
|
8945
|
+
url
|
|
8946
|
+
previewUrl
|
|
8947
|
+
mimeType
|
|
8948
|
+
sizeRatio
|
|
8949
|
+
fileSize
|
|
8950
|
+
}
|
|
8951
|
+
originalUrls
|
|
8952
|
+
medias {
|
|
8953
|
+
originalUrl
|
|
8954
|
+
url
|
|
8955
|
+
mimeType
|
|
8956
|
+
sizeRatio
|
|
8957
|
+
fileSize
|
|
8958
|
+
previewUrl
|
|
8959
|
+
}
|
|
8960
|
+
ownersAddresses
|
|
8961
|
+
ownersProfiles {
|
|
8962
|
+
userId
|
|
8963
|
+
username
|
|
8964
|
+
about
|
|
8965
|
+
userpic
|
|
8966
|
+
followers
|
|
8967
|
+
followings
|
|
8968
|
+
visible
|
|
8969
|
+
}
|
|
8970
|
+
creatorsAddresses
|
|
8971
|
+
creatorsProfiles {
|
|
8972
|
+
userId
|
|
8973
|
+
username
|
|
8974
|
+
about
|
|
8975
|
+
userpic
|
|
8976
|
+
followers
|
|
8977
|
+
followings
|
|
8978
|
+
visible
|
|
8979
|
+
}
|
|
8980
|
+
attributes {
|
|
8981
|
+
name
|
|
8982
|
+
value
|
|
8983
|
+
}
|
|
8984
|
+
views
|
|
8985
|
+
visible
|
|
8986
|
+
blurred
|
|
8987
|
+
medias {
|
|
8988
|
+
originalUrl
|
|
8989
|
+
url
|
|
8990
|
+
previewUrl
|
|
8991
|
+
mimeType
|
|
8992
|
+
}
|
|
8993
|
+
creatorsProfiles {
|
|
8994
|
+
username
|
|
8995
|
+
}
|
|
8996
|
+
}
|
|
8997
|
+
}
|
|
8998
|
+
}
|
|
8999
|
+
}
|
|
9000
|
+
`;
|
|
9001
|
+
|
|
9002
|
+
/**
|
|
9003
|
+
* __useFetchDynamicCollectionDataQuery__
|
|
9004
|
+
*
|
|
9005
|
+
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
9006
|
+
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9007
|
+
* you can use to render your UI.
|
|
9008
|
+
*
|
|
9009
|
+
* @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;
|
|
9010
|
+
*
|
|
9011
|
+
* @example
|
|
9012
|
+
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
9013
|
+
* variables: {
|
|
9014
|
+
* input: // value for 'input'
|
|
9015
|
+
* },
|
|
9016
|
+
* });
|
|
9017
|
+
*/
|
|
9018
|
+
export function useFetchDynamicCollectionDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
9019
|
+
return Apollo.useQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
9020
|
+
}
|
|
9021
|
+
export function useFetchDynamicCollectionDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>) {
|
|
9022
|
+
return Apollo.useLazyQuery<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>(FetchDynamicCollectionDataDocument, baseOptions);
|
|
9023
|
+
}
|
|
9024
|
+
export type FetchDynamicCollectionDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataQuery>;
|
|
9025
|
+
export type FetchDynamicCollectionDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionDataLazyQuery>;
|
|
9026
|
+
export type FetchDynamicCollectionDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionDataQuery, IFetchDynamicCollectionDataQueryVariables>;
|
|
9027
|
+
export const FetchDynamicCollectionsDataDocument = gql`
|
|
9028
|
+
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
9029
|
+
fetchDynamicCollectionsData(inputs: $input) {
|
|
9030
|
+
isLikedByUser
|
|
9031
|
+
likesNum
|
|
9032
|
+
collectionId
|
|
9033
|
+
collectionAssetsPage {
|
|
9034
|
+
nextPage
|
|
9035
|
+
assets {
|
|
9036
|
+
latestPriceCurrency
|
|
9037
|
+
latestPriceAmount
|
|
9038
|
+
collectionId
|
|
9039
|
+
collectionOriginalUrls
|
|
9040
|
+
collectionTitle
|
|
9041
|
+
assetId
|
|
9042
|
+
totalVolumes {
|
|
9043
|
+
currency
|
|
9044
|
+
amount
|
|
9045
|
+
}
|
|
9046
|
+
blockchain
|
|
9047
|
+
address
|
|
9048
|
+
tokenId
|
|
9049
|
+
name
|
|
9050
|
+
description
|
|
9051
|
+
rank
|
|
9052
|
+
markets {
|
|
9053
|
+
marketId
|
|
9054
|
+
marketName
|
|
9055
|
+
marketDomain
|
|
9056
|
+
marketUrl
|
|
9057
|
+
}
|
|
9058
|
+
collectionMedias {
|
|
9059
|
+
originalUrl
|
|
9060
|
+
url
|
|
9061
|
+
previewUrl
|
|
9062
|
+
mimeType
|
|
9063
|
+
sizeRatio
|
|
9064
|
+
fileSize
|
|
9065
|
+
}
|
|
9066
|
+
originalUrls
|
|
9067
|
+
medias {
|
|
9068
|
+
originalUrl
|
|
9069
|
+
url
|
|
9070
|
+
mimeType
|
|
9071
|
+
sizeRatio
|
|
9072
|
+
fileSize
|
|
9073
|
+
previewUrl
|
|
9074
|
+
}
|
|
9075
|
+
ownersAddresses
|
|
9076
|
+
ownersProfiles {
|
|
9077
|
+
userId
|
|
9078
|
+
username
|
|
9079
|
+
about
|
|
9080
|
+
userpic
|
|
9081
|
+
followers
|
|
9082
|
+
followings
|
|
9083
|
+
visible
|
|
9084
|
+
}
|
|
9085
|
+
creatorsAddresses
|
|
9086
|
+
creatorsProfiles {
|
|
9087
|
+
userId
|
|
9088
|
+
username
|
|
9089
|
+
about
|
|
9090
|
+
userpic
|
|
9091
|
+
followers
|
|
9092
|
+
followings
|
|
9093
|
+
visible
|
|
9094
|
+
}
|
|
9095
|
+
attributes {
|
|
9096
|
+
name
|
|
9097
|
+
value
|
|
9098
|
+
}
|
|
9099
|
+
views
|
|
9100
|
+
visible
|
|
9101
|
+
blurred
|
|
9102
|
+
medias {
|
|
9103
|
+
originalUrl
|
|
9104
|
+
url
|
|
9105
|
+
previewUrl
|
|
9106
|
+
mimeType
|
|
9107
|
+
}
|
|
9108
|
+
creatorsProfiles {
|
|
9109
|
+
username
|
|
9110
|
+
}
|
|
9111
|
+
}
|
|
9112
|
+
}
|
|
9113
|
+
}
|
|
9114
|
+
}
|
|
9115
|
+
`;
|
|
9116
|
+
|
|
9117
|
+
/**
|
|
9118
|
+
* __useFetchDynamicCollectionsDataQuery__
|
|
9119
|
+
*
|
|
9120
|
+
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
9121
|
+
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
9122
|
+
* you can use to render your UI.
|
|
9123
|
+
*
|
|
9124
|
+
* @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;
|
|
9125
|
+
*
|
|
9126
|
+
* @example
|
|
9127
|
+
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
9128
|
+
* variables: {
|
|
9129
|
+
* input: // value for 'input'
|
|
9130
|
+
* },
|
|
9131
|
+
* });
|
|
9132
|
+
*/
|
|
9133
|
+
export function useFetchDynamicCollectionsDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
9134
|
+
return Apollo.useQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
9135
|
+
}
|
|
9136
|
+
export function useFetchDynamicCollectionsDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>) {
|
|
9137
|
+
return Apollo.useLazyQuery<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>(FetchDynamicCollectionsDataDocument, baseOptions);
|
|
9138
|
+
}
|
|
9139
|
+
export type FetchDynamicCollectionsDataQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataQuery>;
|
|
9140
|
+
export type FetchDynamicCollectionsDataLazyQueryHookResult = ReturnType<typeof useFetchDynamicCollectionsDataLazyQuery>;
|
|
9141
|
+
export type FetchDynamicCollectionsDataQueryResult = Apollo.QueryResult<IFetchDynamicCollectionsDataQuery, IFetchDynamicCollectionsDataQueryVariables>;
|
|
9018
9142
|
export const FindAllTopEntitiesByNameDocument = gql`
|
|
9019
9143
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
9020
9144
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|