biz-email-builder-shared 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IEmailLayout } from "../types";
|
|
2
|
-
declare const EmailTemplate: import("mongoose").Model<IEmailLayout, {}, {}, {}, import("mongoose").Document<unknown, {}, IEmailLayout> & Omit<IEmailLayout & {
|
|
2
|
+
export declare const EmailTemplate: import("mongoose").Model<IEmailLayout, {}, {}, {}, import("mongoose").Document<unknown, {}, IEmailLayout> & Omit<IEmailLayout & {
|
|
3
3
|
_id: import("mongoose").Types.ObjectId;
|
|
4
4
|
}, never>, any>;
|
|
5
|
-
export default EmailTemplate;
|
|
6
5
|
//# sourceMappingURL=emailTemplate.entity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailTemplate.entity.d.ts","sourceRoot":"","sources":["../../src/entity/emailTemplate.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAE,MAAM,UAAU,CAAC;AAwDnD,
|
|
1
|
+
{"version":3,"file":"emailTemplate.entity.d.ts","sourceRoot":"","sources":["../../src/entity/emailTemplate.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAE,MAAM,UAAU,CAAC;AAwDnD,eAAO,MAAM,aAAa;;eAA2D,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailTemplate = void 0;
|
|
3
4
|
const mongoose_1 = require("mongoose");
|
|
4
5
|
const types_1 = require("../types");
|
|
5
6
|
const BlockDataPropsSchema = new mongoose_1.Schema({
|
|
@@ -41,5 +42,4 @@ const EmailLayoutSchema = new mongoose_1.Schema({
|
|
|
41
42
|
user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'user' },
|
|
42
43
|
deletedAt: Date
|
|
43
44
|
}, { timestamps: true });
|
|
44
|
-
|
|
45
|
-
exports.default = EmailTemplate;
|
|
45
|
+
exports.EmailTemplate = (0, mongoose_1.model)("email-template", EmailLayoutSchema);
|