@okf/ootils 1.15.0 → 1.15.2
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/browser.js +8 -6
- package/dist/browser.mjs +8 -6
- package/dist/node.d.mts +24 -23
- package/dist/node.d.ts +24 -23
- package/dist/node.js +14 -6
- package/dist/node.mjs +14 -6
- package/dist/universal.js +8 -6
- package/dist/universal.mjs +8 -6
- package/package.json +15 -15
package/dist/browser.js
CHANGED
|
@@ -479,9 +479,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
479
479
|
}
|
|
480
480
|
},
|
|
481
481
|
workerConfig: {
|
|
482
|
-
concurrency:
|
|
482
|
+
concurrency: 50,
|
|
483
483
|
lockDuration: 9e4,
|
|
484
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
484
485
|
maxStalledCount: 3
|
|
486
|
+
// Allow mome retries for stalled jobs
|
|
485
487
|
}
|
|
486
488
|
},
|
|
487
489
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -504,7 +506,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
504
506
|
}
|
|
505
507
|
},
|
|
506
508
|
workerConfig: {
|
|
507
|
-
concurrency:
|
|
509
|
+
concurrency: 50,
|
|
508
510
|
lockDuration: 9e4,
|
|
509
511
|
maxStalledCount: 3
|
|
510
512
|
}
|
|
@@ -529,7 +531,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
529
531
|
}
|
|
530
532
|
},
|
|
531
533
|
workerConfig: {
|
|
532
|
-
concurrency:
|
|
534
|
+
concurrency: 50,
|
|
533
535
|
lockDuration: 9e4,
|
|
534
536
|
maxStalledCount: 3
|
|
535
537
|
}
|
|
@@ -617,7 +619,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
617
619
|
}
|
|
618
620
|
},
|
|
619
621
|
workerConfig: {
|
|
620
|
-
concurrency:
|
|
622
|
+
concurrency: 50,
|
|
621
623
|
lockDuration: 9e4,
|
|
622
624
|
maxStalledCount: 3
|
|
623
625
|
}
|
|
@@ -642,7 +644,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
642
644
|
}
|
|
643
645
|
},
|
|
644
646
|
workerConfig: {
|
|
645
|
-
concurrency:
|
|
647
|
+
concurrency: 50,
|
|
646
648
|
lockDuration: 9e4,
|
|
647
649
|
maxStalledCount: 3
|
|
648
650
|
}
|
|
@@ -667,7 +669,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
667
669
|
}
|
|
668
670
|
},
|
|
669
671
|
workerConfig: {
|
|
670
|
-
concurrency:
|
|
672
|
+
concurrency: 50,
|
|
671
673
|
lockDuration: 9e4,
|
|
672
674
|
maxStalledCount: 3
|
|
673
675
|
}
|
package/dist/browser.mjs
CHANGED
|
@@ -443,9 +443,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
workerConfig: {
|
|
446
|
-
concurrency:
|
|
446
|
+
concurrency: 50,
|
|
447
447
|
lockDuration: 9e4,
|
|
448
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
448
449
|
maxStalledCount: 3
|
|
450
|
+
// Allow mome retries for stalled jobs
|
|
449
451
|
}
|
|
450
452
|
},
|
|
451
453
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -468,7 +470,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
468
470
|
}
|
|
469
471
|
},
|
|
470
472
|
workerConfig: {
|
|
471
|
-
concurrency:
|
|
473
|
+
concurrency: 50,
|
|
472
474
|
lockDuration: 9e4,
|
|
473
475
|
maxStalledCount: 3
|
|
474
476
|
}
|
|
@@ -493,7 +495,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
493
495
|
}
|
|
494
496
|
},
|
|
495
497
|
workerConfig: {
|
|
496
|
-
concurrency:
|
|
498
|
+
concurrency: 50,
|
|
497
499
|
lockDuration: 9e4,
|
|
498
500
|
maxStalledCount: 3
|
|
499
501
|
}
|
|
@@ -581,7 +583,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
581
583
|
}
|
|
582
584
|
},
|
|
583
585
|
workerConfig: {
|
|
584
|
-
concurrency:
|
|
586
|
+
concurrency: 50,
|
|
585
587
|
lockDuration: 9e4,
|
|
586
588
|
maxStalledCount: 3
|
|
587
589
|
}
|
|
@@ -606,7 +608,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
606
608
|
}
|
|
607
609
|
},
|
|
608
610
|
workerConfig: {
|
|
609
|
-
concurrency:
|
|
611
|
+
concurrency: 50,
|
|
610
612
|
lockDuration: 9e4,
|
|
611
613
|
maxStalledCount: 3
|
|
612
614
|
}
|
|
@@ -631,7 +633,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
631
633
|
}
|
|
632
634
|
},
|
|
633
635
|
workerConfig: {
|
|
634
|
-
concurrency:
|
|
636
|
+
concurrency: 50,
|
|
635
637
|
lockDuration: 9e4,
|
|
636
638
|
maxStalledCount: 3
|
|
637
639
|
}
|
package/dist/node.d.mts
CHANGED
|
@@ -942,12 +942,12 @@ interface IAnnotation extends Document {
|
|
|
942
942
|
displayTitle: string;
|
|
943
943
|
getMainField(fieldPath?: string): any;
|
|
944
944
|
}
|
|
945
|
-
declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any> & IAnnotation & Required<{
|
|
946
|
-
_id:
|
|
945
|
+
declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
|
|
946
|
+
_id: Types.ObjectId;
|
|
947
947
|
}> & {
|
|
948
948
|
__v: number;
|
|
949
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}
|
|
950
|
-
_id:
|
|
949
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAnnotation> & Required<{
|
|
950
|
+
_id: Types.ObjectId;
|
|
951
951
|
}> & {
|
|
952
952
|
__v: number;
|
|
953
953
|
}>;
|
|
@@ -980,12 +980,12 @@ interface IAIChat extends Document {
|
|
|
980
980
|
lastActivity: Date;
|
|
981
981
|
messages: IMessage[];
|
|
982
982
|
}
|
|
983
|
-
declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any> & IAIChat & Required<{
|
|
984
|
-
_id:
|
|
983
|
+
declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
|
|
984
|
+
_id: mongoose.Types.ObjectId;
|
|
985
985
|
}> & {
|
|
986
986
|
__v: number;
|
|
987
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}
|
|
988
|
-
_id:
|
|
987
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAIChat> & Required<{
|
|
988
|
+
_id: mongoose.Types.ObjectId;
|
|
989
989
|
}> & {
|
|
990
990
|
__v: number;
|
|
991
991
|
}>;
|
|
@@ -998,12 +998,12 @@ interface IPlatformConfig extends Document {
|
|
|
998
998
|
roles?: any[];
|
|
999
999
|
data?: any;
|
|
1000
1000
|
}
|
|
1001
|
-
declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any> & IPlatformConfig & Required<{
|
|
1002
|
-
_id:
|
|
1001
|
+
declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
|
|
1002
|
+
_id: mongoose.Types.ObjectId;
|
|
1003
1003
|
}> & {
|
|
1004
1004
|
__v: number;
|
|
1005
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}
|
|
1006
|
-
_id:
|
|
1005
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IPlatformConfig> & Required<{
|
|
1006
|
+
_id: mongoose.Types.ObjectId;
|
|
1007
1007
|
}> & {
|
|
1008
1008
|
__v: number;
|
|
1009
1009
|
}>;
|
|
@@ -1082,14 +1082,15 @@ interface ITplDocument extends Document {
|
|
|
1082
1082
|
rollbacks?: object;
|
|
1083
1083
|
listing?: object;
|
|
1084
1084
|
general?: IGeneral;
|
|
1085
|
+
directDataImportOutline?: object[];
|
|
1085
1086
|
layout: string;
|
|
1086
1087
|
}
|
|
1087
|
-
declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any> & ITplDocument & Required<{
|
|
1088
|
-
_id:
|
|
1088
|
+
declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
|
|
1089
|
+
_id: mongoose.Types.ObjectId;
|
|
1089
1090
|
}> & {
|
|
1090
1091
|
__v: number;
|
|
1091
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}
|
|
1092
|
-
_id:
|
|
1092
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ITplDocument> & Required<{
|
|
1093
|
+
_id: mongoose.Types.ObjectId;
|
|
1093
1094
|
}> & {
|
|
1094
1095
|
__v: number;
|
|
1095
1096
|
}>;
|
|
@@ -1159,29 +1160,29 @@ declare class BaseProducer {
|
|
|
1159
1160
|
}>;
|
|
1160
1161
|
getJobDetails(limit?: number): Promise<{
|
|
1161
1162
|
waiting: {
|
|
1162
|
-
id:
|
|
1163
|
+
id: string | undefined;
|
|
1163
1164
|
batchIndex: any;
|
|
1164
1165
|
totalBatches: any;
|
|
1165
1166
|
rawRecordsCount: any;
|
|
1166
1167
|
}[];
|
|
1167
1168
|
active: {
|
|
1168
|
-
id:
|
|
1169
|
+
id: string | undefined;
|
|
1169
1170
|
batchIndex: any;
|
|
1170
1171
|
totalBatches: any;
|
|
1171
|
-
progress:
|
|
1172
|
+
progress: bullmq.JobProgress;
|
|
1172
1173
|
rawRecordsCount: any;
|
|
1173
1174
|
}[];
|
|
1174
1175
|
completed: {
|
|
1175
|
-
id:
|
|
1176
|
+
id: string | undefined;
|
|
1176
1177
|
batchIndex: any;
|
|
1177
1178
|
totalProcessed: any;
|
|
1178
1179
|
summary: any;
|
|
1179
1180
|
}[];
|
|
1180
1181
|
failed: {
|
|
1181
|
-
id:
|
|
1182
|
+
id: string | undefined;
|
|
1182
1183
|
batchIndex: any;
|
|
1183
|
-
error:
|
|
1184
|
-
attempts:
|
|
1184
|
+
error: string;
|
|
1185
|
+
attempts: number;
|
|
1185
1186
|
}[];
|
|
1186
1187
|
}>;
|
|
1187
1188
|
stop(): Promise<void>;
|
package/dist/node.d.ts
CHANGED
|
@@ -942,12 +942,12 @@ interface IAnnotation extends Document {
|
|
|
942
942
|
displayTitle: string;
|
|
943
943
|
getMainField(fieldPath?: string): any;
|
|
944
944
|
}
|
|
945
|
-
declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any> & IAnnotation & Required<{
|
|
946
|
-
_id:
|
|
945
|
+
declare const AnnotationSchema: mongoose.Schema<IAnnotation, mongoose.Model<IAnnotation, any, any, any, mongoose.Document<unknown, any, IAnnotation, any, {}> & IAnnotation & Required<{
|
|
946
|
+
_id: Types.ObjectId;
|
|
947
947
|
}> & {
|
|
948
948
|
__v: number;
|
|
949
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}
|
|
950
|
-
_id:
|
|
949
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAnnotation, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAnnotation>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAnnotation> & Required<{
|
|
950
|
+
_id: Types.ObjectId;
|
|
951
951
|
}> & {
|
|
952
952
|
__v: number;
|
|
953
953
|
}>;
|
|
@@ -980,12 +980,12 @@ interface IAIChat extends Document {
|
|
|
980
980
|
lastActivity: Date;
|
|
981
981
|
messages: IMessage[];
|
|
982
982
|
}
|
|
983
|
-
declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any> & IAIChat & Required<{
|
|
984
|
-
_id:
|
|
983
|
+
declare const AIChatSchema: mongoose.Schema<IAIChat, mongoose.Model<IAIChat, any, any, any, mongoose.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
|
|
984
|
+
_id: mongoose.Types.ObjectId;
|
|
985
985
|
}> & {
|
|
986
986
|
__v: number;
|
|
987
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}
|
|
988
|
-
_id:
|
|
987
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAIChat, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAIChat>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IAIChat> & Required<{
|
|
988
|
+
_id: mongoose.Types.ObjectId;
|
|
989
989
|
}> & {
|
|
990
990
|
__v: number;
|
|
991
991
|
}>;
|
|
@@ -998,12 +998,12 @@ interface IPlatformConfig extends Document {
|
|
|
998
998
|
roles?: any[];
|
|
999
999
|
data?: any;
|
|
1000
1000
|
}
|
|
1001
|
-
declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any> & IPlatformConfig & Required<{
|
|
1002
|
-
_id:
|
|
1001
|
+
declare const PlatformConfigsSchema: mongoose.Schema<IPlatformConfig, mongoose.Model<IPlatformConfig, any, any, any, mongoose.Document<unknown, any, IPlatformConfig, any, {}> & IPlatformConfig & Required<{
|
|
1002
|
+
_id: mongoose.Types.ObjectId;
|
|
1003
1003
|
}> & {
|
|
1004
1004
|
__v: number;
|
|
1005
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}
|
|
1006
|
-
_id:
|
|
1005
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IPlatformConfig, mongoose.Document<unknown, {}, mongoose.FlatRecord<IPlatformConfig>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<IPlatformConfig> & Required<{
|
|
1006
|
+
_id: mongoose.Types.ObjectId;
|
|
1007
1007
|
}> & {
|
|
1008
1008
|
__v: number;
|
|
1009
1009
|
}>;
|
|
@@ -1082,14 +1082,15 @@ interface ITplDocument extends Document {
|
|
|
1082
1082
|
rollbacks?: object;
|
|
1083
1083
|
listing?: object;
|
|
1084
1084
|
general?: IGeneral;
|
|
1085
|
+
directDataImportOutline?: object[];
|
|
1085
1086
|
layout: string;
|
|
1086
1087
|
}
|
|
1087
|
-
declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any> & ITplDocument & Required<{
|
|
1088
|
-
_id:
|
|
1088
|
+
declare const TplSchema: mongoose.Schema<ITplDocument, mongoose.Model<ITplDocument, any, any, any, mongoose.Document<unknown, any, ITplDocument, any, {}> & ITplDocument & Required<{
|
|
1089
|
+
_id: mongoose.Types.ObjectId;
|
|
1089
1090
|
}> & {
|
|
1090
1091
|
__v: number;
|
|
1091
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}
|
|
1092
|
-
_id:
|
|
1092
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ITplDocument, mongoose.Document<unknown, {}, mongoose.FlatRecord<ITplDocument>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ITplDocument> & Required<{
|
|
1093
|
+
_id: mongoose.Types.ObjectId;
|
|
1093
1094
|
}> & {
|
|
1094
1095
|
__v: number;
|
|
1095
1096
|
}>;
|
|
@@ -1159,29 +1160,29 @@ declare class BaseProducer {
|
|
|
1159
1160
|
}>;
|
|
1160
1161
|
getJobDetails(limit?: number): Promise<{
|
|
1161
1162
|
waiting: {
|
|
1162
|
-
id:
|
|
1163
|
+
id: string | undefined;
|
|
1163
1164
|
batchIndex: any;
|
|
1164
1165
|
totalBatches: any;
|
|
1165
1166
|
rawRecordsCount: any;
|
|
1166
1167
|
}[];
|
|
1167
1168
|
active: {
|
|
1168
|
-
id:
|
|
1169
|
+
id: string | undefined;
|
|
1169
1170
|
batchIndex: any;
|
|
1170
1171
|
totalBatches: any;
|
|
1171
|
-
progress:
|
|
1172
|
+
progress: bullmq.JobProgress;
|
|
1172
1173
|
rawRecordsCount: any;
|
|
1173
1174
|
}[];
|
|
1174
1175
|
completed: {
|
|
1175
|
-
id:
|
|
1176
|
+
id: string | undefined;
|
|
1176
1177
|
batchIndex: any;
|
|
1177
1178
|
totalProcessed: any;
|
|
1178
1179
|
summary: any;
|
|
1179
1180
|
}[];
|
|
1180
1181
|
failed: {
|
|
1181
|
-
id:
|
|
1182
|
+
id: string | undefined;
|
|
1182
1183
|
batchIndex: any;
|
|
1183
|
-
error:
|
|
1184
|
-
attempts:
|
|
1184
|
+
error: string;
|
|
1185
|
+
attempts: number;
|
|
1185
1186
|
}[];
|
|
1186
1187
|
}>;
|
|
1187
1188
|
stop(): Promise<void>;
|
package/dist/node.js
CHANGED
|
@@ -98,9 +98,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
workerConfig: {
|
|
101
|
-
concurrency:
|
|
101
|
+
concurrency: 50,
|
|
102
102
|
lockDuration: 9e4,
|
|
103
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
103
104
|
maxStalledCount: 3
|
|
105
|
+
// Allow mome retries for stalled jobs
|
|
104
106
|
}
|
|
105
107
|
},
|
|
106
108
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -123,7 +125,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
123
125
|
}
|
|
124
126
|
},
|
|
125
127
|
workerConfig: {
|
|
126
|
-
concurrency:
|
|
128
|
+
concurrency: 50,
|
|
127
129
|
lockDuration: 9e4,
|
|
128
130
|
maxStalledCount: 3
|
|
129
131
|
}
|
|
@@ -148,7 +150,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
148
150
|
}
|
|
149
151
|
},
|
|
150
152
|
workerConfig: {
|
|
151
|
-
concurrency:
|
|
153
|
+
concurrency: 50,
|
|
152
154
|
lockDuration: 9e4,
|
|
153
155
|
maxStalledCount: 3
|
|
154
156
|
}
|
|
@@ -236,7 +238,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
236
238
|
}
|
|
237
239
|
},
|
|
238
240
|
workerConfig: {
|
|
239
|
-
concurrency:
|
|
241
|
+
concurrency: 50,
|
|
240
242
|
lockDuration: 9e4,
|
|
241
243
|
maxStalledCount: 3
|
|
242
244
|
}
|
|
@@ -261,7 +263,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
261
263
|
}
|
|
262
264
|
},
|
|
263
265
|
workerConfig: {
|
|
264
|
-
concurrency:
|
|
266
|
+
concurrency: 50,
|
|
265
267
|
lockDuration: 9e4,
|
|
266
268
|
maxStalledCount: 3
|
|
267
269
|
}
|
|
@@ -286,7 +288,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
286
288
|
}
|
|
287
289
|
},
|
|
288
290
|
workerConfig: {
|
|
289
|
-
concurrency:
|
|
291
|
+
concurrency: 50,
|
|
290
292
|
lockDuration: 9e4,
|
|
291
293
|
maxStalledCount: 3
|
|
292
294
|
}
|
|
@@ -556,6 +558,12 @@ var init_Tpl = __esm({
|
|
|
556
558
|
},
|
|
557
559
|
rollbacks: Object,
|
|
558
560
|
//for 'remembering' hidden configurations
|
|
561
|
+
/**
|
|
562
|
+
* Stores the schemaExtractor outline from direct data import.
|
|
563
|
+
* Used to return the same field configuration when users "import more data"
|
|
564
|
+
* to this dataset, improving UX by not requiring re-configuration.
|
|
565
|
+
*/
|
|
566
|
+
directDataImportOutline: [{ type: Object }],
|
|
559
567
|
// OTHER CONFIGS
|
|
560
568
|
listing: Object,
|
|
561
569
|
//listing page configurations. this is new, currently only used in nct
|
package/dist/node.mjs
CHANGED
|
@@ -103,9 +103,11 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
workerConfig: {
|
|
106
|
-
concurrency:
|
|
106
|
+
concurrency: 50,
|
|
107
107
|
lockDuration: 9e4,
|
|
108
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
108
109
|
maxStalledCount: 3
|
|
110
|
+
// Allow mome retries for stalled jobs
|
|
109
111
|
}
|
|
110
112
|
},
|
|
111
113
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -128,7 +130,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
128
130
|
}
|
|
129
131
|
},
|
|
130
132
|
workerConfig: {
|
|
131
|
-
concurrency:
|
|
133
|
+
concurrency: 50,
|
|
132
134
|
lockDuration: 9e4,
|
|
133
135
|
maxStalledCount: 3
|
|
134
136
|
}
|
|
@@ -153,7 +155,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
153
155
|
}
|
|
154
156
|
},
|
|
155
157
|
workerConfig: {
|
|
156
|
-
concurrency:
|
|
158
|
+
concurrency: 50,
|
|
157
159
|
lockDuration: 9e4,
|
|
158
160
|
maxStalledCount: 3
|
|
159
161
|
}
|
|
@@ -241,7 +243,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
241
243
|
}
|
|
242
244
|
},
|
|
243
245
|
workerConfig: {
|
|
244
|
-
concurrency:
|
|
246
|
+
concurrency: 50,
|
|
245
247
|
lockDuration: 9e4,
|
|
246
248
|
maxStalledCount: 3
|
|
247
249
|
}
|
|
@@ -266,7 +268,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
266
268
|
}
|
|
267
269
|
},
|
|
268
270
|
workerConfig: {
|
|
269
|
-
concurrency:
|
|
271
|
+
concurrency: 50,
|
|
270
272
|
lockDuration: 9e4,
|
|
271
273
|
maxStalledCount: 3
|
|
272
274
|
}
|
|
@@ -291,7 +293,7 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
291
293
|
}
|
|
292
294
|
},
|
|
293
295
|
workerConfig: {
|
|
294
|
-
concurrency:
|
|
296
|
+
concurrency: 50,
|
|
295
297
|
lockDuration: 9e4,
|
|
296
298
|
maxStalledCount: 3
|
|
297
299
|
}
|
|
@@ -561,6 +563,12 @@ var init_Tpl = __esm({
|
|
|
561
563
|
},
|
|
562
564
|
rollbacks: Object,
|
|
563
565
|
//for 'remembering' hidden configurations
|
|
566
|
+
/**
|
|
567
|
+
* Stores the schemaExtractor outline from direct data import.
|
|
568
|
+
* Used to return the same field configuration when users "import more data"
|
|
569
|
+
* to this dataset, improving UX by not requiring re-configuration.
|
|
570
|
+
*/
|
|
571
|
+
directDataImportOutline: [{ type: Object }],
|
|
564
572
|
// OTHER CONFIGS
|
|
565
573
|
listing: Object,
|
|
566
574
|
//listing page configurations. this is new, currently only used in nct
|
package/dist/universal.js
CHANGED
|
@@ -479,9 +479,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
479
479
|
}
|
|
480
480
|
},
|
|
481
481
|
workerConfig: {
|
|
482
|
-
concurrency:
|
|
482
|
+
concurrency: 50,
|
|
483
483
|
lockDuration: 9e4,
|
|
484
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
484
485
|
maxStalledCount: 3
|
|
486
|
+
// Allow mome retries for stalled jobs
|
|
485
487
|
}
|
|
486
488
|
},
|
|
487
489
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -504,7 +506,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
504
506
|
}
|
|
505
507
|
},
|
|
506
508
|
workerConfig: {
|
|
507
|
-
concurrency:
|
|
509
|
+
concurrency: 50,
|
|
508
510
|
lockDuration: 9e4,
|
|
509
511
|
maxStalledCount: 3
|
|
510
512
|
}
|
|
@@ -529,7 +531,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
529
531
|
}
|
|
530
532
|
},
|
|
531
533
|
workerConfig: {
|
|
532
|
-
concurrency:
|
|
534
|
+
concurrency: 50,
|
|
533
535
|
lockDuration: 9e4,
|
|
534
536
|
maxStalledCount: 3
|
|
535
537
|
}
|
|
@@ -617,7 +619,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
617
619
|
}
|
|
618
620
|
},
|
|
619
621
|
workerConfig: {
|
|
620
|
-
concurrency:
|
|
622
|
+
concurrency: 50,
|
|
621
623
|
lockDuration: 9e4,
|
|
622
624
|
maxStalledCount: 3
|
|
623
625
|
}
|
|
@@ -642,7 +644,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
642
644
|
}
|
|
643
645
|
},
|
|
644
646
|
workerConfig: {
|
|
645
|
-
concurrency:
|
|
647
|
+
concurrency: 50,
|
|
646
648
|
lockDuration: 9e4,
|
|
647
649
|
maxStalledCount: 3
|
|
648
650
|
}
|
|
@@ -667,7 +669,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
667
669
|
}
|
|
668
670
|
},
|
|
669
671
|
workerConfig: {
|
|
670
|
-
concurrency:
|
|
672
|
+
concurrency: 50,
|
|
671
673
|
lockDuration: 9e4,
|
|
672
674
|
maxStalledCount: 3
|
|
673
675
|
}
|
package/dist/universal.mjs
CHANGED
|
@@ -443,9 +443,11 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
workerConfig: {
|
|
446
|
-
concurrency:
|
|
446
|
+
concurrency: 50,
|
|
447
447
|
lockDuration: 9e4,
|
|
448
|
+
// 90 seconds lock duration for chunk processing (which can be lengthy)
|
|
448
449
|
maxStalledCount: 3
|
|
450
|
+
// Allow mome retries for stalled jobs
|
|
449
451
|
}
|
|
450
452
|
},
|
|
451
453
|
CREATE_ANNOS_QUEUE: {
|
|
@@ -468,7 +470,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
468
470
|
}
|
|
469
471
|
},
|
|
470
472
|
workerConfig: {
|
|
471
|
-
concurrency:
|
|
473
|
+
concurrency: 50,
|
|
472
474
|
lockDuration: 9e4,
|
|
473
475
|
maxStalledCount: 3
|
|
474
476
|
}
|
|
@@ -493,7 +495,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
493
495
|
}
|
|
494
496
|
},
|
|
495
497
|
workerConfig: {
|
|
496
|
-
concurrency:
|
|
498
|
+
concurrency: 50,
|
|
497
499
|
lockDuration: 9e4,
|
|
498
500
|
maxStalledCount: 3
|
|
499
501
|
}
|
|
@@ -581,7 +583,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
581
583
|
}
|
|
582
584
|
},
|
|
583
585
|
workerConfig: {
|
|
584
|
-
concurrency:
|
|
586
|
+
concurrency: 50,
|
|
585
587
|
lockDuration: 9e4,
|
|
586
588
|
maxStalledCount: 3
|
|
587
589
|
}
|
|
@@ -606,7 +608,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
606
608
|
}
|
|
607
609
|
},
|
|
608
610
|
workerConfig: {
|
|
609
|
-
concurrency:
|
|
611
|
+
concurrency: 50,
|
|
610
612
|
lockDuration: 9e4,
|
|
611
613
|
maxStalledCount: 3
|
|
612
614
|
}
|
|
@@ -631,7 +633,7 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
631
633
|
}
|
|
632
634
|
},
|
|
633
635
|
workerConfig: {
|
|
634
|
-
concurrency:
|
|
636
|
+
concurrency: 50,
|
|
635
637
|
lockDuration: 9e4,
|
|
636
638
|
maxStalledCount: 3
|
|
637
639
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.15.
|
|
6
|
+
"version": "1.15.2",
|
|
7
7
|
"description": "Utility functions for both browser and Node.js",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.mjs",
|
|
@@ -11,35 +11,35 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"browser": {
|
|
14
|
+
"types": "./dist/browser.d.ts",
|
|
14
15
|
"import": "./dist/browser.mjs",
|
|
15
|
-
"require": "./dist/browser.js"
|
|
16
|
-
"types": "./dist/browser.d.ts"
|
|
16
|
+
"require": "./dist/browser.js"
|
|
17
17
|
},
|
|
18
18
|
"node": {
|
|
19
|
+
"types": "./dist/node.d.ts",
|
|
19
20
|
"import": "./dist/node.mjs",
|
|
20
|
-
"require": "./dist/node.js"
|
|
21
|
-
"types": "./dist/node.d.ts"
|
|
21
|
+
"require": "./dist/node.js"
|
|
22
22
|
},
|
|
23
23
|
"default": {
|
|
24
|
+
"types": "./dist/universal.d.ts",
|
|
24
25
|
"import": "./dist/universal.mjs",
|
|
25
|
-
"require": "./dist/universal.js"
|
|
26
|
-
"types": "./dist/universal.d.ts"
|
|
26
|
+
"require": "./dist/universal.js"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"./browser": {
|
|
30
|
+
"types": "./dist/browser.d.ts",
|
|
30
31
|
"import": "./dist/browser.mjs",
|
|
31
|
-
"require": "./dist/browser.js"
|
|
32
|
-
"types": "./dist/browser.d.ts"
|
|
32
|
+
"require": "./dist/browser.js"
|
|
33
33
|
},
|
|
34
34
|
"./node": {
|
|
35
|
+
"types": "./dist/node.d.ts",
|
|
35
36
|
"import": "./dist/node.mjs",
|
|
36
|
-
"require": "./dist/node.js"
|
|
37
|
-
"types": "./dist/node.d.ts"
|
|
37
|
+
"require": "./dist/node.js"
|
|
38
38
|
},
|
|
39
39
|
"./universal": {
|
|
40
|
+
"types": "./dist/universal.d.ts",
|
|
40
41
|
"import": "./dist/universal.mjs",
|
|
41
|
-
"require": "./dist/universal.js"
|
|
42
|
-
"types": "./dist/universal.d.ts"
|
|
42
|
+
"require": "./dist/universal.js"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@semantic-release/changelog": "^6.0.3",
|
|
63
63
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
64
64
|
"@semantic-release/github": "^11.0.1",
|
|
65
|
-
"@semantic-release/npm": "^
|
|
65
|
+
"@semantic-release/npm": "^13.1.3",
|
|
66
66
|
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
67
67
|
"@types/ioredis": "^4.28.10",
|
|
68
68
|
"@types/mongoose": "^5.11.97",
|
|
69
69
|
"@types/node": "^22.13.10",
|
|
70
70
|
"commitizen": "^4.3.1",
|
|
71
71
|
"cz-conventional-changelog": "^3.3.0",
|
|
72
|
-
"semantic-release": "^
|
|
72
|
+
"semantic-release": "^25.0.2",
|
|
73
73
|
"tsup": "^8.4.0",
|
|
74
74
|
"typescript": "^5.8.2"
|
|
75
75
|
},
|