biz-slide-core 1.2.81 → 1.2.83

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CronModel = void 0;
4
+ var mongoose_1 = require("mongoose");
5
+ var CronSchema = new mongoose_1.Schema({
6
+ name: { type: String, required: true },
7
+ status: { type: Boolean, default: false }
8
+ }, {
9
+ timestamps: true,
10
+ });
11
+ CronSchema.index({ userId: 1 });
12
+ exports.CronModel = (0, mongoose_1.model)("cron", CronSchema);
package/entity/index.js CHANGED
@@ -31,3 +31,4 @@ __exportStar(require("./logs.entity"), exports);
31
31
  __exportStar(require("./analytic.entity"), exports);
32
32
  __exportStar(require("./ppt-email-queue.entity"), exports);
33
33
  __exportStar(require("./customer.entity"), exports);
34
+ __exportStar(require("./cron.entity"), exports);
@@ -11,6 +11,7 @@ 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
+ userLanguageTopics: { type: [String], default: [], _id: false },
14
15
  userReaction: { type: Number, default: 0 },
15
16
  userFeedback: { type: String, default: null },
16
17
  colors: { type: [String], default: [], _id: false },
@@ -216,7 +216,6 @@ var nonAuthorizeWithSlideApp = function () {
216
216
  };
217
217
  };
218
218
  exports.nonAuthorizeWithSlideApp = nonAuthorizeWithSlideApp;
219
- // TODO: Delete It
220
219
  var authorizeWithGpt = function () {
221
220
  return function (req, res, next) {
222
221
  return __awaiter(this, void 0, void 0, function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.81",
3
+ "version": "1.2.83",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "tsc",