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.
@@ -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 },
@@ -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,
@@ -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
  });
@@ -6,6 +6,7 @@ var questionSchema = new mongoose_1.Schema({
6
6
  question: { type: String },
7
7
  systemMessage: { type: String },
8
8
  keyId: { type: String },
9
+ placeholder: { type: String },
9
10
  }, {
10
11
  timestamps: false,
11
12
  _id: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.25",
3
+ "version": "1.2.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {