@okf/ootils 1.3.11 → 1.4.1
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/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +24 -1
- package/dist/node.mjs +24 -1
- package/package.json +1 -1
package/dist/node.d.mts
CHANGED
|
@@ -378,7 +378,7 @@ declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any
|
|
|
378
378
|
__v: number;
|
|
379
379
|
}>;
|
|
380
380
|
|
|
381
|
-
declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "
|
|
381
|
+
declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
|
|
382
382
|
type PlatformConfigType = typeof platformConfigTypes[number];
|
|
383
383
|
interface IPlatformConfig extends Document {
|
|
384
384
|
type: PlatformConfigType;
|
package/dist/node.d.ts
CHANGED
|
@@ -378,7 +378,7 @@ declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any
|
|
|
378
378
|
__v: number;
|
|
379
379
|
}>;
|
|
380
380
|
|
|
381
|
-
declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "
|
|
381
|
+
declare const platformConfigTypes: readonly ["roles", "nav", "deployment", "userAgreement", "localeData", "theme", "ai"];
|
|
382
382
|
type PlatformConfigType = typeof platformConfigTypes[number];
|
|
383
383
|
interface IPlatformConfig extends Document {
|
|
384
384
|
type: PlatformConfigType;
|
package/dist/node.js
CHANGED
|
@@ -177,7 +177,7 @@ var init_PlatformConfigs = __esm({
|
|
|
177
177
|
"userAgreement",
|
|
178
178
|
"localeData",
|
|
179
179
|
"theme",
|
|
180
|
-
"
|
|
180
|
+
"ai"
|
|
181
181
|
];
|
|
182
182
|
PlatformConfigsSchema = new import_mongoose2.default.Schema(
|
|
183
183
|
{
|
|
@@ -926,6 +926,29 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
926
926
|
// ...60 seconds (higher throughput for chunking)
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
+
},
|
|
930
|
+
DIRECT_DATA_IMPORT_QUEUE: {
|
|
931
|
+
id: "direct-data-import-queue",
|
|
932
|
+
queueConfig: {
|
|
933
|
+
defaultJobOptions: {
|
|
934
|
+
backoff: {
|
|
935
|
+
type: "exponential",
|
|
936
|
+
delay: 2e3
|
|
937
|
+
},
|
|
938
|
+
attempts: 3,
|
|
939
|
+
removeOnComplete: 100,
|
|
940
|
+
removeOnFail: 50
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
workerConfig: {
|
|
944
|
+
concurrency: 1,
|
|
945
|
+
limiter: {
|
|
946
|
+
max: 5,
|
|
947
|
+
// Max 50 jobs per...
|
|
948
|
+
duration: 6e4
|
|
949
|
+
// ...60 seconds (higher throughput for chunking)
|
|
950
|
+
}
|
|
951
|
+
}
|
|
929
952
|
}
|
|
930
953
|
};
|
|
931
954
|
}
|
package/dist/node.mjs
CHANGED
|
@@ -182,7 +182,7 @@ var init_PlatformConfigs = __esm({
|
|
|
182
182
|
"userAgreement",
|
|
183
183
|
"localeData",
|
|
184
184
|
"theme",
|
|
185
|
-
"
|
|
185
|
+
"ai"
|
|
186
186
|
];
|
|
187
187
|
PlatformConfigsSchema = new mongoose2.Schema(
|
|
188
188
|
{
|
|
@@ -931,6 +931,29 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
931
931
|
// ...60 seconds (higher throughput for chunking)
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
+
},
|
|
935
|
+
DIRECT_DATA_IMPORT_QUEUE: {
|
|
936
|
+
id: "direct-data-import-queue",
|
|
937
|
+
queueConfig: {
|
|
938
|
+
defaultJobOptions: {
|
|
939
|
+
backoff: {
|
|
940
|
+
type: "exponential",
|
|
941
|
+
delay: 2e3
|
|
942
|
+
},
|
|
943
|
+
attempts: 3,
|
|
944
|
+
removeOnComplete: 100,
|
|
945
|
+
removeOnFail: 50
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
workerConfig: {
|
|
949
|
+
concurrency: 1,
|
|
950
|
+
limiter: {
|
|
951
|
+
max: 5,
|
|
952
|
+
// Max 50 jobs per...
|
|
953
|
+
duration: 6e4
|
|
954
|
+
// ...60 seconds (higher throughput for chunking)
|
|
955
|
+
}
|
|
956
|
+
}
|
|
934
957
|
}
|
|
935
958
|
};
|
|
936
959
|
}
|