@xoxno/types 1.0.105 → 1.0.107
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/enums/chat-data-type.enum.d.ts +2 -1
- package/dist/enums/chat-data-type.enum.js +1 -0
- package/dist/requests/nft-activity-data/user-stats.js +5 -0
- package/dist/requests/nft-data/inventory-summary.d.ts +2 -0
- package/dist/requests/nft-data/inventory-summary.js +5 -0
- package/package.json +1 -1
|
@@ -7,4 +7,5 @@ var ChatDataType;
|
|
|
7
7
|
ChatDataType["CONVERSATION"] = "conversation";
|
|
8
8
|
ChatDataType["BLOCKED_USER"] = "blockedUser";
|
|
9
9
|
ChatDataType["GROUP_CHAT_PROFILE"] = "groupChatProfile";
|
|
10
|
+
ChatDataType["READ"] = "read";
|
|
10
11
|
})(ChatDataType || (exports.ChatDataType = ChatDataType = {}));
|
|
@@ -14,6 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const short_nft_doc_1 = require("../../cosmos-db/documents/short/short-nft.doc");
|
|
17
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
17
18
|
class WalletDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -56,6 +57,10 @@ __decorate([
|
|
|
56
57
|
(0, class_validator_1.IsNumber)(),
|
|
57
58
|
__metadata("design:type", Number)
|
|
58
59
|
], WalletDto.prototype, "followCount", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], WalletDto.prototype, "chain", void 0);
|
|
59
64
|
class PriceDataDto {
|
|
60
65
|
}
|
|
61
66
|
__decorate([
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ActivityChain } from '../../enums/common.enum';
|
|
1
2
|
export declare class InventorySummaryDto {
|
|
2
3
|
collection: string;
|
|
3
4
|
inventoryCount: number;
|
|
@@ -12,4 +13,5 @@ export declare class InventorySummaryDtoHydrated extends InventorySummaryDto {
|
|
|
12
13
|
profile: string;
|
|
13
14
|
banner: string;
|
|
14
15
|
value: number;
|
|
16
|
+
chain?: ActivityChain;
|
|
15
17
|
}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.InventorySummaryDtoHydrated = exports.InventorySummaryDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
15
16
|
class InventorySummaryDto {
|
|
16
17
|
}
|
|
17
18
|
exports.InventorySummaryDto = InventorySummaryDto;
|
|
@@ -73,3 +74,7 @@ __decorate([
|
|
|
73
74
|
(0, class_validator_1.IsNumber)(),
|
|
74
75
|
__metadata("design:type", Number)
|
|
75
76
|
], InventorySummaryDtoHydrated.prototype, "value", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], InventorySummaryDtoHydrated.prototype, "chain", void 0);
|