gemcap-be-common 1.5.192 → 1.5.194
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.
|
@@ -30,6 +30,7 @@ interface IDataRoomFile {
|
|
|
30
30
|
fileId: mongoose.Types.ObjectId;
|
|
31
31
|
uploadedBy: string;
|
|
32
32
|
deletedAt?: Date;
|
|
33
|
+
deletedBy?: string;
|
|
33
34
|
}
|
|
34
35
|
export type TDataRoomFileDoc = mongoose.HydratedDocument<IDataRoomFile>;
|
|
35
36
|
export interface IDataRoomFileLean extends IDataRoomFile {
|
|
@@ -9,6 +9,7 @@ interface IDataRoomFile {
|
|
|
9
9
|
fileId: mongoose.Types.ObjectId;
|
|
10
10
|
uploadedBy: string;
|
|
11
11
|
deletedAt?: Date;
|
|
12
|
+
deletedBy?: string;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
export type TDataRoomFileDoc = mongoose.HydratedDocument<IDataRoomFile>;
|
|
@@ -60,6 +61,10 @@ export const DataRoomFileSchema = new mongoose.Schema<IDataRoomFile, TDataRoomFi
|
|
|
60
61
|
type: Date,
|
|
61
62
|
required: false,
|
|
62
63
|
},
|
|
64
|
+
deletedBy: {
|
|
65
|
+
type: String,
|
|
66
|
+
required: true,
|
|
67
|
+
},
|
|
63
68
|
},
|
|
64
69
|
{
|
|
65
70
|
timestamps: { createdAt: true, updatedAt: true },
|
package/models/File.model.d.ts
CHANGED
package/models/File.model.ts
CHANGED