@ludo.ninja/api 2.8.24 → 2.8.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config/index.js +4 -4
- package/build/graphql_tools/__generated__/schema.d.ts +8936 -0
- package/build/graphql_tools/__generated__/schema.js +5431 -0
- package/build/hosts/index.d.ts +3 -0
- package/build/hosts/index.js +4 -1
- package/build/index.d.ts +2 -13
- package/build/index.js +3 -25
- package/package.json +1 -1
- package/src/config/index.ts +50 -50
- package/src/graphql_tools/__generated__/schema.ts +12028 -0
- package/src/hosts/index.ts +6 -0
- package/src/index.ts +2 -29
- package/tsconfig.tsbuildinfo +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +0 -1406
- package/build/graphql_tools/__generated__/adminHost/schema.js +0 -683
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +0 -392
- package/build/graphql_tools/__generated__/assetsHost/schema.js +0 -80
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +0 -238
- package/build/graphql_tools/__generated__/authHost/schema.js +0 -85
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +0 -455
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +0 -80
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +0 -356
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +0 -191
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +0 -808
- package/build/graphql_tools/__generated__/extensionHost/schema.js +0 -449
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +0 -794
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +0 -575
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +0 -1201
- package/build/graphql_tools/__generated__/identityHost/schema.js +0 -757
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +0 -242
- package/build/graphql_tools/__generated__/mediasHost/schema.js +0 -110
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +0 -486
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +0 -148
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +0 -604
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +0 -411
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +0 -1304
- package/build/graphql_tools/__generated__/searchHost/schema.js +0 -1191
- package/src/graphql_tools/__generated__/adminHost/schema.ts +0 -1777
- package/src/graphql_tools/__generated__/assetsHost/schema.ts +0 -482
- package/src/graphql_tools/__generated__/authHost/schema.ts +0 -317
- package/src/graphql_tools/__generated__/collectionsHost/schema.ts +0 -554
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +0 -478
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +0 -1074
- package/src/graphql_tools/__generated__/galleriesHost/schema.ts +0 -1090
- package/src/graphql_tools/__generated__/identityHost/schema.ts +0 -1580
- package/src/graphql_tools/__generated__/mediasHost/schema.ts +0 -333
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -629
- package/src/graphql_tools/__generated__/preferencesHost/schema.ts +0 -772
- package/src/graphql_tools/__generated__/searchHost/schema.ts +0 -2137
|
@@ -1,1191 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = void 0;
|
|
27
|
-
const client_1 = require("@apollo/client");
|
|
28
|
-
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
-
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
30
|
-
query FetchAllCreations($page: PageInput) {
|
|
31
|
-
fetchAllCreations(page: $page) {
|
|
32
|
-
nextPage {
|
|
33
|
-
token
|
|
34
|
-
num
|
|
35
|
-
size
|
|
36
|
-
elements
|
|
37
|
-
}
|
|
38
|
-
creations {
|
|
39
|
-
id
|
|
40
|
-
itemType
|
|
41
|
-
itemId
|
|
42
|
-
blockchain
|
|
43
|
-
rank
|
|
44
|
-
address
|
|
45
|
-
liked
|
|
46
|
-
likes
|
|
47
|
-
tokenId
|
|
48
|
-
name
|
|
49
|
-
creatorsAddresses
|
|
50
|
-
originalUrls
|
|
51
|
-
media
|
|
52
|
-
mediaPreview
|
|
53
|
-
mimeType
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
/**
|
|
59
|
-
* __useFetchAllCreationsQuery__
|
|
60
|
-
*
|
|
61
|
-
* To run a query within a React component, call `useFetchAllCreationsQuery` and pass it any options that fit your needs.
|
|
62
|
-
* When your component renders, `useFetchAllCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
63
|
-
* you can use to render your UI.
|
|
64
|
-
*
|
|
65
|
-
* @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;
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* const { data, loading, error } = useFetchAllCreationsQuery({
|
|
69
|
-
* variables: {
|
|
70
|
-
* page: // value for 'page'
|
|
71
|
-
* },
|
|
72
|
-
* });
|
|
73
|
-
*/
|
|
74
|
-
function useFetchAllCreationsQuery(baseOptions) {
|
|
75
|
-
return Apollo.useQuery(exports.FetchAllCreationsDocument, baseOptions);
|
|
76
|
-
}
|
|
77
|
-
exports.useFetchAllCreationsQuery = useFetchAllCreationsQuery;
|
|
78
|
-
function useFetchAllCreationsLazyQuery(baseOptions) {
|
|
79
|
-
return Apollo.useLazyQuery(exports.FetchAllCreationsDocument, baseOptions);
|
|
80
|
-
}
|
|
81
|
-
exports.useFetchAllCreationsLazyQuery = useFetchAllCreationsLazyQuery;
|
|
82
|
-
exports.FetchAssetByBlockchainDocument = (0, client_1.gql) `
|
|
83
|
-
query FetchAssetByBlockchain($blockchain: String!, $address: String, $tokenId: String, $elrondId: String) {
|
|
84
|
-
fetchAssetByBlockchain(
|
|
85
|
-
blockchain: $blockchain
|
|
86
|
-
address: $address
|
|
87
|
-
tokenId: $tokenId
|
|
88
|
-
elrondId: $elrondId
|
|
89
|
-
) {
|
|
90
|
-
assetId
|
|
91
|
-
blockchain
|
|
92
|
-
blockchainLabel
|
|
93
|
-
address
|
|
94
|
-
tokenId
|
|
95
|
-
collection
|
|
96
|
-
id
|
|
97
|
-
chainId
|
|
98
|
-
blockHeight
|
|
99
|
-
blockTimestamp
|
|
100
|
-
name
|
|
101
|
-
description
|
|
102
|
-
originalUrls
|
|
103
|
-
medias {
|
|
104
|
-
originalUrl
|
|
105
|
-
url
|
|
106
|
-
previewUrl
|
|
107
|
-
mimeType
|
|
108
|
-
sizeRatio
|
|
109
|
-
fileSize
|
|
110
|
-
nsfw
|
|
111
|
-
originalMime
|
|
112
|
-
hidden
|
|
113
|
-
cover
|
|
114
|
-
}
|
|
115
|
-
ownersAddresses
|
|
116
|
-
ownersProfiles {
|
|
117
|
-
userId
|
|
118
|
-
username
|
|
119
|
-
about
|
|
120
|
-
userpic
|
|
121
|
-
followers
|
|
122
|
-
followings
|
|
123
|
-
createdAt
|
|
124
|
-
deletedAt
|
|
125
|
-
visible
|
|
126
|
-
views
|
|
127
|
-
deleted
|
|
128
|
-
}
|
|
129
|
-
creatorsAddresses
|
|
130
|
-
creatorsProfiles {
|
|
131
|
-
userId
|
|
132
|
-
username
|
|
133
|
-
about
|
|
134
|
-
userpic
|
|
135
|
-
followers
|
|
136
|
-
followings
|
|
137
|
-
createdAt
|
|
138
|
-
deletedAt
|
|
139
|
-
visible
|
|
140
|
-
views
|
|
141
|
-
deleted
|
|
142
|
-
}
|
|
143
|
-
attributes {
|
|
144
|
-
name
|
|
145
|
-
value
|
|
146
|
-
}
|
|
147
|
-
likes
|
|
148
|
-
liked
|
|
149
|
-
views
|
|
150
|
-
visible
|
|
151
|
-
createdAt
|
|
152
|
-
blurred
|
|
153
|
-
rank
|
|
154
|
-
trueRank
|
|
155
|
-
rankRaw
|
|
156
|
-
rankMax
|
|
157
|
-
rankUpdatedAt
|
|
158
|
-
collectionId
|
|
159
|
-
collectionTitle
|
|
160
|
-
collectionOriginalUrls
|
|
161
|
-
collectionMedias {
|
|
162
|
-
originalUrl
|
|
163
|
-
url
|
|
164
|
-
previewUrl
|
|
165
|
-
mimeType
|
|
166
|
-
sizeRatio
|
|
167
|
-
fileSize
|
|
168
|
-
nsfw
|
|
169
|
-
originalMime
|
|
170
|
-
hidden
|
|
171
|
-
cover
|
|
172
|
-
}
|
|
173
|
-
markets {
|
|
174
|
-
marketId
|
|
175
|
-
marketName
|
|
176
|
-
marketDomain
|
|
177
|
-
marketUrl
|
|
178
|
-
}
|
|
179
|
-
latestPriceBlockHeight
|
|
180
|
-
latestPriceCurrency
|
|
181
|
-
latestPriceAmount
|
|
182
|
-
totalVolumes {
|
|
183
|
-
currency
|
|
184
|
-
amount
|
|
185
|
-
}
|
|
186
|
-
category
|
|
187
|
-
categoryLabel
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
`;
|
|
191
|
-
/**
|
|
192
|
-
* __useFetchAssetByBlockchainQuery__
|
|
193
|
-
*
|
|
194
|
-
* To run a query within a React component, call `useFetchAssetByBlockchainQuery` and pass it any options that fit your needs.
|
|
195
|
-
* When your component renders, `useFetchAssetByBlockchainQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
196
|
-
* you can use to render your UI.
|
|
197
|
-
*
|
|
198
|
-
* @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;
|
|
199
|
-
*
|
|
200
|
-
* @example
|
|
201
|
-
* const { data, loading, error } = useFetchAssetByBlockchainQuery({
|
|
202
|
-
* variables: {
|
|
203
|
-
* blockchain: // value for 'blockchain'
|
|
204
|
-
* address: // value for 'address'
|
|
205
|
-
* tokenId: // value for 'tokenId'
|
|
206
|
-
* elrondId: // value for 'elrondId'
|
|
207
|
-
* },
|
|
208
|
-
* });
|
|
209
|
-
*/
|
|
210
|
-
function useFetchAssetByBlockchainQuery(baseOptions) {
|
|
211
|
-
return Apollo.useQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
212
|
-
}
|
|
213
|
-
exports.useFetchAssetByBlockchainQuery = useFetchAssetByBlockchainQuery;
|
|
214
|
-
function useFetchAssetByBlockchainLazyQuery(baseOptions) {
|
|
215
|
-
return Apollo.useLazyQuery(exports.FetchAssetByBlockchainDocument, baseOptions);
|
|
216
|
-
}
|
|
217
|
-
exports.useFetchAssetByBlockchainLazyQuery = useFetchAssetByBlockchainLazyQuery;
|
|
218
|
-
exports.FetchAssetsDocument = (0, client_1.gql) `
|
|
219
|
-
query FetchAssets($assetIds: [String!]!) {
|
|
220
|
-
fetchAssets(assetIds: $assetIds) {
|
|
221
|
-
latestPriceCurrency
|
|
222
|
-
latestPriceAmount
|
|
223
|
-
collectionId
|
|
224
|
-
collectionOriginalUrls
|
|
225
|
-
collectionTitle
|
|
226
|
-
assetId
|
|
227
|
-
totalVolumes {
|
|
228
|
-
currency
|
|
229
|
-
amount
|
|
230
|
-
}
|
|
231
|
-
blockchain
|
|
232
|
-
address
|
|
233
|
-
tokenId
|
|
234
|
-
name
|
|
235
|
-
description
|
|
236
|
-
rank
|
|
237
|
-
markets {
|
|
238
|
-
marketId
|
|
239
|
-
marketName
|
|
240
|
-
marketDomain
|
|
241
|
-
marketUrl
|
|
242
|
-
}
|
|
243
|
-
collectionMedias {
|
|
244
|
-
originalUrl
|
|
245
|
-
url
|
|
246
|
-
previewUrl
|
|
247
|
-
mimeType
|
|
248
|
-
sizeRatio
|
|
249
|
-
fileSize
|
|
250
|
-
}
|
|
251
|
-
originalUrls
|
|
252
|
-
medias {
|
|
253
|
-
originalUrl
|
|
254
|
-
url
|
|
255
|
-
mimeType
|
|
256
|
-
sizeRatio
|
|
257
|
-
fileSize
|
|
258
|
-
previewUrl
|
|
259
|
-
}
|
|
260
|
-
ownersAddresses
|
|
261
|
-
ownersProfiles {
|
|
262
|
-
userId
|
|
263
|
-
username
|
|
264
|
-
about
|
|
265
|
-
userpic
|
|
266
|
-
followers
|
|
267
|
-
followings
|
|
268
|
-
visible
|
|
269
|
-
}
|
|
270
|
-
creatorsAddresses
|
|
271
|
-
creatorsProfiles {
|
|
272
|
-
userId
|
|
273
|
-
username
|
|
274
|
-
about
|
|
275
|
-
userpic
|
|
276
|
-
followers
|
|
277
|
-
followings
|
|
278
|
-
visible
|
|
279
|
-
}
|
|
280
|
-
attributes {
|
|
281
|
-
name
|
|
282
|
-
value
|
|
283
|
-
}
|
|
284
|
-
views
|
|
285
|
-
visible
|
|
286
|
-
blurred
|
|
287
|
-
medias {
|
|
288
|
-
originalUrl
|
|
289
|
-
url
|
|
290
|
-
previewUrl
|
|
291
|
-
mimeType
|
|
292
|
-
}
|
|
293
|
-
creatorsProfiles {
|
|
294
|
-
username
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
`;
|
|
299
|
-
/**
|
|
300
|
-
* __useFetchAssetsQuery__
|
|
301
|
-
*
|
|
302
|
-
* To run a query within a React component, call `useFetchAssetsQuery` and pass it any options that fit your needs.
|
|
303
|
-
* When your component renders, `useFetchAssetsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
304
|
-
* you can use to render your UI.
|
|
305
|
-
*
|
|
306
|
-
* @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;
|
|
307
|
-
*
|
|
308
|
-
* @example
|
|
309
|
-
* const { data, loading, error } = useFetchAssetsQuery({
|
|
310
|
-
* variables: {
|
|
311
|
-
* assetIds: // value for 'assetIds'
|
|
312
|
-
* },
|
|
313
|
-
* });
|
|
314
|
-
*/
|
|
315
|
-
function useFetchAssetsQuery(baseOptions) {
|
|
316
|
-
return Apollo.useQuery(exports.FetchAssetsDocument, baseOptions);
|
|
317
|
-
}
|
|
318
|
-
exports.useFetchAssetsQuery = useFetchAssetsQuery;
|
|
319
|
-
function useFetchAssetsLazyQuery(baseOptions) {
|
|
320
|
-
return Apollo.useLazyQuery(exports.FetchAssetsDocument, baseOptions);
|
|
321
|
-
}
|
|
322
|
-
exports.useFetchAssetsLazyQuery = useFetchAssetsLazyQuery;
|
|
323
|
-
exports.FetchCollectionDocument = (0, client_1.gql) `
|
|
324
|
-
query fetchCollection($collectionId: String!) {
|
|
325
|
-
fetchCollection(collectionId: $collectionId) {
|
|
326
|
-
collectionId
|
|
327
|
-
blockchain
|
|
328
|
-
identifier
|
|
329
|
-
contractAddress
|
|
330
|
-
tokenId
|
|
331
|
-
blockHeight
|
|
332
|
-
blockTimestamp
|
|
333
|
-
collectionTitle
|
|
334
|
-
collectionUrl
|
|
335
|
-
items
|
|
336
|
-
owners
|
|
337
|
-
totalVolumes {
|
|
338
|
-
currency
|
|
339
|
-
amount
|
|
340
|
-
}
|
|
341
|
-
likes
|
|
342
|
-
liked
|
|
343
|
-
collectionMarkets {
|
|
344
|
-
marketId
|
|
345
|
-
marketName
|
|
346
|
-
marketDomain
|
|
347
|
-
marketUrl
|
|
348
|
-
}
|
|
349
|
-
creatorsAddresses
|
|
350
|
-
creatorsProfiles {
|
|
351
|
-
username
|
|
352
|
-
userpic
|
|
353
|
-
}
|
|
354
|
-
verified
|
|
355
|
-
originalUrls
|
|
356
|
-
rank
|
|
357
|
-
nsfw
|
|
358
|
-
medias {
|
|
359
|
-
originalUrl
|
|
360
|
-
url
|
|
361
|
-
mimeType
|
|
362
|
-
sizeRatio
|
|
363
|
-
fileSize
|
|
364
|
-
}
|
|
365
|
-
floorPrices {
|
|
366
|
-
currency
|
|
367
|
-
amount
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
`;
|
|
372
|
-
/**
|
|
373
|
-
* __useFetchCollectionQuery__
|
|
374
|
-
*
|
|
375
|
-
* To run a query within a React component, call `useFetchCollectionQuery` and pass it any options that fit your needs.
|
|
376
|
-
* When your component renders, `useFetchCollectionQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
377
|
-
* you can use to render your UI.
|
|
378
|
-
*
|
|
379
|
-
* @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;
|
|
380
|
-
*
|
|
381
|
-
* @example
|
|
382
|
-
* const { data, loading, error } = useFetchCollectionQuery({
|
|
383
|
-
* variables: {
|
|
384
|
-
* collectionId: // value for 'collectionId'
|
|
385
|
-
* },
|
|
386
|
-
* });
|
|
387
|
-
*/
|
|
388
|
-
function useFetchCollectionQuery(baseOptions) {
|
|
389
|
-
return Apollo.useQuery(exports.FetchCollectionDocument, baseOptions);
|
|
390
|
-
}
|
|
391
|
-
exports.useFetchCollectionQuery = useFetchCollectionQuery;
|
|
392
|
-
function useFetchCollectionLazyQuery(baseOptions) {
|
|
393
|
-
return Apollo.useLazyQuery(exports.FetchCollectionDocument, baseOptions);
|
|
394
|
-
}
|
|
395
|
-
exports.useFetchCollectionLazyQuery = useFetchCollectionLazyQuery;
|
|
396
|
-
exports.FindCollectionsDocument = (0, client_1.gql) `
|
|
397
|
-
query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
|
|
398
|
-
findCollections(term: $term, input: $input, page: $page) {
|
|
399
|
-
collections {
|
|
400
|
-
collectionId
|
|
401
|
-
collectionTitle
|
|
402
|
-
blockchain
|
|
403
|
-
tokenId
|
|
404
|
-
likes
|
|
405
|
-
liked
|
|
406
|
-
medias {
|
|
407
|
-
originalUrl
|
|
408
|
-
url
|
|
409
|
-
previewUrl
|
|
410
|
-
mimeType
|
|
411
|
-
sizeRatio
|
|
412
|
-
fileSize
|
|
413
|
-
}
|
|
414
|
-
rank
|
|
415
|
-
}
|
|
416
|
-
nextPage {
|
|
417
|
-
token
|
|
418
|
-
num
|
|
419
|
-
size
|
|
420
|
-
elements
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
`;
|
|
425
|
-
/**
|
|
426
|
-
* __useFindCollectionsQuery__
|
|
427
|
-
*
|
|
428
|
-
* To run a query within a React component, call `useFindCollectionsQuery` and pass it any options that fit your needs.
|
|
429
|
-
* When your component renders, `useFindCollectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
430
|
-
* you can use to render your UI.
|
|
431
|
-
*
|
|
432
|
-
* @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;
|
|
433
|
-
*
|
|
434
|
-
* @example
|
|
435
|
-
* const { data, loading, error } = useFindCollectionsQuery({
|
|
436
|
-
* variables: {
|
|
437
|
-
* term: // value for 'term'
|
|
438
|
-
* input: // value for 'input'
|
|
439
|
-
* page: // value for 'page'
|
|
440
|
-
* },
|
|
441
|
-
* });
|
|
442
|
-
*/
|
|
443
|
-
function useFindCollectionsQuery(baseOptions) {
|
|
444
|
-
return Apollo.useQuery(exports.FindCollectionsDocument, baseOptions);
|
|
445
|
-
}
|
|
446
|
-
exports.useFindCollectionsQuery = useFindCollectionsQuery;
|
|
447
|
-
function useFindCollectionsLazyQuery(baseOptions) {
|
|
448
|
-
return Apollo.useLazyQuery(exports.FindCollectionsDocument, baseOptions);
|
|
449
|
-
}
|
|
450
|
-
exports.useFindCollectionsLazyQuery = useFindCollectionsLazyQuery;
|
|
451
|
-
exports.FetchCollectionsByIdsDocument = (0, client_1.gql) `
|
|
452
|
-
query FetchCollectionsByIds($collectionIds: [String!]!) {
|
|
453
|
-
fetchCollectionsByIds(collectionIds: $collectionIds) {
|
|
454
|
-
collectionId
|
|
455
|
-
blockchain
|
|
456
|
-
identifier
|
|
457
|
-
contractAddress
|
|
458
|
-
tokenId
|
|
459
|
-
blockHeight
|
|
460
|
-
blockTimestamp
|
|
461
|
-
collectionTitle
|
|
462
|
-
collectionUrl
|
|
463
|
-
items
|
|
464
|
-
owners
|
|
465
|
-
totalVolumes {
|
|
466
|
-
currency
|
|
467
|
-
amount
|
|
468
|
-
}
|
|
469
|
-
likes
|
|
470
|
-
liked
|
|
471
|
-
collectionMarkets {
|
|
472
|
-
marketId
|
|
473
|
-
marketName
|
|
474
|
-
marketDomain
|
|
475
|
-
marketUrl
|
|
476
|
-
}
|
|
477
|
-
creatorsAddresses
|
|
478
|
-
creatorsProfiles {
|
|
479
|
-
username
|
|
480
|
-
userpic
|
|
481
|
-
}
|
|
482
|
-
verified
|
|
483
|
-
originalUrls
|
|
484
|
-
rank
|
|
485
|
-
nsfw
|
|
486
|
-
medias {
|
|
487
|
-
originalUrl
|
|
488
|
-
url
|
|
489
|
-
mimeType
|
|
490
|
-
sizeRatio
|
|
491
|
-
fileSize
|
|
492
|
-
}
|
|
493
|
-
floorPrices {
|
|
494
|
-
currency
|
|
495
|
-
amount
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
`;
|
|
500
|
-
/**
|
|
501
|
-
* __useFetchCollectionsByIdsQuery__
|
|
502
|
-
*
|
|
503
|
-
* To run a query within a React component, call `useFetchCollectionsByIdsQuery` and pass it any options that fit your needs.
|
|
504
|
-
* When your component renders, `useFetchCollectionsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
505
|
-
* you can use to render your UI.
|
|
506
|
-
*
|
|
507
|
-
* @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;
|
|
508
|
-
*
|
|
509
|
-
* @example
|
|
510
|
-
* const { data, loading, error } = useFetchCollectionsByIdsQuery({
|
|
511
|
-
* variables: {
|
|
512
|
-
* collectionIds: // value for 'collectionIds'
|
|
513
|
-
* },
|
|
514
|
-
* });
|
|
515
|
-
*/
|
|
516
|
-
function useFetchCollectionsByIdsQuery(baseOptions) {
|
|
517
|
-
return Apollo.useQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
518
|
-
}
|
|
519
|
-
exports.useFetchCollectionsByIdsQuery = useFetchCollectionsByIdsQuery;
|
|
520
|
-
function useFetchCollectionsByIdsLazyQuery(baseOptions) {
|
|
521
|
-
return Apollo.useLazyQuery(exports.FetchCollectionsByIdsDocument, baseOptions);
|
|
522
|
-
}
|
|
523
|
-
exports.useFetchCollectionsByIdsLazyQuery = useFetchCollectionsByIdsLazyQuery;
|
|
524
|
-
exports.FetchCreationsByTypeDocument = (0, client_1.gql) `
|
|
525
|
-
query FetchCreationsByType($itemType: String!, $page: PageInput) {
|
|
526
|
-
fetchCreationsByType(itemType: $itemType, page: $page) {
|
|
527
|
-
nextPage {
|
|
528
|
-
token
|
|
529
|
-
num
|
|
530
|
-
size
|
|
531
|
-
elements
|
|
532
|
-
}
|
|
533
|
-
creations {
|
|
534
|
-
id
|
|
535
|
-
itemType
|
|
536
|
-
itemId
|
|
537
|
-
blockchain
|
|
538
|
-
rank
|
|
539
|
-
liked
|
|
540
|
-
likes
|
|
541
|
-
address
|
|
542
|
-
tokenId
|
|
543
|
-
name
|
|
544
|
-
creatorsAddresses
|
|
545
|
-
originalUrls
|
|
546
|
-
media
|
|
547
|
-
mediaPreview
|
|
548
|
-
mimeType
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
`;
|
|
553
|
-
/**
|
|
554
|
-
* __useFetchCreationsByTypeQuery__
|
|
555
|
-
*
|
|
556
|
-
* To run a query within a React component, call `useFetchCreationsByTypeQuery` and pass it any options that fit your needs.
|
|
557
|
-
* When your component renders, `useFetchCreationsByTypeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
558
|
-
* you can use to render your UI.
|
|
559
|
-
*
|
|
560
|
-
* @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;
|
|
561
|
-
*
|
|
562
|
-
* @example
|
|
563
|
-
* const { data, loading, error } = useFetchCreationsByTypeQuery({
|
|
564
|
-
* variables: {
|
|
565
|
-
* itemType: // value for 'itemType'
|
|
566
|
-
* page: // value for 'page'
|
|
567
|
-
* },
|
|
568
|
-
* });
|
|
569
|
-
*/
|
|
570
|
-
function useFetchCreationsByTypeQuery(baseOptions) {
|
|
571
|
-
return Apollo.useQuery(exports.FetchCreationsByTypeDocument, baseOptions);
|
|
572
|
-
}
|
|
573
|
-
exports.useFetchCreationsByTypeQuery = useFetchCreationsByTypeQuery;
|
|
574
|
-
function useFetchCreationsByTypeLazyQuery(baseOptions) {
|
|
575
|
-
return Apollo.useLazyQuery(exports.FetchCreationsByTypeDocument, baseOptions);
|
|
576
|
-
}
|
|
577
|
-
exports.useFetchCreationsByTypeLazyQuery = useFetchCreationsByTypeLazyQuery;
|
|
578
|
-
exports.FetchDynamicAssetLikesDocument = (0, client_1.gql) `
|
|
579
|
-
query FetchDynamicAssetLikes($assetId: String!) {
|
|
580
|
-
fetchDynamicAssetData(assetId: $assetId) {
|
|
581
|
-
isLikedByUser
|
|
582
|
-
likesNum
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
`;
|
|
586
|
-
/**
|
|
587
|
-
* __useFetchDynamicAssetLikesQuery__
|
|
588
|
-
*
|
|
589
|
-
* To run a query within a React component, call `useFetchDynamicAssetLikesQuery` and pass it any options that fit your needs.
|
|
590
|
-
* When your component renders, `useFetchDynamicAssetLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
591
|
-
* you can use to render your UI.
|
|
592
|
-
*
|
|
593
|
-
* @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;
|
|
594
|
-
*
|
|
595
|
-
* @example
|
|
596
|
-
* const { data, loading, error } = useFetchDynamicAssetLikesQuery({
|
|
597
|
-
* variables: {
|
|
598
|
-
* assetId: // value for 'assetId'
|
|
599
|
-
* },
|
|
600
|
-
* });
|
|
601
|
-
*/
|
|
602
|
-
function useFetchDynamicAssetLikesQuery(baseOptions) {
|
|
603
|
-
return Apollo.useQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
604
|
-
}
|
|
605
|
-
exports.useFetchDynamicAssetLikesQuery = useFetchDynamicAssetLikesQuery;
|
|
606
|
-
function useFetchDynamicAssetLikesLazyQuery(baseOptions) {
|
|
607
|
-
return Apollo.useLazyQuery(exports.FetchDynamicAssetLikesDocument, baseOptions);
|
|
608
|
-
}
|
|
609
|
-
exports.useFetchDynamicAssetLikesLazyQuery = useFetchDynamicAssetLikesLazyQuery;
|
|
610
|
-
exports.FetchDynamicAssetsLikesDocument = (0, client_1.gql) `
|
|
611
|
-
query FetchDynamicAssetsLikes($assetIds: [String!]!) {
|
|
612
|
-
fetchDynamicAssetsData(assetIds: $assetIds) {
|
|
613
|
-
isLikedByUser
|
|
614
|
-
likesNum
|
|
615
|
-
assetId
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
`;
|
|
619
|
-
/**
|
|
620
|
-
* __useFetchDynamicAssetsLikesQuery__
|
|
621
|
-
*
|
|
622
|
-
* To run a query within a React component, call `useFetchDynamicAssetsLikesQuery` and pass it any options that fit your needs.
|
|
623
|
-
* When your component renders, `useFetchDynamicAssetsLikesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
624
|
-
* you can use to render your UI.
|
|
625
|
-
*
|
|
626
|
-
* @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;
|
|
627
|
-
*
|
|
628
|
-
* @example
|
|
629
|
-
* const { data, loading, error } = useFetchDynamicAssetsLikesQuery({
|
|
630
|
-
* variables: {
|
|
631
|
-
* assetIds: // value for 'assetIds'
|
|
632
|
-
* },
|
|
633
|
-
* });
|
|
634
|
-
*/
|
|
635
|
-
function useFetchDynamicAssetsLikesQuery(baseOptions) {
|
|
636
|
-
return Apollo.useQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
637
|
-
}
|
|
638
|
-
exports.useFetchDynamicAssetsLikesQuery = useFetchDynamicAssetsLikesQuery;
|
|
639
|
-
function useFetchDynamicAssetsLikesLazyQuery(baseOptions) {
|
|
640
|
-
return Apollo.useLazyQuery(exports.FetchDynamicAssetsLikesDocument, baseOptions);
|
|
641
|
-
}
|
|
642
|
-
exports.useFetchDynamicAssetsLikesLazyQuery = useFetchDynamicAssetsLikesLazyQuery;
|
|
643
|
-
exports.FetchDynamicCollectionDataDocument = (0, client_1.gql) `
|
|
644
|
-
query FetchDynamicCollectionData($input: DynamicCollectionDataInput!) {
|
|
645
|
-
fetchDynamicCollectionData(input: $input) {
|
|
646
|
-
isLikedByUser
|
|
647
|
-
likesNum
|
|
648
|
-
collectionId
|
|
649
|
-
collectionAssetsPage {
|
|
650
|
-
nextPage {
|
|
651
|
-
token
|
|
652
|
-
num
|
|
653
|
-
size
|
|
654
|
-
elements
|
|
655
|
-
}
|
|
656
|
-
assets {
|
|
657
|
-
latestPriceCurrency
|
|
658
|
-
latestPriceAmount
|
|
659
|
-
collectionId
|
|
660
|
-
collectionOriginalUrls
|
|
661
|
-
collectionTitle
|
|
662
|
-
assetId
|
|
663
|
-
totalVolumes {
|
|
664
|
-
currency
|
|
665
|
-
amount
|
|
666
|
-
}
|
|
667
|
-
blockchain
|
|
668
|
-
address
|
|
669
|
-
tokenId
|
|
670
|
-
name
|
|
671
|
-
description
|
|
672
|
-
rank
|
|
673
|
-
markets {
|
|
674
|
-
marketId
|
|
675
|
-
marketName
|
|
676
|
-
marketDomain
|
|
677
|
-
marketUrl
|
|
678
|
-
}
|
|
679
|
-
collectionMedias {
|
|
680
|
-
originalUrl
|
|
681
|
-
url
|
|
682
|
-
previewUrl
|
|
683
|
-
mimeType
|
|
684
|
-
sizeRatio
|
|
685
|
-
fileSize
|
|
686
|
-
}
|
|
687
|
-
originalUrls
|
|
688
|
-
medias {
|
|
689
|
-
originalUrl
|
|
690
|
-
url
|
|
691
|
-
mimeType
|
|
692
|
-
sizeRatio
|
|
693
|
-
fileSize
|
|
694
|
-
previewUrl
|
|
695
|
-
}
|
|
696
|
-
ownersAddresses
|
|
697
|
-
ownersProfiles {
|
|
698
|
-
userId
|
|
699
|
-
username
|
|
700
|
-
about
|
|
701
|
-
userpic
|
|
702
|
-
followers
|
|
703
|
-
followings
|
|
704
|
-
visible
|
|
705
|
-
}
|
|
706
|
-
creatorsAddresses
|
|
707
|
-
creatorsProfiles {
|
|
708
|
-
userId
|
|
709
|
-
username
|
|
710
|
-
about
|
|
711
|
-
userpic
|
|
712
|
-
followers
|
|
713
|
-
followings
|
|
714
|
-
visible
|
|
715
|
-
}
|
|
716
|
-
attributes {
|
|
717
|
-
name
|
|
718
|
-
value
|
|
719
|
-
}
|
|
720
|
-
views
|
|
721
|
-
visible
|
|
722
|
-
blurred
|
|
723
|
-
medias {
|
|
724
|
-
originalUrl
|
|
725
|
-
url
|
|
726
|
-
previewUrl
|
|
727
|
-
mimeType
|
|
728
|
-
}
|
|
729
|
-
creatorsProfiles {
|
|
730
|
-
username
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
`;
|
|
737
|
-
/**
|
|
738
|
-
* __useFetchDynamicCollectionDataQuery__
|
|
739
|
-
*
|
|
740
|
-
* To run a query within a React component, call `useFetchDynamicCollectionDataQuery` and pass it any options that fit your needs.
|
|
741
|
-
* When your component renders, `useFetchDynamicCollectionDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
742
|
-
* you can use to render your UI.
|
|
743
|
-
*
|
|
744
|
-
* @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;
|
|
745
|
-
*
|
|
746
|
-
* @example
|
|
747
|
-
* const { data, loading, error } = useFetchDynamicCollectionDataQuery({
|
|
748
|
-
* variables: {
|
|
749
|
-
* input: // value for 'input'
|
|
750
|
-
* },
|
|
751
|
-
* });
|
|
752
|
-
*/
|
|
753
|
-
function useFetchDynamicCollectionDataQuery(baseOptions) {
|
|
754
|
-
return Apollo.useQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
755
|
-
}
|
|
756
|
-
exports.useFetchDynamicCollectionDataQuery = useFetchDynamicCollectionDataQuery;
|
|
757
|
-
function useFetchDynamicCollectionDataLazyQuery(baseOptions) {
|
|
758
|
-
return Apollo.useLazyQuery(exports.FetchDynamicCollectionDataDocument, baseOptions);
|
|
759
|
-
}
|
|
760
|
-
exports.useFetchDynamicCollectionDataLazyQuery = useFetchDynamicCollectionDataLazyQuery;
|
|
761
|
-
exports.FetchDynamicCollectionsDataDocument = (0, client_1.gql) `
|
|
762
|
-
query FetchDynamicCollectionsData($input: [DynamicCollectionDataInput!]!) {
|
|
763
|
-
fetchDynamicCollectionsData(inputs: $input) {
|
|
764
|
-
isLikedByUser
|
|
765
|
-
likesNum
|
|
766
|
-
collectionId
|
|
767
|
-
collectionAssetsPage {
|
|
768
|
-
nextPage {
|
|
769
|
-
token
|
|
770
|
-
num
|
|
771
|
-
size
|
|
772
|
-
elements
|
|
773
|
-
}
|
|
774
|
-
assets {
|
|
775
|
-
latestPriceCurrency
|
|
776
|
-
latestPriceAmount
|
|
777
|
-
collectionId
|
|
778
|
-
collectionOriginalUrls
|
|
779
|
-
collectionTitle
|
|
780
|
-
assetId
|
|
781
|
-
totalVolumes {
|
|
782
|
-
currency
|
|
783
|
-
amount
|
|
784
|
-
}
|
|
785
|
-
blockchain
|
|
786
|
-
address
|
|
787
|
-
tokenId
|
|
788
|
-
name
|
|
789
|
-
description
|
|
790
|
-
rank
|
|
791
|
-
markets {
|
|
792
|
-
marketId
|
|
793
|
-
marketName
|
|
794
|
-
marketDomain
|
|
795
|
-
marketUrl
|
|
796
|
-
}
|
|
797
|
-
collectionMedias {
|
|
798
|
-
originalUrl
|
|
799
|
-
url
|
|
800
|
-
previewUrl
|
|
801
|
-
mimeType
|
|
802
|
-
sizeRatio
|
|
803
|
-
fileSize
|
|
804
|
-
}
|
|
805
|
-
originalUrls
|
|
806
|
-
medias {
|
|
807
|
-
originalUrl
|
|
808
|
-
url
|
|
809
|
-
mimeType
|
|
810
|
-
sizeRatio
|
|
811
|
-
fileSize
|
|
812
|
-
previewUrl
|
|
813
|
-
}
|
|
814
|
-
ownersAddresses
|
|
815
|
-
ownersProfiles {
|
|
816
|
-
userId
|
|
817
|
-
username
|
|
818
|
-
about
|
|
819
|
-
userpic
|
|
820
|
-
followers
|
|
821
|
-
followings
|
|
822
|
-
visible
|
|
823
|
-
}
|
|
824
|
-
creatorsAddresses
|
|
825
|
-
creatorsProfiles {
|
|
826
|
-
userId
|
|
827
|
-
username
|
|
828
|
-
about
|
|
829
|
-
userpic
|
|
830
|
-
followers
|
|
831
|
-
followings
|
|
832
|
-
visible
|
|
833
|
-
}
|
|
834
|
-
attributes {
|
|
835
|
-
name
|
|
836
|
-
value
|
|
837
|
-
}
|
|
838
|
-
views
|
|
839
|
-
visible
|
|
840
|
-
blurred
|
|
841
|
-
medias {
|
|
842
|
-
originalUrl
|
|
843
|
-
url
|
|
844
|
-
previewUrl
|
|
845
|
-
mimeType
|
|
846
|
-
}
|
|
847
|
-
creatorsProfiles {
|
|
848
|
-
username
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
`;
|
|
855
|
-
/**
|
|
856
|
-
* __useFetchDynamicCollectionsDataQuery__
|
|
857
|
-
*
|
|
858
|
-
* To run a query within a React component, call `useFetchDynamicCollectionsDataQuery` and pass it any options that fit your needs.
|
|
859
|
-
* When your component renders, `useFetchDynamicCollectionsDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
860
|
-
* you can use to render your UI.
|
|
861
|
-
*
|
|
862
|
-
* @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;
|
|
863
|
-
*
|
|
864
|
-
* @example
|
|
865
|
-
* const { data, loading, error } = useFetchDynamicCollectionsDataQuery({
|
|
866
|
-
* variables: {
|
|
867
|
-
* input: // value for 'input'
|
|
868
|
-
* },
|
|
869
|
-
* });
|
|
870
|
-
*/
|
|
871
|
-
function useFetchDynamicCollectionsDataQuery(baseOptions) {
|
|
872
|
-
return Apollo.useQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
873
|
-
}
|
|
874
|
-
exports.useFetchDynamicCollectionsDataQuery = useFetchDynamicCollectionsDataQuery;
|
|
875
|
-
function useFetchDynamicCollectionsDataLazyQuery(baseOptions) {
|
|
876
|
-
return Apollo.useLazyQuery(exports.FetchDynamicCollectionsDataDocument, baseOptions);
|
|
877
|
-
}
|
|
878
|
-
exports.useFetchDynamicCollectionsDataLazyQuery = useFetchDynamicCollectionsDataLazyQuery;
|
|
879
|
-
exports.FindAllTopEntitiesByNameDocument = (0, client_1.gql) `
|
|
880
|
-
query FindAllTopEntitiesByName($name: String!, $pageSize: Int!) {
|
|
881
|
-
findAllTopEntitiesByName(name: $name, pageSize: $pageSize) {
|
|
882
|
-
assets {
|
|
883
|
-
assetId
|
|
884
|
-
address
|
|
885
|
-
tokenId
|
|
886
|
-
blockchain
|
|
887
|
-
chainId
|
|
888
|
-
blockHeight
|
|
889
|
-
blockTimestamp
|
|
890
|
-
name
|
|
891
|
-
description
|
|
892
|
-
originalUrls
|
|
893
|
-
medias {
|
|
894
|
-
originalUrl
|
|
895
|
-
url
|
|
896
|
-
previewUrl
|
|
897
|
-
mimeType
|
|
898
|
-
sizeRatio
|
|
899
|
-
fileSize
|
|
900
|
-
nsfw
|
|
901
|
-
}
|
|
902
|
-
ownersAddresses
|
|
903
|
-
ownersProfiles {
|
|
904
|
-
userId
|
|
905
|
-
username
|
|
906
|
-
about
|
|
907
|
-
userpic
|
|
908
|
-
followers
|
|
909
|
-
followings
|
|
910
|
-
createdAt
|
|
911
|
-
deletedAt
|
|
912
|
-
visible
|
|
913
|
-
views
|
|
914
|
-
deleted
|
|
915
|
-
}
|
|
916
|
-
creatorsAddresses
|
|
917
|
-
creatorsProfiles {
|
|
918
|
-
userId
|
|
919
|
-
username
|
|
920
|
-
about
|
|
921
|
-
userpic
|
|
922
|
-
followers
|
|
923
|
-
followings
|
|
924
|
-
createdAt
|
|
925
|
-
deletedAt
|
|
926
|
-
visible
|
|
927
|
-
views
|
|
928
|
-
deleted
|
|
929
|
-
}
|
|
930
|
-
attributes {
|
|
931
|
-
name
|
|
932
|
-
value
|
|
933
|
-
}
|
|
934
|
-
likes
|
|
935
|
-
views
|
|
936
|
-
visible
|
|
937
|
-
blurred
|
|
938
|
-
rank
|
|
939
|
-
rankRaw
|
|
940
|
-
rankMax
|
|
941
|
-
rankUpdatedAt
|
|
942
|
-
}
|
|
943
|
-
collections {
|
|
944
|
-
collectionId
|
|
945
|
-
blockchain
|
|
946
|
-
identifier
|
|
947
|
-
contractAddress
|
|
948
|
-
tokenId
|
|
949
|
-
collectionTitle
|
|
950
|
-
totalVolumes {
|
|
951
|
-
currency
|
|
952
|
-
amount
|
|
953
|
-
}
|
|
954
|
-
likes
|
|
955
|
-
liked
|
|
956
|
-
verified
|
|
957
|
-
rank
|
|
958
|
-
floorPrices {
|
|
959
|
-
currency
|
|
960
|
-
amount
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
profiles {
|
|
964
|
-
userId
|
|
965
|
-
username
|
|
966
|
-
about
|
|
967
|
-
userpic
|
|
968
|
-
followers
|
|
969
|
-
followings
|
|
970
|
-
createdAt
|
|
971
|
-
deletedAt
|
|
972
|
-
visible
|
|
973
|
-
views
|
|
974
|
-
deleted
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
`;
|
|
979
|
-
/**
|
|
980
|
-
* __useFindAllTopEntitiesByNameQuery__
|
|
981
|
-
*
|
|
982
|
-
* To run a query within a React component, call `useFindAllTopEntitiesByNameQuery` and pass it any options that fit your needs.
|
|
983
|
-
* When your component renders, `useFindAllTopEntitiesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
984
|
-
* you can use to render your UI.
|
|
985
|
-
*
|
|
986
|
-
* @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;
|
|
987
|
-
*
|
|
988
|
-
* @example
|
|
989
|
-
* const { data, loading, error } = useFindAllTopEntitiesByNameQuery({
|
|
990
|
-
* variables: {
|
|
991
|
-
* name: // value for 'name'
|
|
992
|
-
* pageSize: // value for 'pageSize'
|
|
993
|
-
* },
|
|
994
|
-
* });
|
|
995
|
-
*/
|
|
996
|
-
function useFindAllTopEntitiesByNameQuery(baseOptions) {
|
|
997
|
-
return Apollo.useQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
|
|
998
|
-
}
|
|
999
|
-
exports.useFindAllTopEntitiesByNameQuery = useFindAllTopEntitiesByNameQuery;
|
|
1000
|
-
function useFindAllTopEntitiesByNameLazyQuery(baseOptions) {
|
|
1001
|
-
return Apollo.useLazyQuery(exports.FindAllTopEntitiesByNameDocument, baseOptions);
|
|
1002
|
-
}
|
|
1003
|
-
exports.useFindAllTopEntitiesByNameLazyQuery = useFindAllTopEntitiesByNameLazyQuery;
|
|
1004
|
-
exports.FetchUserPortfolioDocument = (0, client_1.gql) `
|
|
1005
|
-
query FetchUserPortfolio($ownerId: String!) {
|
|
1006
|
-
fetchUserPortfolio(ownerId: $ownerId) {
|
|
1007
|
-
currency
|
|
1008
|
-
amount
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
`;
|
|
1012
|
-
/**
|
|
1013
|
-
* __useFetchUserPortfolioQuery__
|
|
1014
|
-
*
|
|
1015
|
-
* To run a query within a React component, call `useFetchUserPortfolioQuery` and pass it any options that fit your needs.
|
|
1016
|
-
* When your component renders, `useFetchUserPortfolioQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1017
|
-
* you can use to render your UI.
|
|
1018
|
-
*
|
|
1019
|
-
* @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;
|
|
1020
|
-
*
|
|
1021
|
-
* @example
|
|
1022
|
-
* const { data, loading, error } = useFetchUserPortfolioQuery({
|
|
1023
|
-
* variables: {
|
|
1024
|
-
* ownerId: // value for 'ownerId'
|
|
1025
|
-
* },
|
|
1026
|
-
* });
|
|
1027
|
-
*/
|
|
1028
|
-
function useFetchUserPortfolioQuery(baseOptions) {
|
|
1029
|
-
return Apollo.useQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
1030
|
-
}
|
|
1031
|
-
exports.useFetchUserPortfolioQuery = useFetchUserPortfolioQuery;
|
|
1032
|
-
function useFetchUserPortfolioLazyQuery(baseOptions) {
|
|
1033
|
-
return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
1034
|
-
}
|
|
1035
|
-
exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
|
|
1036
|
-
exports.FindCreationsDocument = (0, client_1.gql) `
|
|
1037
|
-
query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
1038
|
-
findCreations(term: $term, input: $input, page: $page) {
|
|
1039
|
-
nextPage {
|
|
1040
|
-
token
|
|
1041
|
-
num
|
|
1042
|
-
size
|
|
1043
|
-
elements
|
|
1044
|
-
}
|
|
1045
|
-
creations {
|
|
1046
|
-
id
|
|
1047
|
-
itemType
|
|
1048
|
-
address
|
|
1049
|
-
tokenId
|
|
1050
|
-
itemId
|
|
1051
|
-
blockchain
|
|
1052
|
-
name
|
|
1053
|
-
creatorsAddresses
|
|
1054
|
-
originalUrls
|
|
1055
|
-
media
|
|
1056
|
-
mediaPreview
|
|
1057
|
-
mimeType
|
|
1058
|
-
rank
|
|
1059
|
-
likes
|
|
1060
|
-
liked
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
`;
|
|
1065
|
-
/**
|
|
1066
|
-
* __useFindCreationsQuery__
|
|
1067
|
-
*
|
|
1068
|
-
* To run a query within a React component, call `useFindCreationsQuery` and pass it any options that fit your needs.
|
|
1069
|
-
* When your component renders, `useFindCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1070
|
-
* you can use to render your UI.
|
|
1071
|
-
*
|
|
1072
|
-
* @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;
|
|
1073
|
-
*
|
|
1074
|
-
* @example
|
|
1075
|
-
* const { data, loading, error } = useFindCreationsQuery({
|
|
1076
|
-
* variables: {
|
|
1077
|
-
* term: // value for 'term'
|
|
1078
|
-
* input: // value for 'input'
|
|
1079
|
-
* page: // value for 'page'
|
|
1080
|
-
* },
|
|
1081
|
-
* });
|
|
1082
|
-
*/
|
|
1083
|
-
function useFindCreationsQuery(baseOptions) {
|
|
1084
|
-
return Apollo.useQuery(exports.FindCreationsDocument, baseOptions);
|
|
1085
|
-
}
|
|
1086
|
-
exports.useFindCreationsQuery = useFindCreationsQuery;
|
|
1087
|
-
function useFindCreationsLazyQuery(baseOptions) {
|
|
1088
|
-
return Apollo.useLazyQuery(exports.FindCreationsDocument, baseOptions);
|
|
1089
|
-
}
|
|
1090
|
-
exports.useFindCreationsLazyQuery = useFindCreationsLazyQuery;
|
|
1091
|
-
exports.FindProfilesByNameDocument = (0, client_1.gql) `
|
|
1092
|
-
query FindProfilesByName($name: String!, $page: PageInput) {
|
|
1093
|
-
findProfilesByName(name: $name, page: $page) {
|
|
1094
|
-
nextPage {
|
|
1095
|
-
token
|
|
1096
|
-
num
|
|
1097
|
-
size
|
|
1098
|
-
elements
|
|
1099
|
-
}
|
|
1100
|
-
profiles {
|
|
1101
|
-
userId
|
|
1102
|
-
username
|
|
1103
|
-
about
|
|
1104
|
-
userpic
|
|
1105
|
-
followers
|
|
1106
|
-
followings
|
|
1107
|
-
visible
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
`;
|
|
1112
|
-
/**
|
|
1113
|
-
* __useFindProfilesByNameQuery__
|
|
1114
|
-
*
|
|
1115
|
-
* To run a query within a React component, call `useFindProfilesByNameQuery` and pass it any options that fit your needs.
|
|
1116
|
-
* When your component renders, `useFindProfilesByNameQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1117
|
-
* you can use to render your UI.
|
|
1118
|
-
*
|
|
1119
|
-
* @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;
|
|
1120
|
-
*
|
|
1121
|
-
* @example
|
|
1122
|
-
* const { data, loading, error } = useFindProfilesByNameQuery({
|
|
1123
|
-
* variables: {
|
|
1124
|
-
* name: // value for 'name'
|
|
1125
|
-
* page: // value for 'page'
|
|
1126
|
-
* },
|
|
1127
|
-
* });
|
|
1128
|
-
*/
|
|
1129
|
-
function useFindProfilesByNameQuery(baseOptions) {
|
|
1130
|
-
return Apollo.useQuery(exports.FindProfilesByNameDocument, baseOptions);
|
|
1131
|
-
}
|
|
1132
|
-
exports.useFindProfilesByNameQuery = useFindProfilesByNameQuery;
|
|
1133
|
-
function useFindProfilesByNameLazyQuery(baseOptions) {
|
|
1134
|
-
return Apollo.useLazyQuery(exports.FindProfilesByNameDocument, baseOptions);
|
|
1135
|
-
}
|
|
1136
|
-
exports.useFindProfilesByNameLazyQuery = useFindProfilesByNameLazyQuery;
|
|
1137
|
-
exports.FindUserCreationsDocument = (0, client_1.gql) `
|
|
1138
|
-
query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
1139
|
-
findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
|
|
1140
|
-
nextPage {
|
|
1141
|
-
token
|
|
1142
|
-
num
|
|
1143
|
-
size
|
|
1144
|
-
elements
|
|
1145
|
-
}
|
|
1146
|
-
creations {
|
|
1147
|
-
id
|
|
1148
|
-
id
|
|
1149
|
-
itemType
|
|
1150
|
-
tokenId
|
|
1151
|
-
address
|
|
1152
|
-
itemId
|
|
1153
|
-
blockchain
|
|
1154
|
-
rank
|
|
1155
|
-
name
|
|
1156
|
-
creatorsAddresses
|
|
1157
|
-
originalUrls
|
|
1158
|
-
media
|
|
1159
|
-
mediaPreview
|
|
1160
|
-
mimeType
|
|
1161
|
-
likes
|
|
1162
|
-
}
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
`;
|
|
1166
|
-
/**
|
|
1167
|
-
* __useFindUserCreationsQuery__
|
|
1168
|
-
*
|
|
1169
|
-
* To run a query within a React component, call `useFindUserCreationsQuery` and pass it any options that fit your needs.
|
|
1170
|
-
* When your component renders, `useFindUserCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1171
|
-
* you can use to render your UI.
|
|
1172
|
-
*
|
|
1173
|
-
* @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;
|
|
1174
|
-
*
|
|
1175
|
-
* @example
|
|
1176
|
-
* const { data, loading, error } = useFindUserCreationsQuery({
|
|
1177
|
-
* variables: {
|
|
1178
|
-
* ownerId: // value for 'ownerId'
|
|
1179
|
-
* input: // value for 'input'
|
|
1180
|
-
* page: // value for 'page'
|
|
1181
|
-
* },
|
|
1182
|
-
* });
|
|
1183
|
-
*/
|
|
1184
|
-
function useFindUserCreationsQuery(baseOptions) {
|
|
1185
|
-
return Apollo.useQuery(exports.FindUserCreationsDocument, baseOptions);
|
|
1186
|
-
}
|
|
1187
|
-
exports.useFindUserCreationsQuery = useFindUserCreationsQuery;
|
|
1188
|
-
function useFindUserCreationsLazyQuery(baseOptions) {
|
|
1189
|
-
return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
|
|
1190
|
-
}
|
|
1191
|
-
exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
|