pristine-member-nest-api-database 1.0.78 → 1.0.79

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,6 +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.mongoApplicationSchema = void 0;
26
27
  const mongoose_1 = __importStar(require("mongoose"));
27
28
  const ApplicationSchemSchema = new mongoose_1.Schema({
28
29
  branchId: { type: mongoose_1.Schema.Types.ObjectId, ref: "Branches" },
@@ -95,4 +96,5 @@ const ApplicationSchemSchema = new mongoose_1.Schema({
95
96
  },
96
97
  ],
97
98
  });
98
- const mongoApplicationSchemSchema = mongoose_1.default.model("Editor.Application", ApplicationSchemSchema);
99
+ const mongoApplicationSchema = mongoose_1.default.model("Editor.Application", ApplicationSchemSchema);
100
+ exports.mongoApplicationSchema = mongoApplicationSchema;
@@ -105,7 +105,8 @@ const ApplicationSchemSchema = new Schema<IApplicationDocument>({
105
105
  ],
106
106
  });
107
107
 
108
- const mongoApplicationSchemSchema = mongoose.model<IApplicationDocument>(
108
+ const mongoApplicationSchema = mongoose.model<IApplicationDocument>(
109
109
  "Editor.Application",
110
110
  ApplicationSchemSchema,
111
111
  );
112
+ export { IApplicationDocument, mongoApplicationSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pristine-member-nest-api-database",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "description": "application verification database changes with gs1 branch. not tested. ",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {