pristine-member-nest-api-database 1.0.66 → 1.0.67
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.
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.mongoContainerCategoryMapping = void 0;
|
|
29
29
|
// interface ContainerCategoryMapping extends Document {
|
|
30
30
|
// ContainerId: mongoose.Types.ObjectId;
|
|
31
31
|
// Categories: [
|
|
@@ -103,5 +103,5 @@ const ContainerCategoryMappingSchema = new mongoose_1.Schema({
|
|
|
103
103
|
},
|
|
104
104
|
],
|
|
105
105
|
});
|
|
106
|
-
const
|
|
107
|
-
exports.
|
|
106
|
+
const mongoContainerCategoryMapping = mongoose_1.default.model("Editor.Container.Category.mapping", ContainerCategoryMappingSchema);
|
|
107
|
+
exports.mongoContainerCategoryMapping = mongoContainerCategoryMapping;
|
|
@@ -99,10 +99,10 @@ const ContainerCategoryMappingSchema = new Schema<ContainerCategoryMapping>({
|
|
|
99
99
|
],
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
const
|
|
102
|
+
const mongoContainerCategoryMapping = mongoose.model<ContainerCategoryMapping>(
|
|
103
103
|
"Editor.Container.Category.mapping",
|
|
104
104
|
ContainerCategoryMappingSchema,
|
|
105
105
|
);
|
|
106
106
|
|
|
107
107
|
//Originally This mapping help to map container and categories without chnaging their masters
|
|
108
|
-
export { ContainerCategoryMapping,
|
|
108
|
+
export { ContainerCategoryMapping, mongoContainerCategoryMapping };
|