@okf/ootils 1.18.2 → 1.18.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.
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
502
502
  }
503
503
  export { workerConfig_5 as workerConfig };
504
504
  }
505
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
505
+ namespace AI_AUTO_ANNOTATE_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -542,7 +542,7 @@ declare namespace BASE_BULLMQ_CONFIG {
542
542
  }
543
543
  export { workerConfig_6 as workerConfig };
544
544
  }
545
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
545
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
546
546
  let id_7: string;
547
547
  export { id_7 as id };
548
548
  export namespace queueConfig_7 {
@@ -582,7 +582,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
582
  }
583
583
  export { workerConfig_7 as workerConfig };
584
584
  }
585
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
585
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
586
586
  let id_8: string;
587
587
  export { id_8 as id };
588
588
  export namespace queueConfig_8 {
@@ -622,7 +622,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
622
  }
623
623
  export { workerConfig_8 as workerConfig };
624
624
  }
625
- namespace REINDEX_QUEUE {
625
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
626
626
  let id_9: string;
627
627
  export { id_9 as id };
628
628
  export namespace queueConfig_9 {
@@ -636,8 +636,6 @@ declare namespace BASE_BULLMQ_CONFIG {
636
636
  export { delay_9 as delay };
637
637
  }
638
638
  export { backoff_9 as backoff };
639
- let delay_10: number;
640
- export { delay_10 as delay };
641
639
  let removeOnComplete_9: number;
642
640
  export { removeOnComplete_9 as removeOnComplete };
643
641
  let removeOnFail_9: number;
@@ -664,6 +662,48 @@ declare namespace BASE_BULLMQ_CONFIG {
664
662
  }
665
663
  export { workerConfig_9 as workerConfig };
666
664
  }
665
+ namespace REINDEX_QUEUE {
666
+ let id_10: string;
667
+ export { id_10 as id };
668
+ export namespace queueConfig_10 {
669
+ export namespace defaultJobOptions_10 {
670
+ let attempts_10: number;
671
+ export { attempts_10 as attempts };
672
+ export namespace backoff_10 {
673
+ let type_10: string;
674
+ export { type_10 as type };
675
+ let delay_10: number;
676
+ export { delay_10 as delay };
677
+ }
678
+ export { backoff_10 as backoff };
679
+ let delay_11: number;
680
+ export { delay_11 as delay };
681
+ let removeOnComplete_10: number;
682
+ export { removeOnComplete_10 as removeOnComplete };
683
+ let removeOnFail_10: number;
684
+ export { removeOnFail_10 as removeOnFail };
685
+ }
686
+ export { defaultJobOptions_10 as defaultJobOptions };
687
+ export namespace streams_10 {
688
+ export namespace events_10 {
689
+ let maxLen_10: number;
690
+ export { maxLen_10 as maxLen };
691
+ }
692
+ export { events_10 as events };
693
+ }
694
+ export { streams_10 as streams };
695
+ }
696
+ export { queueConfig_10 as queueConfig };
697
+ export namespace workerConfig_10 {
698
+ let concurrency_10: number;
699
+ export { concurrency_10 as concurrency };
700
+ let lockDuration_10: number;
701
+ export { lockDuration_10 as lockDuration };
702
+ let maxStalledCount_10: number;
703
+ export { maxStalledCount_10 as maxStalledCount };
704
+ }
705
+ export { workerConfig_10 as workerConfig };
706
+ }
667
707
  }
668
708
 
669
709
  interface PlatformContextContentItem {
package/dist/browser.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 ANNOS_ELASTIC_SYNC_QUEUE {
505
+ namespace AI_AUTO_ANNOTATE_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -542,7 +542,7 @@ declare namespace BASE_BULLMQ_CONFIG {
542
542
  }
543
543
  export { workerConfig_6 as workerConfig };
544
544
  }
545
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
545
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
546
546
  let id_7: string;
547
547
  export { id_7 as id };
548
548
  export namespace queueConfig_7 {
@@ -582,7 +582,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
582
  }
583
583
  export { workerConfig_7 as workerConfig };
584
584
  }
585
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
585
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
586
586
  let id_8: string;
