biz-slide-core 1.2.61 → 1.2.62
Sign up to get free protection for your applications and to get access to all the features.
package/entity/ppt.entity.js
CHANGED
package/entity/slide.entity.js
CHANGED
@@ -25,4 +25,9 @@ var SlideSchema = new mongoose_1.Schema({
|
|
25
25
|
}, {
|
26
26
|
timestamps: true,
|
27
27
|
});
|
28
|
+
SlideSchema.index({ name: 1, slideLayoutId: 1, templateId: 1 });
|
29
|
+
SlideSchema.index({ slideLayoutId: 1, templateId: 1 });
|
30
|
+
SlideSchema.index({ templateId: 1 });
|
31
|
+
SlideSchema.index({ name: 1, templateId: 1, slideLayoutId: 1, published: 1 });
|
32
|
+
SlideSchema.index({ slideLayoutId: 1, templateId: 1, published: 1, isDelete: 1 });
|
28
33
|
exports.SlideModel = (0, mongoose_1.model)("slide", SlideSchema);
|