@okf/ootils 1.31.0 → 1.31.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.d.mts +43 -3
- package/dist/browser.d.ts +43 -3
- package/dist/browser.js +28 -0
- package/dist/browser.mjs +28 -0
- package/dist/node.d.mts +47 -3
- package/dist/node.d.ts +47 -3
- package/dist/node.js +32 -0
- package/dist/node.mjs +32 -0
- package/dist/universal.d.mts +43 -3
- package/dist/universal.d.ts +43 -3
- package/dist/universal.js +28 -0
- package/dist/universal.mjs +28 -0
- package/package.json +1 -1
package/dist/browser.d.mts
CHANGED
|
@@ -749,7 +749,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
749
749
|
}
|
|
750
750
|
export { workerConfig_11 as workerConfig };
|
|
751
751
|
}
|
|
752
|
-
namespace
|
|
752
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
753
753
|
let id_12: string;
|
|
754
754
|
export { id_12 as id };
|
|
755
755
|
export namespace queueConfig_12 {
|
|
@@ -763,8 +763,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
763
763
|
export { delay_12 as delay };
|
|
764
764
|
}
|
|
765
765
|
export { backoff_12 as backoff };
|
|
766
|
-
let delay_13: number;
|
|
767
|
-
export { delay_13 as delay };
|
|
768
766
|
let removeOnComplete_12: number;
|
|
769
767
|
export { removeOnComplete_12 as removeOnComplete };
|
|
770
768
|
let removeOnFail_12: number;
|
|
@@ -791,6 +789,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
791
789
|
}
|
|
792
790
|
export { workerConfig_12 as workerConfig };
|
|
793
791
|
}
|
|
792
|
+
namespace REINDEX_QUEUE {
|
|
793
|
+
let id_13: string;
|
|
794
|
+
export { id_13 as id };
|
|
795
|
+
export namespace queueConfig_13 {
|
|
796
|
+
export namespace defaultJobOptions_13 {
|
|
797
|
+
let attempts_13: number;
|
|
798
|
+
export { attempts_13 as attempts };
|
|
799
|
+
export namespace backoff_13 {
|
|
800
|
+
let type_13: string;
|
|
801
|
+
export { type_13 as type };
|
|
802
|
+
let delay_13: number;
|
|
803
|
+
export { delay_13 as delay };
|
|
804
|
+
}
|
|
805
|
+
export { backoff_13 as backoff };
|
|
806
|
+
let delay_14: number;
|
|
807
|
+
export { delay_14 as delay };
|
|
808
|
+
let removeOnComplete_13: number;
|
|
809
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
810
|
+
let removeOnFail_13: number;
|
|
811
|
+
export { removeOnFail_13 as removeOnFail };
|
|
812
|
+
}
|
|
813
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
814
|
+
export namespace streams_13 {
|
|
815
|
+
export namespace events_13 {
|
|
816
|
+
let maxLen_13: number;
|
|
817
|
+
export { maxLen_13 as maxLen };
|
|
818
|
+
}
|
|
819
|
+
export { events_13 as events };
|
|
820
|
+
}
|
|
821
|
+
export { streams_13 as streams };
|
|
822
|
+
}
|
|
823
|
+
export { queueConfig_13 as queueConfig };
|
|
824
|
+
export namespace workerConfig_13 {
|
|
825
|
+
let concurrency_13: number;
|
|
826
|
+
export { concurrency_13 as concurrency };
|
|
827
|
+
let lockDuration_13: number;
|
|
828
|
+
export { lockDuration_13 as lockDuration };
|
|
829
|
+
let maxStalledCount_13: number;
|
|
830
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
831
|
+
}
|
|
832
|
+
export { workerConfig_13 as workerConfig };
|
|
833
|
+
}
|
|
794
834
|
}
|
|
795
835
|
|
|
796
836
|
interface PlatformContextContentItem {
|
package/dist/browser.d.ts
CHANGED
|
@@ -749,7 +749,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
749
749
|
}
|
|
750
750
|
export { workerConfig_11 as workerConfig };
|
|
751
751
|
}
|
|
752
|
-
namespace
|
|
752
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
753
753
|
let id_12: string;
|
|
754
754
|
export { id_12 as id };
|
|
755
755
|
export namespace queueConfig_12 {
|
|
@@ -763,8 +763,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
763
763
|
export { delay_12 as delay };
|
|
764
764
|
}
|
|
765
765
|
export { backoff_12 as backoff };
|
|
766
|
-
let delay_13: number;
|
|
767
|
-
export { delay_13 as delay };
|
|
768
766
|
let removeOnComplete_12: number;
|
|
769
767
|
export { removeOnComplete_12 as removeOnComplete };
|
|
770
768
|
let removeOnFail_12: number;
|
|
@@ -791,6 +789,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
791
789
|
}
|
|
792
790
|
export { workerConfig_12 as workerConfig };
|
|
793
791
|
}
|
|
792
|
+
namespace REINDEX_QUEUE {
|
|
793
|
+
let id_13: string;
|
|
794
|
+
export { id_13 as id };
|
|
795
|
+
export namespace queueConfig_13 {
|
|
796
|
+
export namespace defaultJobOptions_13 {
|
|
797
|
+
let attempts_13: number;
|
|
798
|
+
export { attempts_13 as attempts };
|
|
799
|
+
export namespace backoff_13 {
|
|
800
|
+
let type_13: string;
|
|
801
|
+
export { type_13 as type };
|
|
802
|
+
let delay_13: number;
|
|
803
|
+
export { delay_13 as delay };
|
|
804
|
+
}
|
|
805
|
+
export { backoff_13 as backoff };
|
|
806
|
+
let delay_14: number;
|
|
807
|
+
export { delay_14 as delay };
|
|
808
|
+
let removeOnComplete_13: number;
|
|
809
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
810
|
+
let removeOnFail_13: number;
|
|
811
|
+
export { removeOnFail_13 as removeOnFail };
|
|
812
|
+
}
|
|
813
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
814
|
+
export namespace streams_13 {
|
|
815
|
+
export namespace events_13 {
|
|
816
|
+
let maxLen_13: number;
|
|
817
|
+
export { maxLen_13 as maxLen };
|
|
818
|
+
}
|
|
819
|
+
export { events_13 as events };
|
|
820
|
+
}
|
|
821
|
+
export { streams_13 as streams };
|
|
822
|
+
}
|
|
823
|
+
export { queueConfig_13 as queueConfig };
|
|
824
|
+
export namespace workerConfig_13 {
|
|
825
|
+
let concurrency_13: number;
|
|
826
|
+
export { concurrency_13 as concurrency };
|
|
827
|
+
let lockDuration_13: number;
|
|
828
|
+
export { lockDuration_13 as lockDuration };
|
|
829
|
+
let maxStalledCount_13: number;
|
|
830
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
831
|
+
}
|
|
832
|
+
export { workerConfig_13 as workerConfig };
|
|
833
|
+
}
|
|
794
834
|
}
|
|
795
835
|
|
|
796
836
|
interface PlatformContextContentItem {
|
package/dist/browser.js
CHANGED
|
@@ -796,6 +796,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
796
796
|
maxStalledCount: 3
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
800
|
+
id: "sarvam-transcription-queue",
|
|
801
|
+
queueConfig: {
|
|
802
|
+
defaultJobOptions: {
|
|
803
|
+
attempts: 10,
|
|
804
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
805
|
+
backoff: {
|
|
806
|
+
type: "exponential",
|
|
807
|
+
delay: 15e3
|
|
808
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
809
|
+
},
|
|
810
|
+
removeOnComplete: 50,
|
|
811
|
+
removeOnFail: 200
|
|
812
|
+
},
|
|
813
|
+
streams: {
|
|
814
|
+
events: {
|
|
815
|
+
maxLen: 10
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
workerConfig: {
|
|
820
|
+
concurrency: 5,
|
|
821
|
+
// Multiple transcription polls can run in parallel safely
|
|
822
|
+
lockDuration: 12e4,
|
|
823
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
824
|
+
maxStalledCount: 3
|
|
825
|
+
}
|
|
826
|
+
},
|
|
799
827
|
REINDEX_QUEUE: {
|
|
800
828
|
id: "reindex-queue",
|
|
801
829
|
queueConfig: {
|
package/dist/browser.mjs
CHANGED
|
@@ -730,6 +730,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
730
730
|
maxStalledCount: 3
|
|
731
731
|
}
|
|
732
732
|
},
|
|
733
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
734
|
+
id: "sarvam-transcription-queue",
|
|
735
|
+
queueConfig: {
|
|
736
|
+
defaultJobOptions: {
|
|
737
|
+
attempts: 10,
|
|
738
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
739
|
+
backoff: {
|
|
740
|
+
type: "exponential",
|
|
741
|
+
delay: 15e3
|
|
742
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
743
|
+
},
|
|
744
|
+
removeOnComplete: 50,
|
|
745
|
+
removeOnFail: 200
|
|
746
|
+
},
|
|
747
|
+
streams: {
|
|
748
|
+
events: {
|
|
749
|
+
maxLen: 10
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
workerConfig: {
|
|
754
|
+
concurrency: 5,
|
|
755
|
+
// Multiple transcription polls can run in parallel safely
|
|
756
|
+
lockDuration: 12e4,
|
|
757
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
758
|
+
maxStalledCount: 3
|
|
759
|
+
}
|
|
760
|
+
},
|
|
733
761
|
REINDEX_QUEUE: {
|
|
734
762
|
id: "reindex-queue",
|
|
735
763
|
queueConfig: {
|
package/dist/node.d.mts
CHANGED
|
@@ -756,7 +756,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
756
756
|
}
|
|
757
757
|
export { workerConfig_11 as workerConfig };
|
|
758
758
|
}
|
|
759
|
-
namespace
|
|
759
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
760
760
|
let id_12: string;
|
|
761
761
|
export { id_12 as id };
|
|
762
762
|
export namespace queueConfig_12 {
|
|
@@ -770,8 +770,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
770
770
|
export { delay_12 as delay };
|
|
771
771
|
}
|
|
772
772
|
export { backoff_12 as backoff };
|
|
773
|
-
let delay_13: number;
|
|
774
|
-
export { delay_13 as delay };
|
|
775
773
|
let removeOnComplete_12: number;
|
|
776
774
|
export { removeOnComplete_12 as removeOnComplete };
|
|
777
775
|
let removeOnFail_12: number;
|
|
@@ -798,6 +796,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
798
796
|
}
|
|
799
797
|
export { workerConfig_12 as workerConfig };
|
|
800
798
|
}
|
|
799
|
+
namespace REINDEX_QUEUE {
|
|
800
|
+
let id_13: string;
|
|
801
|
+
export { id_13 as id };
|
|
802
|
+
export namespace queueConfig_13 {
|
|
803
|
+
export namespace defaultJobOptions_13 {
|
|
804
|
+
let attempts_13: number;
|
|
805
|
+
export { attempts_13 as attempts };
|
|
806
|
+
export namespace backoff_13 {
|
|
807
|
+
let type_13: string;
|
|
808
|
+
export { type_13 as type };
|
|
809
|
+
let delay_13: number;
|
|
810
|
+
export { delay_13 as delay };
|
|
811
|
+
}
|
|
812
|
+
export { backoff_13 as backoff };
|
|
813
|
+
let delay_14: number;
|
|
814
|
+
export { delay_14 as delay };
|
|
815
|
+
let removeOnComplete_13: number;
|
|
816
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
817
|
+
let removeOnFail_13: number;
|
|
818
|
+
export { removeOnFail_13 as removeOnFail };
|
|
819
|
+
}
|
|
820
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
821
|
+
export namespace streams_13 {
|
|
822
|
+
export namespace events_13 {
|
|
823
|
+
let maxLen_13: number;
|
|
824
|
+
export { maxLen_13 as maxLen };
|
|
825
|
+
}
|
|
826
|
+
export { events_13 as events };
|
|
827
|
+
}
|
|
828
|
+
export { streams_13 as streams };
|
|
829
|
+
}
|
|
830
|
+
export { queueConfig_13 as queueConfig };
|
|
831
|
+
export namespace workerConfig_13 {
|
|
832
|
+
let concurrency_13: number;
|
|
833
|
+
export { concurrency_13 as concurrency };
|
|
834
|
+
let lockDuration_13: number;
|
|
835
|
+
export { lockDuration_13 as lockDuration };
|
|
836
|
+
let maxStalledCount_13: number;
|
|
837
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
838
|
+
}
|
|
839
|
+
export { workerConfig_13 as workerConfig };
|
|
840
|
+
}
|
|
801
841
|
}
|
|
802
842
|
|
|
803
843
|
interface PlatformContextContentItem {
|
|
@@ -2060,6 +2100,10 @@ interface IGeneral {
|
|
|
2060
2100
|
formFieldNumbering?: {
|
|
2061
2101
|
enable?: boolean;
|
|
2062
2102
|
};
|
|
2103
|
+
autoGenTitle?: {
|
|
2104
|
+
enable?: boolean;
|
|
2105
|
+
prefix?: string;
|
|
2106
|
+
};
|
|
2063
2107
|
postPblRedirPath?: object;
|
|
2064
2108
|
templateIndex?: object;
|
|
2065
2109
|
sharing?: {
|
package/dist/node.d.ts
CHANGED
|
@@ -756,7 +756,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
756
756
|
}
|
|
757
757
|
export { workerConfig_11 as workerConfig };
|
|
758
758
|
}
|
|
759
|
-
namespace
|
|
759
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
760
760
|
let id_12: string;
|
|
761
761
|
export { id_12 as id };
|
|
762
762
|
export namespace queueConfig_12 {
|
|
@@ -770,8 +770,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
770
770
|
export { delay_12 as delay };
|
|
771
771
|
}
|
|
772
772
|
export { backoff_12 as backoff };
|
|
773
|
-
let delay_13: number;
|
|
774
|
-
export { delay_13 as delay };
|
|
775
773
|
let removeOnComplete_12: number;
|
|
776
774
|
export { removeOnComplete_12 as removeOnComplete };
|
|
777
775
|
let removeOnFail_12: number;
|
|
@@ -798,6 +796,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
798
796
|
}
|
|
799
797
|
export { workerConfig_12 as workerConfig };
|
|
800
798
|
}
|
|
799
|
+
namespace REINDEX_QUEUE {
|
|
800
|
+
let id_13: string;
|
|
801
|
+
export { id_13 as id };
|
|
802
|
+
export namespace queueConfig_13 {
|
|
803
|
+
export namespace defaultJobOptions_13 {
|
|
804
|
+
let attempts_13: number;
|
|
805
|
+
export { attempts_13 as attempts };
|
|
806
|
+
export namespace backoff_13 {
|
|
807
|
+
let type_13: string;
|
|
808
|
+
export { type_13 as type };
|
|
809
|
+
let delay_13: number;
|
|
810
|
+
export { delay_13 as delay };
|
|
811
|
+
}
|
|
812
|
+
export { backoff_13 as backoff };
|
|
813
|
+
let delay_14: number;
|
|
814
|
+
export { delay_14 as delay };
|
|
815
|
+
let removeOnComplete_13: number;
|
|
816
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
817
|
+
let removeOnFail_13: number;
|
|
818
|
+
export { removeOnFail_13 as removeOnFail };
|
|
819
|
+
}
|
|
820
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
821
|
+
export namespace streams_13 {
|
|
822
|
+
export namespace events_13 {
|
|
823
|
+
let maxLen_13: number;
|
|
824
|
+
export { maxLen_13 as maxLen };
|
|
825
|
+
}
|
|
826
|
+
export { events_13 as events };
|
|
827
|
+
}
|
|
828
|
+
export { streams_13 as streams };
|
|
829
|
+
}
|
|
830
|
+
export { queueConfig_13 as queueConfig };
|
|
831
|
+
export namespace workerConfig_13 {
|
|
832
|
+
let concurrency_13: number;
|
|
833
|
+
export { concurrency_13 as concurrency };
|
|
834
|
+
let lockDuration_13: number;
|
|
835
|
+
export { lockDuration_13 as lockDuration };
|
|
836
|
+
let maxStalledCount_13: number;
|
|
837
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
838
|
+
}
|
|
839
|
+
export { workerConfig_13 as workerConfig };
|
|
840
|
+
}
|
|
801
841
|
}
|
|
802
842
|
|
|
803
843
|
interface PlatformContextContentItem {
|
|
@@ -2060,6 +2100,10 @@ interface IGeneral {
|
|
|
2060
2100
|
formFieldNumbering?: {
|
|
2061
2101
|
enable?: boolean;
|
|
2062
2102
|
};
|
|
2103
|
+
autoGenTitle?: {
|
|
2104
|
+
enable?: boolean;
|
|
2105
|
+
prefix?: string;
|
|
2106
|
+
};
|
|
2063
2107
|
postPblRedirPath?: object;
|
|
2064
2108
|
templateIndex?: object;
|
|
2065
2109
|
sharing?: {
|
package/dist/node.js
CHANGED
|
@@ -370,6 +370,34 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
370
370
|
maxStalledCount: 3
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
374
|
+
id: "sarvam-transcription-queue",
|
|
375
|
+
queueConfig: {
|
|
376
|
+
defaultJobOptions: {
|
|
377
|
+
attempts: 10,
|
|
378
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
379
|
+
backoff: {
|
|
380
|
+
type: "exponential",
|
|
381
|
+
delay: 15e3
|
|
382
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
383
|
+
},
|
|
384
|
+
removeOnComplete: 50,
|
|
385
|
+
removeOnFail: 200
|
|
386
|
+
},
|
|
387
|
+
streams: {
|
|
388
|
+
events: {
|
|
389
|
+
maxLen: 10
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
workerConfig: {
|
|
394
|
+
concurrency: 5,
|
|
395
|
+
// Multiple transcription polls can run in parallel safely
|
|
396
|
+
lockDuration: 12e4,
|
|
397
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
398
|
+
maxStalledCount: 3
|
|
399
|
+
}
|
|
400
|
+
},
|
|
373
401
|
REINDEX_QUEUE: {
|
|
374
402
|
id: "reindex-queue",
|
|
375
403
|
queueConfig: {
|
|
@@ -669,6 +697,10 @@ var init_Tpl = __esm({
|
|
|
669
697
|
formFieldNumbering: {
|
|
670
698
|
enable: Boolean
|
|
671
699
|
},
|
|
700
|
+
autoGenTitle: {
|
|
701
|
+
enable: Boolean,
|
|
702
|
+
prefix: String
|
|
703
|
+
},
|
|
672
704
|
postPblRedirPath: Object,
|
|
673
705
|
templateIndex: Object,
|
|
674
706
|
sharing: {
|
package/dist/node.mjs
CHANGED
|
@@ -375,6 +375,34 @@ var init_GLOBAL_BULLMQ_CONFIG = __esm({
|
|
|
375
375
|
maxStalledCount: 3
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
379
|
+
id: "sarvam-transcription-queue",
|
|
380
|
+
queueConfig: {
|
|
381
|
+
defaultJobOptions: {
|
|
382
|
+
attempts: 10,
|
|
383
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
384
|
+
backoff: {
|
|
385
|
+
type: "exponential",
|
|
386
|
+
delay: 15e3
|
|
387
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
388
|
+
},
|
|
389
|
+
removeOnComplete: 50,
|
|
390
|
+
removeOnFail: 200
|
|
391
|
+
},
|
|
392
|
+
streams: {
|
|
393
|
+
events: {
|
|
394
|
+
maxLen: 10
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
workerConfig: {
|
|
399
|
+
concurrency: 5,
|
|
400
|
+
// Multiple transcription polls can run in parallel safely
|
|
401
|
+
lockDuration: 12e4,
|
|
402
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
403
|
+
maxStalledCount: 3
|
|
404
|
+
}
|
|
405
|
+
},
|
|
378
406
|
REINDEX_QUEUE: {
|
|
379
407
|
id: "reindex-queue",
|
|
380
408
|
queueConfig: {
|
|
@@ -674,6 +702,10 @@ var init_Tpl = __esm({
|
|
|
674
702
|
formFieldNumbering: {
|
|
675
703
|
enable: Boolean
|
|
676
704
|
},
|
|
705
|
+
autoGenTitle: {
|
|
706
|
+
enable: Boolean,
|
|
707
|
+
prefix: String
|
|
708
|
+
},
|
|
677
709
|
postPblRedirPath: Object,
|
|
678
710
|
templateIndex: Object,
|
|
679
711
|
sharing: {
|
package/dist/universal.d.mts
CHANGED
|
@@ -749,7 +749,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
749
749
|
}
|
|
750
750
|
export { workerConfig_11 as workerConfig };
|
|
751
751
|
}
|
|
752
|
-
namespace
|
|
752
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
753
753
|
let id_12: string;
|
|
754
754
|
export { id_12 as id };
|
|
755
755
|
export namespace queueConfig_12 {
|
|
@@ -763,8 +763,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
763
763
|
export { delay_12 as delay };
|
|
764
764
|
}
|
|
765
765
|
export { backoff_12 as backoff };
|
|
766
|
-
let delay_13: number;
|
|
767
|
-
export { delay_13 as delay };
|
|
768
766
|
let removeOnComplete_12: number;
|
|
769
767
|
export { removeOnComplete_12 as removeOnComplete };
|
|
770
768
|
let removeOnFail_12: number;
|
|
@@ -791,6 +789,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
791
789
|
}
|
|
792
790
|
export { workerConfig_12 as workerConfig };
|
|
793
791
|
}
|
|
792
|
+
namespace REINDEX_QUEUE {
|
|
793
|
+
let id_13: string;
|
|
794
|
+
export { id_13 as id };
|
|
795
|
+
export namespace queueConfig_13 {
|
|
796
|
+
export namespace defaultJobOptions_13 {
|
|
797
|
+
let attempts_13: number;
|
|
798
|
+
export { attempts_13 as attempts };
|
|
799
|
+
export namespace backoff_13 {
|
|
800
|
+
let type_13: string;
|
|
801
|
+
export { type_13 as type };
|
|
802
|
+
let delay_13: number;
|
|
803
|
+
export { delay_13 as delay };
|
|
804
|
+
}
|
|
805
|
+
export { backoff_13 as backoff };
|
|
806
|
+
let delay_14: number;
|
|
807
|
+
export { delay_14 as delay };
|
|
808
|
+
let removeOnComplete_13: number;
|
|
809
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
810
|
+
let removeOnFail_13: number;
|
|
811
|
+
export { removeOnFail_13 as removeOnFail };
|
|
812
|
+
}
|
|
813
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
814
|
+
export namespace streams_13 {
|
|
815
|
+
export namespace events_13 {
|
|
816
|
+
let maxLen_13: number;
|
|
817
|
+
export { maxLen_13 as maxLen };
|
|
818
|
+
}
|
|
819
|
+
export { events_13 as events };
|
|
820
|
+
}
|
|
821
|
+
export { streams_13 as streams };
|
|
822
|
+
}
|
|
823
|
+
export { queueConfig_13 as queueConfig };
|
|
824
|
+
export namespace workerConfig_13 {
|
|
825
|
+
let concurrency_13: number;
|
|
826
|
+
export { concurrency_13 as concurrency };
|
|
827
|
+
let lockDuration_13: number;
|
|
828
|
+
export { lockDuration_13 as lockDuration };
|
|
829
|
+
let maxStalledCount_13: number;
|
|
830
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
831
|
+
}
|
|
832
|
+
export { workerConfig_13 as workerConfig };
|
|
833
|
+
}
|
|
794
834
|
}
|
|
795
835
|
|
|
796
836
|
interface PlatformContextContentItem {
|
package/dist/universal.d.ts
CHANGED
|
@@ -749,7 +749,7 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
749
749
|
}
|
|
750
750
|
export { workerConfig_11 as workerConfig };
|
|
751
751
|
}
|
|
752
|
-
namespace
|
|
752
|
+
namespace SARVAM_TRANSCRIPTION_QUEUE {
|
|
753
753
|
let id_12: string;
|
|
754
754
|
export { id_12 as id };
|
|
755
755
|
export namespace queueConfig_12 {
|
|
@@ -763,8 +763,6 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
763
763
|
export { delay_12 as delay };
|
|
764
764
|
}
|
|
765
765
|
export { backoff_12 as backoff };
|
|
766
|
-
let delay_13: number;
|
|
767
|
-
export { delay_13 as delay };
|
|
768
766
|
let removeOnComplete_12: number;
|
|
769
767
|
export { removeOnComplete_12 as removeOnComplete };
|
|
770
768
|
let removeOnFail_12: number;
|
|
@@ -791,6 +789,48 @@ declare namespace BASE_BULLMQ_CONFIG {
|
|
|
791
789
|
}
|
|
792
790
|
export { workerConfig_12 as workerConfig };
|
|
793
791
|
}
|
|
792
|
+
namespace REINDEX_QUEUE {
|
|
793
|
+
let id_13: string;
|
|
794
|
+
export { id_13 as id };
|
|
795
|
+
export namespace queueConfig_13 {
|
|
796
|
+
export namespace defaultJobOptions_13 {
|
|
797
|
+
let attempts_13: number;
|
|
798
|
+
export { attempts_13 as attempts };
|
|
799
|
+
export namespace backoff_13 {
|
|
800
|
+
let type_13: string;
|
|
801
|
+
export { type_13 as type };
|
|
802
|
+
let delay_13: number;
|
|
803
|
+
export { delay_13 as delay };
|
|
804
|
+
}
|
|
805
|
+
export { backoff_13 as backoff };
|
|
806
|
+
let delay_14: number;
|
|
807
|
+
export { delay_14 as delay };
|
|
808
|
+
let removeOnComplete_13: number;
|
|
809
|
+
export { removeOnComplete_13 as removeOnComplete };
|
|
810
|
+
let removeOnFail_13: number;
|
|
811
|
+
export { removeOnFail_13 as removeOnFail };
|
|
812
|
+
}
|
|
813
|
+
export { defaultJobOptions_13 as defaultJobOptions };
|
|
814
|
+
export namespace streams_13 {
|
|
815
|
+
export namespace events_13 {
|
|
816
|
+
let maxLen_13: number;
|
|
817
|
+
export { maxLen_13 as maxLen };
|
|
818
|
+
}
|
|
819
|
+
export { events_13 as events };
|
|
820
|
+
}
|
|
821
|
+
export { streams_13 as streams };
|
|
822
|
+
}
|
|
823
|
+
export { queueConfig_13 as queueConfig };
|
|
824
|
+
export namespace workerConfig_13 {
|
|
825
|
+
let concurrency_13: number;
|
|
826
|
+
export { concurrency_13 as concurrency };
|
|
827
|
+
let lockDuration_13: number;
|
|
828
|
+
export { lockDuration_13 as lockDuration };
|
|
829
|
+
let maxStalledCount_13: number;
|
|
830
|
+
export { maxStalledCount_13 as maxStalledCount };
|
|
831
|
+
}
|
|
832
|
+
export { workerConfig_13 as workerConfig };
|
|
833
|
+
}
|
|
794
834
|
}
|
|
795
835
|
|
|
796
836
|
interface PlatformContextContentItem {
|
package/dist/universal.js
CHANGED
|
@@ -796,6 +796,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
796
796
|
maxStalledCount: 3
|
|
797
797
|
}
|
|
798
798
|
},
|
|
799
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
800
|
+
id: "sarvam-transcription-queue",
|
|
801
|
+
queueConfig: {
|
|
802
|
+
defaultJobOptions: {
|
|
803
|
+
attempts: 10,
|
|
804
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
805
|
+
backoff: {
|
|
806
|
+
type: "exponential",
|
|
807
|
+
delay: 15e3
|
|
808
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
809
|
+
},
|
|
810
|
+
removeOnComplete: 50,
|
|
811
|
+
removeOnFail: 200
|
|
812
|
+
},
|
|
813
|
+
streams: {
|
|
814
|
+
events: {
|
|
815
|
+
maxLen: 10
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
workerConfig: {
|
|
820
|
+
concurrency: 5,
|
|
821
|
+
// Multiple transcription polls can run in parallel safely
|
|
822
|
+
lockDuration: 12e4,
|
|
823
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
824
|
+
maxStalledCount: 3
|
|
825
|
+
}
|
|
826
|
+
},
|
|
799
827
|
REINDEX_QUEUE: {
|
|
800
828
|
id: "reindex-queue",
|
|
801
829
|
queueConfig: {
|
package/dist/universal.mjs
CHANGED
|
@@ -730,6 +730,34 @@ var BASE_BULLMQ_CONFIG = {
|
|
|
730
730
|
maxStalledCount: 3
|
|
731
731
|
}
|
|
732
732
|
},
|
|
733
|
+
SARVAM_TRANSCRIPTION_QUEUE: {
|
|
734
|
+
id: "sarvam-transcription-queue",
|
|
735
|
+
queueConfig: {
|
|
736
|
+
defaultJobOptions: {
|
|
737
|
+
attempts: 10,
|
|
738
|
+
// Sarvam jobs need many poll cycles, not retries per se
|
|
739
|
+
backoff: {
|
|
740
|
+
type: "exponential",
|
|
741
|
+
delay: 15e3
|
|
742
|
+
// First retry at 15s, then 30s, 60s, etc.
|
|
743
|
+
},
|
|
744
|
+
removeOnComplete: 50,
|
|
745
|
+
removeOnFail: 200
|
|
746
|
+
},
|
|
747
|
+
streams: {
|
|
748
|
+
events: {
|
|
749
|
+
maxLen: 10
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
workerConfig: {
|
|
754
|
+
concurrency: 5,
|
|
755
|
+
// Multiple transcription polls can run in parallel safely
|
|
756
|
+
lockDuration: 12e4,
|
|
757
|
+
// 2 min — fetching results from Sarvam can be slow
|
|
758
|
+
maxStalledCount: 3
|
|
759
|
+
}
|
|
760
|
+
},
|
|
733
761
|
REINDEX_QUEUE: {
|
|
734
762
|
id: "reindex-queue",
|
|
735
763
|
queueConfig: {
|