pristine-member-nest-api-database 1.0.54 → 1.0.55
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.
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.mongoContainer = void 0;
|
|
27
27
|
const mongoose_1 = __importStar(require("mongoose"));
|
|
28
28
|
const ContainerSchema = new mongoose_1.Schema({
|
|
29
29
|
ContainerCode: { type: String },
|
|
@@ -39,5 +39,5 @@ const ContainerSchema = new mongoose_1.Schema({
|
|
|
39
39
|
},
|
|
40
40
|
],
|
|
41
41
|
});
|
|
42
|
-
const
|
|
43
|
-
exports.
|
|
42
|
+
const mongoContainer = mongoose_1.default.model("Editor.Container", ContainerSchema);
|
|
43
|
+
exports.mongoContainer = mongoContainer;
|
|
@@ -26,9 +26,9 @@ const ContainerSchema = new Schema<ContainerDocument>({
|
|
|
26
26
|
],
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const mongoContainer = mongoose.model<ContainerDocument>(
|
|
30
30
|
"Editor.Container",
|
|
31
31
|
ContainerSchema,
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
-
export { ContainerDocument,
|
|
34
|
+
export { ContainerDocument, mongoContainer };
|