gemcap-be-common 1.4.81 → 1.4.83

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.
@@ -63,4 +63,4 @@ export const replaceErrors = (error: Joi.ValidationError, dictionary: TDictionar
63
63
  return refinedErrors.join(', ');
64
64
  };
65
65
 
66
- export const getUUID = () => uuidV4();
66
+ export const getUUID = (): string => uuidV4();
@@ -42,6 +42,7 @@ export interface IBorrowerNoteDoc extends IBorrowerNote, Document {
42
42
  updatedAt: Date;
43
43
  }
44
44
  export interface IBorrowerNoteCreate extends Omit<IBorrowerNote, '_id' | 'borrowerId' | 'attachments'> {
45
+ _id?: string;
45
46
  borrowerId: string;
46
47
  }
47
48
  export interface IBorrowerNoteLean extends IBorrowerNote {
@@ -24,6 +24,7 @@ export interface IBorrowerNoteDoc extends IBorrowerNote, Document {
24
24
  }
25
25
 
26
26
  export interface IBorrowerNoteCreate extends Omit<IBorrowerNote, '_id' | 'borrowerId' | 'attachments'> {
27
+ _id?: string;
27
28
  borrowerId: string;
28
29
  }
29
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.81",
3
+ "version": "1.4.83",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {