@cool-digital-solutions/interferir-models 1.0.39 → 1.0.41
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.
|
@@ -10,6 +10,7 @@ const competitor_type_1 = require("../types/competitor.type");
|
|
|
10
10
|
const competitorSchema = new mongoose_1.Schema({
|
|
11
11
|
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
|
|
12
12
|
competitor: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
|
|
13
|
+
similarUseCases: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' }],
|
|
13
14
|
isPeerWatch: { type: Boolean, default: false },
|
|
14
15
|
type: {
|
|
15
16
|
type: String,
|
|
@@ -53,6 +53,7 @@ const portiaArticleSchema = new mongoose_1.Schema({
|
|
|
53
53
|
},
|
|
54
54
|
companyReferences: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' }],
|
|
55
55
|
investors: [{ type: String, default: '' }],
|
|
56
|
+
isHasUseCase: { type: Boolean, default: null },
|
|
56
57
|
},
|
|
57
58
|
default: null,
|
|
58
59
|
},
|
|
@@ -32,6 +32,7 @@ export declare enum CompetitorType {
|
|
|
32
32
|
}
|
|
33
33
|
export interface ICompetitor extends BaseSchema {
|
|
34
34
|
company: Types.ObjectId | ICompany;
|
|
35
|
+
similarUseCases: Types.ObjectId[];
|
|
35
36
|
competitor: Types.ObjectId | ICompany;
|
|
36
37
|
isPeerWatch: Boolean;
|
|
37
38
|
type: CompetitorType;
|