587
587
  export { id_8 as id };
588
588
  export namespace queueConfig_8 {
@@ -622,7 +622,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
622
  }
623
623
  export { workerConfig_8 as workerConfig };
624
624
  }
625
- namespace REINDEX_QUEUE {
625
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
626
626
  let id_9: string;
627
627
  export { id_9 as id };
628
628
  export namespace queueConfig_9 {
@@ -636,8 +636,6 @@ declare namespace BASE_BULLMQ_CONFIG {
636
636
  export { delay_9 as delay };
637
637
  }
638
638
  export { backoff_9 as backoff };
639
- let delay_10: number;
640
- export { delay_10 as delay };
641
639
  let removeOnComplete_9: number;
642
640
  export { removeOnComplete_9 as removeOnComplete };
643
641
  let removeOnFail_9: number;
@@ -664,6 +662,48 @@ declare namespace BASE_BULLMQ_CONFIG {
664
662
  }
665
663
  export { workerConfig_9 as workerConfig };
666
664
  }
665
+ namespace REINDEX_QUEUE {
666
+ let id_10: string;
667
+ export { id_10 as id };
668
+ export namespace queueConfig_10 {
669
+ export namespace defaultJobOptions_10 {
670
+ let attempts_10: number;
671
+ export { attempts_10 as attempts };
672
+ export namespace backoff_10 {
673
+ let type_10: string;
674
+ export { type_10 as type };
675
+ let delay_10: number;
676
+ export { delay_10 as delay };
677
+ }
678
+ export { backoff_10 as backoff };
679
+ let delay_11: number;
680
+ export { delay_11 as delay };
681
+ let removeOnComplete_10: number;
682
+ export { removeOnComplete_10 as removeOnComplete };
683
+ let removeOnFail_10: number;
684
+ export { removeOnFail_10 as removeOnFail };
685
+ }
686
+ export { defaultJobOptions_10 as defaultJobOptions };
687
+ export namespace streams_10 {
688
+ export namespace events_10 {
689
+ let maxLen_10: number;
690
+ export { maxLen_10 as maxLen };
691
+ }
692
+ export { events_10 as events };
693
+ }
694
+ export { streams_10 as streams };
695
+ }
696
+ export { queueConfig_10 as queueConfig };
697
+ export namespace workerConfig_10 {
698
+ let concurrency_10: number;
699
+ export { concurrency_10 as concurrency };
700
+ let lockDuration_10: number;
701
+ export { lockDuration_10 as lockDuration };
702
+ let maxStalledCount_10: number;
703
+ export { maxStalledCount_10 as maxStalledCount };
704
+ }
705
+ export { workerConfig_10 as workerConfig };
706
+ }
667
707
  }
668
708
 
669
709
  interface PlatformContextContentItem {
package/dist/browser.js CHANGED
@@ -614,6 +614,31 @@ var BASE_BULLMQ_CONFIG = {
614
614
  }
615
615
  }
616
616
  },
617
+ AI_AUTO_ANNOTATE_QUEUE: {
618
+ id: "ai-auto-annotate-queue",
619
+ queueConfig: {
620
+ defaultJobOptions: {
621
+ attempts: 3,
622
+ backoff: {
623
+ type: "exponential",
624
+ delay: 5e3
625
+ },
626
+ removeOnComplete: 30,
627
+ removeOnFail: 100
628
+ },
629
+ streams: {
630
+ events: {
631
+ maxLen: 10
632
+ }
633
+ }
634
+ },
635
+ workerConfig: {
636
+ concurrency: 50,
637
+ lockDuration: 3e5,
638
+ // 5 minutes lock duration since annotation can be slow
639
+ maxStalledCount: 3
640
+ }
641
+ },
617
642
  ANNOS_ELASTIC_SYNC_QUEUE: {
618
643
  id: "annos-elastic-sync-queue",
619
644
  queueConfig: {
package/dist/browser.mjs CHANGED
@@ -578,6 +578,31 @@ var BASE_BULLMQ_CONFIG = {
578
578
  }
579
579
  }
580
580
  },
