gemcap-be-common 1.5.178 → 1.5.179

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.
@@ -93,4 +93,4 @@ export declare const BorrowerFinanceSettingsSchema: mongoose.Schema<any, mongoos
93
93
  }> & {
94
94
  _id: mongoose.Types.ObjectId;
95
95
  }>;
96
- export declare const BorrowerFinanceSettingsModel: mongoose.Model<TBorrowerFinanceSettingsDoc>;
96
+ export declare const BorrowerFinanceSettings: mongoose.Model<TBorrowerFinanceSettingsDoc>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BorrowerFinanceSettingsModel = exports.BorrowerFinanceSettingsSchema = void 0;
6
+ exports.BorrowerFinanceSettings = exports.BorrowerFinanceSettingsSchema = void 0;
7
7
  const mongoose_1 = __importDefault(require("mongoose"));
8
8
  const _models_1 = require("./_models");
9
9
  exports.BorrowerFinanceSettingsSchema = new mongoose_1.default.Schema({
@@ -41,4 +41,4 @@ exports.BorrowerFinanceSettingsSchema = new mongoose_1.default.Schema({
41
41
  },
42
42
  __v: { type: Number, select: false },
43
43
  }, { timestamps: true });
44
- exports.BorrowerFinanceSettingsModel = mongoose_1.default.model(_models_1.MODEL_NAMES.BorrowerFinanceSettings, exports.BorrowerFinanceSettingsSchema);
44
+ exports.BorrowerFinanceSettings = mongoose_1.default.model(_models_1.MODEL_NAMES.BorrowerFinanceSettings, exports.BorrowerFinanceSettingsSchema);
@@ -75,4 +75,4 @@ export const BorrowerFinanceSettingsSchema = new mongoose.Schema(
75
75
  { timestamps: true },
76
76
  );
77
77
 
78
- export const BorrowerFinanceSettingsModel: mongoose.Model<TBorrowerFinanceSettingsDoc> = mongoose.model<TBorrowerFinanceSettingsDoc>(MODEL_NAMES.BorrowerFinanceSettings, BorrowerFinanceSettingsSchema);
78
+ export const BorrowerFinanceSettings: mongoose.Model<TBorrowerFinanceSettingsDoc> = mongoose.model<TBorrowerFinanceSettingsDoc>(MODEL_NAMES.BorrowerFinanceSettings, BorrowerFinanceSettingsSchema);
package/models/_models.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { BorrowerFinanceSettingsModel } from './BorrowerFinanceSettings.model';
2
-
3
1
  export const MODEL_NAMES = {
4
2
  accountPayableItem: 'AccountPayableItem',
5
3
  AIJobs: 'ai_jobs',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.178",
3
+ "version": "1.5.179",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {