@cool-digital-solutions/interferir-models 1.3.79 → 1.3.81

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.
@@ -18,6 +18,7 @@ const aiTaskResearchManagerOutputPresentationSubmissionSchema = new mongoose_1.S
18
18
  scopes: [{ type: String }],
19
19
  additionalScope: { type: String },
20
20
  name: { type: String },
21
+ language: { type: String, required: true },
21
22
  },
22
23
  startDate: { type: Number },
23
24
  endDate: { type: Number },
@@ -18,6 +18,7 @@ const aiTaskResearchManagerOutputSummarySubmissionSchema = new mongoose_1.Schema
18
18
  scopes: [{ type: String }],
19
19
  additionalScope: { type: String },
20
20
  name: { type: String },
21
+ language: { type: String, required: true },
21
22
  },
22
23
  startDate: { type: Number },
23
24
  endDate: { type: Number },
@@ -73,6 +73,7 @@ const sparkUseCaseSchema = new mongoose_1.Schema({
73
73
  startup: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
74
74
  },
75
75
  importanceHTML: { type: String, default: '' },
76
+ sourcePublishDate: { type: Number, default: null },
76
77
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
77
78
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
78
79
  updatedDate: { type: Number, index: -1 },
@@ -60,6 +60,7 @@ const useCaseSchema = new mongoose_1.Schema({
60
60
  },
61
61
  publishDate: { type: Number, default: 0 },
62
62
  aiTaskResearchManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' }],
63
+ sourcePublishDate: { type: Number, default: null },
63
64
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
64
65
  createdDate: Number,
65
66
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
@@ -55,6 +55,7 @@ export interface IAiTaskResearchManagerOutputPresentationSubmission extends Base
55
55
  scopes: string[];
56
56
  additionalScope: string;
57
57
  name: string;
58
+ language: string;
58
59
  };
59
60
  startDate: number;
60
61
  endDate: number;
@@ -55,6 +55,7 @@ export interface IAiTaskResearchManagerOutputSummarySubmission extends BaseSchem
55
55
  scopes: string[];
56
56
  additionalScope: string;
57
57
  name: string;
58
+ language: string;
58
59
  };
59
60
  startDate: number;
60
61
  endDate: number;
@@ -98,6 +98,7 @@ export interface ISparkUseCase extends BaseSchema {
98
98
  portiaArticle: Types.ObjectId | IPortiaArticle;
99
99
  source: Source;
100
100
  importanceHTML: string;
101
+ sourcePublishDate: number;
101
102
  }
102
103
  export interface ISparkUseCaseModel extends BaseModel<ISparkUseCase> {
103
104
  }
@@ -70,6 +70,7 @@ export interface IUseCase extends BaseSchema {
70
70
  externalParameter: ExternalParameter;
71
71
  publishDate?: number;
72
72
  aiTaskResearchManagerOutputs?: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
73
+ sourcePublishDate?: number;
73
74
  }
74
75
  export interface IUseCaseModel extends BaseModel<IUseCase> {
75
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.79",
3
+ "version": "1.3.81",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"