581
+ AI_AUTO_ANNOTATE_QUEUE: {
582
+ id: "ai-auto-annotate-queue",
583
+ queueConfig: {
584
+ defaultJobOptions: {
585
+ attempts: 3,
586
+ backoff: {
587
+ type: "exponential",
588
+ delay: 5e3
589
+ },
590
+ removeOnComplete: 30,
591
+ removeOnFail: 100
592
+ },
593
+ streams: {
594
+ events: {
595
+ maxLen: 10
596
+ }
597
+ }
598
+ },
599
+ workerConfig: {
600
+ concurrency: 50,
601
+ lockDuration: 3e5,
602
+ // 5 minutes lock duration since annotation can be slow
603
+ maxStalledCount: 3
604
+ }
605
+ },
581
606
  ANNOS_ELASTIC_SYNC_QUEUE: {
582
607
  id: "annos-elastic-sync-queue",
583
608
  queueConfig: {
package/dist/node.d.mts CHANGED
@@ -510,7 +510,7 @@ declare namespace BASE_BULLMQ_CONFIG {
510
510
  }
511
511
  export { workerConfig_5 as workerConfig };
512
512
  }
513
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
513
+ namespace AI_AUTO_ANNOTATE_QUEUE {
514
514
  let id_6: string;
515
515
  export { id_6 as id };
516
516
  export namespace queueConfig_6 {
@@ -550,7 +550,7 @@ declare namespace BASE_BULLMQ_CONFIG {
550
550
  }
551
551
  export { workerConfig_6 as workerConfig };
552
552
  }
553
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
553
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
554
554
  let id_7: string;
555
555
  export { id_7 as id };
556
556
  export namespace queueConfig_7 {
@@ -590,7 +590,7 @@ declare namespace BASE_BULLMQ_CONFIG {
590
590
  }
591
591
  export { workerConfig_7 as workerConfig };
592
592
  }
593
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
593
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
594
594
  let id_8: string;
595
595
  export { id_8 as id };
596
596
  export namespace queueConfig_8 {
@@ -630,7 +630,7 @@ declare namespace BASE_BULLMQ_CONFIG {
630
630
  }
631
631
  export { workerConfig_8 as workerConfig };
632
632
  }
633
- namespace REINDEX_QUEUE {
633
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
634
634
  let id_9: string;
635
635
  export { id_9 as id };
636
636
  export namespace queueConfig_9 {
@@ -644,8 +644,6 @@ declare namespace BASE_BULLMQ_CONFIG {
644
644
  export { delay_9 as delay };
645
645
  }
646
646
  export { backoff_9 as backoff };
647
- let delay_10: number;
648
- export { delay_10 as delay };
649
647
  let removeOnComplete_9: number;
650
648
  export { removeOnComplete_9 as removeOnComplete };
651
649
  let removeOnFail_9: number;
@@ -672,6 +670,48 @@ declare namespace BASE_BULLMQ_CONFIG {
672
670
  }
673
671
  export { workerConfig_9 as workerConfig };
674
672
  }
673
+ namespace REINDEX_QUEUE {
674
+ let id_10: string;
675
+ export { id_10 as id };
676
+ export namespace queueConfig_10 {
677
+ export namespace defaultJobOptions_10 {
678
+ let attempts_10: number;
679
+ export { attempts_10 as attempts };
680
+ export namespace backoff_10 {
681
+ let type_10: string;
682
+ export { type_10 as type };
683
+ let delay_10: number;
684
+ export { delay_10 as delay };
685
+ }
686
+ export { backoff_10 as backoff };
687
+ let delay_11: number;
688
+ export { delay_11 as delay };
689
+ let removeOnComplete_10: number;
690
+ export { removeOnComplete_10 as removeOnComplete };
691
+ let removeOnFail_10: number;
692
+ export { removeOnFail_10 as removeOnFail };
693
+ }
694
+ export { defaultJobOptions_10 as defaultJobOptions };
695
+ export namespace streams_10 {
696
+ export namespace events_10 {
697
+ let maxLen_10: number;
698
+ export { maxLen_10 as maxLen };
699
+ }
700
+ export { events_10 as events };
701
+ }
702
+ export { streams_10 as streams };
703
+ }
704
+ export { queueConfig_10 as queueConfig };
705
+ export namespace workerConfig_10 {
706
+ let concurrency_10: number;
707
+ export { concurrency_10 as concurrency };
708
+ let lockDuration_10: number;
709
+ export { lockDuration_10 as lockDuration };
710
+ let maxStalledCount_10: number;
711
+ export { maxStalledCount_10 as maxStalledCount };
712
+ }
713
+ export { workerConfig_10 as workerConfig };
714
+ }
675
715
  }
676
716
 
677
717
  interface PlatformContextContentItem {
package/dist/node.d.ts CHANGED
@@ -510,7 +510,7 @@ declare namespace BASE_BULLMQ_CONFIG {
510
510
  }
511
511
  export { workerConfig_5 as workerConfig };
512
512
  }
513
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
513
+ namespace AI_AUTO_ANNOTATE_QUEUE {
514
514
  let id_6: string;
515
515
  export { id_6 as id };
516
516
  export namespace queueConfig_6 {
@@ -550,7 +550,7 @@ declare namespace BASE_BULLMQ_CONFIG {
550
550
  }
551
551
  export { workerConfig_6 as workerConfig };
552
552
  }
553
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
553
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
554
554
  let id_7: string;
555
555
  export { id_7 as id };
556
556
  export namespace queueConfig_7 {
@@ -590,7 +590,7 @@ declare namespace BASE_BULLMQ_CONFIG {
590
590
  }
591
591
  export { workerConfig_7 as workerConfig };
592
592
  }
593
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
593
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
594
594
  let id_8: string;
595
595
  export { id_8 as id };
596
596
  export namespace queueConfig_8 {
@@ -630,7 +630,7 @@ declare namespace BASE_BULLMQ_CONFIG {
630
630
  }
631
631
  export { workerConfig_8 as workerConfig };
632
632
  }
633
- namespace REINDEX_QUEUE {
633
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
634
634
  let id_9: string;
635
635
  export { id_9 as id };
636
636
  export namespace queueConfig_9 {
@@ -644,8 +644,6 @@ declare namespace BASE_BULLMQ_CONFIG {
644
644
  export { delay_9 as delay };
645
645
  }
646
646
  export { backoff_9 as backoff };
647
- let delay_10: number;
648
- export { delay_10 as delay };
649
647
  let removeOnComplete_9: number;
650
648
  export { removeOnComplete_9 as removeOnComplete };
651
649
  let removeOnFail_9: number;
@@ -672,6 +670,48 @@ declare namespace BASE_BULLMQ_CONFIG {
672
670
  }
673
671
  export { workerConfig_9 as workerConfig };
674
672
  }
673
+ namespace REINDEX_QUEUE {
674
+ let id_10: string;
675
+ export { id_10 as id };
676
+ export namespace queueConfig_10 {
677
+ export namespace defaultJobOptions_10 {
678
+ let attempts_10: number;
679
+ export { attempts_10 as attempts };
680
+ export namespace backoff_10 {
681
+ let type_10: string;
682
+ export { type_10 as type };
683
+ let delay_10: number;
684
+ export { delay_10 as delay };
685
+ }
686
+ export { backoff_10 as backoff };
687
+ let delay_11: number;
688
+ export { delay_11 as delay };
689
+ let removeOnComplete_10: number;
690
+ export { removeOnComplete_10 as removeOnComplete };
691
+ let removeOnFail_10: number;
692
+ export { removeOnFail_10 as removeOnFail };
693
+ }
694
+ export { defaultJobOptions_10 as defaultJobOptions };
695
+ export namespace streams_10 {
696
+ export namespace events_10 {
697
+ let maxLen_10: number;
698
+ export { maxLen_10 as maxLen };
699
+ }
700
+ export { events_10 as events };
701
+ }
702
+ export { streams_10 as streams };
703
+ }
704
+ export { queueConfig_10 as queueConfig };
705
+ export namespace workerConfig_10 {
706
+ let concurrency_10: number;
707
+ export { concurrency_10 as concurrency };
708
+ let lockDuration_10: number;
709
+ export { lockDuration_10 as lockDuration };
710
+ let maxStalledCount_10: number;
711
+ export { maxStalledCount_10 as maxStalledCount };
712
+ }
713
+ export { workerConfig_10 as workerConfig };
714
+ }
675
715
  }
676
716
 
677
717
  interface PlatformContextContentItem {
package/dist/node.js CHANGED
@@ -218,6 +218,31 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
218
218
  }
219
219
  }
220
220
  },
221
+ AI_AUTO_ANNOTATE_QUEUE: {
222
+ id: "ai-auto-annotate-queue",
223
+ queueConfig: {
224
+ defaultJobOptions: {
225
+ attempts: 3,
226
+ backoff: {
227
+ type: "exponential",
228
+ delay: 5e3
229
+ },
230
+ removeOnComplete: 30,
231
+ removeOnFail: 100
232
+ },
233
+ streams: {
234
+ events: {
235
+ maxLen: 10
236
+ }
237
+ }
238
+ },
239
+ workerConfig: {
240
+ concurrency: 50,
241
+ lockDuration: 3e5,
242
+ // 5 minutes lock duration since annotation can be slow
243
+ maxStalledCount: 3
244
+ }
245
+ },
221
246
  ANNOS_ELASTIC_SYNC_QUEUE: {
222
247
  id: "annos-elastic-sync-queue",
223
248
  queueConfig: {
package/dist/node.mjs CHANGED
@@ -223,6 +223,31 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
223
223
  }
224
224
  }
225
225
  },
