biz-slide-core 1.2.66 → 1.2.68
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,7 @@ var slideCountSchema = new mongoose_1.Schema({
|
|
26
26
|
_id: false
|
27
27
|
});
|
28
28
|
var AnalyticSchema = new mongoose_1.Schema({
|
29
|
+
templateTypeId: { type: mongoose_1.Schema.Types.ObjectId, ref: "template-type" },
|
29
30
|
appName: { type: String, required: true },
|
30
31
|
noOfPPT: { type: Number, default: 0 },
|
31
32
|
totalDownloaded: { type: Number, default: 0 },
|
@@ -24,7 +24,9 @@ var SlideLayoutSchema = new mongoose_1.Schema({
|
|
24
24
|
deletedAt: { type: Date, default: null },
|
25
25
|
insertSelectionPrompt: systemSchema,
|
26
26
|
newSelectionPrompt: systemSchema,
|
27
|
-
|
27
|
+
category: { type: String, default: "Default" },
|
28
|
+
subCategory: { type: [String], default: [], _id: false },
|
29
|
+
slideSelectionQuestion: { type: String, default: "" }
|
28
30
|
}, {
|
29
31
|
timestamps: true,
|
30
32
|
});
|
package/entity/slide.entity.js
CHANGED
@@ -21,7 +21,8 @@ var SlideSchema = new mongoose_1.Schema({
|
|
21
21
|
deletedAt: { type: Date, default: null },
|
22
22
|
isDelete: { type: Boolean, default: false },
|
23
23
|
stage: { type: String, default: "" },
|
24
|
-
isDefault: { type: Boolean, default: false }
|
24
|
+
isDefault: { type: Boolean, default: false },
|
25
|
+
category: { type: String, default: "Default" }
|
25
26
|
}, {
|
26
27
|
timestamps: true,
|
27
28
|
});
|