@yolo-croket-dev/amqp-access 0.7.2-jun.7 → 0.7.2-jun.8
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
package/store-item-server/dto/story.modules/story/command/admin/edit-story-for-admin.dto.d.ts
CHANGED
|
@@ -5,16 +5,7 @@ export declare class EditStoryContentImg {
|
|
|
5
5
|
height: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class EditStoryContentStoreItemCondition {
|
|
8
|
-
|
|
9
|
-
category: {
|
|
10
|
-
main: string;
|
|
11
|
-
sub: string;
|
|
12
|
-
}[];
|
|
13
|
-
bookNums: number;
|
|
14
|
-
}
|
|
15
|
-
export declare class EditStoryContentInfo {
|
|
16
|
-
raw: string;
|
|
17
|
-
app: unknown[];
|
|
8
|
+
itemIds: string[];
|
|
18
9
|
}
|
|
19
10
|
export declare class EditStoryContentButtonInfo {
|
|
20
11
|
isExist: boolean;
|
|
@@ -24,8 +15,8 @@ export declare class EditStoryContentButtonInfo {
|
|
|
24
15
|
}
|
|
25
16
|
export declare class EditStoryContentItem {
|
|
26
17
|
imgList: EditStoryContentImg[];
|
|
27
|
-
storeItemCondition
|
|
28
|
-
content:
|
|
18
|
+
storeItemCondition?: EditStoryContentStoreItemCondition;
|
|
19
|
+
content: string;
|
|
29
20
|
buttonInfo: EditStoryContentButtonInfo;
|
|
30
21
|
}
|
|
31
22
|
export declare class EditStoryMainImg {
|
|
@@ -9,7 +9,7 @@ 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.EditStoryForAdminPayload = exports.EditStoryMainImg = exports.EditStoryContentItem = exports.EditStoryContentButtonInfo = exports.
|
|
12
|
+
exports.EditStoryForAdminPayload = exports.EditStoryMainImg = exports.EditStoryContentItem = exports.EditStoryContentButtonInfo = exports.EditStoryContentStoreItemCondition = exports.EditStoryContentImg = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
class EditStoryContentImg {
|
|
@@ -36,28 +36,9 @@ class EditStoryContentStoreItemCondition {
|
|
|
36
36
|
exports.EditStoryContentStoreItemCondition = EditStoryContentStoreItemCondition;
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, class_validator_1.IsArray)(),
|
|
39
|
-
(0, class_validator_1.
|
|
39
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
40
40
|
__metadata("design:type", Array)
|
|
41
|
-
], EditStoryContentStoreItemCondition.prototype, "
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsArray)(),
|
|
44
|
-
__metadata("design:type", Array)
|
|
45
|
-
], EditStoryContentStoreItemCondition.prototype, "category", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, class_validator_1.IsNumber)(),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], EditStoryContentStoreItemCondition.prototype, "bookNums", void 0);
|
|
50
|
-
class EditStoryContentInfo {
|
|
51
|
-
}
|
|
52
|
-
exports.EditStoryContentInfo = EditStoryContentInfo;
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, class_validator_1.IsString)(),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], EditStoryContentInfo.prototype, "raw", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, class_validator_1.IsArray)(),
|
|
59
|
-
__metadata("design:type", Array)
|
|
60
|
-
], EditStoryContentInfo.prototype, "app", void 0);
|
|
41
|
+
], EditStoryContentStoreItemCondition.prototype, "itemIds", void 0);
|
|
61
42
|
class EditStoryContentButtonInfo {
|
|
62
43
|
}
|
|
63
44
|
exports.EditStoryContentButtonInfo = EditStoryContentButtonInfo;
|
|
@@ -90,14 +71,14 @@ __decorate([
|
|
|
90
71
|
__metadata("design:type", Array)
|
|
91
72
|
], EditStoryContentItem.prototype, "imgList", void 0);
|
|
92
73
|
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
75
|
(0, class_validator_1.ValidateNested)(),
|
|
94
76
|
(0, class_transformer_1.Type)(() => EditStoryContentStoreItemCondition),
|
|
95
77
|
__metadata("design:type", EditStoryContentStoreItemCondition)
|
|
96
78
|
], EditStoryContentItem.prototype, "storeItemCondition", void 0);
|
|
97
79
|
__decorate([
|
|
98
|
-
(0, class_validator_1.
|
|
99
|
-
(
|
|
100
|
-
__metadata("design:type", EditStoryContentInfo)
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
101
82
|
], EditStoryContentItem.prototype, "content", void 0);
|
|
102
83
|
__decorate([
|
|
103
84
|
(0, class_validator_1.ValidateNested)(),
|