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 {
@@ -35,6 +35,10 @@ exports.DataRoomFileSchema = new mongoose_1.default.Schema({
35
35
  type: Date,
36
36
  required: false,
37
37
  },
38
+ deletedBy: {
39
+ type: String,
40
+ required: true,
41
+ },
38
42
  }, {
39
43
  timestamps: { createdAt: true, updatedAt: true },
40
44
  versionKey: false,
@@ -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 },
@@ -67,8 +67,8 @@ export type TUploadFilesParams = {
67
67
  };
68
68
  export type TPreparedFile = {
69
69
  fileId: string;
70
- role: string;
71
70
  filename: string;
71
+ role?: string;
72
72
  };
73
73
  export declare const FILE_BUCKET: {
74
74
  readonly compliance: "compliance";
@@ -37,8 +37,8 @@ export type TUploadFilesParams = {
37
37
 
38
38
  export type TPreparedFile = {
39
39
  fileId: string;
40
- role: string;
41
40
  filename: string;
41
+ role?: string;
42
42
  };
43
43
 
44
44
  export const FILE_BUCKET = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.192",
3
+ "version": "1.5.194",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {