@xoxno/types 1.0.29 → 1.0.30
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.
|
@@ -2,6 +2,7 @@ import { CollectionInfoDto } from './collection-info.dto';
|
|
|
2
2
|
import { NftDoc } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
3
3
|
import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
|
|
4
4
|
import { NftActivityData } from '../nft-activity-data/nft-activity-data';
|
|
5
|
+
import { ActivityChain } from '../../common/enums';
|
|
5
6
|
declare class FromToDto {
|
|
6
7
|
address: string;
|
|
7
8
|
profile: string;
|
|
@@ -39,6 +40,7 @@ export declare class ActivityBodyDto {
|
|
|
39
40
|
from: FromToDto;
|
|
40
41
|
to: FromToDto;
|
|
41
42
|
activityData: ActivityDataDto;
|
|
43
|
+
chain: ActivityChain;
|
|
42
44
|
}
|
|
43
45
|
export declare class ActivityHistoryDto {
|
|
44
46
|
resources: ActivityBodyDto[];
|
|
@@ -15,6 +15,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
15
15
|
const collection_info_dto_1 = require("./collection-info.dto");
|
|
16
16
|
const nft_details_doc_1 = require("../../cosmos-db/documents/token/nft-details.doc");
|
|
17
17
|
const xoxno_auction_type_enum_1 = require("../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum");
|
|
18
|
+
const enums_1 = require("../../common/enums");
|
|
18
19
|
class FromToDto {
|
|
19
20
|
}
|
|
20
21
|
__decorate([
|
|
@@ -93,6 +94,9 @@ __decorate([
|
|
|
93
94
|
__metadata("design:type", collection_info_dto_1.CollectionInfoDto)
|
|
94
95
|
], ActivityDataDto.prototype, "collectionInfo", void 0);
|
|
95
96
|
class ActivityBodyDto {
|
|
97
|
+
constructor() {
|
|
98
|
+
this.chain = enums_1.ActivityChain.MVX;
|
|
99
|
+
}
|
|
96
100
|
}
|
|
97
101
|
exports.ActivityBodyDto = ActivityBodyDto;
|
|
98
102
|
__decorate([
|
|
@@ -129,6 +133,14 @@ __decorate([
|
|
|
129
133
|
(0, swagger_1.ApiProperty)({ type: ActivityDataDto }),
|
|
130
134
|
__metadata("design:type", ActivityDataDto)
|
|
131
135
|
], ActivityBodyDto.prototype, "activityData", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, swagger_1.ApiProperty)({
|
|
138
|
+
example: enums_1.ActivityChain.MVX,
|
|
139
|
+
enum: enums_1.ActivityChain,
|
|
140
|
+
description: 'Blockchain network where the activity occurred',
|
|
141
|
+
}),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], ActivityBodyDto.prototype, "chain", void 0);
|
|
132
144
|
class ActivityHistoryDto {
|
|
133
145
|
}
|
|
134
146
|
exports.ActivityHistoryDto = ActivityHistoryDto;
|