226
+ AI_AUTO_ANNOTATE_QUEUE: {
227
+ id: "ai-auto-annotate-queue",
228
+ queueConfig: {
229
+ defaultJobOptions: {
230
+ attempts: 3,
231
+ backoff: {
232
+ type: "exponential",
233
+ delay: 5e3
234
+ },
235
+ removeOnComplete: 30,
236
+ removeOnFail: 100
237
+ },
238
+ streams: {
239
+ events: {
240
+ maxLen: 10
241
+ }
242
+ }
243
+ },
244
+ workerConfig: {
245
+ concurrency: 50,
246
+ lockDuration: 3e5,
247
+ // 5 minutes lock duration since annotation can be slow
248
+ maxStalledCount: 3
249
+ }
250
+ },
226
251
  ANNOS_ELASTIC_SYNC_QUEUE: {
227
252
  id: "annos-elastic-sync-queue",
228
253
  queueConfig: {
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
502
502
  }
503
503
  export { workerConfig_5 as workerConfig };
504
504
  }
505
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
505
+ namespace AI_AUTO_ANNOTATE_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -542,7 +542,7 @@ declare namespace BASE_BULLMQ_CONFIG {
542
542
  }
543
543
  export { workerConfig_6 as workerConfig };
544
544
  }
545
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
545
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
546
546
  let id_7: string;
