gemcap-be-common 1.4.44 → 1.4.45
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.
|
@@ -329,7 +329,7 @@ export declare const baseFields: string[];
|
|
|
329
329
|
export declare const ProspectInfoExternalValidationSchema: Joi.ObjectSchema<any>;
|
|
330
330
|
export declare const ProspectInfoValidationSchema: Joi.ObjectSchema<any>;
|
|
331
331
|
export declare const ProspectValidationSchema: Joi.ObjectSchema<any>;
|
|
332
|
-
export type ProspectModel = Model<
|
|
332
|
+
export type ProspectModel = Model<IProspectDoc, Record<string, never>, Record<string, never>, IProspectLean>;
|
|
333
333
|
export declare const ProspectSchema: mongoose.Schema<IProspect, ProspectModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IProspect, mongoose.Document<unknown, {}, mongoose.FlatRecord<IProspect>> & mongoose.FlatRecord<IProspect> & {
|
|
334
334
|
_id: mongoose.Types.ObjectId;
|
|
335
335
|
}>;
|
package/models/Prospect.model.ts
CHANGED
|
@@ -666,7 +666,7 @@ export const ProspectValidationSchema = Joi.object({
|
|
|
666
666
|
acceptedFiles: Joi.array().items(Joi.string()).allow(null),
|
|
667
667
|
}).concat(ProspectInfoValidationSchema);
|
|
668
668
|
|
|
669
|
-
export type ProspectModel = Model<
|
|
669
|
+
export type ProspectModel = Model<IProspectDoc, Record<string, never>, Record<string, never>, IProspectLean>;
|
|
670
670
|
|
|
671
671
|
const contactSchema = new mongoose.Schema({
|
|
672
672
|
name: {
|