gemcap-be-common 1.4.45 → 1.4.46
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.
|
@@ -323,7 +323,7 @@ type TProspectWithId<T = mongoose.Types.ObjectId | string> = Omit<IProspect, '_i
|
|
|
323
323
|
export interface IProspectDoc extends TProspectWithId<mongoose.Types.ObjectId>, Document {
|
|
324
324
|
_id: mongoose.Types.ObjectId;
|
|
325
325
|
}
|
|
326
|
-
export interface IProspectLean extends TProspectWithId<string> {
|
|
326
|
+
export interface IProspectLean extends TProspectWithId<string | mongoose.Types.ObjectId> {
|
|
327
327
|
}
|
|
328
328
|
export declare const baseFields: string[];
|
|
329
329
|
export declare const ProspectInfoExternalValidationSchema: Joi.ObjectSchema<any>;
|
package/models/Prospect.model.ts
CHANGED
|
@@ -582,7 +582,7 @@ export interface IProspectDoc extends TProspectWithId<mongoose.Types.ObjectId>,
|
|
|
582
582
|
_id: mongoose.Types.ObjectId;
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
export interface IProspectLean extends TProspectWithId<string> {}
|
|
585
|
+
export interface IProspectLean extends TProspectWithId<string | mongoose.Types.ObjectId> {}
|
|
586
586
|
|
|
587
587
|
export const baseFields = ['_id', 'industry', 'status', 'revolverAmount', 'termAmount', 'keyDates'];
|
|
588
588
|
|