biz-slide-core 1.2.77 → 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz-slide-core",
3
- "version": "1.2.77",
3
+ "version": "1.2.78",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "tsc",