biz-slide-core 1.2.24 → 1.2.26

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