@xoxno/types 1.0.73 → 1.0.75
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/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +5 -2
- package/dist/cosmos-db/documents/activity/nft-activity.doc.js +14 -7
- package/dist/cosmos-db/documents/collection/globalOffer.d.ts +1 -2
- package/dist/cosmos-db/documents/collection/globalOffer.js +0 -9
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +2 -2
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +1 -1
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-details.doc.js +20 -20
- package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-offer.doc.js +2 -2
- package/dist/cosmos-db/paginated-responses.d.ts +2 -2
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +5 -3
- package/dist/requests/nft-activity-data/nft-activity-data.js +4 -1
- package/dist/requests/nft-data/nft-doc.filter.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActivityChain } from '../../../common/enums';
|
|
2
2
|
import { NftActivityEventSource } from '../../../requests/nft-activity-data/event-source.enum';
|
|
3
|
-
import { NftActivityData } from '../../../requests/nft-activity-data/nft-activity-data';
|
|
3
|
+
import { NftActivityData, NftActivityDataHydrated } from '../../../requests/nft-activity-data/nft-activity-data';
|
|
4
4
|
import { NftActivityType } from '../../../requests/nft-activity-data/nft-activity-type.enum';
|
|
5
5
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
6
6
|
declare class NftActivityDocBase {
|
|
@@ -11,7 +11,6 @@ declare class NftActivityDocBase {
|
|
|
11
11
|
chain: ActivityChain;
|
|
12
12
|
source: NftActivityEventSource;
|
|
13
13
|
activityType: NftActivityType;
|
|
14
|
-
activityData: NftActivityData;
|
|
15
14
|
id: string;
|
|
16
15
|
pk: string;
|
|
17
16
|
_ts: number;
|
|
@@ -20,9 +19,13 @@ declare class NftActivityDocBase {
|
|
|
20
19
|
export declare class NftActivityDoc extends NftActivityDocBase {
|
|
21
20
|
from: string;
|
|
22
21
|
to: string;
|
|
22
|
+
activityData: NftActivityData;
|
|
23
|
+
constructor(data: Partial<NftActivityDoc>);
|
|
23
24
|
}
|
|
24
25
|
export declare class NftActivityDocHydrated extends NftActivityDocBase {
|
|
25
26
|
from: OwnerDto;
|
|
26
27
|
to: OwnerDto;
|
|
28
|
+
activityData: NftActivityDataHydrated;
|
|
29
|
+
constructor(data: Partial<NftActivityDoc>);
|
|
27
30
|
}
|
|
28
31
|
export {};
|
|
@@ -21,7 +21,6 @@ class NftActivityDocBase {
|
|
|
21
21
|
this.chain = enums_1.ActivityChain.MVX;
|
|
22
22
|
Object.assign(this, data);
|
|
23
23
|
this.id = (0, uuid_1.v4)();
|
|
24
|
-
this.pk = this.activityData.collection;
|
|
25
24
|
this.chain = this.chain || enums_1.ActivityChain.MVX;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -78,12 +77,6 @@ __decorate([
|
|
|
78
77
|
}),
|
|
79
78
|
__metadata("design:type", String)
|
|
80
79
|
], NftActivityDocBase.prototype, "activityType", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, swagger_1.ApiProperty)({
|
|
83
|
-
description: 'Activity data containing details about the NFT transaction or built-in operation',
|
|
84
|
-
}),
|
|
85
|
-
__metadata("design:type", nft_activity_data_1.NftActivityData)
|
|
86
|
-
], NftActivityDocBase.prototype, "activityData", void 0);
|
|
87
80
|
__decorate([
|
|
88
81
|
(0, swagger_1.ApiProperty)({
|
|
89
82
|
example: 'abc123-def456-ghi789',
|
|
@@ -106,6 +99,10 @@ __decorate([
|
|
|
106
99
|
__metadata("design:type", Number)
|
|
107
100
|
], NftActivityDocBase.prototype, "_ts", void 0);
|
|
108
101
|
class NftActivityDoc extends NftActivityDocBase {
|
|
102
|
+
constructor(data) {
|
|
103
|
+
super(data);
|
|
104
|
+
this.pk = this.activityData.collection;
|
|
105
|
+
}
|
|
109
106
|
}
|
|
110
107
|
exports.NftActivityDoc = NftActivityDoc;
|
|
111
108
|
__decorate([
|
|
@@ -122,6 +119,16 @@ __decorate([
|
|
|
122
119
|
}),
|
|
123
120
|
__metadata("design:type", String)
|
|
124
121
|
], NftActivityDoc.prototype, "to", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, swagger_1.ApiProperty)({
|
|
124
|
+
description: 'Activity data containing details about the NFT transaction or built-in operation',
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", nft_activity_data_1.NftActivityData)
|
|
127
|
+
], NftActivityDoc.prototype, "activityData", void 0);
|
|
125
128
|
class NftActivityDocHydrated extends NftActivityDocBase {
|
|
129
|
+
constructor(data) {
|
|
130
|
+
super(data);
|
|
131
|
+
this.pk = this.activityData.collection;
|
|
132
|
+
}
|
|
126
133
|
}
|
|
127
134
|
exports.NftActivityDocHydrated = NftActivityDocHydrated;
|
|
@@ -18,7 +18,6 @@ declare class GlobalOfferDocBase {
|
|
|
18
18
|
floorPriceMargin?: number;
|
|
19
19
|
floorPrice?: number;
|
|
20
20
|
isActive: boolean;
|
|
21
|
-
collectionInfo?: Partial<CollectionProfileDoc>;
|
|
22
21
|
chain: ActivityChain;
|
|
23
22
|
usdValue?: number;
|
|
24
23
|
id: string;
|
|
@@ -33,6 +32,6 @@ export declare class GlobalOfferDocHydrated extends GlobalOfferDocBase {
|
|
|
33
32
|
owner: OwnerDto;
|
|
34
33
|
floorPrice: number;
|
|
35
34
|
floorPriceMargin: number;
|
|
36
|
-
collectionInfo:
|
|
35
|
+
collectionInfo: CollectionProfileDoc;
|
|
37
36
|
}
|
|
38
37
|
export {};
|
|
@@ -14,7 +14,6 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const enums_1 = require("../../../common/enums");
|
|
15
15
|
const nft_metadata_attributes_1 = require("../token/nft-metadata-attributes");
|
|
16
16
|
const dataTypes_1 = require("./dataTypes");
|
|
17
|
-
const profile_1 = require("./profile");
|
|
18
17
|
class GlobalOfferDocBase {
|
|
19
18
|
constructor(props) {
|
|
20
19
|
this.dataType = dataTypes_1.CollectionDataType.GlobalOffer;
|
|
@@ -126,14 +125,6 @@ __decorate([
|
|
|
126
125
|
}),
|
|
127
126
|
__metadata("design:type", Boolean)
|
|
128
127
|
], GlobalOfferDocBase.prototype, "isActive", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, swagger_1.ApiProperty)({
|
|
131
|
-
description: 'Collection information (used on user profile offers)',
|
|
132
|
-
type: (0, swagger_1.PartialType)(profile_1.CollectionProfileDoc),
|
|
133
|
-
required: false,
|
|
134
|
-
}),
|
|
135
|
-
__metadata("design:type", Object)
|
|
136
|
-
], GlobalOfferDocBase.prototype, "collectionInfo", void 0);
|
|
137
128
|
__decorate([
|
|
138
129
|
(0, swagger_1.ApiProperty)({
|
|
139
130
|
description: 'Blockchain chain',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NftDocHydrated } from '../token/nft-details.doc';
|
|
2
2
|
import { StakingDataType } from '../../../entities/staking-data/staking-data-type.enum';
|
|
3
3
|
import { StakingIssuingTypeString } from '../../../entities/staking-data/staking-issuing-type-string.enum';
|
|
4
4
|
import { StakingPoolTypeString } from '../../../entities/staking-data/staking-pool-type-string.enum';
|
|
@@ -88,6 +88,6 @@ export declare class StakingSummary {
|
|
|
88
88
|
}
|
|
89
89
|
export declare class StakingUserPoolNfts {
|
|
90
90
|
poolInfo: StakingSummary;
|
|
91
|
-
nftDocs:
|
|
91
|
+
nftDocs: NftDocHydrated[];
|
|
92
92
|
count: number;
|
|
93
93
|
}
|
|
@@ -256,7 +256,7 @@ __decorate([
|
|
|
256
256
|
__metadata("design:type", StakingSummary)
|
|
257
257
|
], StakingUserPoolNfts.prototype, "poolInfo", void 0);
|
|
258
258
|
__decorate([
|
|
259
|
-
(0, swagger_1.ApiProperty)({ type: nft_details_doc_1.
|
|
259
|
+
(0, swagger_1.ApiProperty)({ type: nft_details_doc_1.NftDocHydrated, isArray: true }),
|
|
260
260
|
__metadata("design:type", Array)
|
|
261
261
|
], StakingUserPoolNfts.prototype, "nftDocs", void 0);
|
|
262
262
|
__decorate([
|
|
@@ -2,7 +2,7 @@ import { EventGuestProfile } from './event-guest.doc';
|
|
|
2
2
|
import { EventInvitation } from './event-invitation.doc';
|
|
3
3
|
import { EventScanStatus, EventScanMessage } from './event-scan-status.enum';
|
|
4
4
|
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
5
|
-
import {
|
|
5
|
+
import { NftDocHydrated } from '../token/nft-details.doc';
|
|
6
6
|
export declare enum EventTicketQrType {
|
|
7
7
|
BADGE = "badge",
|
|
8
8
|
OFFLINE = "offline",
|
|
@@ -21,7 +21,7 @@ export declare class TicketValidationResult {
|
|
|
21
21
|
message: EventScanMessage;
|
|
22
22
|
guest?: EventGuestProfile;
|
|
23
23
|
invitation?: EventInvitation;
|
|
24
|
-
nfts?:
|
|
24
|
+
nfts?: NftDocHydrated[];
|
|
25
25
|
availableTickets?: TicketSelection[];
|
|
26
26
|
}
|
|
27
27
|
export declare class QRBody {
|
|
@@ -105,7 +105,7 @@ __decorate([
|
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, swagger_1.ApiProperty)({
|
|
107
107
|
description: 'NFTs used for check in, if any',
|
|
108
|
-
type: [nft_details_doc_1.
|
|
108
|
+
type: [nft_details_doc_1.NftDocHydrated],
|
|
109
109
|
required: false,
|
|
110
110
|
}),
|
|
111
111
|
__metadata("design:type", Array)
|
|
@@ -62,16 +62,16 @@ export declare class ExtraProperties {
|
|
|
62
62
|
currentEpoch?: number;
|
|
63
63
|
level?: number;
|
|
64
64
|
}
|
|
65
|
-
export declare class
|
|
65
|
+
export declare class NftDocHydrated extends NftDocBase {
|
|
66
66
|
creator?: OwnerDto;
|
|
67
67
|
currentOwner?: OwnerDto;
|
|
68
68
|
owner?: OwnerDto;
|
|
69
69
|
saleInfo?: NftSaleInfoHydrated;
|
|
70
|
+
collectionInfo: CollectionProfileDoc;
|
|
70
71
|
balance?: number;
|
|
71
72
|
balanceLong?: string;
|
|
72
73
|
unboundDaysLeft?: number;
|
|
73
74
|
unboundEpoch?: number;
|
|
74
|
-
collectionInfo?: Partial<CollectionProfileDoc>;
|
|
75
75
|
extraProperties?: ExtraProperties;
|
|
76
76
|
}
|
|
77
77
|
export {};
|
|
@@ -9,12 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.NftDocHydrated = exports.ExtraProperties = exports.NftDoc = exports.NftMedia = exports.NFTEventData = void 0;
|
|
13
13
|
const token_data_enum_1 = require("./token-data.enum");
|
|
14
14
|
const nft_metadata_1 = require("./nft-metadata");
|
|
15
15
|
const nft_sale_info_1 = require("./nft-sale-info");
|
|
16
16
|
const enums_1 = require("../../../common/enums");
|
|
17
17
|
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const profile_1 = require("../collection/profile");
|
|
18
19
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
19
20
|
// Sale: Check Last Owner nfts from GuestDoc [1,2,3] -> 0 -> Delete GuestDoc > 0: Edit GuestDoc nftIds [1,2]
|
|
20
21
|
// New Owner: Get GuestDoc -> YES -> nfts insert new ID [0,3] -> NO -> Empty Guest Doc with nfts insert [3]
|
|
@@ -359,9 +360,9 @@ __decorate([
|
|
|
359
360
|
}),
|
|
360
361
|
__metadata("design:type", Number)
|
|
361
362
|
], ExtraProperties.prototype, "level", void 0);
|
|
362
|
-
class
|
|
363
|
+
class NftDocHydrated extends NftDocBase {
|
|
363
364
|
}
|
|
364
|
-
exports.
|
|
365
|
+
exports.NftDocHydrated = NftDocHydrated;
|
|
365
366
|
__decorate([
|
|
366
367
|
(0, swagger_1.ApiProperty)({
|
|
367
368
|
type: owner_dto_1.OwnerDto,
|
|
@@ -369,7 +370,7 @@ __decorate([
|
|
|
369
370
|
description: 'The creator of the NFT',
|
|
370
371
|
}),
|
|
371
372
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
372
|
-
],
|
|
373
|
+
], NftDocHydrated.prototype, "creator", void 0);
|
|
373
374
|
__decorate([
|
|
374
375
|
(0, swagger_1.ApiProperty)({
|
|
375
376
|
type: owner_dto_1.OwnerDto,
|
|
@@ -377,7 +378,7 @@ __decorate([
|
|
|
377
378
|
description: 'The current owner of the NFT',
|
|
378
379
|
}),
|
|
379
380
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
380
|
-
],
|
|
381
|
+
], NftDocHydrated.prototype, "currentOwner", void 0);
|
|
381
382
|
__decorate([
|
|
382
383
|
(0, swagger_1.ApiProperty)({
|
|
383
384
|
type: owner_dto_1.OwnerDto,
|
|
@@ -385,7 +386,7 @@ __decorate([
|
|
|
385
386
|
description: 'The owner of the NFT',
|
|
386
387
|
}),
|
|
387
388
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
388
|
-
],
|
|
389
|
+
], NftDocHydrated.prototype, "owner", void 0);
|
|
389
390
|
__decorate([
|
|
390
391
|
(0, swagger_1.ApiProperty)({
|
|
391
392
|
type: nft_sale_info_1.NftSaleInfoHydrated,
|
|
@@ -393,7 +394,14 @@ __decorate([
|
|
|
393
394
|
description: 'The sale info of the NFT',
|
|
394
395
|
}),
|
|
395
396
|
__metadata("design:type", nft_sale_info_1.NftSaleInfoHydrated)
|
|
396
|
-
],
|
|
397
|
+
], NftDocHydrated.prototype, "saleInfo", void 0);
|
|
398
|
+
__decorate([
|
|
399
|
+
(0, swagger_1.ApiProperty)({
|
|
400
|
+
type: profile_1.CollectionProfileDoc,
|
|
401
|
+
description: 'The extra information about the collection of this specific NFT',
|
|
402
|
+
}),
|
|
403
|
+
__metadata("design:type", profile_1.CollectionProfileDoc)
|
|
404
|
+
], NftDocHydrated.prototype, "collectionInfo", void 0);
|
|
397
405
|
__decorate([
|
|
398
406
|
(0, swagger_1.ApiProperty)({
|
|
399
407
|
type: Number,
|
|
@@ -401,7 +409,7 @@ __decorate([
|
|
|
401
409
|
description: 'Balance owned by the user',
|
|
402
410
|
}),
|
|
403
411
|
__metadata("design:type", Number)
|
|
404
|
-
],
|
|
412
|
+
], NftDocHydrated.prototype, "balance", void 0);
|
|
405
413
|
__decorate([
|
|
406
414
|
(0, swagger_1.ApiProperty)({
|
|
407
415
|
type: String,
|
|
@@ -409,7 +417,7 @@ __decorate([
|
|
|
409
417
|
description: 'Balance owned by the user as long string',
|
|
410
418
|
}),
|
|
411
419
|
__metadata("design:type", String)
|
|
412
|
-
],
|
|
420
|
+
], NftDocHydrated.prototype, "balanceLong", void 0);
|
|
413
421
|
__decorate([
|
|
414
422
|
(0, swagger_1.ApiProperty)({
|
|
415
423
|
type: Number,
|
|
@@ -417,7 +425,7 @@ __decorate([
|
|
|
417
425
|
description: 'Left days until the staked NFT can be claimed back',
|
|
418
426
|
}),
|
|
419
427
|
__metadata("design:type", Number)
|
|
420
|
-
],
|
|
428
|
+
], NftDocHydrated.prototype, "unboundDaysLeft", void 0);
|
|
421
429
|
__decorate([
|
|
422
430
|
(0, swagger_1.ApiProperty)({
|
|
423
431
|
type: Number,
|
|
@@ -425,15 +433,7 @@ __decorate([
|
|
|
425
433
|
description: 'The epoch day when the NFT will be available for claiming',
|
|
426
434
|
}),
|
|
427
435
|
__metadata("design:type", Number)
|
|
428
|
-
],
|
|
429
|
-
__decorate([
|
|
430
|
-
(0, swagger_1.ApiProperty)({
|
|
431
|
-
type: (swagger_1.PartialType),
|
|
432
|
-
required: false,
|
|
433
|
-
description: 'The extra information about the collection of this specific NFT',
|
|
434
|
-
}),
|
|
435
|
-
__metadata("design:type", Object)
|
|
436
|
-
], NftHydrated.prototype, "collectionInfo", void 0);
|
|
436
|
+
], NftDocHydrated.prototype, "unboundEpoch", void 0);
|
|
437
437
|
__decorate([
|
|
438
438
|
(0, swagger_1.ApiProperty)({
|
|
439
439
|
type: ExtraProperties,
|
|
@@ -441,4 +441,4 @@ __decorate([
|
|
|
441
441
|
description: 'Extra props for the specific NFT',
|
|
442
442
|
}),
|
|
443
443
|
__metadata("design:type", ExtraProperties)
|
|
444
|
-
],
|
|
444
|
+
], NftDocHydrated.prototype, "extraProperties", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivityChain } from '../../../common/enums';
|
|
2
|
-
import {
|
|
2
|
+
import { NftDocHydrated } from './nft-details.doc';
|
|
3
3
|
import { TokenDataType } from './token-data.enum';
|
|
4
4
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
5
5
|
declare class NftOfferDocBase {
|
|
@@ -33,6 +33,6 @@ export declare class NftOfferDocHydrated extends NftOfferDocBase {
|
|
|
33
33
|
usdValue: number;
|
|
34
34
|
floorPriceMargin: number;
|
|
35
35
|
floorPrice: number;
|
|
36
|
-
nftInfo:
|
|
36
|
+
nftInfo: NftDocHydrated;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -216,8 +216,8 @@ __decorate([
|
|
|
216
216
|
], NftOfferDocHydrated.prototype, "floorPrice", void 0);
|
|
217
217
|
__decorate([
|
|
218
218
|
(0, swagger_1.ApiProperty)({
|
|
219
|
-
type: () => nft_details_doc_1.
|
|
219
|
+
type: () => nft_details_doc_1.NftDocHydrated,
|
|
220
220
|
description: 'NFT information related to the offer',
|
|
221
221
|
}),
|
|
222
|
-
__metadata("design:type",
|
|
222
|
+
__metadata("design:type", nft_details_doc_1.NftDocHydrated)
|
|
223
223
|
], NftOfferDocHydrated.prototype, "nftInfo", void 0);
|
|
@@ -12,7 +12,7 @@ import { CollectionStatsDocHydrated } from './documents/collection/stats';
|
|
|
12
12
|
import { NotificationDoc } from './documents/notification/notification.doc';
|
|
13
13
|
import { EventReferralConfigDoc } from './documents/ticketing/event-referral-config.doc';
|
|
14
14
|
import { EventReferralDoc } from './documents/ticketing/event-referral.doc';
|
|
15
|
-
import {
|
|
15
|
+
import { NftDocHydrated } from './documents/token/nft-details.doc';
|
|
16
16
|
import { NftOfferDocHydrated } from './documents/token/nft-offer.doc';
|
|
17
17
|
export declare class EventReferralConfigPaginated extends CosmosPaginatedResponse<EventReferralConfigDoc> {
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ export declare class ChatMessagePaginated extends CosmosPaginatedResponse<ChatMe
|
|
|
31
31
|
}
|
|
32
32
|
export declare class NftActivityPaginated extends CosmosPaginatedResponse<NftActivityDocHydrated> {
|
|
33
33
|
}
|
|
34
|
-
export declare class NftPaginated extends CosmosPaginatedResponse<
|
|
34
|
+
export declare class NftPaginated extends CosmosPaginatedResponse<NftDocHydrated> {
|
|
35
35
|
}
|
|
36
36
|
export declare class CollectionProfilePaginated extends CosmosPaginatedResponse<CollectionProfileDoc> {
|
|
37
37
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
|
|
2
|
-
import {
|
|
2
|
+
import { NftDocHydrated } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
3
3
|
import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
|
|
4
4
|
export declare class NftActivityData {
|
|
5
5
|
collection: string;
|
|
@@ -16,8 +16,6 @@ export declare class NftActivityData {
|
|
|
16
16
|
paymentToken: string;
|
|
17
17
|
price: number;
|
|
18
18
|
};
|
|
19
|
-
nftInfo?: Partial<NftDoc>;
|
|
20
|
-
collectionInfo?: Partial<CollectionProfileDoc>;
|
|
21
19
|
originalTokenAmount?: string;
|
|
22
20
|
originalTokenAmountShort?: number;
|
|
23
21
|
originalTokenEgldValue?: number;
|
|
@@ -25,6 +23,10 @@ export declare class NftActivityData {
|
|
|
25
23
|
originalTokenIdentifier?: string;
|
|
26
24
|
constructor(props: Partial<NftActivityData>);
|
|
27
25
|
}
|
|
26
|
+
export declare class NftActivityDataHydrated extends NftActivityData {
|
|
27
|
+
nftInfo: NftDocHydrated;
|
|
28
|
+
collectionInfo: CollectionProfileDoc;
|
|
29
|
+
}
|
|
28
30
|
export interface NftMvxBuiltIn {
|
|
29
31
|
collection: string;
|
|
30
32
|
identifier: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NftActivityData = void 0;
|
|
3
|
+
exports.NftActivityDataHydrated = exports.NftActivityData = void 0;
|
|
4
4
|
class NftActivityData {
|
|
5
5
|
constructor(props) {
|
|
6
6
|
Object.assign(this, props);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
exports.NftActivityData = NftActivityData;
|
|
10
|
+
class NftActivityDataHydrated extends NftActivityData {
|
|
11
|
+
}
|
|
12
|
+
exports.NftActivityDataHydrated = NftActivityDataHydrated;
|
|
@@ -2,7 +2,7 @@ import { ActivityChain } from '../../common/enums';
|
|
|
2
2
|
import { NftMetadataAttributes } from '../../cosmos-db/documents/token/nft-metadata-attributes';
|
|
3
3
|
import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
4
4
|
import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
|
|
5
|
-
import {
|
|
5
|
+
import { NftDocHydrated } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
6
6
|
export declare class SaleInfoFilterDto {
|
|
7
7
|
seller?: string[];
|
|
8
8
|
paymentToken?: string[];
|
|
@@ -22,7 +22,7 @@ export declare class NftDocFilterCriteriaDto {
|
|
|
22
22
|
owner?: string[];
|
|
23
23
|
currentOwner?: string[];
|
|
24
24
|
saleInfo?: SaleInfoFilterDto;
|
|
25
|
-
range?: RangeFilter<
|
|
25
|
+
range?: RangeFilter<NftDocHydrated>[];
|
|
26
26
|
metadata?: MetadataAttributesDto;
|
|
27
27
|
wasProcessed?: boolean;
|
|
28
28
|
cp_staked?: boolean;
|
|
@@ -30,7 +30,7 @@ export declare class NftDocFilterCriteriaDto {
|
|
|
30
30
|
verifiedOnly?: boolean;
|
|
31
31
|
sftOriginalDoc?: boolean;
|
|
32
32
|
}
|
|
33
|
-
export declare class NftDocFilter extends CosmosDbGenericFilter<
|
|
33
|
+
export declare class NftDocFilter extends CosmosDbGenericFilter<NftDocHydrated> {
|
|
34
34
|
filters: {
|
|
35
35
|
dataType?: string[];
|
|
36
36
|
identifier?: string[];
|
|
@@ -47,7 +47,7 @@ export declare class NftDocFilter extends CosmosDbGenericFilter<NftHydrated> {
|
|
|
47
47
|
marketplace?: string[];
|
|
48
48
|
auctionType?: XoxnoAuctionTypeString[];
|
|
49
49
|
};
|
|
50
|
-
range?: RangeFilter<
|
|
50
|
+
range?: RangeFilter<NftDocHydrated>[];
|
|
51
51
|
metadata?: {
|
|
52
52
|
attributes?: NftMetadataAttributes[];
|
|
53
53
|
};
|