@cool-digital-solutions/interferir-models 1.3.80 → 1.3.82
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.
|
@@ -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,8 @@ 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
|
+
aiTaskCurationManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskCurationManagerOutput' }],
|
|
64
|
+
sourcePublishDate: { type: Number, default: null },
|
|
63
65
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
64
66
|
createdDate: Number,
|
|
65
67
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -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
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Types } from 'mongoose';
|
|
26
|
-
import { ITheme, ISFTag, ISFSubCategory, ISFCategory, ITechnology, IProblem, IIndustry, ICompany, IUser, ISparkUseCase, IAiTaskResearchManagerOutput } from './';
|
|
26
|
+
import { ITheme, ISFTag, ISFSubCategory, ISFCategory, ITechnology, IProblem, IIndustry, ICompany, IUser, ISparkUseCase, IAiTaskResearchManagerOutput, IAiTaskCurationManagerOutput } from './';
|
|
27
27
|
import { BaseModel, BaseSchema, ContentDraftStatus, ContentStatus } from '../config';
|
|
28
28
|
interface Source {
|
|
29
29
|
url: string;
|
|
@@ -70,6 +70,8 @@ export interface IUseCase extends BaseSchema {
|
|
|
70
70
|
externalParameter: ExternalParameter;
|
|
71
71
|
publishDate?: number;
|
|
72
72
|
aiTaskResearchManagerOutputs?: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
|
|
73
|
+
aiTaskCurationManagerOutputs?: Types.ObjectId[] | IAiTaskCurationManagerOutput[];
|
|
74
|
+
sourcePublishDate?: number;
|
|
73
75
|
}
|
|
74
76
|
export interface IUseCaseModel extends BaseModel<IUseCase> {
|
|
75
77
|
}
|