@yolo-croket-dev/amqp-access 0.7.103 → 0.7.105
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": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.105",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@yolo-croket-dev/core": "^1.9.3",
|
|
22
|
-
"@yolo-croket-dev/domain": "0.2.
|
|
22
|
+
"@yolo-croket-dev/domain": "0.2.36",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.2.15",
|
|
24
24
|
"@yolo-croket-dev/entity": "0.2.70",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.2.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.2.140",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
export type ChatRoomUserType = 'seller' | 'buyer';
|
|
2
|
+
export type ChatProcessType = 'question' | 'paid';
|
|
1
3
|
export declare class GetChatRoomNumsPayload {
|
|
2
|
-
userType?:
|
|
4
|
+
userType?: ChatRoomUserType;
|
|
5
|
+
itemIds?: string[];
|
|
6
|
+
relatedProcessV2?: string[];
|
|
7
|
+
chatProcess?: ChatProcessType;
|
|
8
|
+
searchForBuyer?: string;
|
|
9
|
+
searchForSeller?: string;
|
|
3
10
|
}
|
|
4
11
|
export interface GetChatRoomNumsResult {
|
|
5
12
|
totalNums: number;
|
|
@@ -19,3 +19,29 @@ __decorate([
|
|
|
19
19
|
(0, class_validator_1.IsOptional)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], GetChatRoomNumsPayload.prototype, "userType", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsArray)(),
|
|
24
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", Array)
|
|
27
|
+
], GetChatRoomNumsPayload.prototype, "itemIds", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], GetChatRoomNumsPayload.prototype, "relatedProcessV2", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetChatRoomNumsPayload.prototype, "chatProcess", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], GetChatRoomNumsPayload.prototype, "searchForBuyer", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetChatRoomNumsPayload.prototype, "searchForSeller", void 0);
|