gemcap-be-common 1.5.173 → 1.5.174

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.
@@ -80,6 +80,7 @@ export interface ILoanPaymentWithId extends ILoanPayment {
80
80
  }
81
81
  export interface ILoanPaymentDoc extends ILoanPayment, Document {
82
82
  }
83
+ export type TILoanPaymentModel = mongoose.Model<ILoanPayment>;
83
84
  export declare const LoanPaymentSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
84
85
  timestamps: true;
85
86
  }, {
@@ -1,6 +1,7 @@
1
1
  import mongoose, { Document } from 'mongoose';
2
2
 
3
3
  import { MODEL_NAMES } from './_models';
4
+ import { IProductBroker } from './ProductBroker.model';
4
5
 
5
6
  export const LOAN_PAYMENT_FIELDS = [
6
7
  '_id',
@@ -74,6 +75,8 @@ export interface ILoanPaymentWithId extends ILoanPayment {
74
75
  export interface ILoanPaymentDoc extends ILoanPayment, Document {
75
76
  }
76
77
 
78
+ export type TILoanPaymentModel = mongoose.Model<ILoanPayment>;
79
+
77
80
  export const LoanPaymentSchema = new mongoose.Schema(
78
81
  {
79
82
  date: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.173",
3
+ "version": "1.5.174",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {