@ludo.ninja/api 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -2325,6 +2325,8 @@ export type IUserWallet = {
2325
2325
  export type IUserXp = {
2326
2326
  xps: Scalars['Int'];
2327
2327
  level: Scalars['Int'];
2328
+ levelMinXps: Scalars['Int'];
2329
+ levelMaxXps: Scalars['Int'];
2328
2330
  };
2329
2331
 
2330
2332
  export type IWallet = {
@@ -1,1288 +0,0 @@
1
- directive @Min(value: Int! = 0, message: String = "%s") on ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION
2
-
3
- directive @NotBlank(message: String = "graphql.validation.NotBlank.message") on ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION
4
-
5
- directive @Range(min: Int, max: Int, message: String) on ARGUMENT_DEFINITION
6
-
7
- type Address {
8
- creators: [Wallet]
9
- owners: [Wallet]
10
- associateAddresses: [Wallet]
11
- }
12
-
13
- type Asset {
14
- address: String
15
- assetId: String!
16
- assetOrder: Int
17
- attributes: [Attribute]
18
- blockHeight: Long
19
- blockTimestamp: Long
20
- blockchain: String
21
- blurred: Boolean
22
- category: String
23
- chainId: String
24
- collectionId: String
25
- collectionMedias: [Media]
26
- collectionOriginalUrls: [String]
27
- collectionTitle: String
28
- collectionUrl: String
29
- createdAt: Long
30
- creatorsAddresses: [String]
31
- creatorsProfiles: [Profile]
32
- description: String
33
- galleries: Galleries
34
- lastSoldAt: String
35
- latestPriceAmount: Float
36
- latestPriceBlockHeight: Long
37
- latestPriceCurrency: String
38
- liked: Boolean
39
- likes: Int
40
- listedAt: String
41
- markets: [AssetMarket]
42
- mediaUrls: [String]
43
- medias: [Media]
44
- mintedAt: String
45
- name: String
46
- originalUrls: [String]
47
- ownersAddresses: [String]
48
- ownersProfiles: [Profile]
49
- price: Float
50
- rank: Float
51
- rankMax: Float
52
- rankRaw: Float
53
- rankUpdatedAt: Float
54
- score: String
55
- supply: String
56
- symbol: String
57
- tags: [String]
58
- tokenId: String
59
- totalVolumes: [CurrencyAmountPair]
60
- traits: [Trait]
61
- type: String
62
- url: String
63
- views: Int
64
- visible: Boolean
65
- }
66
-
67
- type AssetData {
68
- assetId: String!
69
- rank: Float
70
- }
71
-
72
- type AssetGallery {
73
- galleryId: ID!
74
- galleryName: String!
75
- }
76
-
77
- type AssetMarket {
78
- marketId: String
79
- marketName: String
80
- marketDomain: String
81
- marketUrl: String
82
- }
83
-
84
- type AssetModeration {
85
- assetId: String!
86
- status: String
87
- category: String
88
- locationsToShow: [String]
89
- blurred: Boolean
90
- adult: Boolean
91
- lockedFrom: Long
92
- lockedTo: Long
93
- deletedOn: Long
94
- address: String
95
- tokenId: String
96
- blockchain: String
97
- chainId: String
98
- blockHeight: Long
99
- blockTimestamp: Long
100
- name: String
101
- description: String
102
- originalUrls: [String]
103
- medias: [Media]
104
- ownersProfiles: [Profile]
105
- ownersAddresses: [String]
106
- creatorsProfiles: [Profile]
107
- creatorsAddresses: [String]
108
- attributes: [Attribute]
109
- likes: Int
110
- views: Int
111
- rank: Float
112
- }
113
-
114
- input AssetModerationFilter {
115
- itemName: String
116
- address: String
117
- addressVariety: [SelectionInput]
118
- status: [SelectionInput]
119
- place: [SelectionInput]
120
- category: [SelectionInput]
121
- blockchain: [SelectionInput]
122
- sort: SelectionInput!
123
- dateFrom: String
124
- dateTo: String
125
- }
126
-
127
- type AssetModerationsPage {
128
- assetModerations: [AssetModeration]
129
- nextPageToken: String
130
- }
131
-
132
- type AssetPage {
133
- assets: [Asset]!
134
- nextPageToken: String
135
- }
136
-
137
- type AssetReport {
138
- reportId: ID!
139
- type: String
140
- status: String
141
- issuerProfile: Profile
142
- issuerAddresses: [String]
143
- reason: String
144
- link: String
145
- reportedAt: Long
146
- entityStatus: String
147
- locationsToShow: [String]
148
- blurred: Boolean
149
- adult: Boolean
150
- lockedFrom: Long
151
- lockedTo: Long
152
- deletedOn: Long
153
- category: String
154
- assetId: String
155
- address: String
156
- tokenId: String
157
- blockchain: String
158
- chainId: String
159
- blockHeight: Long
160
- blockTimestamp: Long
161
- name: String
162
- description: String
163
- originalUrls: [String]
164
- medias: [Media]
165
- ownersProfiles: [Profile]
166
- ownersAddresses: String
167
- creatorsProfiles: [Profile]
168
- creatorsAddresses: String
169
- attributes: [Attribute]
170
- likes: Int
171
- views: Int
172
- rank: Float
173
- }
174
-
175
- input AssetReportFilter {
176
- name: String
177
- address: String
178
- varietyOfAddress: [SelectionInput]
179
- status: [SelectionInput]
180
- reason: [SelectionInput]
181
- blockchain: [SelectionInput]
182
- category: [SelectionInput]
183
- rate: SelectionInput
184
- sort: SelectionInput!
185
- dateFrom: String
186
- dateTo: String
187
- }
188
-
189
- input AssetReportRestriction {
190
- reportId: ID!
191
- locationsToShow: [String]!
192
- blurred: Boolean!
193
- }
194
-
195
- type AssetReportsPage {
196
- assetReports: [AssetReport]
197
- nextPageToken: String
198
- }
199
-
200
- type AssetsPage {
201
- assets: [Asset]!
202
- nextPageToken: String
203
- }
204
-
205
- type Attribute {
206
- name: String
207
- value: String
208
- }
209
-
210
- type BannerAsset {
211
- assetId: String!
212
- blurred: Boolean
213
- media: String!
214
- name: String
215
- visible: Boolean
216
- }
217
-
218
- type BannerAssetsPage {
219
- assets: [BannerAsset]
220
- nextPageToken: String
221
- }
222
-
223
- type Collection {
224
- blockchain: String
225
- collectionAssets: [CollectionAsset]
226
- collectionId: String
227
- collectionMarkets: [CollectionMarket]
228
- collectionTitle: String
229
- contractAddress: String
230
- creatorsAddresses: [String]
231
- creatorsProfiles: [Profile]
232
- floorPrices: [CurrencyAmountPair]
233
- identifier: String
234
- items: Int
235
- liked: Boolean
236
- likes: Int
237
- medias: [Media]
238
- nsfw: Int
239
- originalUrls: [String]
240
- owners: Int
241
- rank: Float
242
- tokenId: String
243
- totalVolumes: [CurrencyAmountPair]
244
- verified: Boolean
245
- }
246
-
247
- type CollectionAsset {
248
- address: String
249
- assetId: String
250
- attributes: [Attribute]
251
- blockHeight: Long
252
- blockchain: String
253
- blurred: Boolean
254
- chainId: String
255
- collectionId: String
256
- collectionMedias: [Media]
257
- collectionOriginalUrls: [String]
258
- collectionTitle: String
259
- createdAt: Long
260
- creatorsAddresses: [String]
261
- creatorsProfiles: [Profile]
262
- description: String
263
- liked: Boolean
264
- likes: Int
265
- medias: [Media]
266
- name: String
267
- originalUrls: [String]
268
- ownersAddresses: [String]
269
- ownersProfiles: [Profile]
270
- prices: [CurrencyAmountPair]
271
- rank: Float
272
- tokenId: String
273
- views: Int
274
- visible: Boolean
275
- }
276
-
277
- type CollectionAssetsPage {
278
- collectionAssets: [CollectionAsset]
279
- nextPageToken: String
280
- }
281
-
282
- type CollectionData {
283
- collectionId: String!
284
- title: String
285
- rank: Float
286
- createdAt: Long
287
- itemsNum: String
288
- holdersNum: String
289
- floorPrice: Float
290
- }
291
-
292
- input CollectionFilterInput {
293
- blockchain: String!
294
- category: String!
295
- time: String!
296
- status: String!
297
- }
298
-
299
- type CollectionMarket {
300
- marketId: String
301
- marketName: String
302
- marketDomain: String
303
- marketUrl: String
304
- }
305
-
306
- type CollectionPage {
307
- collections: [Collection]!
308
- nextPageToken: String
309
- results: Long
310
- }
311
-
312
- type CollectionsPage {
313
- collections: [Collection]
314
- nextPageToken: String
315
- }
316
-
317
- type Creation {
318
- address: String
319
- blockchain: String!
320
- creatorsAddresses: [String]
321
- id: String!
322
- itemId: String!
323
- itemType: String!
324
- liked: Boolean
325
- likes: Int
326
- media: String
327
- mediaPreview: String
328
- mimeType: String
329
- name: String
330
- originalUrls: [String]
331
- rank: Float
332
- tokenId: String
333
- }
334
-
335
- input CreationFilterInput {
336
- type: String!
337
- blockchain: String!
338
- category: String!
339
- time: String!
340
- status: String!
341
- }
342
-
343
- type CreationsPage {
344
- creations: [Creation]
345
- nextPageToken: String
346
- results: Long
347
- }
348
-
349
- type CurrencyAmountPair {
350
- currency: String
351
- amount: Float
352
- }
353
-
354
- type DynamicAssetData {
355
- isLikedByUser: Boolean
356
- likesNum: Int
357
- assetId: String
358
- }
359
-
360
- type DynamicCollectionData {
361
- isLikedByUser: Boolean
362
- likesNum: Int
363
- collectionAssetsPage: CollectionAssetsPage
364
- collectionId: String
365
- }
366
-
367
- input DynamicCollectionDataInput {
368
- collectionId: String!
369
- assetsPageSize: Int
370
- assetsPageToken: String
371
- }
372
-
373
- type Event {
374
- event: String
375
- price: Float
376
- to: Wallet
377
- from: Wallet
378
- }
379
-
380
- type Expectation {
381
- name: String!
382
- imageUrl: String!
383
- }
384
-
385
- type Factor {
386
- favorites: Long
387
- highestOffer: Float
388
- verified: Boolean
389
- }
390
-
391
- type Fee {
392
- service: Float
393
- royalties: Float
394
- extra: Float
395
- creators: Float
396
- }
397
-
398
- type Follower {
399
- userId: ID!
400
- username: String
401
- userpic: String
402
- following: Boolean
403
- }
404
-
405
- type Galleries {
406
- assetGalleries: [AssetGallery]!
407
- }
408
-
409
- type GalleriesPage {
410
- galleries: [Gallery]
411
- nextPageToken: String
412
- results: Long
413
- }
414
-
415
- type GalleriesPageV2 {
416
- galleries: [GalleryV2]
417
- nextPageToken: String
418
- results: Long
419
- }
420
-
421
- type Gallery {
422
- galleryId: ID!
423
- galleryType: String!
424
- name: String!
425
- description: String
426
- userId: ID!
427
- username: String
428
- userpic: String
429
- userWallets: [Wallet]
430
- banner: String
431
- createdAt: Long
432
- items: Int
433
- views: Int
434
- publiclyAccessible: Boolean
435
- nsfw: Int
436
- galleryCreations: [GalleryCreation]
437
- }
438
-
439
- type GalleryAsset {
440
- assetId: String!
441
- assetOrder: Int
442
- attributes: [Attribute]
443
- blurred: Boolean
444
- creatorAddress: String
445
- creatorName: String
446
- creatorUserId: String
447
- creatorsAddresses: [String]
448
- creatorsProfiles: [Profile]
449
- fileSize: Long
450
- galleryId: String
451
- galleryName: String
452
- likes: Int
453
- media: String
454
- mediaRatio: Float
455
- medias: [Media]
456
- mimeType: String
457
- name: String
458
- nsfw: Int
459
- originalMedia: String
460
- originalMediaPreview: String
461
- originalUrls: [String]
462
- ownersAddresses: [String]
463
- ownersProfiles: [Profile]
464
- views: Int
465
- visible: Boolean
466
- }
467
-
468
- input GalleryAssetInput {
469
- assetId: String!
470
- assetOrder: Int!
471
- }
472
-
473
- type GalleryCreation {
474
- galleryId: String!
475
- creationId: String!
476
- itemId: String
477
- itemType: String
478
- itemOrder: Int
479
- galleryName: String
480
- blockchain: String
481
- name: String
482
- address: String
483
- tokenId: String
484
- creatorsAddresses: [String]
485
- creatorsProfiles: [Profile]
486
- ownersAddresses: [String]
487
- ownersProfiles: [Profile]
488
- originalUrls: [String]
489
- media: String
490
- mediaPreview: String
491
- mimeType: String
492
- sizeRatio: Float
493
- fileSize: Long
494
- nsfw: Int
495
- likes: Int
496
- liked: Boolean
497
- views: Int
498
- visible: Boolean
499
- blurred: Boolean
500
- prices: [CurrencyAmountPair]
501
- }
502
-
503
- input GalleryCreationInput {
504
- creationId: String!
505
- itemOrder: Int!
506
- }
507
-
508
- type GalleryCreationsPage {
509
- galleryCreations: [GalleryCreation]!
510
- nextPageToken: String
511
- }
512
-
513
- type GalleryPage {
514
- galleries: [Gallery]!
515
- nextPageToken: String
516
- results: Long
517
- }
518
-
519
- input GalleryProfileFilterInput {
520
- blockchain: String!
521
- category: String!
522
- time: String!
523
- }
524
-
525
- type GalleryReport {
526
- reportId: ID!
527
- type: String
528
- status: String
529
- issuerId: String
530
- issuerName: String
531
- issuerAddresses: [String]
532
- offenderId: String
533
- offenderName: String
534
- offenderAddresses: [String]
535
- reason: String
536
- link: String
537
- reportedAt: Long
538
- entityStatus: String
539
- locationsToShow: [String]
540
- blurred: Boolean
541
- adult: Boolean
542
- lockedFrom: Long
543
- lockedTo: Long
544
- deletedOn: Long
545
- category: String
546
- galleryId: String
547
- name: String
548
- description: String
549
- customUrl: String
550
- userId: ID
551
- username: String
552
- userpic: String
553
- subscribes: Int
554
- items: Int
555
- galleryAssets: [GalleryAsset]
556
- }
557
-
558
- input GalleryReportFilter {
559
- name: String
560
- address: String
561
- varietyOfAddress: [SelectionInput]
562
- status: [SelectionInput]
563
- reason: [SelectionInput]
564
- category: [SelectionInput]
565
- rate: SelectionInput
566
- sort: SelectionInput!
567
- dateFrom: String
568
- dateTo: String
569
- }
570
-
571
- input GalleryReportRestriction {
572
- reportId: ID!
573
- locationsToShow: [String]!
574
- blurred: Boolean!
575
- }
576
-
577
- type GalleryReportsPage {
578
- galleryReports: [GalleryReport]
579
- nextPageToken: String
580
- }
581
-
582
- input GallerySearchFilterInput {
583
- blockchain: String!
584
- category: String!
585
- time: String!
586
- type: String!
587
- }
588
-
589
- type GalleryV2 {
590
- galleryId: ID!
591
- galleryType: String!
592
- name: String!
593
- description: String
594
- userId: ID!
595
- username: String
596
- userpic: String
597
- userWallets: [Wallet]
598
- banner: String
599
- createdAt: Long
600
- items: Int
601
- views: Int
602
- publiclyAccessible: Boolean
603
- nsfw: Int
604
- creationIds: [String]
605
- }
606
-
607
- type History {
608
- offers: [Offer]
609
- events: [Event]
610
- }
611
-
612
- type Identity {
613
- userId: ID!
614
- wallets: [String]!
615
- authToken: String!
616
- refreshToken: String!
617
- newUser: Boolean!
618
- inviteCode: String
619
- }
620
-
621
- input InputProfile {
622
- username: String
623
- about: String
624
- social: InputSocial
625
- showNsfw: Boolean
626
- }
627
-
628
- input InputSocial {
629
- facebook: String
630
- twitter: String
631
- instagram: String
632
- website: String
633
- }
634
-
635
- type Interest {
636
- name: String!
637
- imageUrl: String!
638
- }
639
-
640
- type Login {
641
- userId: ID
642
- loggedTime: Long
643
- ip: String
644
- location: String
645
- }
646
-
647
- type LoginsPage {
648
- logins: [Login]
649
- nextPageToken: String
650
- }
651
-
652
- scalar Long
653
-
654
- type Market {
655
- marketId: String!
656
- tokenId: String
657
- address: String
658
- blockchain: String
659
- factors: Factor
660
- asset: Asset
661
- addresses: Address
662
- histories: History
663
- marketData: MarketData
664
- fees: Fee
665
- }
666
-
667
- type MarketData {
668
- marketName: String
669
- marketUpdatedAt: String
670
- domain: String
671
- }
672
-
673
- type MarketsPage {
674
- markets: [Market]
675
- nextPageToken: String
676
- }
677
-
678
- type Media {
679
- assetId: String
680
- blockchain: String
681
- fileSize: Long
682
- mimeType: String
683
- nsfw: Int
684
- originalMime: String
685
- originalUrl: String
686
- originalUrlHash: String
687
- previewUrl: String
688
- sizeRatio: Float
689
- url: String
690
- }
691
-
692
- type Mutation {
693
- addAssetsToGallery(galleryId: ID!, assetIds: [String!]!): Boolean!
694
- addAssetsToGalleryV2(galleryId: ID!, assetIds: [String!]!): Boolean!
695
- addCollectionsToGallery(galleryId: ID!, collectionIds: [String!]!): Boolean!
696
- addCollectionsToGalleryV2(galleryId: ID!, collectionIds: [String!]!): Boolean!
697
- addCreationsToGallery(galleryId: ID!, creationIds: [String!]!): Boolean!
698
- addCreationsToGalleryV2(galleryId: ID!, creationIds: [String!]!): Boolean!
699
- addWalletBitcoin(signature: String!, address: String!): Boolean!
700
- addWalletElrond(signature: String!, address: String!): Boolean!
701
- addWalletFlow(signature: String!, address: String!): Boolean!
702
- addWalletMetamask(signature: String!, address: String!, chainId: String): Boolean!
703
- addWalletNear(signature: String!, address: String!): Boolean!
704
- addWalletSolana(signature: String!, pubkey: String!): Boolean!
705
- addWalletTerra(signature: String!, address: String!): Boolean!
706
- addWalletTezos(signature: String!, pubkey: String!): Boolean!
707
- addWalletWalletConnect(signature: String!, address: String!): Boolean!
708
- approveAsset(assetId: String!): Boolean!
709
- approveAssets(assetIds: [String]!): Boolean!
710
- approveUser(userId: ID!): Boolean!
711
- approveUsers(userIds: [String]!): Boolean!
712
- blockUser(userId: ID!, lockedFrom: String, lockedTo: String, forever: Boolean!): Boolean!
713
- blockUsers(input: [UpdateUserModeration]!): Boolean!
714
- createFavoriteListV2(name: String!, description: String, publicAccessible: Boolean, creationIds: [String]): ID!
715
- createFavorites(name: String!, description: String, publicAccessible: Boolean, creationIds: [String]): ID!
716
- createGallery(name: String!, description: String, publicAccessible: Boolean, creationIds: [String]): ID!
717
- createGalleryV2(name: String!, description: String, publicAccessible: Boolean, creationIds: [String]): ID!
718
- createNonce(address: String!, blockchain: String!, chainId: String): String!
719
- createOpportunity(input: OpportunityInput!): Boolean!
720
- deleteGallery(galleryId: ID!): Boolean!
721
- deleteGalleryBanner(galleryId: ID!): Boolean!
722
- deleteIdentity(deleteReason: String!, comment: String): Boolean!
723
- deleteUserpic: Boolean!
724
- dislikeAsset(assetId: String!): Boolean!
725
- dislikeCollection(collectionId: String!): Boolean!
726
- editGallery(galleryId: ID!, name: String, description: String, customUrl: String): Boolean!
727
- followProfile(followingUserId: ID!): Boolean!
728
- generateNewInviteCodes(codesNum: Int!): [UserInviteCode!]!
729
- hideAsset(assetId: String!, blurred: Boolean!, locationsToHide: [String]!): Boolean!
730
- hideAssets(input: [UpdateAssetModeration]!): Boolean!
731
- hideBannerAsset(id: String!): Boolean!
732
- hideShowcaseAsset(id: String!): Boolean!
733
- likeAsset(assetId: String!): Boolean!
734
- likeCollection(collectionId: String!): Boolean!
735
- openOpportunity(opportunityId: ID!): Boolean!
736
- refreshToken(refreshToken: String!): TokenPair!
737
- rejectAssetReport(reportId: ID!): Boolean!
738
- rejectAssetReports(reportIds: [ID]!): Boolean!
739
- rejectGalleryReport(reportId: ID!): Boolean!
740
- rejectGalleryReports(reportIds: [ID]!): Boolean!
741
- rejectUserReport(reportId: ID!): Boolean!
742
- rejectUserReports(reportIds: [ID]!): Boolean!
743
- removeAssetFromGallery(galleryId: ID!, creationId: String!): Boolean!
744
- removeAssetFromGalleryV2(galleryId: ID!, assetId: String!): Boolean!
745
- removeCollectionFromGallery(galleryId: ID!, creationId: String!): Boolean!
746
- removeCollectionFromGalleryV2(galleryId: ID!, collectionId: String!): Boolean!
747
- removeCreationFromGallery(galleryId: ID!, creationId: String!): Boolean!
748
- removeCreationFromGalleryV2(galleryId: ID!, creationId: String!): Boolean!
749
- reportAsset(assetId: String!, reason: SelectionInput!): Boolean!
750
- reportGallery(galleryId: String!, reason: SelectionInput!): Boolean!
751
- reportUser(userId: ID!, reason: SelectionInput!): Boolean!
752
- restrictAsset(reportId: ID!, locationsToShow: [String]!, blurred: Boolean!): Boolean!
753
- restrictAssets(input: [AssetReportRestriction]!): Boolean!
754
- restrictGalleries(input: [GalleryReportRestriction]!): Boolean!
755
- restrictGallery(reportId: ID!, locationsToShow: [String]!, blurred: Boolean!): Boolean!
756
- restrictUser(reportId: ID!, lockedFrom: String, lockedTo: String, forever: Boolean!): Boolean!
757
- restrictUsers(input: [UserReportRestriction]!): Boolean!
758
- revokeToken: Boolean!
759
- saveUserExpectations(expectations: [String]!): Boolean!
760
- saveUserInterests(interests: [String]!): Boolean!
761
- saveUserOffers(offers: [String]!): Boolean!
762
- setDummy: String!
763
- showAsset(assetId: String!): Boolean!
764
- showBannerAsset(id: String!): Boolean!
765
- showShowcaseAsset(id: String!): Boolean!
766
- signInAdminMetamask(signature: String!, address: String!, chainId: String): Identity!
767
- signInBitcoin(signature: String!, address: String!, restore: Boolean): Identity!
768
- signInElrond(signature: String!, address: String!, restore: Boolean): Identity!
769
- signInFlow(signature: String!, address: String!, restore: Boolean): Identity!
770
- signInMetamask(signature: String!, address: String!, chainId: String, restore: Boolean): Identity!
771
- signInNear(signature: String!, address: String!, restore: Boolean): Identity!
772
- signInSolana(signature: String!, pubkey: String!, restore: Boolean): Identity!
773
- signInTerra(signature: String!, address: String!, restore: Boolean): Identity!
774
- signInTezos(signature: String!, pubkey: String!, restore: Boolean): Identity!
775
- signInWalletConnect(signature: String!, address: String!, restore: Boolean): Identity!
776
- submitAsset(address: String!): Boolean!
777
- subscribeGallery(galleryId: ID!): Int!
778
- unfollowProfile(followingUserId: ID!): Boolean!
779
- unsubscribeGallery(galleryId: ID!): Int!
780
- updateProfile(profile: InputProfile): Boolean!
781
- uploadGalleryBanner(galleryId: ID!, file: Upload!): String!
782
- uploadUserpic(file: Upload!): String!
783
- useInviteCode(inviteCode: String!): Boolean!
784
- }
785
-
786
- type NFTData {
787
- blockchain: String!
788
- contractAddress: String
789
- tokenId: String
790
- elrondId: String
791
- collectionData: CollectionData
792
- assetData: AssetData
793
- userRank: Float
794
- }
795
-
796
- type Offer {
797
- floorDifference: Float
798
- from: Wallet
799
- image: String!
800
- name: String!
801
- price: Float
802
- status: String
803
- }
804
-
805
- type Opportunity {
806
- opportunityId: ID
807
- name: String
808
- description: String
809
- startedAt: Long
810
- endedAt: Long
811
- createdAt: Long
812
- tags: [String]
813
- category: String
814
- media: String
815
- links: [String]
816
- ludoRankRequired: Boolean
817
- ludoRankRequiredMin: Int
818
- ludoRankRequiredMax: Int
819
- rewardType: String
820
- creatorId: String
821
- creatorWallet: String
822
- status: String
823
- }
824
-
825
- input OpportunityInput {
826
- name: String!
827
- description: String!
828
- startedAt: Long!
829
- endedAt: Long!
830
- tags: [String]
831
- category: String
832
- links: [String]
833
- ludoRankRequired: Boolean
834
- ludoRankRequiredMax: Int
835
- ludoRankRequiredMin: Int
836
- rewardType: String
837
- creatorWallet: String
838
- status: String
839
- }
840
-
841
- type OpportunityPage {
842
- currentOpportunities: [Opportunity]
843
- similarOpportunities: [Opportunity]
844
- }
845
-
846
- type Profile {
847
- about: String
848
- createdAt: Long
849
- deleted: Boolean
850
- deletedAt: Long
851
- followers: Int
852
- following: Boolean
853
- followings: Int
854
- profileId: String
855
- rank: Float
856
- showNsfw: Boolean
857
- social: Social
858
- userId: ID!
859
- username: String
860
- userpic: String
861
- views: Int
862
- visible: Boolean
863
- wallet: String
864
- wallets: [Wallet]
865
- website: String
866
- }
867
-
868
- type ProfilePage {
869
- nextPageToken: String
870
- profiles: [Profile]!
871
- results: Long
872
- }
873
-
874
- type Query {
875
- fetchAllAssets(pageSize: Int!, pageToken: String): AssetsPage!
876
- fetchAllBannerAssets(pageSize: Int!, pageToken: String): BannerAssetsPage!
877
- fetchAllCreations(pageSize: Int!, pageToken: String): CreationsPage!
878
- fetchAllMarkets(pageSize: Int!, pageToken: String): MarketsPage!
879
- fetchAllShowcaseAssets(pageSize: Int!, pageToken: String): ShowcaseAssetsPage!
880
- fetchAllShowcaseItems(pageSize: Int!, pageToken: String): ShowcaseItemsPage!
881
- fetchAsset(assetId: String!): Asset!
882
- fetchAssetByBlockchain(blockchain: String!, address: String, tokenId: String, elrondId: String): Asset!
883
- fetchAssetModeration(assetId: String!): AssetModeration!
884
- fetchAssetModerationStatuses: [Selection]!
885
- fetchAssetModerations(input: AssetModerationFilter!, pageSize: Int!, pageToken: String): AssetModerationsPage!
886
-
887
- """This query is not connected to the front"""
888
- fetchAssetNamesSuggestions(term: String!): [String]!
889
- fetchAssetReports(input: AssetReportFilter!, pageSize: Int!, pageToken: String): AssetReportsPage!
890
- fetchAssets(assetIds: [String!]!): [Asset]!
891
-
892
- """This query must be used on the first page"""
893
- fetchAssetsCount: Long!
894
- fetchBannerAssets(pageSize: Int!): [BannerAsset]!
895
- fetchBlockchainSelections: [Selection]!
896
- fetchCategorySelections: [Selection]!
897
- fetchCollection(collectionId: String!): Collection!
898
- fetchCollectionAssets(collectionId: String!, pageSize: Int!, pageToken: String): CollectionAssetsPage!
899
- fetchCollections(pageSize: Int!, pageToken: String): CollectionsPage!
900
- fetchCollectionsByIds(collectionIds: [String!]!): [Collection!]!
901
- fetchCreation(id: String!): Creation!
902
- fetchCreationsByType(itemType: String!, pageSize: Int!, pageToken: String): CreationsPage!
903
- fetchDynamicAssetData(assetId: String!): DynamicAssetData!
904
- fetchDynamicAssetsData(assetIds: [String!]!): [DynamicAssetData]!
905
- fetchDynamicCollectionData(input: DynamicCollectionDataInput!): DynamicCollectionData!
906
- fetchDynamicCollectionsData(input: [DynamicCollectionDataInput!]!): [DynamicCollectionData!]!
907
- fetchExpectations: [Expectation]!
908
- fetchFavorites(pageSize: Int!, pageToken: String): GalleriesPage!
909
- fetchFavoritesV2(pageSize: Int!, pageToken: String): GalleriesPageV2!
910
- fetchFollowers(userId: ID!): [Follower]!
911
- fetchFollowings(userId: ID!): [Follower]!
912
- fetchGalleries(pageSize: Int!, pageToken: String): GalleriesPage!
913
- fetchGalleriesV2(pageSize: Int!, pageToken: String): GalleriesPageV2!
914
- fetchGallery(galleryId: String!): Gallery!
915
- fetchGalleryAssets(galleryId: String!, pageSize: Int!, pageToken: String): AssetsPage!
916
- fetchGalleryCreations(galleryId: String!, pageSize: Int!, pageToken: String): GalleryCreationsPage!
917
- fetchGalleryReports(input: GalleryReportFilter!, pageSize: Int!, pageToken: String): GalleryReportsPage!
918
- fetchGalleryV2(galleryId: String!): GalleryV2!
919
- fetchInterests: [Interest]!
920
- fetchLiked(assetId: String!): Boolean!
921
- fetchLikes(assetId: String!): Int!
922
- fetchLogins(pageSize: Int!, pageToken: String): LoginsPage!
923
- fetchMarket(marketId: String!): Market!
924
- fetchMyExperienceV2: UserXP!
925
- fetchMyFavorites(pageSize: Int!, pageToken: String): GalleriesPage!
926
- fetchMyFavoritesV2(pageSize: Int!, pageToken: String): GalleriesPageV2!
927
- fetchMyGalleries(pageSize: Int!, pageToken: String): GalleriesPage!
928
- fetchMyGalleriesV2(pageSize: Int!, pageToken: String): GalleriesPageV2!
929
- fetchMyTasks: [Task]!
930
- fetchNFTData(blockchain: String!, contractAddress: String, tokenId: String, elrondId: String): NFTData!
931
- fetchOffers: [Offer]!
932
- fetchOpportunities(domain: String): OpportunityPage!
933
- fetchPlaceSelections: [Selection]!
934
- fetchProfile(userId: ID!): Profile!
935
- fetchProfileDeleteSelections: [Selection]!
936
- fetchRateSelections: [Selection]!
937
- fetchReportReasonSelections: [Selection]!
938
- fetchReportStatusSelections: [Selection]!
939
- fetchSearchResultBlockchainSelections: [Selection]!
940
- fetchSearchResultCategorySelections: [Selection]!
941
- fetchSearchResultStatusSelections: [Selection]!
942
- fetchSearchResultTimeSelections: [Selection]!
943
- fetchSearchResultTypeSelections: [Selection]!
944
- fetchSearchSortSelections: [Selection]!
945
- fetchSetsSearchResultTypeSelections: [Selection]!
946
- fetchShowcaseAssets(pageSize: Int!, pageToken: String): ShowcaseAssetsPage!
947
- fetchShowcaseItems(pageSize: Int!, pageToken: String): ShowcaseItemsPage!
948
- fetchSortSelections: [Selection]!
949
- fetchSubscribedGalleries(userId: ID!, pageSize: Int!, pageToken: String): GalleriesPage!
950
- fetchUserExpectations: [UserExpectation]!
951
- fetchUserFavorites(userId: ID!, pageSize: Int!, pageToken: String): GalleriesPage!
952
- fetchUserFavoritesV2(userId: ID!, pageSize: Int!, pageToken: String): GalleriesPageV2!
953
- fetchUserGalleries(pageSize: Int!, pageToken: String, userId: ID!): GalleriesPage!
954
- fetchUserGalleriesV2(pageSize: Int!, pageToken: String, userId: ID!): GalleriesPageV2!
955
- fetchUserInterests: [UserInterest]!
956
- fetchUserModeration(userId: ID!): UserModeration!
957
- fetchUserModerationStatuses: [Selection]!
958
- fetchUserModerations(input: UserModerationFilter!, pageSize: Int!, pageToken: String): UserModerationsPage!
959
- fetchUserOffers: [UserOffer]!
960
- fetchUserPortfolio(ownerId: String!): [CurrencyAmountPair]!
961
- fetchUserReports(input: UserReportFilter!, pageSize: Int!, pageToken: String): UserReportsPage!
962
- fetchUserWallets(userId: ID!): [Wallet]!
963
- fetchUserpic(userId: ID!): String
964
- fetchVarietyOfAddressSelections: [Selection]!
965
- fetchWalletSelections: [Selection]!
966
- fetchWallets: [Wallet]!
967
-
968
- """This query should be changed according to new design"""
969
- findAllAssetsByName(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
970
-
971
- """This query should be changed according to new design"""
972
- findAllAssetsByOwner(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
973
-
974
- """This query should be changed according to new design"""
975
- findAllAssetsByTerm(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
976
-
977
- """This query should be changed according to new design"""
978
- findAllGalleriesByName(input: SearchFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
979
-
980
- """This query should be changed according to new design"""
981
- findAllGalleriesByTerm(input: SearchFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
982
- findAllTopEntitiesByName(name: String!, pageSize: Int!): TopEntitiesPage!
983
- findAllTopEntitiesByTerm(pageSize: Int!, term: String!): TopEntitiesPage!
984
-
985
- """This query should be changed according to new design"""
986
- findAssetsByName(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
987
-
988
- """This query should be changed according to new design"""
989
- findAssetsByOwner(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
990
-
991
- """This query should be changed according to new design"""
992
- findAssetsByTerm(input: SearchFilterInput!, pageSize: Int!, pageToken: String): AssetPage!
993
- findCollections(term: String!, input: CollectionFilterInput!, pageSize: Int!, pageToken: String): CollectionPage!
994
-
995
- """This query should be changed according to new design"""
996
- findCollectionsByTitle(input: SearchFilterInput!, pageSize: Int!, pageToken: String): CollectionPage!
997
- findCreations(input: CreationFilterInput!, pageSize: Int!, pageToken: String, term: String!): CreationsPage!
998
-
999
- """This query should be changed according to new design"""
1000
- findGalleriesByName(input: SearchFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
1001
-
1002
- """This query should be changed according to new design"""
1003
- findGalleriesByTerm(input: SearchFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
1004
-
1005
- """This query should be changed according to new design"""
1006
- findProfilesByName(name: String!, pageSize: Int!, pageToken: String): ProfilePage!
1007
-
1008
- """This query should be changed according to new design"""
1009
- findProfilesByTerm(pageSize: Int!, pageToken: String, term: String!): ProfilePage!
1010
- findSets(term: String!, input: GallerySearchFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
1011
- findShowcaseItems(input: ShowcaseItemFilterInput!, pageSize: Int!, pageToken: String, term: String!): ShowcaseItemPage!
1012
-
1013
- """These queries are used for search suggestions"""
1014
- findTopEntitiesByName(name: String!, pageSize: Int!): TopEntitiesPage!
1015
- findTopEntitiesByTerm(pageSize: Int!, term: String!): TopEntitiesPage!
1016
- findUserCreations(input: CreationFilterInput!, ownerId: String!, pageSize: Int!, pageToken: String): CreationsPage!
1017
- findUserFavoriteLists(ownerId: String!, input: GalleryProfileFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
1018
- findUserGalleries(ownerId: String!, input: GalleryProfileFilterInput!, pageSize: Int!, pageToken: String): GalleryPage!
1019
- findUserShowcaseItems(input: ShowcaseItemFilterInput!, ownerId: String!, pageSize: Int!, pageToken: String): ShowcaseItemPage!
1020
- getDummy: String!
1021
- getMyInviteCodes: [UserInviteCode!]!
1022
- isValidAuthToken(authToken: String!): Boolean!
1023
- }
1024
-
1025
- input SearchFilterInput {
1026
- categories: [SelectionInput]
1027
- sort: SelectionInput!
1028
- word: String!
1029
- }
1030
-
1031
- type Selection {
1032
- name: String!
1033
- ordering: Int!
1034
- label: String!
1035
- }
1036
-
1037
- input SelectionInput {
1038
- id: String!
1039
- label: String
1040
- }
1041
-
1042
- type ShowcaseAsset {
1043
- assetId: String!
1044
- blockchain: String
1045
- blurred: Boolean
1046
- createdAt: Long
1047
- liked: Boolean
1048
- likes: Int
1049
- media: String
1050
- mediaPreview: String
1051
- mimeType: String
1052
- name: String
1053
- sizeRatio: Float
1054
- visible: Boolean
1055
- }
1056
-
1057
- type ShowcaseAssetsPage {
1058
- assets: [ShowcaseAsset]
1059
- nextPageToken: String
1060
- }
1061
-
1062
- type ShowcaseItem {
1063
- blockchain: String
1064
- blurred: Boolean
1065
- creatorsAddresses: [String]
1066
- creatorsProfiles: [Profile]
1067
- fileSize: Long
1068
- itemId: String!
1069
- itemType: String!
1070
- likes: Int
1071
- media: String
1072
- mediaPreview: String
1073
- mimeType: String
1074
- name: String
1075
- nsfw: Int
1076
- ownersAddresses: [String]
1077
- ownersProfiles: [Profile]
1078
- sizeRatio: Float
1079
- visible: Boolean
1080
- }
1081
-
1082
- input ShowcaseItemFilterInput {
1083
- blockchain: String!
1084
- category: String!
1085
- nsfw: Int
1086
- status: String!
1087
- time: String!
1088
- type: String!
1089
- }
1090
-
1091
- type ShowcaseItemPage {
1092
- nextPageToken: String
1093
- results: Long
1094
- showcaseItems: [ShowcaseItem]!
1095
- }
1096
-
1097
- type ShowcaseItemsPage {
1098
- showcaseItems: [ShowcaseItem]
1099
- nextPageToken: String
1100
- }
1101
-
1102
- type Social {
1103
- facebook: String
1104
- twitter: String
1105
- instagram: String
1106
- website: String
1107
- }
1108
-
1109
- type Subscription {
1110
- onMyExperienceUpdated(authToken: String!): UserXP!
1111
- }
1112
-
1113
- type Task {
1114
- taskId: ID
1115
- userId: ID
1116
- taskType: String
1117
- name: String
1118
- description: String
1119
- repeatable: Boolean
1120
- maxRepeats: Int
1121
- minPointsAward: Int
1122
- maxPointsAward: Int
1123
- repeatsCompleted: Int
1124
- }
1125
-
1126
- type TestResponse {
1127
- name: String
1128
- value: String
1129
- test: String
1130
- }
1131
-
1132
- type TokenPair {
1133
- userId: ID
1134
- tokenAuth: String
1135
- tokenRefresh: String
1136
- role: String
1137
- }
1138
-
1139
- type TopEntitiesPage {
1140
- assets: [Asset]!
1141
- collections: [Collection]!
1142
- profiles: [Profile]!
1143
- }
1144
-
1145
- type Trait {
1146
- name: String
1147
- value: String
1148
- rarity: Float
1149
- }
1150
-
1151
- input UpdateAssetModeration {
1152
- assetId: String!
1153
- locationsToHide: [String]!
1154
- blurred: Boolean!
1155
- }
1156
-
1157
- input UpdateUserModeration {
1158
- userId: ID!
1159
- lockedFrom: String
1160
- lockedTo: String
1161
- forever: Boolean!
1162
- }
1163
-
1164
- scalar Upload
1165
-
1166
- type UserExpectation {
1167
- userId: ID!
1168
- name: String!
1169
- imageUrl: String!
1170
- }
1171
-
1172
- type UserInterest {
1173
- userId: String!
1174
- name: String!
1175
- imageUrl: String!
1176
- percents: Int
1177
- }
1178
-
1179
- type UserInviteCode {
1180
- inviteCode: String!
1181
- inviteeId: ID
1182
- isUsed: Boolean!
1183
- usedAt: Long
1184
- }
1185
-
1186
- type UserModeration {
1187
- userId: ID!
1188
- status: String
1189
- createdAt: Long
1190
- lockedFrom: Long
1191
- lockedTo: Long
1192
- deletedOn: Long
1193
- username: String
1194
- website: String
1195
- about: String
1196
- userpic: String
1197
- profileLink: String
1198
- wallets: [UserWallet]
1199
- }
1200
-
1201
- input UserModerationFilter {
1202
- username: String
1203
- wallet: [SelectionInput]
1204
- status: [SelectionInput]
1205
- sort: SelectionInput!
1206
- dateFrom: String
1207
- dateTo: String
1208
- }
1209
-
1210
- type UserModerationsPage {
1211
- userModerations: [UserModeration]
1212
- nextPageToken: String
1213
- }
1214
-
1215
- type UserOffer {
1216
- userId: ID!
1217
- name: String!
1218
- }
1219
-
1220
- type UserReport {
1221
- reportId: ID!
1222
- type: String
1223
- status: String
1224
- issuerProfile: Profile
1225
- issuerAddresses: [String]
1226
- offenderProfile: Profile
1227
- offenderAddresses: [String]
1228
- reason: String
1229
- link: String
1230
- reportedAt: Long
1231
- entityStatus: String
1232
- lockedFrom: Long
1233
- lockedTo: Long
1234
- deletedOn: Long
1235
- username: String
1236
- website: String
1237
- about: String
1238
- userpic: String
1239
- createdAt: Long
1240
- profileLink: String
1241
- wallets: [UserWallet]
1242
- rank: Float
1243
- }
1244
-
1245
- input UserReportFilter {
1246
- name: String
1247
- address: String
1248
- status: [SelectionInput]
1249
- reason: [SelectionInput]
1250
- sort: SelectionInput!
1251
- dateFrom: String
1252
- dateTo: String
1253
- }
1254
-
1255
- input UserReportRestriction {
1256
- reportId: ID!
1257
- lockedFrom: String
1258
- lockedTo: String
1259
- forever: Boolean!
1260
- }
1261
-
1262
- type UserReportsPage {
1263
- userReports: [UserReport]
1264
- nextPageToken: String
1265
- }
1266
-
1267
- type UserWallet {
1268
- address: String
1269
- blockchain: String
1270
- chainId: String
1271
- userId: ID
1272
- walletName: String
1273
- }
1274
-
1275
- type UserXP {
1276
- xps: Int!
1277
- level: Int!
1278
- }
1279
-
1280
- type Wallet {
1281
- address: String!
1282
- blockchain: String!
1283
- chainId: String
1284
- name: String
1285
- url: String
1286
- userId: ID!
1287
- walletName: String!
1288
- }