gemcap-be-common 1.4.91 → 1.4.93
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.
- package/microservice/event-map.d.ts +5 -0
- package/microservice/event-map.js +5 -0
- package/microservice/event-map.ts +5 -0
- package/microservice/queue-map.d.ts +1 -0
- package/microservice/queue-map.js +1 -0
- package/microservice/queue-map.ts +1 -0
- package/models/BorrowerNote.model.d.ts +0 -1
- package/models/BorrowerNote.model.js +0 -3
- package/models/BorrowerNote.model.ts +0 -4
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -64,6 +64,11 @@ export declare const EventMap: {
|
|
|
64
64
|
readonly DELETE_NOTE: "portfolio#DELETE_NOTE";
|
|
65
65
|
readonly UPDATE_NOTE: "portfolio#UPDATE_NOTE";
|
|
66
66
|
};
|
|
67
|
+
readonly search: {
|
|
68
|
+
readonly CREATED: "search#CREATED";
|
|
69
|
+
readonly UPDATED: "search#UPDATED";
|
|
70
|
+
readonly DELETED: "search#DELETED";
|
|
71
|
+
};
|
|
67
72
|
};
|
|
68
73
|
export type EventMapType = typeof EventMap;
|
|
69
74
|
export type EventName = {
|
|
@@ -64,6 +64,11 @@ export const EventMap = {
|
|
|
64
64
|
DELETE_NOTE: 'portfolio#DELETE_NOTE',
|
|
65
65
|
UPDATE_NOTE: 'portfolio#UPDATE_NOTE',
|
|
66
66
|
},
|
|
67
|
+
search: {
|
|
68
|
+
CREATED: 'search#CREATED',
|
|
69
|
+
UPDATED: 'search#UPDATED',
|
|
70
|
+
DELETED: 'search#DELETED',
|
|
71
|
+
}
|
|
67
72
|
} as const;
|
|
68
73
|
|
|
69
74
|
export type EventMapType = typeof EventMap;
|
|
@@ -5,6 +5,7 @@ export declare const QueueMap: {
|
|
|
5
5
|
readonly auth: "goat_ms_auth";
|
|
6
6
|
readonly finance: "goat_ms_finance";
|
|
7
7
|
readonly portfolio: "goat_ms_portfolio";
|
|
8
|
+
readonly search: "goat_ms_search";
|
|
8
9
|
};
|
|
9
10
|
export type QueueMapType = typeof QueueMap;
|
|
10
11
|
export type QueueName = QueueMapType[keyof QueueMapType];
|
|
@@ -5,6 +5,7 @@ export const QueueMap = {
|
|
|
5
5
|
auth: 'goat_ms_auth', // goat_ms_auth
|
|
6
6
|
finance: 'goat_ms_finance', // goat_ms_finance
|
|
7
7
|
portfolio: 'goat_ms_portfolio', // goat_ms_portfolio
|
|
8
|
+
search: 'goat_ms_search', // goat_ms_search
|
|
8
9
|
} as const;
|
|
9
10
|
|
|
10
11
|
export type QueueMapType = typeof QueueMap;
|
|
@@ -29,9 +29,6 @@ const BorrowerNoteAttachmentSchema = new mongoose_1.default.Schema({
|
|
|
29
29
|
},
|
|
30
30
|
});
|
|
31
31
|
exports.BorrowerNoteSchema = new mongoose_1.default.Schema({
|
|
32
|
-
deletedAt: {
|
|
33
|
-
type: Date,
|
|
34
|
-
},
|
|
35
32
|
borrowerId: {
|
|
36
33
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
37
34
|
ref: _models_1.MODEL_NAMES.borrowers,
|
|
@@ -15,7 +15,6 @@ export interface IBorrowerNote {
|
|
|
15
15
|
subjectId: mongoose.Types.ObjectId,
|
|
16
16
|
text: string,
|
|
17
17
|
attachments: IBorrowerNoteAttachment[],
|
|
18
|
-
deletedAt?: Date,
|
|
19
18
|
createdBy: string,
|
|
20
19
|
updatedBy?: string,
|
|
21
20
|
}
|
|
@@ -73,9 +72,6 @@ const BorrowerNoteAttachmentSchema = new mongoose.Schema<IBorrowerNoteAttachment
|
|
|
73
72
|
});
|
|
74
73
|
|
|
75
74
|
export const BorrowerNoteSchema = new mongoose.Schema<IBorrowerNoteDoc>({
|
|
76
|
-
deletedAt: {
|
|
77
|
-
type: Date,
|
|
78
|
-
},
|
|
79
75
|
borrowerId: {
|
|
80
76
|
type: mongoose.Schema.Types.ObjectId,
|
|
81
77
|
ref: MODEL_NAMES.borrowers,
|