@cool-digital-solutions/interferir-models 1.2.27 → 1.2.29
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.
|
@@ -39,8 +39,7 @@ aiTaskOutlineSchema.pre('save', async function (next) {
|
|
|
39
39
|
if (!notUpdatedBy)
|
|
40
40
|
this.updatedBy = user._id;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
if (isNewDocument) {
|
|
42
|
+
if (this.isNew) {
|
|
44
43
|
if (this.parentId) {
|
|
45
44
|
const AiTaskOutline = this.constructor;
|
|
46
45
|
const parentDoc = await AiTaskOutline.findById(this.parentId);
|
|
@@ -44,10 +44,12 @@ export declare enum Context {
|
|
|
44
44
|
}
|
|
45
45
|
export declare enum Key {
|
|
46
46
|
DAILY_LIMIT = "daily_limit",
|
|
47
|
+
DAILY_LIMIT_BASE = "daily_limit_base",// gün sonu bu değere düşer
|
|
47
48
|
ALERT_EMAIL = "alert_email",
|
|
48
49
|
BETA = "beta",
|
|
49
50
|
PROD = "prod",
|
|
50
51
|
EM_ERROR_MESSAGE = "em_error_message",
|
|
52
|
+
EM_ERROR_MESSAGE_BASE = "em_error_message_base",// gün sonu bu değere düşer
|
|
51
53
|
NOT_WORKING_SPARK = "not_working_spark",
|
|
52
54
|
SUGGEST_UPDATE_PROD = "suggest_update_prod",
|
|
53
55
|
EMAIL = "email",
|
|
@@ -23,10 +23,12 @@ var Context;
|
|
|
23
23
|
var Key;
|
|
24
24
|
(function (Key) {
|
|
25
25
|
Key["DAILY_LIMIT"] = "daily_limit";
|
|
26
|
+
Key["DAILY_LIMIT_BASE"] = "daily_limit_base";
|
|
26
27
|
Key["ALERT_EMAIL"] = "alert_email";
|
|
27
28
|
Key["BETA"] = "beta";
|
|
28
29
|
Key["PROD"] = "prod";
|
|
29
30
|
Key["EM_ERROR_MESSAGE"] = "em_error_message";
|
|
31
|
+
Key["EM_ERROR_MESSAGE_BASE"] = "em_error_message_base";
|
|
30
32
|
Key["NOT_WORKING_SPARK"] = "not_working_spark";
|
|
31
33
|
Key["SUGGEST_UPDATE_PROD"] = "suggest_update_prod";
|
|
32
34
|
Key["EMAIL"] = "email";
|