@ludo.ninja/api 2.8.4 → 2.8.6
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.
|
@@ -48,6 +48,8 @@ export type IAdminOpportunity = {
|
|
|
48
48
|
category?: Maybe<Scalars['String']>;
|
|
49
49
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
50
50
|
projectUrl?: Maybe<Scalars['String']>;
|
|
51
|
+
media?: Maybe<Scalars['String']>;
|
|
52
|
+
description?: Maybe<Scalars['String']>;
|
|
51
53
|
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
52
54
|
status?: Maybe<Scalars['String']>;
|
|
53
55
|
activeFrom?: Maybe<Scalars['Long']>;
|
|
@@ -124,6 +126,7 @@ export type IAsset = {
|
|
|
124
126
|
category?: Maybe<Scalars['String']>;
|
|
125
127
|
categoryLabel?: Maybe<Scalars['String']>;
|
|
126
128
|
chainId?: Maybe<Scalars['String']>;
|
|
129
|
+
collection?: Maybe<Scalars['String']>;
|
|
127
130
|
collectionId?: Maybe<Scalars['String']>;
|
|
128
131
|
collectionMedias?: Maybe<Array<Maybe<IMedia>>>;
|
|
129
132
|
collectionOriginalUrls?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
@@ -134,6 +137,7 @@ export type IAsset = {
|
|
|
134
137
|
creatorsProfiles?: Maybe<Array<Maybe<IProfile>>>;
|
|
135
138
|
description?: Maybe<Scalars['String']>;
|
|
136
139
|
galleries?: Maybe<IGalleries>;
|
|
140
|
+
id?: Maybe<Scalars['String']>;
|
|
137
141
|
lastSoldAt?: Maybe<Scalars['String']>;
|
|
138
142
|
latestPriceAmount?: Maybe<Scalars['Float']>;
|
|
139
143
|
latestPriceBlockHeight?: Maybe<Scalars['Long']>;
|
|
@@ -161,6 +165,7 @@ export type IAsset = {
|
|
|
161
165
|
tokenId?: Maybe<Scalars['String']>;
|
|
162
166
|
totalVolumes?: Maybe<Array<Maybe<ICurrencyAmountPair>>>;
|
|
163
167
|
traits?: Maybe<Array<Maybe<ITrait>>>;
|
|
168
|
+
trueRank?: Maybe<Scalars['Float']>;
|
|
164
169
|
type?: Maybe<Scalars['String']>;
|
|
165
170
|
url?: Maybe<Scalars['String']>;
|
|
166
171
|
views?: Maybe<Scalars['Int']>;
|
|
@@ -178,9 +183,9 @@ export type IAssetGallery = {
|
|
|
178
183
|
};
|
|
179
184
|
|
|
180
185
|
export type IAssetMarket = {
|
|
186
|
+
marketDomain?: Maybe<Scalars['String']>;
|
|
181
187
|
marketId?: Maybe<Scalars['String']>;
|
|
182
188
|
marketName?: Maybe<Scalars['String']>;
|
|
183
|
-
marketDomain?: Maybe<Scalars['String']>;
|
|
184
189
|
marketUrl?: Maybe<Scalars['String']>;
|
|
185
190
|
};
|
|
186
191
|
|
|
@@ -237,6 +242,11 @@ export type IAssetPage = {
|
|
|
237
242
|
nextPageToken?: Maybe<Scalars['String']>;
|
|
238
243
|
};
|
|
239
244
|
|
|
245
|
+
export type IAssetRank = {
|
|
246
|
+
assetId: Scalars['String'];
|
|
247
|
+
rank?: Maybe<Scalars['Float']>;
|
|
248
|
+
};
|
|
249
|
+
|
|
240
250
|
export type IAssetReport = {
|
|
241
251
|
reportId: Scalars['ID'];
|
|
242
252
|
type?: Maybe<Scalars['String']>;
|
|
@@ -483,14 +493,15 @@ export type ICreationsPage = {
|
|
|
483
493
|
};
|
|
484
494
|
|
|
485
495
|
export type ICurrencyAmountPair = {
|
|
486
|
-
currency?: Maybe<Scalars['String']>;
|
|
487
496
|
amount?: Maybe<Scalars['Float']>;
|
|
497
|
+
currency?: Maybe<Scalars['String']>;
|
|
488
498
|
};
|
|
489
499
|
|
|
490
500
|
export type IDynamicAssetData = {
|
|
501
|
+
assetId: Scalars['String'];
|
|
491
502
|
isLikedByUser?: Maybe<Scalars['Boolean']>;
|
|
492
503
|
likesNum?: Maybe<Scalars['Int']>;
|
|
493
|
-
|
|
504
|
+
medias?: Maybe<Array<Maybe<IMedia>>>;
|
|
494
505
|
};
|
|
495
506
|
|
|
496
507
|
export type IDynamicCollectionData = {
|
|
@@ -834,7 +845,9 @@ export type IMarketsPage = {
|
|
|
834
845
|
export type IMedia = {
|
|
835
846
|
assetId?: Maybe<Scalars['String']>;
|
|
836
847
|
blockchain?: Maybe<Scalars['String']>;
|
|
848
|
+
cover?: Maybe<Scalars['Boolean']>;
|
|
837
849
|
fileSize?: Maybe<Scalars['Long']>;
|
|
850
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
838
851
|
mimeType?: Maybe<Scalars['String']>;
|
|
839
852
|
nsfw?: Maybe<Scalars['Int']>;
|
|
840
853
|
originalMime?: Maybe<Scalars['String']>;
|
|
@@ -1744,6 +1757,8 @@ export type IQuery = {
|
|
|
1744
1757
|
fetchAssetModerations: IAssetModerationsPage;
|
|
1745
1758
|
/** This query is not connected to the front */
|
|
1746
1759
|
fetchAssetNamesSuggestions: Array<Maybe<Scalars['String']>>;
|
|
1760
|
+
fetchAssetRank: IAssetRank;
|
|
1761
|
+
fetchAssetRanks: Array<Maybe<IAssetRank>>;
|
|
1747
1762
|
fetchAssetReports: IAssetReportsPage;
|
|
1748
1763
|
fetchAssets: Array<Maybe<IAsset>>;
|
|
1749
1764
|
/** This query must be used on the first page */
|
|
@@ -1973,6 +1988,16 @@ export type IQueryFetchAssetNamesSuggestionsArgs = {
|
|
|
1973
1988
|
};
|
|
1974
1989
|
|
|
1975
1990
|
|
|
1991
|
+
export type IQueryFetchAssetRankArgs = {
|
|
1992
|
+
assetId: Scalars['String'];
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
export type IQueryFetchAssetRanksArgs = {
|
|
1997
|
+
assetIds: Array<Scalars['String']>;
|
|
1998
|
+
};
|
|
1999
|
+
|
|
2000
|
+
|
|
1976
2001
|
export type IQueryFetchAssetReportsArgs = {
|
|
1977
2002
|
input: IAssetReportFilter;
|
|
1978
2003
|
pageSize: Scalars['Int'];
|
|
@@ -2918,7 +2943,7 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
2918
2943
|
}>;
|
|
2919
2944
|
|
|
2920
2945
|
|
|
2921
|
-
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2946
|
+
export type IFetchAdminOpportunitiesPageQuery = { fetchAdminOpportunitiesPage: { opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
2922
2947
|
|
|
2923
2948
|
export type IFetchAdminReferralsPageQueryVariables = Exact<{
|
|
2924
2949
|
filter: IReferralsFilterInput;
|
|
@@ -2980,43 +3005,6 @@ export type IFetchAssetQuery = { fetchAsset: (
|
|
|
2980
3005
|
& { 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' | 'originalMime' | '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'>>>> }
|
|
2981
3006
|
) };
|
|
2982
3007
|
|
|
2983
|
-
export type IFetchAssetByBlockchainQueryVariables = Exact<{
|
|
2984
|
-
blockchain: Scalars['String'];
|
|
2985
|
-
address?: Maybe<Scalars['String']>;
|
|
2986
|
-
tokenId?: Maybe<Scalars['String']>;
|
|
2987
|
-
elrondId?: Maybe<Scalars['String']>;
|
|
2988
|
-
}>;
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
export type IFetchAssetByBlockchainQuery = { fetchAssetByBlockchain: (
|
|
2992
|
-
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'blockchainLabel' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred' | 'category' | 'categoryLabel'>
|
|
2993
|
-
& { 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' | 'originalMime' | 'previewUrl' | 'sizeRatio' | 'fileSize'>>>>, 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'>>>> }
|
|
2994
|
-
) };
|
|
2995
|
-
|
|
2996
|
-
export type IFetchAssetsQueryVariables = Exact<{
|
|
2997
|
-
assetIds: Array<Scalars['String']>;
|
|
2998
|
-
}>;
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
export type IFetchAssetsQuery = { fetchAssets: Array<Maybe<(
|
|
3002
|
-
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3003
|
-
& { 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'>>>> }
|
|
3004
|
-
)>> };
|
|
3005
|
-
|
|
3006
|
-
export type IFetchDynamicAssetLikesQueryVariables = Exact<{
|
|
3007
|
-
assetId: Scalars['String'];
|
|
3008
|
-
}>;
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
export type IFetchDynamicAssetLikesQuery = { fetchDynamicAssetData: Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum'> };
|
|
3012
|
-
|
|
3013
|
-
export type IFetchDynamicAssetsLikesQueryVariables = Exact<{
|
|
3014
|
-
assetIds: Array<Scalars['String']>;
|
|
3015
|
-
}>;
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
export type IFetchDynamicAssetsLikesQuery = { fetchDynamicAssetsData: Array<Maybe<Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum' | 'assetId'>>> };
|
|
3019
|
-
|
|
3020
3008
|
export type IFetchLikedQueryVariables = Exact<{
|
|
3021
3009
|
assetId: Scalars['String'];
|
|
3022
3010
|
}>;
|
|
@@ -3829,6 +3817,29 @@ export type IFetchAllCreationsQueryVariables = Exact<{
|
|
|
3829
3817
|
|
|
3830
3818
|
export type IFetchAllCreationsQuery = { fetchAllCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
|
|
3831
3819
|
|
|
3820
|
+
export type IFetchAssetByBlockchainQueryVariables = Exact<{
|
|
3821
|
+
blockchain: Scalars['String'];
|
|
3822
|
+
address?: Maybe<Scalars['String']>;
|
|
3823
|
+
tokenId?: Maybe<Scalars['String']>;
|
|
3824
|
+
elrondId?: Maybe<Scalars['String']>;
|
|
3825
|
+
}>;
|
|
3826
|
+
|
|
3827
|
+
|
|
3828
|
+
export type IFetchAssetByBlockchainQuery = { fetchAssetByBlockchain: (
|
|
3829
|
+
Pick<IAsset, 'assetId' | 'blockchain' | 'blockchainLabel' | 'address' | 'tokenId' | 'collection' | 'id' | 'chainId' | 'blockHeight' | 'blockTimestamp' | 'name' | 'description' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'likes' | 'liked' | 'views' | 'visible' | 'createdAt' | 'blurred' | 'rank' | 'trueRank' | 'rankRaw' | 'rankMax' | 'rankUpdatedAt' | 'collectionId' | 'collectionTitle' | 'collectionOriginalUrls' | 'latestPriceBlockHeight' | 'latestPriceCurrency' | 'latestPriceAmount' | 'category' | 'categoryLabel'>
|
|
3830
|
+
& { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'nsfw' | 'originalMime' | 'hidden' | 'cover'>>>>, ownersProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted'>>>>, creatorsProfiles?: Maybe<Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'createdAt' | 'deletedAt' | 'visible' | 'views' | 'deleted'>>>>, attributes?: Maybe<Array<Maybe<Pick<IAttribute, 'name' | 'value'>>>>, collectionMedias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize' | 'nsfw' | 'originalMime' | 'hidden' | 'cover'>>>>, markets?: Maybe<Array<Maybe<Pick<IAssetMarket, 'marketId' | 'marketName' | 'marketDomain' | 'marketUrl'>>>>, totalVolumes?: Maybe<Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>> }
|
|
3831
|
+
) };
|
|
3832
|
+
|
|
3833
|
+
export type IFetchAssetsQueryVariables = Exact<{
|
|
3834
|
+
assetIds: Array<Scalars['String']>;
|
|
3835
|
+
}>;
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
export type IFetchAssetsQuery = { fetchAssets: Array<Maybe<(
|
|
3839
|
+
Pick<IAsset, 'latestPriceCurrency' | 'latestPriceAmount' | 'collectionId' | 'collectionOriginalUrls' | 'collectionTitle' | 'assetId' | 'blockchain' | 'address' | 'tokenId' | 'name' | 'description' | 'rank' | 'originalUrls' | 'ownersAddresses' | 'creatorsAddresses' | 'views' | 'visible' | 'blurred'>
|
|
3840
|
+
& { 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'>>>> }
|
|
3841
|
+
)>> };
|
|
3842
|
+
|
|
3832
3843
|
export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
|
|
3833
3844
|
|
|
3834
3845
|
|
|
@@ -3854,6 +3865,20 @@ export type IFetchCreationsByTypeQueryVariables = Exact<{
|
|
|
3854
3865
|
|
|
3855
3866
|
export type IFetchCreationsByTypeQuery = { fetchCreationsByType: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
|
|
3856
3867
|
|
|
3868
|
+
export type IFetchDynamicAssetLikesQueryVariables = Exact<{
|
|
3869
|
+
assetId: Scalars['String'];
|
|
3870
|
+
}>;
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
export type IFetchDynamicAssetLikesQuery = { fetchDynamicAssetData: Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum'> };
|
|
3874
|
+
|
|
3875
|
+
export type IFetchDynamicAssetsLikesQueryVariables = Exact<{
|
|
3876
|
+
assetIds: Array<Scalars['String']>;
|
|
3877
|
+
}>;
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
export type IFetchDynamicAssetsLikesQuery = { fetchDynamicAssetsData: Array<Maybe<Pick<IDynamicAssetData, 'isLikedByUser' | 'likesNum' | 'assetId'>>> };
|
|
3881
|
+
|
|
3857
3882
|
export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
|
|
3858
3883
|
name: Scalars['String'];
|
|
3859
3884
|
pageSize: Scalars['Int'];
|
|
@@ -4133,6 +4158,8 @@ export const FetchAdminOpportunitiesPageDocument = gql`
|
|
|
4133
4158
|
projectUrl
|
|
4134
4159
|
pushNotificationsEnabled
|
|
4135
4160
|
status
|
|
4161
|
+
media
|
|
4162
|
+
description
|
|
4136
4163
|
activeFrom
|
|
4137
4164
|
activeUntil
|
|
4138
4165
|
minXpLevel
|
|
@@ -4525,331 +4552,33 @@ export function useFetchAssetLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions
|
|
|
4525
4552
|
export type FetchAssetQueryHookResult = ReturnType<typeof useFetchAssetQuery>;
|
|
4526
4553
|
export type FetchAssetLazyQueryHookResult = ReturnType<typeof useFetchAssetLazyQuery>;
|
|
4527
4554
|
export type FetchAssetQueryResult = Apollo.QueryResult<IFetchAssetQuery, IFetchAssetQueryVariables>;
|
|
4528
|
-
export const
|
|
4529
|
-
query
|
|
4530
|
-
|
|
4531
|
-
blockchain: $blockchain
|
|
4532
|
-
address: $address
|
|
4533
|
-
tokenId: $tokenId
|
|
4534
|
-
elrondId: $elrondId
|
|
4535
|
-
) {
|
|
4536
|
-
latestPriceCurrency
|
|
4537
|
-
latestPriceAmount
|
|
4538
|
-
collectionId
|
|
4539
|
-
collectionOriginalUrls
|
|
4540
|
-
collectionTitle
|
|
4541
|
-
assetId
|
|
4542
|
-
totalVolumes {
|
|
4543
|
-
currency
|
|
4544
|
-
amount
|
|
4545
|
-
}
|
|
4546
|
-
blockchain
|
|
4547
|
-
blockchainLabel
|
|
4548
|
-
address
|
|
4549
|
-
tokenId
|
|
4550
|
-
name
|
|
4551
|
-
description
|
|
4552
|
-
rank
|
|
4553
|
-
markets {
|
|
4554
|
-
marketId
|
|
4555
|
-
marketName
|
|
4556
|
-
marketDomain
|
|
4557
|
-
marketUrl
|
|
4558
|
-
}
|
|
4559
|
-
collectionMedias {
|
|
4560
|
-
originalUrl
|
|
4561
|
-
url
|
|
4562
|
-
previewUrl
|
|
4563
|
-
mimeType
|
|
4564
|
-
sizeRatio
|
|
4565
|
-
fileSize
|
|
4566
|
-
}
|
|
4567
|
-
originalUrls
|
|
4568
|
-
medias {
|
|
4569
|
-
originalUrl
|
|
4570
|
-
url
|
|
4571
|
-
mimeType
|
|
4572
|
-
originalMime
|
|
4573
|
-
previewUrl
|
|
4574
|
-
sizeRatio
|
|
4575
|
-
fileSize
|
|
4576
|
-
}
|
|
4577
|
-
ownersAddresses
|
|
4578
|
-
ownersProfiles {
|
|
4579
|
-
userId
|
|
4580
|
-
username
|
|
4581
|
-
about
|
|
4582
|
-
userpic
|
|
4583
|
-
followers
|
|
4584
|
-
followings
|
|
4585
|
-
visible
|
|
4586
|
-
}
|
|
4587
|
-
creatorsAddresses
|
|
4588
|
-
creatorsProfiles {
|
|
4589
|
-
userId
|
|
4590
|
-
username
|
|
4591
|
-
about
|
|
4592
|
-
userpic
|
|
4593
|
-
followers
|
|
4594
|
-
followings
|
|
4595
|
-
visible
|
|
4596
|
-
}
|
|
4597
|
-
attributes {
|
|
4598
|
-
name
|
|
4599
|
-
value
|
|
4600
|
-
}
|
|
4601
|
-
views
|
|
4602
|
-
visible
|
|
4603
|
-
blurred
|
|
4604
|
-
medias {
|
|
4605
|
-
originalUrl
|
|
4606
|
-
originalMime
|
|
4607
|
-
url
|
|
4608
|
-
previewUrl
|
|
4609
|
-
mimeType
|
|
4610
|
-
sizeRatio
|
|
4611
|
-
fileSize
|
|
4612
|
-
}
|
|
4613
|
-
creatorsProfiles {
|
|
4614
|
-
username
|
|
4615
|
-
}
|
|
4616
|
-
category
|
|
4617
|
-
categoryLabel
|
|
4618
|
-
}
|
|
4555
|
+
export const FetchLikedDocument = gql`
|
|
4556
|
+
query FetchLiked($assetId: String!) {
|
|
4557
|
+
fetchLiked(assetId: $assetId)
|
|
4619
4558
|
}
|
|
4620
4559
|
`;
|
|
4621
4560
|
|
|
4622
4561
|
/**
|
|
4623
|
-
*
|
|
4562
|
+
* __useFetchLikedQuery__
|
|
4624
4563
|
*
|
|
4625
|
-
* To run a query within a React component, call `
|
|
4626
|
-
* When your component renders, `
|
|
4564
|
+
* To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
|
|
4565
|
+
* When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4627
4566
|
* you can use to render your UI.
|
|
4628
4567
|
*
|
|
4629
4568
|
* @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;
|
|
4630
4569
|
*
|
|
4631
4570
|
* @example
|
|
4632
|
-
* const { data, loading, error } =
|
|
4571
|
+
* const { data, loading, error } = useFetchLikedQuery({
|
|
4633
4572
|
* variables: {
|
|
4634
|
-
*
|
|
4635
|
-
* address: // value for 'address'
|
|
4636
|
-
* tokenId: // value for 'tokenId'
|
|
4637
|
-
* elrondId: // value for 'elrondId'
|
|
4573
|
+
* assetId: // value for 'assetId'
|
|
4638
4574
|
* },
|
|
4639
4575
|
* });
|
|
4640
4576
|
*/
|
|
4641
|
-
export function
|
|
4642
|
-
return Apollo.useQuery<
|
|
4577
|
+
export function useFetchLikedQuery(baseOptions: Apollo.QueryHookOptions<IFetchLikedQuery, IFetchLikedQueryVariables>) {
|
|
4578
|
+
return Apollo.useQuery<IFetchLikedQuery, IFetchLikedQueryVariables>(FetchLikedDocument, baseOptions);
|
|
4643
4579
|
}
|
|
4644
|
-
export function
|
|
4645
|
-
return Apollo.useLazyQuery<
|
|
4646
|
-
}
|
|
4647
|
-
export type FetchAssetByBlockchainQueryHookResult = ReturnType<typeof useFetchAssetByBlockchainQuery>;
|
|
4648
|
-
export type FetchAssetByBlockchainLazyQueryHookResult = ReturnType<typeof useFetchAssetByBlockchainLazyQuery>;
|
|
4649
|
-
export type FetchAssetByBlockchainQueryResult = Apollo.QueryResult<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>;
|
|
4650
|
-
export const FetchAssetsDocument = gql`
|
|
4651
|
-
query FetchAssets($assetIds: [String!]!) {
|
|
4652
|
-
fetchAssets(assetIds: $assetIds) {
|
|
4653
|
-
latestPriceCurrency
|
|
4654
|
-
latestPriceAmount
|
|
4655
|
-
collectionId
|
|
4656
|
-
collectionOriginalUrls
|
|
4657
|
-
collectionTitle
|
|
4658
|
-
assetId
|
|
4659
|
-
totalVolumes {
|
|
4660
|
-
currency
|
|
4661
|
-
amount
|
|
4662
|
-
}
|
|
4663
|
-
blockchain
|
|
4664
|
-
address
|
|
4665
|
-
tokenId
|
|
4666
|
-
name
|
|
4667
|
-
description
|
|
4668
|
-
rank
|
|
4669
|
-
markets {
|
|
4670
|
-
marketId
|
|
4671
|
-
marketName
|
|
4672
|
-
marketDomain
|
|
4673
|
-
marketUrl
|
|
4674
|
-
}
|
|
4675
|
-
collectionMedias {
|
|
4676
|
-
originalUrl
|
|
4677
|
-
url
|
|
4678
|
-
previewUrl
|
|
4679
|
-
mimeType
|
|
4680
|
-
sizeRatio
|
|
4681
|
-
fileSize
|
|
4682
|
-
}
|
|
4683
|
-
originalUrls
|
|
4684
|
-
medias {
|
|
4685
|
-
originalUrl
|
|
4686
|
-
url
|
|
4687
|
-
mimeType
|
|
4688
|
-
sizeRatio
|
|
4689
|
-
fileSize
|
|
4690
|
-
previewUrl
|
|
4691
|
-
}
|
|
4692
|
-
ownersAddresses
|
|
4693
|
-
ownersProfiles {
|
|
4694
|
-
userId
|
|
4695
|
-
username
|
|
4696
|
-
about
|
|
4697
|
-
userpic
|
|
4698
|
-
followers
|
|
4699
|
-
followings
|
|
4700
|
-
visible
|
|
4701
|
-
}
|
|
4702
|
-
creatorsAddresses
|
|
4703
|
-
creatorsProfiles {
|
|
4704
|
-
userId
|
|
4705
|
-
username
|
|
4706
|
-
about
|
|
4707
|
-
userpic
|
|
4708
|
-
followers
|
|
4709
|
-
followings
|
|
4710
|
-
visible
|
|
4711
|
-
}
|
|
4712
|
-
attributes {
|
|
4713
|
-
name
|
|
4714
|
-
value
|
|
4715
|
-
}
|
|
4716
|
-
views
|
|
4717
|
-
visible
|
|
4718
|
-
blurred
|
|
4719
|
-
medias {
|
|
4720
|
-
originalUrl
|
|
4721
|
-
url
|
|
4722
|
-
previewUrl
|
|
4723
|
-
mimeType
|
|
4724
|
-
}
|
|
4725
|
-
creatorsProfiles {
|
|
4726
|
-
username
|
|
4727
|
-
}
|
|
4728
|
-
}
|
|
4729
|
-
}
|
|
4730
|
-
`;
|
|
4731
|
-
|
|
4732
|
-
/**
|
|
4733
|
-
* __useFetchAssetsQuery__
|
|
4734
|
-
*
|
|
4735
|
-
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
4736
|
-
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4737
|
-
* you can use to render your UI.
|
|
4738
|
-
*
|
|
4739
|
-
* @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;
|
|
4740
|
-
*
|
|
4741
|
-
* @example
|
|
4742
|
-
* const { data, loading, error } = useFetchAssetsQuery({
|
|
4743
|
-
* variables: {
|
|
4744
|
-
* assetIds: // value for 'assetIds'
|
|
4745
|
-
* },
|
|
4746
|
-
* });
|
|
4747
|
-
*/
|
|
4748
|
-
export function useFetchAssetsQuery(baseOptions: Apollo.QueryHookOptions<IFetchAssetsQuery, IFetchAssetsQueryVariables>) {
|
|
4749
|
-
return Apollo.useQuery<IFetchAssetsQuery, IFetchAssetsQueryVariables>(FetchAssetsDocument, baseOptions);
|
|
4750
|
-
}
|
|
4751
|
-
export function useFetchAssetsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAssetsQuery, IFetchAssetsQueryVariables>) {
|
|
4752
|
-
return Apollo.useLazyQuery<IFetchAssetsQuery, IFetchAssetsQueryVariables>(FetchAssetsDocument, baseOptions);
|
|
4753
|
-
}
|
|
4754
|
-
export type FetchAssetsQueryHookResult = ReturnType<typeof useFetchAssetsQuery>;
|
|
4755
|
-
export type FetchAssetsLazyQueryHookResult = ReturnType<typeof useFetchAssetsLazyQuery>;
|
|
4756
|
-
export type FetchAssetsQueryResult = Apollo.QueryResult<IFetchAssetsQuery, IFetchAssetsQueryVariables>;
|
|
4757
|
-
export const FetchDynamicAssetLikesDocument = gql`
|
|
4758
|
-
query FetchDynamicAssetLikes($assetId: String!) {
|
|
4759
|
-
fetchDynamicAssetData(assetId: $assetId) {
|
|
4760
|
-
isLikedByUser
|
|
4761
|
-
likesNum
|
|
4762
|
-
}
|
|
4763
|
-
}
|
|
4764
|
-
`;
|
|
4765
|
-
|
|
4766
|
-
/**
|
|
4767
|
-
* __useFetchDynamicAssetLikesQuery__
|
|
4768
|
-
*
|
|
4769
|
-
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
4770
|
-
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4771
|
-
* you can use to render your UI.
|
|
4772
|
-
*
|
|
4773
|
-
* @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;
|
|
4774
|
-
*
|
|
4775
|
-
* @example
|
|
4776
|
-
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
4777
|
-
* variables: {
|
|
4778
|
-
* assetId: // value for 'assetId'
|
|
4779
|
-
* },
|
|
4780
|
-
* });
|
|
4781
|
-
*/
|
|
4782
|
-
export function useFetchDynamicAssetLikesQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>) {
|
|
4783
|
-
return Apollo.useQuery<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>(FetchDynamicAssetLikesDocument, baseOptions);
|
|
4784
|
-
}
|
|
4785
|
-
export function useFetchDynamicAssetLikesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>) {
|
|
4786
|
-
return Apollo.useLazyQuery<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>(FetchDynamicAssetLikesDocument, baseOptions);
|
|
4787
|
-
}
|
|
4788
|
-
export type FetchDynamicAssetLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetLikesQuery>;
|
|
4789
|
-
export type FetchDynamicAssetLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetLikesLazyQuery>;
|
|
4790
|
-
export type FetchDynamicAssetLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>;
|
|
4791
|
-
export const FetchDynamicAssetsLikesDocument = gql`
|
|
4792
|
-
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
4793
|
-
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
4794
|
-
isLikedByUser
|
|
4795
|
-
likesNum
|
|
4796
|
-
assetId
|
|
4797
|
-
}
|
|
4798
|
-
}
|
|
4799
|
-
`;
|
|
4800
|
-
|
|
4801
|
-
/**
|
|
4802
|
-
* __useFetchDynamicAssetsLikesQuery__
|
|
4803
|
-
*
|
|
4804
|
-
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
4805
|
-
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4806
|
-
* you can use to render your UI.
|
|
4807
|
-
*
|
|
4808
|
-
* @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;
|
|
4809
|
-
*
|
|
4810
|
-
* @example
|
|
4811
|
-
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
4812
|
-
* variables: {
|
|
4813
|
-
* assetIds: // value for 'assetIds'
|
|
4814
|
-
* },
|
|
4815
|
-
* });
|
|
4816
|
-
*/
|
|
4817
|
-
export function useFetchDynamicAssetsLikesQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>) {
|
|
4818
|
-
return Apollo.useQuery<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>(FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4819
|
-
}
|
|
4820
|
-
export function useFetchDynamicAssetsLikesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>) {
|
|
4821
|
-
return Apollo.useLazyQuery<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>(FetchDynamicAssetsLikesDocument, baseOptions);
|
|
4822
|
-
}
|
|
4823
|
-
export type FetchDynamicAssetsLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesQuery>;
|
|
4824
|
-
export type FetchDynamicAssetsLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesLazyQuery>;
|
|
4825
|
-
export type FetchDynamicAssetsLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>;
|
|
4826
|
-
export const FetchLikedDocument = gql`
|
|
4827
|
-
query FetchLiked($assetId: String!) {
|
|
4828
|
-
fetchLiked(assetId: $assetId)
|
|
4829
|
-
}
|
|
4830
|
-
`;
|
|
4831
|
-
|
|
4832
|
-
/**
|
|
4833
|
-
* __useFetchLikedQuery__
|
|
4834
|
-
*
|
|
4835
|
-
* To run a query within a React component, call `useFetchLikedQuery` and pass it any options that fit your needs.
|
|
4836
|
-
* When your component renders, `useFetchLikedQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4837
|
-
* you can use to render your UI.
|
|
4838
|
-
*
|
|
4839
|
-
* @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;
|
|
4840
|
-
*
|
|
4841
|
-
* @example
|
|
4842
|
-
* const { data, loading, error } = useFetchLikedQuery({
|
|
4843
|
-
* variables: {
|
|
4844
|
-
* assetId: // value for 'assetId'
|
|
4845
|
-
* },
|
|
4846
|
-
* });
|
|
4847
|
-
*/
|
|
4848
|
-
export function useFetchLikedQuery(baseOptions: Apollo.QueryHookOptions<IFetchLikedQuery, IFetchLikedQueryVariables>) {
|
|
4849
|
-
return Apollo.useQuery<IFetchLikedQuery, IFetchLikedQueryVariables>(FetchLikedDocument, baseOptions);
|
|
4850
|
-
}
|
|
4851
|
-
export function useFetchLikedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchLikedQuery, IFetchLikedQueryVariables>) {
|
|
4852
|
-
return Apollo.useLazyQuery<IFetchLikedQuery, IFetchLikedQueryVariables>(FetchLikedDocument, baseOptions);
|
|
4580
|
+
export function useFetchLikedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchLikedQuery, IFetchLikedQueryVariables>) {
|
|
4581
|
+
return Apollo.useLazyQuery<IFetchLikedQuery, IFetchLikedQueryVariables>(FetchLikedDocument, baseOptions);
|
|
4853
4582
|
}
|
|
4854
4583
|
export type FetchLikedQueryHookResult = ReturnType<typeof useFetchLikedQuery>;
|
|
4855
4584
|
export type FetchLikedLazyQueryHookResult = ReturnType<typeof useFetchLikedLazyQuery>;
|
|
@@ -8603,6 +8332,251 @@ export function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHook
|
|
|
8603
8332
|
export type FetchAllCreationsQueryHookResult = ReturnType<typeof useFetchAllCreationsQuery>;
|
|
8604
8333
|
export type FetchAllCreationsLazyQueryHookResult = ReturnType<typeof useFetchAllCreationsLazyQuery>;
|
|
8605
8334
|
export type FetchAllCreationsQueryResult = Apollo.QueryResult<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>;
|
|
8335
|
+
export const FetchAssetByBlockchainDocument = gql`
|
|
8336
|
+
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
8337
|
+
fetchAssetByBlockchain(
|
|
8338
|
+
blockchain: $blockchain
|
|
8339
|
+
address: $address
|
|
8340
|
+
tokenId: $tokenId
|
|
8341
|
+
elrondId: $elrondId
|
|
8342
|
+
) {
|
|
8343
|
+
assetId
|
|
8344
|
+
blockchain
|
|
8345
|
+
blockchainLabel
|
|
8346
|
+
address
|
|
8347
|
+
tokenId
|
|
8348
|
+
collection
|
|
8349
|
+
id
|
|
8350
|
+
chainId
|
|
8351
|
+
blockHeight
|
|
8352
|
+
blockTimestamp
|
|
8353
|
+
name
|
|
8354
|
+
description
|
|
8355
|
+
originalUrls
|
|
8356
|
+
medias {
|
|
8357
|
+
originalUrl
|
|
8358
|
+
url
|
|
8359
|
+
previewUrl
|
|
8360
|
+
mimeType
|
|
8361
|
+
sizeRatio
|
|
8362
|
+
fileSize
|
|
8363
|
+
nsfw
|
|
8364
|
+
originalMime
|
|
8365
|
+
hidden
|
|
8366
|
+
cover
|
|
8367
|
+
}
|
|
8368
|
+
ownersAddresses
|
|
8369
|
+
ownersProfiles {
|
|
8370
|
+
userId
|
|
8371
|
+
username
|
|
8372
|
+
about
|
|
8373
|
+
userpic
|
|
8374
|
+
followers
|
|
8375
|
+
followings
|
|
8376
|
+
createdAt
|
|
8377
|
+
deletedAt
|
|
8378
|
+
visible
|
|
8379
|
+
views
|
|
8380
|
+
deleted
|
|
8381
|
+
}
|
|
8382
|
+
creatorsAddresses
|
|
8383
|
+
creatorsProfiles {
|
|
8384
|
+
userId
|
|
8385
|
+
username
|
|
8386
|
+
about
|
|
8387
|
+
userpic
|
|
8388
|
+
followers
|
|
8389
|
+
followings
|
|
8390
|
+
createdAt
|
|
8391
|
+
deletedAt
|
|
8392
|
+
visible
|
|
8393
|
+
views
|
|
8394
|
+
deleted
|
|
8395
|
+
}
|
|
8396
|
+
attributes {
|
|
8397
|
+
name
|
|
8398
|
+
value
|
|
8399
|
+
}
|
|
8400
|
+
likes
|
|
8401
|
+
liked
|
|
8402
|
+
views
|
|
8403
|
+
visible
|
|
8404
|
+
createdAt
|
|
8405
|
+
blurred
|
|
8406
|
+
rank
|
|
8407
|
+
trueRank
|
|
8408
|
+
rankRaw
|
|
8409
|
+
rankMax
|
|
8410
|
+
rankUpdatedAt
|
|
8411
|
+
collectionId
|
|
8412
|
+
collectionTitle
|
|
8413
|
+
collectionOriginalUrls
|
|
8414
|
+
collectionMedias {
|
|
8415
|
+
originalUrl
|
|
8416
|
+
url
|
|
8417
|
+
previewUrl
|
|
8418
|
+
mimeType
|
|
8419
|
+
sizeRatio
|
|
8420
|
+
fileSize
|
|
8421
|
+
nsfw
|
|
8422
|
+
originalMime
|
|
8423
|
+
hidden
|
|
8424
|
+
cover
|
|
8425
|
+
}
|
|
8426
|
+
markets {
|
|
8427
|
+
marketId
|
|
8428
|
+
marketName
|
|
8429
|
+
marketDomain
|
|
8430
|
+
marketUrl
|
|
8431
|
+
}
|
|
8432
|
+
latestPriceBlockHeight
|
|
8433
|
+
latestPriceCurrency
|
|
8434
|
+
latestPriceAmount
|
|
8435
|
+
totalVolumes {
|
|
8436
|
+
currency
|
|
8437
|
+
amount
|
|
8438
|
+
}
|
|
8439
|
+
category
|
|
8440
|
+
categoryLabel
|
|
8441
|
+
}
|
|
8442
|
+
}
|
|
8443
|
+
`;
|
|
8444
|
+
|
|
8445
|
+
/**
|
|
8446
|
+
* __useFetchAssetByBlockchainQuery__
|
|
8447
|
+
*
|
|
8448
|
+
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
8449
|
+
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8450
|
+
* you can use to render your UI.
|
|
8451
|
+
*
|
|
8452
|
+
* @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;
|
|
8453
|
+
*
|
|
8454
|
+
* @example
|
|
8455
|
+
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
8456
|
+
* variables: {
|
|
8457
|
+
* blockchain: // value for 'blockchain'
|
|
8458
|
+
* address: // value for 'address'
|
|
8459
|
+
* tokenId: // value for 'tokenId'
|
|
8460
|
+
* elrondId: // value for 'elrondId'
|
|
8461
|
+
* },
|
|
8462
|
+
* });
|
|
8463
|
+
*/
|
|
8464
|
+
export function useFetchAssetByBlockchainQuery(baseOptions: Apollo.QueryHookOptions<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>) {
|
|
8465
|
+
return Apollo.useQuery<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>(FetchAssetByBlockchainDocument, baseOptions);
|
|
8466
|
+
}
|
|
8467
|
+
export function useFetchAssetByBlockchainLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>) {
|
|
8468
|
+
return Apollo.useLazyQuery<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>(FetchAssetByBlockchainDocument, baseOptions);
|
|
8469
|
+
}
|
|
8470
|
+
export type FetchAssetByBlockchainQueryHookResult = ReturnType<typeof useFetchAssetByBlockchainQuery>;
|
|
8471
|
+
export type FetchAssetByBlockchainLazyQueryHookResult = ReturnType<typeof useFetchAssetByBlockchainLazyQuery>;
|
|
8472
|
+
export type FetchAssetByBlockchainQueryResult = Apollo.QueryResult<IFetchAssetByBlockchainQuery, IFetchAssetByBlockchainQueryVariables>;
|
|
8473
|
+
export const FetchAssetsDocument = gql`
|
|
8474
|
+
query FetchAssets($assetIds: [String!]!) {
|
|
8475
|
+
fetchAssets(assetIds: $assetIds) {
|
|
8476
|
+
latestPriceCurrency
|
|
8477
|
+
latestPriceAmount
|
|
8478
|
+
collectionId
|
|
8479
|
+
collectionOriginalUrls
|
|
8480
|
+
collectionTitle
|
|
8481
|
+
assetId
|
|
8482
|
+
totalVolumes {
|
|
8483
|
+
currency
|
|
8484
|
+
amount
|
|
8485
|
+
}
|
|
8486
|
+
blockchain
|
|
8487
|
+
address
|
|
8488
|
+
tokenId
|
|
8489
|
+
name
|
|
8490
|
+
description
|
|
8491
|
+
rank
|
|
8492
|
+
markets {
|
|
8493
|
+
marketId
|
|
8494
|
+
marketName
|
|
8495
|
+
marketDomain
|
|
8496
|
+
marketUrl
|
|
8497
|
+
}
|
|
8498
|
+
collectionMedias {
|
|
8499
|
+
originalUrl
|
|
8500
|
+
url
|
|
8501
|
+
previewUrl
|
|
8502
|
+
mimeType
|
|
8503
|
+
sizeRatio
|
|
8504
|
+
fileSize
|
|
8505
|
+
}
|
|
8506
|
+
originalUrls
|
|
8507
|
+
medias {
|
|
8508
|
+
originalUrl
|
|
8509
|
+
url
|
|
8510
|
+
mimeType
|
|
8511
|
+
sizeRatio
|
|
8512
|
+
fileSize
|
|
8513
|
+
previewUrl
|
|
8514
|
+
}
|
|
8515
|
+
ownersAddresses
|
|
8516
|
+
ownersProfiles {
|
|
8517
|
+
userId
|
|
8518
|
+
username
|
|
8519
|
+
about
|
|
8520
|
+
userpic
|
|
8521
|
+
followers
|
|
8522
|
+
followings
|
|
8523
|
+
visible
|
|
8524
|
+
}
|
|
8525
|
+
creatorsAddresses
|
|
8526
|
+
creatorsProfiles {
|
|
8527
|
+
userId
|
|
8528
|
+
username
|
|
8529
|
+
about
|
|
8530
|
+
userpic
|
|
8531
|
+
followers
|
|
8532
|
+
followings
|
|
8533
|
+
visible
|
|
8534
|
+
}
|
|
8535
|
+
attributes {
|
|
8536
|
+
name
|
|
8537
|
+
value
|
|
8538
|
+
}
|
|
8539
|
+
views
|
|
8540
|
+
visible
|
|
8541
|
+
blurred
|
|
8542
|
+
medias {
|
|
8543
|
+
originalUrl
|
|
8544
|
+
url
|
|
8545
|
+
previewUrl
|
|
8546
|
+
mimeType
|
|
8547
|
+
}
|
|
8548
|
+
creatorsProfiles {
|
|
8549
|
+
username
|
|
8550
|
+
}
|
|
8551
|
+
}
|
|
8552
|
+
}
|
|
8553
|
+
`;
|
|
8554
|
+
|
|
8555
|
+
/**
|
|
8556
|
+
* __useFetchAssetsQuery__
|
|
8557
|
+
*
|
|
8558
|
+
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
8559
|
+
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8560
|
+
* you can use to render your UI.
|
|
8561
|
+
*
|
|
8562
|
+
* @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;
|
|
8563
|
+
*
|
|
8564
|
+
* @example
|
|
8565
|
+
* const { data, loading, error } = useFetchAssetsQuery({
|
|
8566
|
+
* variables: {
|
|
8567
|
+
* assetIds: // value for 'assetIds'
|
|
8568
|
+
* },
|
|
8569
|
+
* });
|
|
8570
|
+
*/
|
|
8571
|
+
export function useFetchAssetsQuery(baseOptions: Apollo.QueryHookOptions<IFetchAssetsQuery, IFetchAssetsQueryVariables>) {
|
|
8572
|
+
return Apollo.useQuery<IFetchAssetsQuery, IFetchAssetsQueryVariables>(FetchAssetsDocument, baseOptions);
|
|
8573
|
+
}
|
|
8574
|
+
export function useFetchAssetsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAssetsQuery, IFetchAssetsQueryVariables>) {
|
|
8575
|
+
return Apollo.useLazyQuery<IFetchAssetsQuery, IFetchAssetsQueryVariables>(FetchAssetsDocument, baseOptions);
|
|
8576
|
+
}
|
|
8577
|
+
export type FetchAssetsQueryHookResult = ReturnType<typeof useFetchAssetsQuery>;
|
|
8578
|
+
export type FetchAssetsLazyQueryHookResult = ReturnType<typeof useFetchAssetsLazyQuery>;
|
|
8579
|
+
export type FetchAssetsQueryResult = Apollo.QueryResult<IFetchAssetsQuery, IFetchAssetsQueryVariables>;
|
|
8606
8580
|
export const FetchAssetsCountDocument = gql`
|
|
8607
8581
|
query FetchAssetsCount {
|
|
8608
8582
|
fetchAssetsCount
|
|
@@ -8746,6 +8720,75 @@ export function useFetchCreationsByTypeLazyQuery(baseOptions?: Apollo.LazyQueryH
|
|
|
8746
8720
|
export type FetchCreationsByTypeQueryHookResult = ReturnType<typeof useFetchCreationsByTypeQuery>;
|
|
8747
8721
|
export type FetchCreationsByTypeLazyQueryHookResult = ReturnType<typeof useFetchCreationsByTypeLazyQuery>;
|
|
8748
8722
|
export type FetchCreationsByTypeQueryResult = Apollo.QueryResult<IFetchCreationsByTypeQuery, IFetchCreationsByTypeQueryVariables>;
|
|
8723
|
+
export const FetchDynamicAssetLikesDocument = gql`
|
|
8724
|
+
query FetchDynamicAssetLikes($assetId: String!) {
|
|
8725
|
+
fetchDynamicAssetData(assetId: $assetId) {
|
|
8726
|
+
isLikedByUser
|
|
8727
|
+
likesNum
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8730
|
+
`;
|
|
8731
|
+
|
|
8732
|
+
/**
|
|
8733
|
+
* __useFetchDynamicAssetLikesQuery__
|
|
8734
|
+
*
|
|
8735
|
+
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
8736
|
+
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8737
|
+
* you can use to render your UI.
|
|
8738
|
+
*
|
|
8739
|
+
* @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;
|
|
8740
|
+
*
|
|
8741
|
+
* @example
|
|
8742
|
+
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
8743
|
+
* variables: {
|
|
8744
|
+
* assetId: // value for 'assetId'
|
|
8745
|
+
* },
|
|
8746
|
+
* });
|
|
8747
|
+
*/
|
|
8748
|
+
export function useFetchDynamicAssetLikesQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>) {
|
|
8749
|
+
return Apollo.useQuery<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>(FetchDynamicAssetLikesDocument, baseOptions);
|
|
8750
|
+
}
|
|
8751
|
+
export function useFetchDynamicAssetLikesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>) {
|
|
8752
|
+
return Apollo.useLazyQuery<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>(FetchDynamicAssetLikesDocument, baseOptions);
|
|
8753
|
+
}
|
|
8754
|
+
export type FetchDynamicAssetLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetLikesQuery>;
|
|
8755
|
+
export type FetchDynamicAssetLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetLikesLazyQuery>;
|
|
8756
|
+
export type FetchDynamicAssetLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetLikesQuery, IFetchDynamicAssetLikesQueryVariables>;
|
|
8757
|
+
export const FetchDynamicAssetsLikesDocument = gql`
|
|
8758
|
+
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
8759
|
+
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
8760
|
+
isLikedByUser
|
|
8761
|
+
likesNum
|
|
8762
|
+
assetId
|
|
8763
|
+
}
|
|
8764
|
+
}
|
|
8765
|
+
`;
|
|
8766
|
+
|
|
8767
|
+
/**
|
|
8768
|
+
* __useFetchDynamicAssetsLikesQuery__
|
|
8769
|
+
*
|
|
8770
|
+
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
8771
|
+
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
8772
|
+
* you can use to render your UI.
|
|
8773
|
+
*
|
|
8774
|
+
* @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;
|
|
8775
|
+
*
|
|
8776
|
+
* @example
|
|
8777
|
+
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
8778
|
+
* variables: {
|
|
8779
|
+
* assetIds: // value for 'assetIds'
|
|
8780
|
+
* },
|
|
8781
|
+
* });
|
|
8782
|
+
*/
|
|
8783
|
+
export function useFetchDynamicAssetsLikesQuery(baseOptions: Apollo.QueryHookOptions<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>) {
|
|
8784
|
+
return Apollo.useQuery<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>(FetchDynamicAssetsLikesDocument, baseOptions);
|
|
8785
|
+
}
|
|
8786
|
+
export function useFetchDynamicAssetsLikesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>) {
|
|
8787
|
+
return Apollo.useLazyQuery<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>(FetchDynamicAssetsLikesDocument, baseOptions);
|
|
8788
|
+
}
|
|
8789
|
+
export type FetchDynamicAssetsLikesQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesQuery>;
|
|
8790
|
+
export type FetchDynamicAssetsLikesLazyQueryHookResult = ReturnType<typeof useFetchDynamicAssetsLikesLazyQuery>;
|
|
8791
|
+
export type FetchDynamicAssetsLikesQueryResult = Apollo.QueryResult<IFetchDynamicAssetsLikesQuery, IFetchDynamicAssetsLikesQueryVariables>;
|
|
8749
8792
|
export const FindAllTopEntitiesByNameDocument = gql`
|
|
8750
8793
|
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
8751
8794
|
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|