gemcap-be-common 1.5.154 → 1.5.156

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.
@@ -35,7 +35,7 @@ export interface IAIJobResponseChunk {
35
35
  }
36
36
  export interface IAIJobInputFile {
37
37
  storageFileId: string;
38
- aiStorageFileId: string;
38
+ aiStorageFileId?: string;
39
39
  createdAt: Date;
40
40
  }
41
41
  export interface IAIJobInputFileLean extends IAIJobInputFile {
@@ -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;
@@ -53,7 +53,7 @@ exports.AIJobSchema = new mongoose_1.default.Schema({
53
53
  },
54
54
  aiStorageFileId: {
55
55
  type: String,
56
- required: true,
56
+ required: false,
57
57
  },
58
58
  createdAt: {
59
59
  type: Date,
@@ -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,
@@ -22,7 +22,7 @@ export interface IAIJobResponseChunk {
22
22
 
23
23
  export interface IAIJobInputFile {
24
24
  storageFileId: string;
25
- aiStorageFileId: string;
25
+ aiStorageFileId?: string;
26
26
  createdAt: Date;
27
27
  }
28
28
 
@@ -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;
@@ -155,7 +155,7 @@ export const AIJobSchema = new mongoose.Schema<IAIJob, TAIJobModel>(
155
155
  },
156
156
  aiStorageFileId: {
157
157
  type: String,
158
- required: true,
158
+ required: false,
159
159
  },
160
160
  createdAt: {
161
161
  type: Date,
@@ -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.156",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {