gemcap-be-common 1.5.154 → 1.5.155

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.
@@ -46,7 +46,7 @@ export interface IAIJobInputFilePlain extends IAIJobInputFile {
46
46
  }
47
47
  export interface IAIJobResultFile {
48
48
  storageFileId: string;
49
- aiStorageFileId: string;
49
+ aiStorageFileId?: string;
50
50
  filename?: string;
51
51
  mimeType?: string;
52
52
  size?: number;
@@ -67,7 +67,7 @@ exports.AIJobSchema = new mongoose_1.default.Schema({
67
67
  },
68
68
  aiStorageFileId: {
69
69
  type: String,
70
- required: true,
70
+ required: false,
71
71
  },
72
72
  filename: {
73
73
  type: String,
@@ -36,7 +36,7 @@ export interface IAIJobInputFilePlain extends IAIJobInputFile {
36
36
 
37
37
  export interface IAIJobResultFile {
38
38
  storageFileId: string;
39
- aiStorageFileId: string;
39
+ aiStorageFileId?: string;
40
40
  filename?: string;
41
41
  mimeType?: string;
42
42
  size?: number;
@@ -170,7 +170,7 @@ export const AIJobSchema = new mongoose.Schema<IAIJob, TAIJobModel>(
170
170
  },
171
171
  aiStorageFileId: {
172
172
  type: String,
173
- required: true,
173
+ required: false,
174
174
  },
175
175
  filename: {
176
176
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.154",
3
+ "version": "1.5.155",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {