@nodaro/shared 3.63.0 → 3.64.0
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/{chunk-AE3AAJ4O.js → chunk-36VWLB4J.js} +3 -3
- package/dist/{chunk-AE3AAJ4O.js.map → chunk-36VWLB4J.js.map} +1 -1
- package/dist/{chunk-HWQ2SYNA.js → chunk-3AYM47GW.js} +5 -5
- package/dist/{chunk-HWQ2SYNA.js.map → chunk-3AYM47GW.js.map} +1 -1
- package/dist/{chunk-CZ5IQB3L.js → chunk-3KTWYYCN.js} +8 -5
- package/dist/chunk-3KTWYYCN.js.map +1 -0
- package/dist/{chunk-4MMZD63H.js → chunk-4IUE2JB7.js} +3 -3
- package/dist/{chunk-4MMZD63H.js.map → chunk-4IUE2JB7.js.map} +1 -1
- package/dist/{chunk-M5OCFGHF.cjs → chunk-5OBTGNUQ.cjs} +296 -25
- package/dist/chunk-5OBTGNUQ.cjs.map +1 -0
- package/dist/{chunk-ZPE2ZTJ4.cjs → chunk-67CMMTLN.cjs} +4 -4
- package/dist/{chunk-ZPE2ZTJ4.cjs.map → chunk-67CMMTLN.cjs.map} +1 -1
- package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
- package/dist/chunk-6BRWPJPP.cjs.map +1 -0
- package/dist/{chunk-HBXF6RUU.js → chunk-6YIV37V7.js} +4 -4
- package/dist/{chunk-HBXF6RUU.js.map → chunk-6YIV37V7.js.map} +1 -1
- package/dist/{chunk-F6WGGYQW.cjs → chunk-7AJGUI7L.cjs} +37 -15
- package/dist/chunk-7AJGUI7L.cjs.map +1 -0
- package/dist/{chunk-KCZHQH2O.js → chunk-7KQ6W5DS.js} +4 -4
- package/dist/{chunk-KCZHQH2O.js.map → chunk-7KQ6W5DS.js.map} +1 -1
- package/dist/{chunk-TM5JYSJF.cjs → chunk-ACZZHHFZ.cjs} +72 -33
- package/dist/chunk-ACZZHHFZ.cjs.map +1 -0
- package/dist/{chunk-Y35JQPT6.cjs → chunk-AZNZ5WNZ.cjs} +42 -42
- package/dist/{chunk-Y35JQPT6.cjs.map → chunk-AZNZ5WNZ.cjs.map} +1 -1
- package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
- package/dist/chunk-BQYCZLMF.js.map +1 -0
- package/dist/{chunk-GMBDLNLD.cjs → chunk-CHS2SIP6.cjs} +183 -60
- package/dist/chunk-CHS2SIP6.cjs.map +1 -0
- package/dist/{chunk-77WU3V3J.cjs → chunk-CHTZZRAL.cjs} +6 -6
- package/dist/{chunk-77WU3V3J.cjs.map → chunk-CHTZZRAL.cjs.map} +1 -1
- package/dist/{chunk-WZVIBAKN.cjs → chunk-D4KWNDPH.cjs} +12 -12
- package/dist/{chunk-WZVIBAKN.cjs.map → chunk-D4KWNDPH.cjs.map} +1 -1
- package/dist/{chunk-PSKZKLDG.js → chunk-DZ4IOP3Q.js} +288 -26
- package/dist/chunk-DZ4IOP3Q.js.map +1 -0
- package/dist/{chunk-XGVJGNZW.cjs → chunk-EXEVT6D2.cjs} +15 -5
- package/dist/chunk-EXEVT6D2.cjs.map +1 -0
- package/dist/{chunk-X5BAFW3Q.cjs → chunk-FHGRKQVZ.cjs} +8 -8
- package/dist/{chunk-X5BAFW3Q.cjs.map → chunk-FHGRKQVZ.cjs.map} +1 -1
- package/dist/{chunk-GSKLPI3J.cjs → chunk-GTWUS6MQ.cjs} +118 -61
- package/dist/chunk-GTWUS6MQ.cjs.map +1 -0
- package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
- package/dist/chunk-H5KHWTAE.js.map +1 -0
- package/dist/{chunk-V5EEQR2U.cjs → chunk-HDPJNNMF.cjs} +21 -21
- package/dist/{chunk-V5EEQR2U.cjs.map → chunk-HDPJNNMF.cjs.map} +1 -1
- package/dist/{chunk-6M563QE6.js → chunk-IYSOVS7O.js} +55 -23
- package/dist/chunk-IYSOVS7O.js.map +1 -0
- package/dist/{chunk-XGGZWA4A.cjs → chunk-J6B7J73J.cjs} +52 -49
- package/dist/chunk-J6B7J73J.cjs.map +1 -0
- package/dist/{chunk-MD4XHED4.js → chunk-KB2SQAR3.js} +3 -3
- package/dist/{chunk-MD4XHED4.js.map → chunk-KB2SQAR3.js.map} +1 -1
- package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
- package/dist/chunk-KSHAAPQF.cjs.map +1 -0
- package/dist/{chunk-6TGB7ECA.cjs → chunk-O4RPXBDZ.cjs} +12 -8
- package/dist/chunk-O4RPXBDZ.cjs.map +1 -0
- package/dist/{chunk-YUER7TJG.js → chunk-OBOOHG3N.js} +13 -4
- package/dist/chunk-OBOOHG3N.js.map +1 -0
- package/dist/{chunk-6BZC2ZHC.cjs → chunk-OOZW2MM6.cjs} +9 -9
- package/dist/{chunk-6BZC2ZHC.cjs.map → chunk-OOZW2MM6.cjs.map} +1 -1
- package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
- package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
- package/dist/{chunk-3K24DWOH.js → chunk-PJJAZQVZ.js} +3 -3
- package/dist/{chunk-3K24DWOH.js.map → chunk-PJJAZQVZ.js.map} +1 -1
- package/dist/{chunk-EPXGG27L.js → chunk-Q2Y4JHF7.js} +5 -5
- package/dist/{chunk-EPXGG27L.js.map → chunk-Q2Y4JHF7.js.map} +1 -1
- package/dist/{chunk-KMGCHV6O.js → chunk-QYU7J5EQ.js} +37 -15
- package/dist/chunk-QYU7J5EQ.js.map +1 -0
- package/dist/{chunk-IY3Y462W.js → chunk-S3UGLZSF.js} +3 -3
- package/dist/{chunk-IY3Y462W.js.map → chunk-S3UGLZSF.js.map} +1 -1
- package/dist/{chunk-34QLPTSA.js → chunk-SHH2T4CR.js} +3 -3
- package/dist/{chunk-34QLPTSA.js.map → chunk-SHH2T4CR.js.map} +1 -1
- package/dist/{chunk-L2TVY6XN.cjs → chunk-SPAHI7DY.cjs} +4 -4
- package/dist/{chunk-L2TVY6XN.cjs.map → chunk-SPAHI7DY.cjs.map} +1 -1
- package/dist/{chunk-YX6TFX7H.js → chunk-SXHHLZ22.js} +66 -11
- package/dist/chunk-SXHHLZ22.js.map +1 -0
- package/dist/{chunk-LMAQUR55.cjs → chunk-T2OVDF2M.cjs} +6 -6
- package/dist/{chunk-LMAQUR55.cjs.map → chunk-T2OVDF2M.cjs.map} +1 -1
- package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
- package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
- package/dist/{chunk-BMJVKYVB.js → chunk-TPQJKS7D.js} +109 -7
- package/dist/chunk-TPQJKS7D.js.map +1 -0
- package/dist/{chunk-63H4C56Q.cjs → chunk-TQW3R44P.cjs} +8 -8
- package/dist/{chunk-63H4C56Q.cjs.map → chunk-TQW3R44P.cjs.map} +1 -1
- package/dist/{chunk-4DVWXEB6.js → chunk-TTGZ2L3O.js} +3 -3
- package/dist/{chunk-4DVWXEB6.js.map → chunk-TTGZ2L3O.js.map} +1 -1
- package/dist/{chunk-XBTYGQ6Z.js → chunk-VPTA4Z7G.js} +8 -5
- package/dist/chunk-VPTA4Z7G.js.map +1 -0
- package/dist/{chunk-6XUG4L7X.cjs → chunk-VZ6TE23U.cjs} +6 -6
- package/dist/{chunk-6XUG4L7X.cjs.map → chunk-VZ6TE23U.cjs.map} +1 -1
- package/dist/{chunk-LH72PQO2.cjs → chunk-W6VJAUGM.cjs} +114 -45
- package/dist/chunk-W6VJAUGM.cjs.map +1 -0
- package/dist/{chunk-OV3JTKBY.js → chunk-W7KHHNZR.js} +74 -17
- package/dist/chunk-W7KHHNZR.js.map +1 -0
- package/dist/{chunk-2PU3AGGS.cjs → chunk-YQV53HRR.cjs} +7 -7
- package/dist/{chunk-2PU3AGGS.cjs.map → chunk-YQV53HRR.cjs.map} +1 -1
- package/dist/{chunk-FXGNRYQQ.js → chunk-ZI3QDUHO.js} +3 -3
- package/dist/{chunk-FXGNRYQQ.js.map → chunk-ZI3QDUHO.js.map} +1 -1
- package/dist/entries/apps.cjs +43 -42
- package/dist/entries/apps.js +8 -7
- package/dist/entries/captions.cjs +38 -30
- package/dist/entries/captions.d.cts +47 -1
- package/dist/entries/captions.d.ts +47 -1
- package/dist/entries/captions.js +1 -1
- package/dist/entries/credits.cjs +303 -191
- package/dist/entries/credits.d.cts +219 -15
- package/dist/entries/credits.d.ts +219 -15
- package/dist/entries/credits.js +11 -11
- package/dist/entries/llm-models.cjs +62 -62
- package/dist/entries/llm-models.d.cts +29 -7
- package/dist/entries/llm-models.d.ts +29 -7
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/model-catalog.cjs +149 -109
- package/dist/entries/model-catalog.d.cts +64 -7
- package/dist/entries/model-catalog.d.ts +64 -7
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +394 -346
- package/dist/entries/models.d.cts +4 -4
- package/dist/entries/models.d.ts +4 -4
- package/dist/entries/models.js +5 -5
- package/dist/entries/nodes.cjs +220 -211
- package/dist/entries/nodes.d.cts +46 -3
- package/dist/entries/nodes.d.ts +46 -3
- package/dist/entries/nodes.js +10 -9
- package/dist/entries/pipeline.cjs +156 -152
- package/dist/entries/pipeline.d.cts +13 -3
- package/dist/entries/pipeline.d.ts +13 -3
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +145 -145
- package/dist/entries/video.js +6 -6
- package/dist/entries/workflow.cjs +150 -150
- package/dist/entries/workflow.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +1879 -1659
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +25 -25
- package/dist/{model-catalog-C_Eo35tL.d.cts → model-catalog-Cf9fkEUp.d.cts} +15 -2
- package/dist/{model-catalog-C_Eo35tL.d.ts → model-catalog-Cf9fkEUp.d.ts} +15 -2
- package/dist/{model-constants-DWcxOmaY.d.cts → model-constants-BxjiWVQ9.d.ts} +89 -19
- package/dist/{model-constants-Bg4ccSQb.d.ts → model-constants-C_Nyft_i.d.cts} +89 -19
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
- package/src/__tests__/extend-providers.test.ts +266 -26
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
- package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
- package/src/__tests__/flux-3-klein.test.ts +203 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
- package/src/__tests__/llm-models.test.ts +7 -9
- package/src/__tests__/llm-price-key.test.ts +12 -0
- package/src/__tests__/model-makers.test.ts +3 -0
- package/src/__tests__/node-runtime-keys.test.ts +7 -0
- package/src/__tests__/normalize-node-params.test.ts +147 -1
- package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
- package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
- package/src/__tests__/sequence-execution.test.ts +22 -1
- package/src/__tests__/suno-credit-type.test.ts +21 -2
- package/src/__tests__/transcribe-capabilities.test.ts +4 -2
- package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
- package/src/__tests__/video-analysis-pricing.test.ts +10 -9
- package/src/caption-styles.ts +62 -0
- package/src/credit-estimators/add-captions-nemotron.ts +73 -0
- package/src/credit-estimators/index.ts +10 -0
- package/src/credit-identifiers.ts +249 -13
- package/src/entries/captions.ts +2 -0
- package/src/entries/credits.ts +25 -1
- package/src/entries/model-catalog.ts +13 -0
- package/src/entries/models.ts +15 -0
- package/src/entries/nodes.ts +2 -0
- package/src/entries/pipeline.ts +1 -1
- package/src/flux-3-klein.ts +69 -0
- package/src/input-image-pricing.ts +23 -6
- package/src/llm-models.ts +60 -16
- package/src/model-catalog.ts +280 -25
- package/src/model-constants.ts +146 -17
- package/src/node-default-mappings.ts +3 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +123 -2
- package/src/seedance-extend-rate.ts +116 -0
- package/src/sequence-execution.ts +24 -0
- package/src/transcribe-preflight.ts +23 -0
- package/src/video-analysis-pricing.ts +28 -15
- package/dist/chunk-6M563QE6.js.map +0 -1
- package/dist/chunk-6TGB7ECA.cjs.map +0 -1
- package/dist/chunk-BLJUCPMV.cjs.map +0 -1
- package/dist/chunk-BMJVKYVB.js.map +0 -1
- package/dist/chunk-CZ5IQB3L.js.map +0 -1
- package/dist/chunk-F6WGGYQW.cjs.map +0 -1
- package/dist/chunk-GMBDLNLD.cjs.map +0 -1
- package/dist/chunk-GSKLPI3J.cjs.map +0 -1
- package/dist/chunk-HSHCCBIV.js.map +0 -1
- package/dist/chunk-KMGCHV6O.js.map +0 -1
- package/dist/chunk-LH72PQO2.cjs.map +0 -1
- package/dist/chunk-M5OCFGHF.cjs.map +0 -1
- package/dist/chunk-OV3JTKBY.js.map +0 -1
- package/dist/chunk-PSKZKLDG.js.map +0 -1
- package/dist/chunk-Q6IES3U2.js.map +0 -1
- package/dist/chunk-TM5JYSJF.cjs.map +0 -1
- package/dist/chunk-WRSWH7US.cjs.map +0 -1
- package/dist/chunk-XBTYGQ6Z.js.map +0 -1
- package/dist/chunk-XGGZWA4A.cjs.map +0 -1
- package/dist/chunk-XGVJGNZW.cjs.map +0 -1
- package/dist/chunk-YUER7TJG.js.map +0 -1
- package/dist/chunk-YX6TFX7H.js.map +0 -1
package/dist/entries/apps.cjs
CHANGED
|
@@ -1,157 +1,158 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkCHTZZRAL_cjs = require('../chunk-CHTZZRAL.cjs');
|
|
4
|
+
var chunkOOZW2MM6_cjs = require('../chunk-OOZW2MM6.cjs');
|
|
5
5
|
require('../chunk-YTXP4VHD.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-CHS2SIP6.cjs');
|
|
7
|
+
require('../chunk-T3TOSWVH.cjs');
|
|
8
|
+
require('../chunk-D4KWNDPH.cjs');
|
|
9
|
+
require('../chunk-SPAHI7DY.cjs');
|
|
9
10
|
require('../chunk-V24EPI5N.cjs');
|
|
10
11
|
require('../chunk-D34K455O.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-W6VJAUGM.cjs');
|
|
13
|
+
require('../chunk-5OBTGNUQ.cjs');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
Object.defineProperty(exports, "DEFAULT_TEMPLATE_CATEGORY", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkCHTZZRAL_cjs.DEFAULT_TEMPLATE_CATEGORY; }
|
|
19
20
|
});
|
|
20
21
|
Object.defineProperty(exports, "HANDLE_PORT_SEPARATOR", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkCHTZZRAL_cjs.HANDLE_PORT_SEPARATOR; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "INPUT_FIELD_MAP", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkCHTZZRAL_cjs.INPUT_FIELD_MAP; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "LEGACY_TEMPLATE_CATEGORIES", {
|
|
29
30
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkCHTZZRAL_cjs.LEGACY_TEMPLATE_CATEGORIES; }
|
|
31
32
|
});
|
|
32
33
|
Object.defineProperty(exports, "OAUTH_SCOPES", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCHTZZRAL_cjs.OAUTH_SCOPES; }
|
|
35
36
|
});
|
|
36
37
|
Object.defineProperty(exports, "OUTPUT_FIELD_MAP", {
|
|
37
38
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkCHTZZRAL_cjs.OUTPUT_FIELD_MAP; }
|
|
39
40
|
});
|
|
40
41
|
Object.defineProperty(exports, "RECAST_SEGMENT_PACKS", {
|
|
41
42
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkCHTZZRAL_cjs.RECAST_SEGMENT_PACKS; }
|
|
43
44
|
});
|
|
44
45
|
Object.defineProperty(exports, "TEMPLATE_CATEGORIES", {
|
|
45
46
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkCHTZZRAL_cjs.TEMPLATE_CATEGORIES; }
|
|
47
48
|
});
|
|
48
49
|
Object.defineProperty(exports, "applyHandleInputOverride", {
|
|
49
50
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkCHTZZRAL_cjs.applyHandleInputOverride; }
|
|
51
52
|
});
|
|
52
53
|
Object.defineProperty(exports, "findRestrictedPickerValue", {
|
|
53
54
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkCHTZZRAL_cjs.findRestrictedPickerValue; }
|
|
55
56
|
});
|
|
56
57
|
Object.defineProperty(exports, "isHandleInputWired", {
|
|
57
58
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkCHTZZRAL_cjs.isHandleInputWired; }
|
|
59
60
|
});
|
|
60
61
|
Object.defineProperty(exports, "isTemplateCategory", {
|
|
61
62
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkCHTZZRAL_cjs.isTemplateCategory; }
|
|
63
64
|
});
|
|
64
65
|
Object.defineProperty(exports, "mergeExposedSettings", {
|
|
65
66
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkCHTZZRAL_cjs.mergeExposedSettings; }
|
|
67
68
|
});
|
|
68
69
|
Object.defineProperty(exports, "normalizeTemplateCategory", {
|
|
69
70
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkCHTZZRAL_cjs.normalizeTemplateCategory; }
|
|
71
72
|
});
|
|
72
73
|
Object.defineProperty(exports, "parseHandleId", {
|
|
73
74
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkCHTZZRAL_cjs.parseHandleId; }
|
|
75
76
|
});
|
|
76
77
|
Object.defineProperty(exports, "resolveTemplateCategory", {
|
|
77
78
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkCHTZZRAL_cjs.resolveTemplateCategory; }
|
|
79
80
|
});
|
|
80
81
|
Object.defineProperty(exports, "templateCategoryStoredValues", {
|
|
81
82
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkCHTZZRAL_cjs.templateCategoryStoredValues; }
|
|
83
84
|
});
|
|
84
85
|
Object.defineProperty(exports, "INPUT_FIELD_EXTRA_KEYS", {
|
|
85
86
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkOOZW2MM6_cjs.INPUT_FIELD_EXTRA_KEYS; }
|
|
87
88
|
});
|
|
88
89
|
Object.defineProperty(exports, "INPUT_NODE_TYPES", {
|
|
89
90
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkOOZW2MM6_cjs.INPUT_NODE_TYPES; }
|
|
91
92
|
});
|
|
92
93
|
Object.defineProperty(exports, "LEGACY_EXPOSED_FIELD_KEYS", {
|
|
93
94
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkOOZW2MM6_cjs.LEGACY_EXPOSED_FIELD_KEYS; }
|
|
95
96
|
});
|
|
96
97
|
Object.defineProperty(exports, "canonicalExposedFieldKey", {
|
|
97
98
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkOOZW2MM6_cjs.canonicalExposedFieldKey; }
|
|
99
100
|
});
|
|
100
101
|
Object.defineProperty(exports, "canonicalizeOverrideKeys", {
|
|
101
102
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkOOZW2MM6_cjs.canonicalizeOverrideKeys; }
|
|
103
104
|
});
|
|
104
105
|
Object.defineProperty(exports, "cleanOrphanedItems", {
|
|
105
106
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkOOZW2MM6_cjs.cleanOrphanedItems; }
|
|
107
108
|
});
|
|
108
109
|
Object.defineProperty(exports, "flattenItems", {
|
|
109
110
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkOOZW2MM6_cjs.flattenItems; }
|
|
111
112
|
});
|
|
112
113
|
Object.defineProperty(exports, "getInputFieldExtraKeys", {
|
|
113
114
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkOOZW2MM6_cjs.getInputFieldExtraKeys; }
|
|
115
116
|
});
|
|
116
117
|
Object.defineProperty(exports, "getInputFieldSchema", {
|
|
117
118
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkOOZW2MM6_cjs.getInputFieldSchema; }
|
|
119
120
|
});
|
|
120
121
|
Object.defineProperty(exports, "getInputNodes", {
|
|
121
122
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkOOZW2MM6_cjs.getInputNodes; }
|
|
123
124
|
});
|
|
124
125
|
Object.defineProperty(exports, "getItemSortId", {
|
|
125
126
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkOOZW2MM6_cjs.getItemSortId; }
|
|
127
128
|
});
|
|
128
129
|
Object.defineProperty(exports, "getNodeLabel", {
|
|
129
130
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkOOZW2MM6_cjs.getNodeLabel; }
|
|
131
132
|
});
|
|
132
133
|
Object.defineProperty(exports, "getNodeResult", {
|
|
133
134
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkOOZW2MM6_cjs.getNodeResult; }
|
|
135
136
|
});
|
|
136
137
|
Object.defineProperty(exports, "getOutputNodes", {
|
|
137
138
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkOOZW2MM6_cjs.getOutputNodes; }
|
|
139
140
|
});
|
|
140
141
|
Object.defineProperty(exports, "getOutputType", {
|
|
141
142
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkOOZW2MM6_cjs.getOutputType; }
|
|
143
144
|
});
|
|
144
145
|
Object.defineProperty(exports, "mergeNodeInputOverrides", {
|
|
145
146
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkOOZW2MM6_cjs.mergeNodeInputOverrides; }
|
|
147
148
|
});
|
|
148
149
|
Object.defineProperty(exports, "migrateToItems", {
|
|
149
150
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkOOZW2MM6_cjs.migrateToItems; }
|
|
151
152
|
});
|
|
152
153
|
Object.defineProperty(exports, "validateNoNestedGroups", {
|
|
153
154
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkOOZW2MM6_cjs.validateNoNestedGroups; }
|
|
155
156
|
});
|
|
156
157
|
//# sourceMappingURL=apps.cjs.map
|
|
157
158
|
//# sourceMappingURL=apps.cjs.map
|
package/dist/entries/apps.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { DEFAULT_TEMPLATE_CATEGORY, HANDLE_PORT_SEPARATOR, INPUT_FIELD_MAP, LEGACY_TEMPLATE_CATEGORIES, OAUTH_SCOPES, OUTPUT_FIELD_MAP, RECAST_SEGMENT_PACKS, TEMPLATE_CATEGORIES, applyHandleInputOverride, findRestrictedPickerValue, isHandleInputWired, isTemplateCategory, mergeExposedSettings, normalizeTemplateCategory, parseHandleId, resolveTemplateCategory, templateCategoryStoredValues } from '../chunk-
|
|
2
|
-
export { INPUT_FIELD_EXTRA_KEYS, INPUT_NODE_TYPES, LEGACY_EXPOSED_FIELD_KEYS, canonicalExposedFieldKey, canonicalizeOverrideKeys, cleanOrphanedItems, flattenItems, getInputFieldExtraKeys, getInputFieldSchema, getInputNodes, getItemSortId, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, mergeNodeInputOverrides, migrateToItems, validateNoNestedGroups } from '../chunk-
|
|
1
|
+
export { DEFAULT_TEMPLATE_CATEGORY, HANDLE_PORT_SEPARATOR, INPUT_FIELD_MAP, LEGACY_TEMPLATE_CATEGORIES, OAUTH_SCOPES, OUTPUT_FIELD_MAP, RECAST_SEGMENT_PACKS, TEMPLATE_CATEGORIES, applyHandleInputOverride, findRestrictedPickerValue, isHandleInputWired, isTemplateCategory, mergeExposedSettings, normalizeTemplateCategory, parseHandleId, resolveTemplateCategory, templateCategoryStoredValues } from '../chunk-SHH2T4CR.js';
|
|
2
|
+
export { INPUT_FIELD_EXTRA_KEYS, INPUT_NODE_TYPES, LEGACY_EXPOSED_FIELD_KEYS, canonicalExposedFieldKey, canonicalizeOverrideKeys, cleanOrphanedItems, flattenItems, getInputFieldExtraKeys, getInputFieldSchema, getInputNodes, getItemSortId, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, mergeNodeInputOverrides, migrateToItems, validateNoNestedGroups } from '../chunk-7KQ6W5DS.js';
|
|
3
3
|
import '../chunk-JCNTNAZP.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-TPQJKS7D.js';
|
|
5
|
+
import '../chunk-M7G66F6H.js';
|
|
6
|
+
import '../chunk-Q2Y4JHF7.js';
|
|
7
|
+
import '../chunk-KB2SQAR3.js';
|
|
7
8
|
import '../chunk-KL6GAYTT.js';
|
|
8
9
|
import '../chunk-RGNHHIMN.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-W7KHHNZR.js';
|
|
11
|
+
import '../chunk-DZ4IOP3Q.js';
|
|
11
12
|
//# sourceMappingURL=apps.js.map
|
|
12
13
|
//# sourceMappingURL=apps.js.map
|
|
@@ -1,124 +1,132 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6BRWPJPP_cjs = require('../chunk-6BRWPJPP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ALL_CAPTION_STYLES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk6BRWPJPP_cjs.ALL_CAPTION_STYLES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "CAPTION_LEVER_BOUNDS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_LEVER_BOUNDS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "CAPTION_LOOKS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_LOOKS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "CAPTION_LOOK_IDS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_LOOK_IDS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CAPTION_MAX_WORDS_PER_LINE_MAX", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_MAX_WORDS_PER_LINE_MAX; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CAPTION_MAX_WORDS_PER_LINE_MIN", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_MAX_WORDS_PER_LINE_MIN; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "CAPTION_SEGMENT_SCHEMA_KEYS", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk6BRWPJPP_cjs.CAPTION_SEGMENT_SCHEMA_KEYS; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "DEFAULT_CAPTION_LOOK", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk6BRWPJPP_cjs.DEFAULT_CAPTION_LOOK; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DEFAULT_SUBTITLE_LOOK", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk6BRWPJPP_cjs.DEFAULT_SUBTITLE_LOOK; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "KINETIC_CAPTION_STYLES", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk6BRWPJPP_cjs.KINETIC_CAPTION_STYLES; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "KINETIC_ONLY_CAPTION_LEVER_KEYS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk6BRWPJPP_cjs.KINETIC_ONLY_CAPTION_LEVER_KEYS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "STATIC_CAPTION_STYLES", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk6BRWPJPP_cjs.STATIC_CAPTION_STYLES; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "SUPPORTED_FONT_NAMES", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk6BRWPJPP_cjs.SUPPORTED_FONT_NAMES; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "autoStrokeWidth", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk6BRWPJPP_cjs.autoStrokeWidth; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "captionFontWeightSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk6BRWPJPP_cjs.captionFontWeightSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "captionInputSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk6BRWPJPP_cjs.captionInputSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "captionPlanBodyLevers", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk6BRWPJPP_cjs.captionPlanBodyLevers; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "captionRoutesToRemotion", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk6BRWPJPP_cjs.captionRoutesToRemotion; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "captionSegmentInputSchema", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk6BRWPJPP_cjs.captionSegmentInputSchema; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "captionsNeedTranscription", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return chunk6BRWPJPP_cjs.captionsNeedTranscription; }
|
|
82
86
|
});
|
|
83
87
|
Object.defineProperty(exports, "findSegmentOverlap", {
|
|
84
88
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk6BRWPJPP_cjs.findSegmentOverlap; }
|
|
86
90
|
});
|
|
87
91
|
Object.defineProperty(exports, "isBareDashToken", {
|
|
88
92
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk6BRWPJPP_cjs.isBareDashToken; }
|
|
90
94
|
});
|
|
91
95
|
Object.defineProperty(exports, "isKineticCaptionStyle", {
|
|
92
96
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk6BRWPJPP_cjs.isKineticCaptionStyle; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "isStaticTextCaptionSource", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunk6BRWPJPP_cjs.isStaticTextCaptionSource; }
|
|
94
102
|
});
|
|
95
103
|
Object.defineProperty(exports, "nonBlankCaptionText", {
|
|
96
104
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk6BRWPJPP_cjs.nonBlankCaptionText; }
|
|
98
106
|
});
|
|
99
107
|
Object.defineProperty(exports, "normalizeCaptionNumericLevers", {
|
|
100
108
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk6BRWPJPP_cjs.normalizeCaptionNumericLevers; }
|
|
102
110
|
});
|
|
103
111
|
Object.defineProperty(exports, "parseCaptionPlan", {
|
|
104
112
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk6BRWPJPP_cjs.parseCaptionPlan; }
|
|
106
114
|
});
|
|
107
115
|
Object.defineProperty(exports, "resolveCaptionLevers", {
|
|
108
116
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk6BRWPJPP_cjs.resolveCaptionLevers; }
|
|
110
118
|
});
|
|
111
119
|
Object.defineProperty(exports, "resolveCaptionLook", {
|
|
112
120
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk6BRWPJPP_cjs.resolveCaptionLook; }
|
|
114
122
|
});
|
|
115
123
|
Object.defineProperty(exports, "styleCaptionPlan", {
|
|
116
124
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk6BRWPJPP_cjs.styleCaptionPlan; }
|
|
118
126
|
});
|
|
119
127
|
Object.defineProperty(exports, "trimEdgeDashTokens", {
|
|
120
128
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk6BRWPJPP_cjs.trimEdgeDashTokens; }
|
|
122
130
|
});
|
|
123
131
|
//# sourceMappingURL=captions.cjs.map
|
|
124
132
|
//# sourceMappingURL=captions.cjs.map
|
|
@@ -80,6 +80,52 @@ declare function captionRoutesToRemotion(input: {
|
|
|
80
80
|
positionY?: unknown;
|
|
81
81
|
maxWordsPerLine?: unknown;
|
|
82
82
|
}): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Is this render's caption source a STATIC TEXT BLOCK — the caller's `text`,
|
|
85
|
+
* burned once for the whole clip — rather than timed words?
|
|
86
|
+
*
|
|
87
|
+
* On `subtitle`, `text` IS the caption: one block, `\n` a forced line break,
|
|
88
|
+
* never transcribed over, whichever renderer draws it (the cheap FFmpeg drawtext
|
|
89
|
+
* burn with no styling lever, the Remotion SubtitleOverlay with one). On a
|
|
90
|
+
* KINETIC style the same `text` stays what it always was — a FALLBACK, spread
|
|
91
|
+
* evenly across the clip as synthetic word timings when transcription returns
|
|
92
|
+
* nothing.
|
|
93
|
+
*
|
|
94
|
+
* Source precedence is unchanged: `captions[]` > wired transcript > (`text` on
|
|
95
|
+
* subtitle) > auto-transcription. `auto_transcribe` is deliberately NOT read: on
|
|
96
|
+
* a subtitle the caller's text wins either way.
|
|
97
|
+
*
|
|
98
|
+
* Shared by the WORKER (which must not pay for a transcription it then discards)
|
|
99
|
+
* and the ROUTE/DAG ingress, so the two cannot disagree about where the words
|
|
100
|
+
* come from.
|
|
101
|
+
*/
|
|
102
|
+
declare function isStaticTextCaptionSource(input: {
|
|
103
|
+
style?: string | null;
|
|
104
|
+
text?: string | null;
|
|
105
|
+
captions?: readonly unknown[] | null;
|
|
106
|
+
transcript?: unknown;
|
|
107
|
+
segments?: readonly unknown[] | null;
|
|
108
|
+
}): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Whether an Add Captions render transcribes its audio: it carries no caption
|
|
111
|
+
* source of its own — no captions, no wired transcript, no static text block —
|
|
112
|
+
* auto-transcribe is not turned off, and its segments (when it has any) do not
|
|
113
|
+
* all carry their own text or captions. The worker decides with it; the route's
|
|
114
|
+
* credit guard asks it so a request is judged on its transcription model only
|
|
115
|
+
* when one will run, and every place that prices a run on an engine charged by
|
|
116
|
+
* the video's length (Nemotron 3.5 Transcribe) holds that price only when it does.
|
|
117
|
+
*/
|
|
118
|
+
declare function captionsNeedTranscription(input: {
|
|
119
|
+
style?: string | null;
|
|
120
|
+
text?: string | null;
|
|
121
|
+
captions?: readonly unknown[] | null;
|
|
122
|
+
transcript?: unknown;
|
|
123
|
+
segments?: ReadonlyArray<{
|
|
124
|
+
readonly text?: unknown;
|
|
125
|
+
readonly captions?: readonly unknown[] | null;
|
|
126
|
+
}> | null;
|
|
127
|
+
auto_transcribe?: boolean | null;
|
|
128
|
+
}): boolean;
|
|
83
129
|
/**
|
|
84
130
|
* `maxWordsPerLine` — caps how many words a caption LINE (or tiktok-words page)
|
|
85
131
|
* may hold, on top of the frame-width budget, sentence ends and pauses that
|
|
@@ -351,4 +397,4 @@ declare function styleCaptionPlan(raw: unknown, nodeData: Readonly<Record<string
|
|
|
351
397
|
error: string;
|
|
352
398
|
};
|
|
353
399
|
|
|
354
|
-
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
|
|
400
|
+
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
|
|
@@ -80,6 +80,52 @@ declare function captionRoutesToRemotion(input: {
|
|
|
80
80
|
positionY?: unknown;
|
|
81
81
|
maxWordsPerLine?: unknown;
|
|
82
82
|
}): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Is this render's caption source a STATIC TEXT BLOCK — the caller's `text`,
|
|
85
|
+
* burned once for the whole clip — rather than timed words?
|
|
86
|
+
*
|
|
87
|
+
* On `subtitle`, `text` IS the caption: one block, `\n` a forced line break,
|
|
88
|
+
* never transcribed over, whichever renderer draws it (the cheap FFmpeg drawtext
|
|
89
|
+
* burn with no styling lever, the Remotion SubtitleOverlay with one). On a
|
|
90
|
+
* KINETIC style the same `text` stays what it always was — a FALLBACK, spread
|
|
91
|
+
* evenly across the clip as synthetic word timings when transcription returns
|
|
92
|
+
* nothing.
|
|
93
|
+
*
|
|
94
|
+
* Source precedence is unchanged: `captions[]` > wired transcript > (`text` on
|
|
95
|
+
* subtitle) > auto-transcription. `auto_transcribe` is deliberately NOT read: on
|
|
96
|
+
* a subtitle the caller's text wins either way.
|
|
97
|
+
*
|
|
98
|
+
* Shared by the WORKER (which must not pay for a transcription it then discards)
|
|
99
|
+
* and the ROUTE/DAG ingress, so the two cannot disagree about where the words
|
|
100
|
+
* come from.
|
|
101
|
+
*/
|
|
102
|
+
declare function isStaticTextCaptionSource(input: {
|
|
103
|
+
style?: string | null;
|
|
104
|
+
text?: string | null;
|
|
105
|
+
captions?: readonly unknown[] | null;
|
|
106
|
+
transcript?: unknown;
|
|
107
|
+
segments?: readonly unknown[] | null;
|
|
108
|
+
}): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Whether an Add Captions render transcribes its audio: it carries no caption
|
|
111
|
+
* source of its own — no captions, no wired transcript, no static text block —
|
|
112
|
+
* auto-transcribe is not turned off, and its segments (when it has any) do not
|
|
113
|
+
* all carry their own text or captions. The worker decides with it; the route's
|
|
114
|
+
* credit guard asks it so a request is judged on its transcription model only
|
|
115
|
+
* when one will run, and every place that prices a run on an engine charged by
|
|
116
|
+
* the video's length (Nemotron 3.5 Transcribe) holds that price only when it does.
|
|
117
|
+
*/
|
|
118
|
+
declare function captionsNeedTranscription(input: {
|
|
119
|
+
style?: string | null;
|
|
120
|
+
text?: string | null;
|
|
121
|
+
captions?: readonly unknown[] | null;
|
|
122
|
+
transcript?: unknown;
|
|
123
|
+
segments?: ReadonlyArray<{
|
|
124
|
+
readonly text?: unknown;
|
|
125
|
+
readonly captions?: readonly unknown[] | null;
|
|
126
|
+
}> | null;
|
|
127
|
+
auto_transcribe?: boolean | null;
|
|
128
|
+
}): boolean;
|
|
83
129
|
/**
|
|
84
130
|
* `maxWordsPerLine` — caps how many words a caption LINE (or tiktok-words page)
|
|
85
131
|
* may hold, on top of the frame-width budget, sentence ends and pauses that
|
|
@@ -351,4 +397,4 @@ declare function styleCaptionPlan(raw: unknown, nodeData: Readonly<Record<string
|
|
|
351
397
|
error: string;
|
|
352
398
|
};
|
|
353
399
|
|
|
354
|
-
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
|
|
400
|
+
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
|
package/dist/entries/captions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, STATIC_CAPTION_STYLES, SUPPORTED_FONT_NAMES, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens } from '../chunk-
|
|
1
|
+
export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, STATIC_CAPTION_STYLES, SUPPORTED_FONT_NAMES, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens } from '../chunk-BQYCZLMF.js';
|
|
2
2
|
//# sourceMappingURL=captions.js.map
|
|
3
3
|
//# sourceMappingURL=captions.js.map
|