gemcap-be-common 1.4.89 → 1.4.90

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,6 +25,7 @@
25
25
  import mongoose, { Model } from 'mongoose';
26
26
  export interface IBorrowerNoteSubject {
27
27
  name: string;
28
+ order: number;
28
29
  }
29
30
  export interface IBorrowerNoteSubjectDoc extends IBorrowerNoteSubject, Document {
30
31
  _id: mongoose.Types.ObjectId;
@@ -17,6 +17,10 @@ exports.BorrowerNoteSubjectSchema = new mongoose_1.default.Schema({
17
17
  type: String,
18
18
  required: true,
19
19
  },
20
+ order: {
21
+ type: Number,
22
+ required: true,
23
+ },
20
24
  }, {
21
25
  timestamps: true,
22
26
  versionKey: false,
@@ -4,6 +4,7 @@ import { MODEL_NAMES } from './_models';
4
4
 
5
5
  export interface IBorrowerNoteSubject {
6
6
  name: string,
7
+ order: number,
7
8
  }
8
9
 
9
10
  export interface IBorrowerNoteSubjectDoc extends IBorrowerNoteSubject, Document {
@@ -38,6 +39,10 @@ export const BorrowerNoteSubjectSchema = new mongoose.Schema<IBorrowerNoteSubjec
38
39
  type: String,
39
40
  required: true,
40
41
  },
42
+ order: {
43
+ type: Number,
44
+ required: true,
45
+ },
41
46
  }, {
42
47
  timestamps: true,
43
48
  versionKey: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.89",
3
+ "version": "1.4.90",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {