gemcap-be-common 1.3.92 → 1.3.94
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.
|
@@ -205,11 +205,12 @@ export interface IProspectBaseWithId extends IProspectBase {
|
|
|
205
205
|
export interface IProspectWithId extends IProspect {
|
|
206
206
|
_id: string;
|
|
207
207
|
}
|
|
208
|
-
export type IProspectExternal = Pick<IProspectWithId, 'info' | '
|
|
208
|
+
export type IProspectExternal = Pick<IProspectWithId, 'info' | 'isLocked' | 'status' | '_id'> & {
|
|
209
209
|
auditorFiles: IProspectFile[];
|
|
210
210
|
prospectFiles: IProspectFile[];
|
|
211
211
|
};
|
|
212
|
-
export type IProspectExternalAuditors = Pick<IProspectWithId, 'info' | '
|
|
212
|
+
export type IProspectExternalAuditors = Pick<IProspectWithId, 'info' | 'isLocked'> & {
|
|
213
|
+
files: IProspectFile[];
|
|
213
214
|
auditorFiles: IProspectFile[];
|
|
214
215
|
auditorSharedFiles: IProspectFile[];
|
|
215
216
|
};
|
package/models/Prospect.model.ts
CHANGED
|
@@ -395,10 +395,11 @@ export interface IProspectWithId extends IProspect {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
export type IProspectExternal =
|
|
398
|
-
Pick<IProspectWithId, 'info' | '
|
|
398
|
+
Pick<IProspectWithId, 'info' | 'isLocked' | 'status' | '_id'>
|
|
399
399
|
& { auditorFiles: IProspectFile[], prospectFiles: IProspectFile[] }
|
|
400
400
|
|
|
401
|
-
export type IProspectExternalAuditors = Pick<IProspectWithId, 'info' | '
|
|
401
|
+
export type IProspectExternalAuditors = Pick<IProspectWithId, 'info' | 'isLocked'> & {
|
|
402
|
+
files: IProspectFile[];
|
|
402
403
|
auditorFiles: IProspectFile[];
|
|
403
404
|
auditorSharedFiles: IProspectFile[];
|
|
404
405
|
}
|