@xoxno/types 1.0.25 → 1.0.27
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MetadataDto } from '../../requests/collection/listings';
|
|
2
2
|
import { NftMedia } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
3
3
|
import { StatisticsDto } from '../../common/statistics';
|
|
4
|
+
import { ActivityChain } from '../../common/enums';
|
|
4
5
|
declare class CollectionDto {
|
|
5
6
|
collection: string;
|
|
6
7
|
name: string;
|
|
@@ -10,6 +11,7 @@ declare class CollectionDto {
|
|
|
10
11
|
type: string;
|
|
11
12
|
statistics: StatisticsDto;
|
|
12
13
|
floorPrice: number;
|
|
14
|
+
chain?: ActivityChain;
|
|
13
15
|
}
|
|
14
16
|
declare class UserDto {
|
|
15
17
|
address: string;
|
|
@@ -18,6 +20,7 @@ declare class UserDto {
|
|
|
18
20
|
profile: string;
|
|
19
21
|
isCreator?: boolean;
|
|
20
22
|
addressTrimmed: string;
|
|
23
|
+
chain?: ActivityChain;
|
|
21
24
|
}
|
|
22
25
|
declare class CreatorDto {
|
|
23
26
|
address: string;
|
|
@@ -29,6 +32,7 @@ declare class CreatorDto {
|
|
|
29
32
|
creatorTag: string;
|
|
30
33
|
joinedDate: number;
|
|
31
34
|
profile: string;
|
|
35
|
+
chain?: ActivityChain.MVX;
|
|
32
36
|
}
|
|
33
37
|
declare class NftDto {
|
|
34
38
|
identifier: string;
|
|
@@ -39,6 +43,7 @@ declare class NftDto {
|
|
|
39
43
|
media: NftMedia;
|
|
40
44
|
wasProcessed: boolean;
|
|
41
45
|
metadata: MetadataDto;
|
|
46
|
+
chain?: ActivityChain;
|
|
42
47
|
}
|
|
43
48
|
declare class GlobalSearchResourcesDto {
|
|
44
49
|
collections: CollectionDto[];
|
|
@@ -16,6 +16,7 @@ const class_validator_1 = require("class-validator");
|
|
|
16
16
|
const listings_1 = require("../../requests/collection/listings");
|
|
17
17
|
const nft_details_doc_1 = require("../../cosmos-db/documents/token/nft-details.doc");
|
|
18
18
|
const statistics_1 = require("../../common/statistics");
|
|
19
|
+
const enums_1 = require("../../common/enums");
|
|
19
20
|
class CollectionDto {
|
|
20
21
|
}
|
|
21
22
|
__decorate([
|
|
@@ -52,6 +53,10 @@ __decorate([
|
|
|
52
53
|
(0, swagger_1.ApiProperty)({ example: 3.1 }),
|
|
53
54
|
__metadata("design:type", Number)
|
|
54
55
|
], CollectionDto.prototype, "floorPrice", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({ type: enums_1.ActivityChain, required: false }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CollectionDto.prototype, "chain", void 0);
|
|
55
60
|
class UserDto {
|
|
56
61
|
}
|
|
57
62
|
__decorate([
|
|
@@ -83,6 +88,10 @@ __decorate([
|
|
|
83
88
|
(0, swagger_1.ApiProperty)({ example: 'erd1...cu4q' }),
|
|
84
89
|
__metadata("design:type", String)
|
|
85
90
|
], UserDto.prototype, "addressTrimmed", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, swagger_1.ApiProperty)({ type: enums_1.ActivityChain, required: false }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], UserDto.prototype, "chain", void 0);
|
|
86
95
|
class CreatorDto {
|
|
87
96
|
}
|
|
88
97
|
__decorate([
|
|
@@ -127,6 +136,10 @@ __decorate([
|
|
|
127
136
|
}),
|
|
128
137
|
__metadata("design:type", String)
|
|
129
138
|
], CreatorDto.prototype, "profile", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, swagger_1.ApiProperty)({ type: enums_1.ActivityChain, required: false }),
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], CreatorDto.prototype, "chain", void 0);
|
|
130
143
|
class NftDto {
|
|
131
144
|
}
|
|
132
145
|
__decorate([
|
|
@@ -163,6 +176,10 @@ __decorate([
|
|
|
163
176
|
(0, swagger_1.ApiProperty)({ type: listings_1.MetadataDto }),
|
|
164
177
|
__metadata("design:type", listings_1.MetadataDto)
|
|
165
178
|
], NftDto.prototype, "metadata", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, swagger_1.ApiProperty)({ type: enums_1.ActivityChain, required: false }),
|
|
181
|
+
__metadata("design:type", String)
|
|
182
|
+
], NftDto.prototype, "chain", void 0);
|
|
166
183
|
class GlobalSearchResourcesDto {
|
|
167
184
|
}
|
|
168
185
|
__decorate([
|