biz-slide-core 1.2.76 → 1.2.78

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerModel = void 0;
4
+ var mongoose_1 = require("mongoose");
5
+ var EmailTemplateStatusSchema = new mongoose_1.Schema({
6
+ sent: { type: Boolean, default: false },
7
+ }, {
8
+ timestamps: false,
9
+ _id: false
10
+ });
11
+ var CustomerSchema = new mongoose_1.Schema({
12
+ appName: { type: String, required: true },
13
+ userId: { type: String, default: "" },
14
+ emailTemplateStatus: { type: Map, of: EmailTemplateStatusSchema }
15
+ }, {
16
+ timestamps: true,
17
+ });
18
+ exports.CustomerModel = (0, mongoose_1.model)("customer", CustomerSchema);
package/entity/index.js CHANGED
@@ -30,3 +30,4 @@ __exportStar(require("./config.enity"), exports);
30
30
  __exportStar(require("./logs.entity"), exports);
31
31
  __exportStar(require("./analytic.entity"), exports);
32
32
  __exportStar(require("./ppt-email-queue.entity"), exports);
33
+ __exportStar(require("./customer.entity"), exports);
@@ -10,6 +10,7 @@ var PPTSlideSchema = new mongoose_1.Schema({
10
10
  title: { type: String, default: null },
11
11
  rawData: { type: String, default: "{}" },
12
12
  originalData: { type: String, default: "{}" },
13
+ staticData: { type: String, default: "{}" },
13
14
  images: { type: String, default: "{}" },
14
15
  istmp: { type: Boolean, default: false },
15
16
  appName: { type: String, default: null },
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.76",
3
+ "version": "1.2.78",
4
4
  "description": "",
5
- "main": "dist/index.js",
6
5
  "scripts": {
7
6
  "build": "tsc",
8
7
  "test": "echo \"Error: no test specified\" && exit 1"