547
547
  export { id_7 as id };
548
548
  export namespace queueConfig_7 {
@@ -582,7 +582,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
582
  }
583
583
  export { workerConfig_7 as workerConfig };
584
584
  }
585
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
585
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
586
586
  let id_8: string;
587
587
  export { id_8 as id };
588
588
  export namespace queueConfig_8 {
@@ -622,7 +622,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
622
  }
623
623
  export { workerConfig_8 as workerConfig };
624
624
  }
625
- namespace REINDEX_QUEUE {
625
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
626
626
  let id_9: string;
627
627
  export { id_9 as id };
628
628
  export namespace queueConfig_9 {
@@ -636,8 +636,6 @@ declare namespace BASE_BULLMQ_CONFIG {
636
636
  export { delay_9 as delay };
637
637
  }
638
638
  export { backoff_9 as backoff };
639
- let delay_10: number;
640
- export { delay_10 as delay };
641
639
  let removeOnComplete_9: number;
642
640
  export { removeOnComplete_9 as removeOnComplete };
643
641
  let removeOnFail_9: number;
@@ -664,6 +662,48 @@ declare namespace BASE_BULLMQ_CONFIG {
664
662
  }
665
663
  export { workerConfig_9 as workerConfig };
666
664
  }
665
+ namespace REINDEX_QUEUE {
666
+ let id_10: string;
667
+ export { id_10 as id };
668
+ export namespace queueConfig_10 {
669
+ export namespace defaultJobOptions_10 {
670
+ let attempts_10: number;
671
+ export { attempts_10 as attempts };
672
+ export namespace backoff_10 {
673
+ let type_10: string;
674
+ export { type_10 as type };
675
+ let delay_10: number;
676
+ export { delay_10 as delay };
677
+ }
678
+ export { backoff_10 as backoff };
679
+ let delay_11: number;
680
+ export { delay_11 as delay };
681
+ let removeOnComplete_10: number;
682
+ export { removeOnComplete_10 as removeOnComplete };
683
+ let removeOnFail_10: number;
684
+ export { removeOnFail_10 as removeOnFail };
685
+ }
686
+ export { defaultJobOptions_10 as defaultJobOptions };
687
+ export namespace streams_10 {
688
+ export namespace events_10 {
689
+ let maxLen_10: number;
690
+ export { maxLen_10 as maxLen };
691
+ }
692
+ export { events_10 as events };
693
+ }
694
+ export { streams_10 as streams };
695
+ }
696
+ export { queueConfig_10 as queueConfig };
697
+ export namespace workerConfig_10 {
698
+ let concurrency_10: number;
699
+ export { concurrency_10 as concurrency };
700
+ let lockDuration_10: number;
701
+ export { lockDuration_10 as lockDuration };
702
+ let maxStalledCount_10: number;
703
+ export { maxStalledCount_10 as maxStalledCount };
704
+ }
705
+ export { workerConfig_10 as workerConfig };
706
+ }
667
707
  }
