gemcap-be-common 1.4.55 → 1.4.56

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.
@@ -40,7 +40,7 @@ export interface IProspectFile {
40
40
  fileId?: string;
41
41
  filename: string;
42
42
  uploadedAt: Date;
43
- uploadedBy: string;
43
+ uploadedBy?: string;
44
44
  sharepointId?: string;
45
45
  sharepointFolderId?: string;
46
46
  sharepointDriveId?: string;
@@ -63,7 +63,7 @@ exports.ProspectFileSchema = new mongoose_1.default.Schema({
63
63
  },
64
64
  uploadedBy: {
65
65
  type: String,
66
- required: true,
66
+ required: false,
67
67
  },
68
68
  sharepointId: {
69
69
  type: String,
@@ -20,7 +20,7 @@ export interface IProspectFile {
20
20
  fileId?: string;
21
21
  filename: string;
22
22
  uploadedAt: Date;
23
- uploadedBy: string;
23
+ uploadedBy?: string;
24
24
  sharepointId?: string;
25
25
  sharepointFolderId?: string;
26
26
  sharepointDriveId?: string;
@@ -100,7 +100,7 @@ export const ProspectFileSchema = new mongoose.Schema<IProspectFileDoc>({
100
100
  },
101
101
  uploadedBy: {
102
102
  type: String,
103
- required: true,
103
+ required: false,
104
104
  },
105
105
  sharepointId: {
106
106
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.55",
3
+ "version": "1.4.56",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {