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.
@@ -15,4 +15,5 @@ var PPTSlideSchema = new mongoose_1.Schema({
15
15
  }, {
16
16
  timestamps: true,
17
17
  });
18
+ PPTSlideSchema.index({ createdAt: 1, istmp: 1 });
18
19
  exports.PPTSlideModel = (0, mongoose_1.model)("ppt-slide", PPTSlideSchema);
@@ -33,4 +33,5 @@ var PPTSchema = new mongoose_1.Schema({
33
33
  }, {
34
34
  timestamps: true,
35
35
  });
36
+ PPTSchema.index({ userId: 1, isCompleted: 1, hasError: 1, isLocked: 1 });
36
37
  exports.PPTModel = (0, mongoose_1.model)("ppt", PPTSchema);
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.61",
3
+ "version": "1.2.62",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {