@cool-digital-solutions/interferir-models 1.2.31 → 1.2.33
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.
- package/dist/schemas/problem.schema.js +0 -1
- package/dist/schemas/theme.schema.js +0 -1
- package/dist/schemas/use-case.schema.js +0 -2
- package/dist/schemas/user.schema.js +0 -1
- package/dist/types/general-config-sub.type.d.ts +4 -1
- package/dist/types/general-config-sub.type.js +3 -0
- package/dist/types/problem.type.d.ts +0 -1
- package/dist/types/theme.type.d.ts +0 -1
- package/dist/types/use-case.type.d.ts +0 -2
- package/dist/types/user.type.d.ts +0 -1
- package/package.json +1 -1
|
@@ -23,7 +23,6 @@ const problemSchema = new mongoose_1.Schema({
|
|
|
23
23
|
type: Object,
|
|
24
24
|
default: { publish: 0, private: 0, draft: 0, prePublish: 0 },
|
|
25
25
|
},
|
|
26
|
-
isSyncSolutionCount: { type: Boolean, default: false },
|
|
27
26
|
updatedDate: { type: Number, index: -1 },
|
|
28
27
|
createdDate: { type: Number, index: -1 },
|
|
29
28
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -78,7 +78,6 @@ const themeSchema = new mongoose_1.Schema({
|
|
|
78
78
|
tableOfContents: [{ type: String, default: [] }],
|
|
79
79
|
editorType: { type: String, enum: ['froala', 'ck-editor'], default: 'froala' },
|
|
80
80
|
isDuplicate: { type: Boolean, required: true, default: false },
|
|
81
|
-
isSyncContentForNote: { type: Boolean, default: false },
|
|
82
81
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
83
82
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
84
83
|
updatedDate: { type: Number, index: -1 },
|
|
@@ -66,10 +66,8 @@ const useCaseSchema = new mongoose_1.Schema({
|
|
|
66
66
|
externalParameter: {
|
|
67
67
|
approvedByAI: { type: Boolean, default: false },
|
|
68
68
|
publishedByAI: { type: Boolean, default: false },
|
|
69
|
-
superCase: { type: Boolean, default: false },
|
|
70
69
|
},
|
|
71
70
|
publishDate: { type: Number, default: 0 },
|
|
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
71
|
aiTaskResearchManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' }],
|
|
74
72
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
75
73
|
createdDate: Number,
|
|
@@ -40,7 +40,6 @@ const userSchema = new mongoose_1.Schema({
|
|
|
40
40
|
aiContext: { type: String, default: '' },
|
|
41
41
|
lastActivate: { type: Number, default: 0 },
|
|
42
42
|
visitCount: { type: Number, default: 0 },
|
|
43
|
-
isSyncLastActivityAndVisitCount: { type: Boolean, default: true },
|
|
44
43
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
45
44
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
46
45
|
updatedDate: { type: Number, index: -1 },
|
|
@@ -3,7 +3,10 @@ export declare enum SubConfigType {
|
|
|
3
3
|
ALERT_EMAIL = "alert_email",
|
|
4
4
|
DAILY_LIMIT = "daily_limit",
|
|
5
5
|
REACHED_DAILY_LIMIT_EMAIL = "reached_daily_limit_email",
|
|
6
|
-
EM_ERROR_MESSAGE = "em_error_message"
|
|
6
|
+
EM_ERROR_MESSAGE = "em_error_message",
|
|
7
|
+
STARTUP_COMPETITOR = "startup_competitor",
|
|
8
|
+
STARTUP_INVESTOR_MATCHING = "startup_investor_matching",
|
|
9
|
+
SENT_TO_ENTRAMIND_DAYS = "sent_to_entramind_days"
|
|
7
10
|
}
|
|
8
11
|
export declare enum SubConfigKey {
|
|
9
12
|
SENDED = "sended",
|
|
@@ -7,6 +7,9 @@ var SubConfigType;
|
|
|
7
7
|
SubConfigType["DAILY_LIMIT"] = "daily_limit";
|
|
8
8
|
SubConfigType["REACHED_DAILY_LIMIT_EMAIL"] = "reached_daily_limit_email";
|
|
9
9
|
SubConfigType["EM_ERROR_MESSAGE"] = "em_error_message";
|
|
10
|
+
SubConfigType["STARTUP_COMPETITOR"] = "startup_competitor";
|
|
11
|
+
SubConfigType["STARTUP_INVESTOR_MATCHING"] = "startup_investor_matching";
|
|
12
|
+
SubConfigType["SENT_TO_ENTRAMIND_DAYS"] = "sent_to_entramind_days";
|
|
10
13
|
})(SubConfigType || (exports.SubConfigType = SubConfigType = {}));
|
|
11
14
|
var SubConfigKey;
|
|
12
15
|
(function (SubConfigKey) {
|
|
@@ -37,7 +37,6 @@ interface NewsCrawlingTagList {
|
|
|
37
37
|
interface ExternalParameter {
|
|
38
38
|
approvedByAI: boolean;
|
|
39
39
|
publishedByAI: boolean;
|
|
40
|
-
superCase: boolean;
|
|
41
40
|
}
|
|
42
41
|
export interface IUseCase extends BaseSchema {
|
|
43
42
|
slug: string;
|
|
@@ -74,7 +73,6 @@ export interface IUseCase extends BaseSchema {
|
|
|
74
73
|
score: number;
|
|
75
74
|
}[];
|
|
76
75
|
publishDate?: number;
|
|
77
|
-
isSyncCompanyTags: boolean;
|
|
78
76
|
aiTaskResearchManagerOutputs?: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
|
|
79
77
|
}
|
|
80
78
|
export interface IUseCaseModel extends BaseModel<IUseCase> {
|