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.
- package/entity/customer.entity.js +18 -0
- package/entity/index.js +1 -0
- package/entity/ppt-slide.entity.js +1 -0
- package/package.json +1 -2
@@ -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 },
|