668
708
 
669
709
  interface PlatformContextContentItem {
@@ -502,7 +502,7 @@ declare namespace BASE_BULLMQ_CONFIG {
502
502
  }
503
503
  export { workerConfig_5 as workerConfig };
504
504
  }
505
- namespace ANNOS_ELASTIC_SYNC_QUEUE {
505
+ namespace AI_AUTO_ANNOTATE_QUEUE {
506
506
  let id_6: string;
507
507
  export { id_6 as id };
508
508
  export namespace queueConfig_6 {
@@ -542,7 +542,7 @@ declare namespace BASE_BULLMQ_CONFIG {
542
542
  }
543
543
  export { workerConfig_6 as workerConfig };
544
544
  }
545
- namespace CHUNKS_ELASTIC_SYNC_QUEUE {
545
+ namespace ANNOS_ELASTIC_SYNC_QUEUE {
546
546
  let id_7: string;
547
547
  export { id_7 as id };
548
548
  export namespace queueConfig_7 {
@@ -582,7 +582,7 @@ declare namespace BASE_BULLMQ_CONFIG {
582
582
  }
583
583
  export { workerConfig_7 as workerConfig };
584
584
  }
585
- namespace CONTENT_ELASTIC_SYNC_QUEUE {
585
+ namespace CHUNKS_ELASTIC_SYNC_QUEUE {
586
586
  let id_8: string;
587
587
  export { id_8 as id };
588
588
  export namespace queueConfig_8 {
@@ -622,7 +622,7 @@ declare namespace BASE_BULLMQ_CONFIG {
622
622
  }
623
623
  export { workerConfig_8 as workerConfig };
624
624
  }
625
- namespace REINDEX_QUEUE {
625
+ namespace CONTENT_ELASTIC_SYNC_QUEUE {
626
626
  let id_9: string;
627
627
  export { id_9 as id };
628
628
  export namespace queueConfig_9 {
@@ -636,8 +636,6 @@ declare namespace BASE_BULLMQ_CONFIG {
636
636
  export { delay_9 as delay };
637
637
  }
638
638
  export { backoff_9 as backoff };
639
- let delay_10: number;
640
- export { delay_10 as delay };
641
639
  let removeOnComplete_9: number;
642
640
  export { removeOnComplete_9 as removeOnComplete };
643
641
  let removeOnFail_9: number;
@@ -664,6 +662,48 @@ declare namespace BASE_BULLMQ_CONFIG {
664
662
  }
665
663
  export { workerConfig_9 as workerConfig };
666
664
  }
665
+ namespace REINDEX_QUEUE {
666
+ let id_10: string;
667
+ export { id_10 as id };
668
+ export namespace queueConfig_10 {
669
+ export namespace defaultJobOptions_10 {
670
+ let attempts_10: number;
671
+ export { attempts_10 as attempts };
672
+ export namespace backoff_10 {
673
+ let type_10: string;
674
+ export { type_10 as type };
675
+ let delay_10: number;
676
+ export { delay_10 as delay };
677
+ }
678
+ export { backoff_10 as backoff };
679
+ let delay_11: number;
680
+ export { delay_11 as delay };
681
+ let removeOnComplete_10: number;
682
+ export { removeOnComplete_10 as removeOnComplete };
683
+ let removeOnFail_10: number;
684
+ export { removeOnFail_10 as removeOnFail };
685
+ }
686
+ export { defaultJobOptions_10 as defaultJobOptions };
687
+ export namespace streams_10 {
688
+ export namespace events_10 {
689
+ let maxLen_10: number;
690
+ export { maxLen_10 as maxLen };
691
+ }
692
+ export { events_10 as events };
693
+ }
694
+ export { streams_10 as streams };
695
+ }
696
+ export { queueConfig_10 as queueConfig };
697
+ export namespace workerConfig_10 {
698
+ let concurrency_10: number;
699
+ export { concurrency_10 as concurrency };
700
+ let lockDuration_10: number;
701
+ export { lockDuration_10 as lockDuration };
702
+ let maxStalledCount_10: number;
703
+ export { maxStalledCount_10 as maxStalledCount };
704
+ }
705
+ export { workerConfig_10 as workerConfig };
706
+ }
667
707
  }
668
708
 
669
709
  interface PlatformContextContentItem {
package/dist/universal.js CHANGED
@@ -614,6 +614,31 @@ var BASE_BULLMQ_CONFIG = {
614
614
  }
615
615
  }
616
616
  },
617
+ AI_AUTO_ANNOTATE_QUEUE: {
618
+ id: "ai-auto-annotate-queue",
619
+ queueConfig: {
620
+ defaultJobOptions: {
621
+ attempts: 3,
622
+ backoff: {
623
+ type: "exponential",
624
+ delay: 5e3
625
+ },
626
+ removeOnComplete: 30,
627
+ removeOnFail: 100
628
+ },
629
+ streams: {
630
+ events: {
631
+ maxLen: 10
632
+ }
633
+ }
634
+ },
635
+ workerConfig: {
636
+ concurrency: 50,
637
+ lockDuration: 3e5,
638
+ // 5 minutes lock duration since annotation can be slow
639
+ maxStalledCount: 3
640
+ }
641
+ },
617
642
  ANNOS_ELASTIC_SYNC_QUEUE: {
618
643
  id: "annos-elastic-sync-queue",
619
644
  queueConfig: {
@@ -578,6 +578,31 @@ var BASE_BULLMQ_CONFIG = {
578
578
  }
579
579
  }
580
580
  },
581
+ AI_AUTO_ANNOTATE_QUEUE: {
582
+ id: "ai-auto-annotate-queue",
583
+ queueConfig: {
584
+ defaultJobOptions: {
585
+ attempts: 3,
586
+ backoff: {
587
+ type: "exponential",
588
+ delay: 5e3
589
+ },
590
+ removeOnComplete: 30,
591
+ removeOnFail: 100
592
+ },
593
+ streams: {
594
+ events: {
595
+ maxLen: 10
596
+ }
597
+ }
598
+ },
599
+ workerConfig: {
600
+ concurrency: 50,
601
+ lockDuration: 3e5,
602
+ // 5 minutes lock duration since annotation can be slow
603
+ maxStalledCount: 3
604
+ }
605
+ },
581
606
  ANNOS_ELASTIC_SYNC_QUEUE: {
582
607
  id: "annos-elastic-sync-queue",
583
608
  queueConfig: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.2",
6
+ "version": "1.18.3",
7
7
  "description": "Utility functions for both browser and Node.js",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",