@okf/ootils 1.26.1 → 1.26.3
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.d.mts +54 -7
- package/dist/browser.d.ts +54 -7
- package/dist/browser.js +28 -0
- package/dist/browser.mjs +28 -0
- package/dist/node.d.mts +175 -33
- package/dist/node.d.ts +175 -33
- package/dist/node.js +277 -79
- package/dist/node.mjs +274 -77
- package/dist/universal.d.mts +54 -7
- package/dist/universal.d.ts +54 -7
- package/dist/universal.js +28 -0
- package/dist/universal.mjs +28 -0
- package/package.json +1 -1
package/dist/universal.d.ts
CHANGED
|
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
502
502
|
}
|
|
503
503
|
export { workerConfig_5 as workerConfig };
|
|
504
504
|
}
|
|
505
|
-
namespace
|
|
505
|
+
namespace SENTIMENT_AND_NER_QUEUE {
|
|
506
506
|
let id_6: string;
|
|
507
507
|
export { id_6 as id };
|
|
508
508
|
export namespace queueConfig_6 {
|
|
@@ -539,10 +539,17 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
539
539
|
export { lockDuration_6 as lockDuration };
|
|
540
540
|
let maxStalledCount_6: number;
|
|
541
541
|
export { maxStalledCount_6 as maxStalledCount };
|
|
542
|
+
export namespace limiter_3 {
|
|
543
|
+
let max_3: number;
|
|
544
|
+
export { max_3 as max };
|
|
545
|
+
let duration_3: number;
|
|
546
|
+
export { duration_3 as duration };
|
|
547
|
+
}
|
|
548
|
+
export { limiter_3 as limiter };
|
|
542
549
|
}
|
|
543
550
|
export { workerConfig_6 as workerConfig };
|
|
544
551
|
}
|
|
545
|
-
namespace
|
|
552
|
+
namespace AI_AUTO_ANNOTATE_QUEUE {
|
|
546
553
|
let id_7: string;
|
|
547
554
|
export { id_7 as id };
|
|
548
555
|
export namespace queueConfig_7 {
|
|
@@ -582,7 +589,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
582
589
|
}
|
|
583
590
|
export { workerConfig_7 as workerConfig };
|
|
584
591
|
}
|
|
585
|
-
namespace
|
|
592
|
+
namespace ANNOS_ELASTIC_SYNC_QUEUE {
|
|
586
593
|
let id_8: string;
|
|
587
594
|
export { id_8 as id };
|
|
588
595
|
export namespace queueConfig_8 {
|
|
@@ -622,7 +629,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
622
629
|
}
|
|
623
630
|
export { workerConfig_8 as workerConfig };
|
|
624
631
|
}
|
|
625
|
-
namespace
|
|
632
|
+
namespace CHUNKS_ELASTIC_SYNC_QUEUE {
|
|
626
633
|
let id_9: string;
|
|
627
634
|
export { id_9 as id };
|
|
628
635
|
export namespace queueConfig_9 {
|
|
@@ -662,7 +669,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
662
669
|
}
|
|
663
670
|
export { workerConfig_9 as workerConfig };
|
|
664
671
|
}
|
|
665
|
-
namespace
|
|
672
|
+
namespace CONTENT_ELASTIC_SYNC_QUEUE {
|
|
666
673
|
let id_10: string;
|
|
667
674
|
export { id_10 as id };
|
|
668
675
|
export namespace queueConfig_10 {
|
|
@@ -676,8 +683,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
676
683
|
export { delay_10 as delay };
|
|
677
684
|
}
|
|
678
685
|
export { backoff_10 as backoff };
|
|
679
|
-
let delay_11: number;
|
|
680
|
-
export { delay_11 as delay };
|
|
681
686
|
let removeOnComplete_10: number;
|
|
682
687
|
export { removeOnComplete_10 as removeOnComplete };
|
|
683
688
|
let removeOnFail_10: number;
|
|
@@ -704,6 +709,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
704
709
|
}
|
|
705
710
|
export { workerConfig_10 as workerConfig };
|
|
706
711
|
}
|
|
712
|
+
namespace REINDEX_QUEUE {
|
|
713
|
+
let id_11: string;
|
|
714
|
+
export { id_11 as id };
|
|
715
|
+
export namespace queueConfig_11 {
|
|
716
|
+
export namespace defaultJobOptions_11 {
|
|
717
|
+
let attempts_11: number;
|
|
718
|
+
export { attempts_11 as attempts };
|
|
719
|
+
export namespace backoff_11 {
|
|
720
|
+
let type_11: string;
|
|
721
|
+
export { type_11 as type };
|
|
722
|
+
let delay_11: number;
|
|
723
|
+
export { delay_11 as delay };
|
|
724
|
+
}
|
|
725
|
+
export { backoff_11 as backoff };
|
|
726
|
+
let delay_12: number;
|
|
727
|
+
export { delay_12 as delay };
|
|
728
|
+
let removeOnComplete_11: number;
|
|
729
|
+
export { removeOnComplete_11 as removeOnComplete };
|
|
730
|
+
let removeOnFail_11: number;
|
|
731
|
+
export { removeOnFail_11 as removeOnFail };
|
|
732
|
+
}
|
|
733
|
+
export { defaultJobOptions_11 as defaultJobOptions };
|
|
734
|
+
export namespace streams_11 {
|
|
735
|
+
export namespace events_11 {
|
|
736
|
+
let maxLen_11: number;
|
|
737
|
+
export { maxLen_11 as maxLen };
|
|
738
|
+
}
|
|
739
|
+
export { events_11 as events };
|
|
740
|
+
}
|
|
741
|
+
export { streams_11 as streams };
|
|
742
|
+
}
|
|
743
|
+
export { queueConfig_11 as queueConfig };
|
|
744
|
+
export namespace workerConfig_11 {
|
|
745
|
+
let concurrency_11: number;
|
|
746
|
+
export { concurrency_11 as concurrency };
|
|
747
|
+
let lockDuration_11: number;
|
|
748
|
+
export { lockDuration_11 as lockDuration };
|
|
749
|
+
let maxStalledCount_11: number;
|
|
750
|
+
export { maxStalledCount_11 as maxStalledCount };
|
|
751
|
+
}
|
|
752
|
+
export { workerConfig_11 as workerConfig };
|
|
753
|
+
}
|
|
707
754
|
}
|
|
708
755
|
|
|
709
756
|
interface PlatformContextContentItem {
|
package/dist/universal.js
CHANGED
|
@@ -632,6 +632,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
},
|
|
635
|
+
SENTIMENT_AND_NER_QUEUE: {
|
|
636
|
+
id: "sentiment-and-ner-queue",
|
|
637
|
+
queueConfig: {
|
|
638
|
+
defaultJobOptions: {
|
|
639
|
+
attempts: 3,
|
|
640
|
+
backoff: {
|
|
641
|
+
type: "exponential",
|
|
642
|
+
delay: 2e3
|
|
643
|
+
},
|
|
644
|
+
removeOnComplete: 30,
|
|
645
|
+
removeOnFail: 100
|
|
646
|
+
},
|
|
647
|
+
streams: {
|
|
648
|
+
events: {
|
|
649
|
+
maxLen: 10
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
workerConfig: {
|
|
654
|
+
concurrency: 1,
|
|
655
|
+
lockDuration: 9e4,
|
|
656
|
+
maxStalledCount: 3,
|
|
657
|
+
limiter: {
|
|
658
|
+
max: 100,
|
|
659
|
+
duration: 6e4
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
},
|
|
635
663
|
AI_AUTO_ANNOTATE_QUEUE: {
|
|
636
664
|
id: "ai-auto-annotate-queue",
|
|
637
665
|
queueConfig: {
|
package/dist/universal.mjs
CHANGED
|
@@ -578,6 +578,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
},
|
|
581
|
+
SENTIMENT_AND_NER_QUEUE: {
|
|
582
|
+
id: "sentiment-and-ner-queue",
|
|
583
|
+
queueConfig: {
|
|
584
|
+
defaultJobOptions: {
|
|
585
|
+
attempts: 3,
|
|
586
|
+
backoff: {
|
|
587
|
+
type: "exponential",
|
|
588
|
+
delay: 2e3
|
|
589
|
+
},
|
|
590
|
+
removeOnComplete: 30,
|
|
591
|
+
removeOnFail: 100
|
|
592
|
+
},
|
|
593
|
+
streams: {
|
|
594
|
+
events: {
|
|
595
|
+
maxLen: 10
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
workerConfig: {
|
|
600
|
+
concurrency: 1,
|
|
601
|
+
lockDuration: 9e4,
|
|
602
|
+
maxStalledCount: 3,
|
|
603
|
+
limiter: {
|
|
604
|
+
max: 100,
|
|
605
|
+
duration: 6e4
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
581
609
|
AI_AUTO_ANNOTATE_QUEUE: {
|
|
582
610
|
id: "ai-auto-annotate-queue",
|
|
583
611
|
queueConfig: {
|