@cool-digital-solutions/interferir-models 1.1.97 → 1.1.98
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.
|
@@ -70,6 +70,7 @@ const useCaseSchema = new mongoose_1.Schema({
|
|
|
70
70
|
},
|
|
71
71
|
publishDate: { type: Number, default: 0 },
|
|
72
72
|
isSyncCompanyTags: { type: Boolean, default: false }, // TODO: erk bu sonra silinecek. eklenmesinin amacı, companyler çok fazla olduğu için tagların sync olanları ve olmayanlarını ayırabilmek.
|
|
73
|
+
aiTaskResearchManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' }],
|
|
73
74
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
74
75
|
createdDate: Number,
|
|
75
76
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -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 } from './';
|
|
26
|
+
import { ITheme, ISFTag, ISFSubCategory, ISFCategory, ITechnology, IProblem, IIndustry, ICompany, IUser, ISparkUseCase, IAiTaskResearchManagerOutput } from './';
|
|
27
27
|
import { BaseModel, BaseSchema, ContentDraftStatus, ContentStatus } from '../config';
|
|
28
28
|
interface Source {
|
|
29
29
|
url: string;
|
|
@@ -75,6 +75,7 @@ export interface IUseCase extends BaseSchema {
|
|
|
75
75
|
}[];
|
|
76
76
|
publishDate?: number;
|
|
77
77
|
isSyncCompanyTags: boolean;
|
|
78
|
+
aiTaskResearchManagerOutputs?: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
|
|
78
79
|
}
|
|
79
80
|
export interface IUseCaseModel extends BaseModel<IUseCase> {
|
|
80
81
|
}
|