biz-slide-core 1.2.25 → 1.2.27
Sign up to get free protection for your applications and to get access to all the features.
package/entity/png-svg.entity.js
CHANGED
@@ -10,6 +10,8 @@ var PngSvgSchema = new mongoose_1.Schema({
|
|
10
10
|
isCompleted: { type: Boolean, default: false },
|
11
11
|
hasError: { type: Boolean, default: false },
|
12
12
|
userId: { type: String, default: null },
|
13
|
+
userReaction: { type: Number, default: 0 },
|
14
|
+
userFeedback: { type: String, default: null },
|
13
15
|
title: { type: String, default: null },
|
14
16
|
styleCategory: { type: String, default: null },
|
15
17
|
styleSubCategory: { type: String, default: null },
|
package/entity/ppt.entity.js
CHANGED
@@ -11,10 +11,13 @@ var PPTSchema = new mongoose_1.Schema({
|
|
11
11
|
templateTypeId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template-type" },
|
12
12
|
systemGeneratedtopics: { type: [String], default: [], _id: false },
|
13
13
|
userSelectedTopics: { type: [String], default: [], _id: false },
|
14
|
+
userReaction: { type: Number, default: 0 },
|
15
|
+
userFeedback: { type: String, default: null },
|
14
16
|
questions: { type: [String], default: [], _id: false },
|
15
17
|
colors: { type: [String], default: [], _id: false },
|
16
18
|
prompt: { type: String, default: null },
|
17
19
|
templateId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'template' },
|
20
|
+
hasError: { type: Boolean, default: false },
|
18
21
|
slideRefs: { type: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'ppt-slide' }], default: [], _id: false }
|
19
22
|
}, {
|
20
23
|
timestamps: true,
|
package/entity/slide.entity.js
CHANGED
@@ -18,6 +18,7 @@ var SlideSchema = new mongoose_1.Schema({
|
|
18
18
|
slideLayoutId: { type: mongoose_1.Schema.Types.ObjectId, ref: "slide-layout" },
|
19
19
|
templateId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template" },
|
20
20
|
deletedAt: { type: Date, default: null },
|
21
|
+
isDelete: { type: Boolean, default: false }
|
21
22
|
}, {
|
22
23
|
timestamps: true,
|
23
24
|
});
|