@nodaro/shared 3.31.0 → 3.33.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/README.md +17 -0
- package/dist/chunk-23FJQTEA.js +1604 -0
- package/dist/chunk-23FJQTEA.js.map +1 -0
- package/dist/chunk-2NIQO2J3.cjs +54 -0
- package/dist/chunk-2NIQO2J3.cjs.map +1 -0
- package/dist/chunk-2NQLSLSN.cjs +19 -0
- package/dist/chunk-2NQLSLSN.cjs.map +1 -0
- package/dist/chunk-2OJIVO7R.cjs +32 -0
- package/dist/chunk-2OJIVO7R.cjs.map +1 -0
- package/dist/chunk-2RF4Z7KG.cjs +803 -0
- package/dist/chunk-2RF4Z7KG.cjs.map +1 -0
- package/dist/chunk-3RYKIUAE.js +86 -0
- package/dist/chunk-3RYKIUAE.js.map +1 -0
- package/dist/chunk-44I73CQS.cjs +194 -0
- package/dist/chunk-44I73CQS.cjs.map +1 -0
- package/dist/chunk-5PC6JBGJ.cjs +1419 -0
- package/dist/chunk-5PC6JBGJ.cjs.map +1 -0
- package/dist/chunk-5RU2HCW2.js +30 -0
- package/dist/chunk-5RU2HCW2.js.map +1 -0
- package/dist/chunk-5RYLK3MQ.js +267 -0
- package/dist/chunk-5RYLK3MQ.js.map +1 -0
- package/dist/chunk-5THUHJ3E.js +46 -0
- package/dist/chunk-5THUHJ3E.js.map +1 -0
- package/dist/chunk-6DAWSVX2.cjs +103 -0
- package/dist/chunk-6DAWSVX2.cjs.map +1 -0
- package/dist/chunk-6WZ2VN7V.js +920 -0
- package/dist/chunk-6WZ2VN7V.js.map +1 -0
- package/dist/chunk-7G7G42KS.js +86 -0
- package/dist/chunk-7G7G42KS.js.map +1 -0
- package/dist/chunk-7Z5LUTGU.js +1567 -0
- package/dist/chunk-7Z5LUTGU.js.map +1 -0
- package/dist/chunk-AINCI23X.js +2171 -0
- package/dist/chunk-AINCI23X.js.map +1 -0
- package/dist/chunk-BG5D5CZ6.js +1922 -0
- package/dist/chunk-BG5D5CZ6.js.map +1 -0
- package/dist/chunk-CK3GK34R.js +1381 -0
- package/dist/chunk-CK3GK34R.js.map +1 -0
- package/dist/chunk-CUH22J4D.js +17 -0
- package/dist/chunk-CUH22J4D.js.map +1 -0
- package/dist/chunk-D26ENTN2.cjs +1770 -0
- package/dist/chunk-D26ENTN2.cjs.map +1 -0
- package/dist/chunk-D6GNRSCV.cjs +2017 -0
- package/dist/chunk-D6GNRSCV.cjs.map +1 -0
- package/dist/chunk-FBV5DF6D.js +95 -0
- package/dist/chunk-FBV5DF6D.js.map +1 -0
- package/dist/chunk-FG4E7MTG.cjs +4 -0
- package/dist/chunk-FG4E7MTG.cjs.map +1 -0
- package/dist/chunk-FT5CF6IA.js +42 -0
- package/dist/chunk-FT5CF6IA.js.map +1 -0
- package/dist/chunk-G6IIVKMO.js +26 -0
- package/dist/chunk-G6IIVKMO.js.map +1 -0
- package/dist/chunk-HC7VKIV5.cjs +430 -0
- package/dist/chunk-HC7VKIV5.cjs.map +1 -0
- package/dist/chunk-HGC5JNVA.cjs +1503 -0
- package/dist/chunk-HGC5JNVA.cjs.map +1 -0
- package/dist/chunk-HKFMXNVQ.cjs +1273 -0
- package/dist/chunk-HKFMXNVQ.cjs.map +1 -0
- package/dist/chunk-HRXEZ3SX.cjs +526 -0
- package/dist/chunk-HRXEZ3SX.cjs.map +1 -0
- package/dist/chunk-HSHCCBIV.js +255 -0
- package/dist/chunk-HSHCCBIV.js.map +1 -0
- package/dist/chunk-HUR6ZJ7S.cjs +159 -0
- package/dist/chunk-HUR6ZJ7S.cjs.map +1 -0
- package/dist/chunk-J7BMO73N.cjs +114 -0
- package/dist/chunk-J7BMO73N.cjs.map +1 -0
- package/dist/chunk-JFS3NWZ5.cjs +1714 -0
- package/dist/chunk-JFS3NWZ5.cjs.map +1 -0
- package/dist/chunk-JL4C5VJ7.cjs +488 -0
- package/dist/chunk-JL4C5VJ7.cjs.map +1 -0
- package/dist/chunk-JSGIEF6Z.cjs +1087 -0
- package/dist/chunk-JSGIEF6Z.cjs.map +1 -0
- package/dist/chunk-JWA5SGCS.js +203 -0
- package/dist/chunk-JWA5SGCS.js.map +1 -0
- package/dist/chunk-K3LLGRK7.cjs +3545 -0
- package/dist/chunk-K3LLGRK7.cjs.map +1 -0
- package/dist/chunk-KU6S7IYV.cjs +210 -0
- package/dist/chunk-KU6S7IYV.cjs.map +1 -0
- package/dist/chunk-M36G6SRP.js +447 -0
- package/dist/chunk-M36G6SRP.js.map +1 -0
- package/dist/chunk-M7GQBRZU.cjs +1963 -0
- package/dist/chunk-M7GQBRZU.cjs.map +1 -0
- package/dist/chunk-MRXGWL42.cjs +4 -0
- package/dist/chunk-MRXGWL42.cjs.map +1 -0
- package/dist/chunk-NEJ2PV4C.cjs +211 -0
- package/dist/chunk-NEJ2PV4C.cjs.map +1 -0
- package/dist/chunk-OTATNBMD.js +141 -0
- package/dist/chunk-OTATNBMD.js.map +1 -0
- package/dist/chunk-OZSACQ2V.js +471 -0
- package/dist/chunk-OZSACQ2V.js.map +1 -0
- package/dist/chunk-PHZ23DP3.js +1782 -0
- package/dist/chunk-PHZ23DP3.js.map +1 -0
- package/dist/chunk-PQHS255G.js +1369 -0
- package/dist/chunk-PQHS255G.js.map +1 -0
- package/dist/chunk-PRYE7AZQ.cjs +1227 -0
- package/dist/chunk-PRYE7AZQ.cjs.map +1 -0
- package/dist/chunk-PVJBAPYJ.js +404 -0
- package/dist/chunk-PVJBAPYJ.js.map +1 -0
- package/dist/chunk-PXFQVLBX.js +776 -0
- package/dist/chunk-PXFQVLBX.js.map +1 -0
- package/dist/chunk-QA3MVQ32.js +21 -0
- package/dist/chunk-QA3MVQ32.js.map +1 -0
- package/dist/chunk-QJRP44ZO.js +769 -0
- package/dist/chunk-QJRP44ZO.js.map +1 -0
- package/dist/chunk-SAW5OK36.cjs +54 -0
- package/dist/chunk-SAW5OK36.cjs.map +1 -0
- package/dist/chunk-SES6GDBQ.cjs +624 -0
- package/dist/chunk-SES6GDBQ.cjs.map +1 -0
- package/dist/chunk-SFW3UB2P.js +31 -0
- package/dist/chunk-SFW3UB2P.js.map +1 -0
- package/dist/chunk-TNPDV7I4.cjs +2346 -0
- package/dist/chunk-TNPDV7I4.cjs.map +1 -0
- package/dist/chunk-TU33KYKW.cjs +25 -0
- package/dist/chunk-TU33KYKW.cjs.map +1 -0
- package/dist/chunk-TZBIY5C3.js +187 -0
- package/dist/chunk-TZBIY5C3.js.map +1 -0
- package/dist/chunk-TZE673G6.js +3 -0
- package/dist/chunk-TZE673G6.js.map +1 -0
- package/dist/chunk-UCFWI6D4.js +29 -0
- package/dist/chunk-UCFWI6D4.js.map +1 -0
- package/dist/chunk-UTQSSKSG.js +1164 -0
- package/dist/chunk-UTQSSKSG.js.map +1 -0
- package/dist/chunk-VA42637J.cjs +287 -0
- package/dist/chunk-VA42637J.cjs.map +1 -0
- package/dist/chunk-VNQRI2RO.cjs +1047 -0
- package/dist/chunk-VNQRI2RO.cjs.map +1 -0
- package/dist/chunk-VXPLKQWY.cjs +821 -0
- package/dist/chunk-VXPLKQWY.cjs.map +1 -0
- package/dist/chunk-WD6HJRBG.cjs +197 -0
- package/dist/chunk-WD6HJRBG.cjs.map +1 -0
- package/dist/chunk-WDIBOWAA.js +1054 -0
- package/dist/chunk-WDIBOWAA.js.map +1 -0
- package/dist/chunk-WKOIGLQX.cjs +38 -0
- package/dist/chunk-WKOIGLQX.cjs.map +1 -0
- package/dist/chunk-WNVQ3SMB.cjs +96 -0
- package/dist/chunk-WNVQ3SMB.cjs.map +1 -0
- package/dist/chunk-WRSWH7US.cjs +285 -0
- package/dist/chunk-WRSWH7US.cjs.map +1 -0
- package/dist/chunk-XGFTL5XY.js +181 -0
- package/dist/chunk-XGFTL5XY.js.map +1 -0
- package/dist/chunk-XNISPHTZ.js +1039 -0
- package/dist/chunk-XNISPHTZ.js.map +1 -0
- package/dist/chunk-Y2PM3FFL.js +3 -0
- package/dist/chunk-Y2PM3FFL.js.map +1 -0
- package/dist/chunk-YBPBK5KI.js +1030 -0
- package/dist/chunk-YBPBK5KI.js.map +1 -0
- package/dist/chunk-YWNYGYI7.cjs +31 -0
- package/dist/chunk-YWNYGYI7.cjs.map +1 -0
- package/dist/chunk-YYV35XOS.js +122 -0
- package/dist/chunk-YYV35XOS.js.map +1 -0
- package/dist/chunk-Z2OL5AJD.cjs +133 -0
- package/dist/chunk-Z2OL5AJD.cjs.map +1 -0
- package/dist/chunk-ZDFHA2EC.js +572 -0
- package/dist/chunk-ZDFHA2EC.js.map +1 -0
- package/dist/chunk-ZL7UM6PU.cjs +34 -0
- package/dist/chunk-ZL7UM6PU.cjs.map +1 -0
- package/dist/chunk-ZNZDQAXN.js +175 -0
- package/dist/chunk-ZNZDQAXN.js.map +1 -0
- package/dist/chunk-ZO5PBBFX.js +3497 -0
- package/dist/chunk-ZO5PBBFX.js.map +1 -0
- package/dist/chunk-ZRL2UFTH.cjs +1073 -0
- package/dist/chunk-ZRL2UFTH.cjs.map +1 -0
- package/dist/entries/apps.cjs +155 -0
- package/dist/entries/apps.cjs.map +1 -0
- package/dist/entries/apps.d.cts +292 -0
- package/dist/entries/apps.d.ts +292 -0
- package/dist/entries/apps.js +10 -0
- package/dist/entries/apps.js.map +1 -0
- package/dist/entries/captions.cjs +124 -0
- package/dist/entries/captions.cjs.map +1 -0
- package/dist/entries/captions.d.cts +354 -0
- package/dist/entries/captions.d.ts +354 -0
- package/dist/entries/captions.js +3 -0
- package/dist/entries/captions.js.map +1 -0
- package/dist/entries/catalogs.cjs +165 -0
- package/dist/entries/catalogs.cjs.map +1 -0
- package/dist/entries/catalogs.d.cts +385 -0
- package/dist/entries/catalogs.d.ts +385 -0
- package/dist/entries/catalogs.js +4 -0
- package/dist/entries/catalogs.js.map +1 -0
- package/dist/entries/credits.cjs +596 -0
- package/dist/entries/credits.cjs.map +1 -0
- package/dist/entries/credits.d.cts +1460 -0
- package/dist/entries/credits.d.ts +1460 -0
- package/dist/entries/credits.js +11 -0
- package/dist/entries/credits.js.map +1 -0
- package/dist/entries/edl.cjs +409 -0
- package/dist/entries/edl.cjs.map +1 -0
- package/dist/entries/edl.d.cts +1199 -0
- package/dist/entries/edl.d.ts +1199 -0
- package/dist/entries/edl.js +4 -0
- package/dist/entries/edl.js.map +1 -0
- package/dist/entries/entities.cjs +530 -0
- package/dist/entries/entities.cjs.map +1 -0
- package/dist/entries/entities.d.cts +1371 -0
- package/dist/entries/entities.d.ts +1371 -0
- package/dist/entries/entities.js +5 -0
- package/dist/entries/entities.js.map +1 -0
- package/dist/entries/i18n.cjs +48 -0
- package/dist/entries/i18n.cjs.map +1 -0
- package/dist/entries/i18n.d.cts +69 -0
- package/dist/entries/i18n.d.ts +69 -0
- package/dist/entries/i18n.js +3 -0
- package/dist/entries/i18n.js.map +1 -0
- package/dist/entries/llm-models.cjs +177 -0
- package/dist/entries/llm-models.cjs.map +1 -0
- package/dist/entries/llm-models.d.cts +435 -0
- package/dist/entries/llm-models.d.ts +435 -0
- package/dist/entries/llm-models.js +4 -0
- package/dist/entries/llm-models.js.map +1 -0
- package/dist/entries/media.cjs +335 -0
- package/dist/entries/media.cjs.map +1 -0
- package/dist/entries/media.d.cts +518 -0
- package/dist/entries/media.d.ts +518 -0
- package/dist/entries/media.js +6 -0
- package/dist/entries/media.js.map +1 -0
- package/dist/entries/model-catalog.cjs +259 -0
- package/dist/entries/model-catalog.cjs.map +1 -0
- package/dist/entries/model-catalog.d.cts +202 -0
- package/dist/entries/model-catalog.d.ts +202 -0
- package/dist/entries/model-catalog.js +6 -0
- package/dist/entries/model-catalog.js.map +1 -0
- package/dist/entries/models.cjs +833 -0
- package/dist/entries/models.cjs.map +1 -0
- package/dist/entries/models.d.cts +287 -0
- package/dist/entries/models.d.ts +287 -0
- package/dist/entries/models.js +8 -0
- package/dist/entries/models.js.map +1 -0
- package/dist/entries/nodes.cjs +789 -0
- package/dist/entries/nodes.cjs.map +1 -0
- package/dist/entries/nodes.d.cts +1600 -0
- package/dist/entries/nodes.d.ts +1600 -0
- package/dist/entries/nodes.js +16 -0
- package/dist/entries/nodes.js.map +1 -0
- package/dist/entries/organizations.cjs +80 -0
- package/dist/entries/organizations.cjs.map +1 -0
- package/dist/entries/organizations.d.cts +466 -0
- package/dist/entries/organizations.d.ts +466 -0
- package/dist/entries/organizations.js +3 -0
- package/dist/entries/organizations.js.map +1 -0
- package/dist/entries/pipeline.cjs +594 -0
- package/dist/entries/pipeline.cjs.map +1 -0
- package/dist/entries/pipeline.d.cts +2617 -0
- package/dist/entries/pipeline.d.ts +2617 -0
- package/dist/entries/pipeline.js +5 -0
- package/dist/entries/pipeline.js.map +1 -0
- package/dist/entries/scene3d.cjs +704 -0
- package/dist/entries/scene3d.cjs.map +1 -0
- package/dist/entries/scene3d.d.cts +4284 -0
- package/dist/entries/scene3d.d.ts +4284 -0
- package/dist/entries/scene3d.js +3 -0
- package/dist/entries/scene3d.js.map +1 -0
- package/dist/entries/social.cjs +714 -0
- package/dist/entries/social.cjs.map +1 -0
- package/dist/entries/social.d.cts +1366 -0
- package/dist/entries/social.d.ts +1366 -0
- package/dist/entries/social.js +5 -0
- package/dist/entries/social.js.map +1 -0
- package/dist/entries/types.cjs +13 -0
- package/dist/entries/types.cjs.map +1 -0
- package/dist/entries/types.d.cts +162 -0
- package/dist/entries/types.d.ts +162 -0
- package/dist/entries/types.js +4 -0
- package/dist/entries/types.js.map +1 -0
- package/dist/entries/ugc.cjs +279 -0
- package/dist/entries/ugc.cjs.map +1 -0
- package/dist/entries/ugc.d.cts +575 -0
- package/dist/entries/ugc.d.ts +575 -0
- package/dist/entries/ugc.js +6 -0
- package/dist/entries/ugc.js.map +1 -0
- package/dist/entries/video.cjs +549 -0
- package/dist/entries/video.cjs.map +1 -0
- package/dist/entries/video.d.cts +1791 -0
- package/dist/entries/video.d.ts +1791 -0
- package/dist/entries/video.js +8 -0
- package/dist/entries/video.js.map +1 -0
- package/dist/entries/workflow.cjs +574 -0
- package/dist/entries/workflow.cjs.map +1 -0
- package/dist/entries/workflow.d.cts +1743 -0
- package/dist/entries/workflow.d.ts +1743 -0
- package/dist/entries/workflow.js +5 -0
- package/dist/entries/workflow.js.map +1 -0
- package/dist/fan-out-meta-Bu6VyXcZ.d.cts +19 -0
- package/dist/fan-out-meta-Bu6VyXcZ.d.ts +19 -0
- package/dist/gemini-omni-voices-zeRXxSbZ.d.cts +174 -0
- package/dist/gemini-omni-voices-zeRXxSbZ.d.ts +174 -0
- package/dist/image-overlay-layers-CyBfRhxJ.d.cts +208 -0
- package/dist/image-overlay-layers-CyBfRhxJ.d.ts +208 -0
- package/dist/index.cjs +7747 -27084
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -24198
- package/dist/index.d.ts +32 -24198
- package/dist/index.js +40 -25220
- package/dist/index.js.map +1 -1
- package/dist/model-catalog-V-ZNzRSd.d.cts +651 -0
- package/dist/model-catalog-V-ZNzRSd.d.ts +651 -0
- package/dist/presentation-types-0ENOCjoj.d.cts +61 -0
- package/dist/presentation-types-0ENOCjoj.d.ts +61 -0
- package/dist/presentation-utils-D0kxsWf9.d.cts +92 -0
- package/dist/presentation-utils-pZwlEAzo.d.ts +92 -0
- package/dist/scene-node-types-C3kl_zyK.d.cts +1949 -0
- package/dist/scene-node-types-C3kl_zyK.d.ts +1949 -0
- package/dist/supported-fonts-CRoF1gOy.d.cts +16 -0
- package/dist/supported-fonts-CRoF1gOy.d.ts +16 -0
- package/dist/types-BRlFPEru.d.cts +511 -0
- package/dist/types-BRlFPEru.d.ts +511 -0
- package/dist/types-DffyGSy5.d.cts +67 -0
- package/dist/types-DffyGSy5.d.ts +67 -0
- package/package.json +102 -1
- package/src/__tests__/add-captions-plan.test.ts +6 -2
- package/src/__tests__/caption-edge-dash.test.ts +23 -0
- package/src/__tests__/fixtures/root-exports.baseline.json +4625 -0
- package/src/__tests__/input-field-extra-keys.test.ts +1 -0
- package/src/__tests__/model-makers.test.ts +76 -0
- package/src/__tests__/no-internal-imports.test.ts +1 -1
- package/src/__tests__/node-aspect-ratio.test.ts +25 -0
- package/src/__tests__/node-runtime-keys.test.ts +9 -0
- package/src/__tests__/package-entries.test.ts +50 -0
- package/src/__tests__/pitch-tempo-pricing.test.ts +21 -0
- package/src/__tests__/presentation-utils.test.ts +15 -0
- package/src/__tests__/preview-gate-use-case.test.ts +151 -0
- package/src/__tests__/private-host.test.ts +53 -0
- package/src/__tests__/run-continuation.test.ts +7 -1
- package/src/__tests__/site-capture-node.test.ts +58 -0
- package/src/__tests__/ugc-lane-wires.test.ts +228 -0
- package/src/__tests__/ugc-node-wires.test.ts +9 -3
- package/src/__tests__/ugc-run-state.test.ts +5 -4
- package/src/__tests__/video-analysis-catalog-sync.test.ts +1 -1
- package/src/__tests__/video-analysis-pricing.test.ts +6 -6
- package/src/__tests__/voice-changer-pro-quote.test.ts +79 -0
- package/src/add-captions-plan.ts +9 -3
- package/src/caption-edge-dash.ts +33 -0
- package/src/component-types.ts +9 -0
- package/src/credit-estimators/index.ts +22 -1
- package/src/credit-estimators/pitch-tempo.ts +15 -1
- package/src/credit-estimators/speech.ts +72 -4
- package/src/credit-estimators/unit-quote.ts +52 -0
- package/src/credit-estimators/video-sfx.ts +15 -0
- package/src/credit-estimators/voice-changer-pro-quote.ts +138 -0
- package/src/credit-identifiers.ts +62 -17
- package/src/entity-image-handle.ts +2 -0
- package/src/entries/apps.ts +63 -0
- package/src/entries/captions.ts +34 -0
- package/src/entries/catalogs.ts +65 -0
- package/src/entries/credits.ts +105 -0
- package/src/entries/edl.ts +42 -0
- package/src/entries/entities.ts +144 -0
- package/src/entries/i18n.ts +31 -0
- package/src/entries/llm-models.ts +63 -0
- package/src/entries/media.ts +36 -0
- package/src/entries/model-catalog.ts +95 -0
- package/src/entries/models.ts +266 -0
- package/src/entries/nodes.ts +245 -0
- package/src/entries/organizations.ts +9 -0
- package/src/entries/pipeline.ts +43 -0
- package/src/entries/scene3d.ts +27 -0
- package/src/entries/social.ts +297 -0
- package/src/entries/types.ts +26 -0
- package/src/entries/ugc.ts +14 -0
- package/src/entries/video.ts +59 -0
- package/src/entries/workflow.ts +172 -0
- package/src/fan-out-rows.ts +2 -0
- package/src/index.ts +25 -1845
- package/src/json-kinds.ts +4 -0
- package/src/model-catalog.ts +243 -34
- package/src/node-mappable-fields.ts +1 -0
- package/src/node-run-routes.ts +2 -0
- package/src/node-runtime-keys.ts +8 -0
- package/src/normalize-node-params.ts +30 -0
- package/src/presentation-utils.ts +12 -0
- package/src/preview-gate.ts +92 -14
- package/src/private-host.ts +89 -59
- package/src/producer-types.ts +16 -2
- package/src/run-continuation.ts +21 -0
- package/src/site-capture-node.ts +82 -0
- package/src/ugc-lane-wires.ts +246 -0
- package/src/ugc-node-wires.ts +37 -7
- package/src/ugc-run-state.ts +5 -3
- package/src/video-analysis-pricing.ts +31 -29
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/credits` — Credit identifiers, estimators and the per-feature pricing shapes (what a user pays, never a rate).
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export { usdToCredits, creditsToUsd, CREDIT_ROUNDING_RESOLUTION } from "../credit-conversion.js"
|
|
9
|
+
export {
|
|
10
|
+
FILM_BASE_CREDITS,
|
|
11
|
+
KEYFRAME_CREDITS_PER_SHOT,
|
|
12
|
+
VIDEO_CRITIC_CREDITS_PER_SHOT,
|
|
13
|
+
VIDEO_CLIP_CREDITS,
|
|
14
|
+
DEFAULT_VIDEO_CLIP_COST,
|
|
15
|
+
estimateFilmCredits,
|
|
16
|
+
} from "../film-pricing.js"
|
|
17
|
+
export type { VideoClipCost, FilmCreditEstimate } from "../film-pricing.js"
|
|
18
|
+
export {
|
|
19
|
+
buildCreditModelIdentifier,
|
|
20
|
+
resolveImageGenCreditIdentifier,
|
|
21
|
+
resolveNormalizedImageGen,
|
|
22
|
+
normalizedImageGenModelId,
|
|
23
|
+
imageGenAutoAspectNeedsSourceImage,
|
|
24
|
+
buildVideoCreditModelIdentifier,
|
|
25
|
+
seedanceVideoEditCreditId,
|
|
26
|
+
videoGenerationCreditId,
|
|
27
|
+
pricedVideoSelection,
|
|
28
|
+
buildMotionCreditModelIdentifier,
|
|
29
|
+
speedRampCreditId,
|
|
30
|
+
applyEdlCreditId,
|
|
31
|
+
speakerViewCreditId,
|
|
32
|
+
SPEAKER_VIEW_CREDIT_IDS,
|
|
33
|
+
SPEAKER_VIEW_PRICE_TIERS,
|
|
34
|
+
type SpeakerViewPriceTier,
|
|
35
|
+
type SpeakerViewCreditId,
|
|
36
|
+
sunoCreditType,
|
|
37
|
+
SUNO_VERSION_CREDIT_KEYS,
|
|
38
|
+
SUNO_VERSION_PRICED_OPERATIONS,
|
|
39
|
+
SUNO_SELECT_OPERATIONS,
|
|
40
|
+
} from "../credit-identifiers.js"
|
|
41
|
+
export type { NormalizedImageGen, PricedVideoSelection } from "../credit-identifiers.js"
|
|
42
|
+
export * from "../credit-estimators/index.js"
|
|
43
|
+
export {
|
|
44
|
+
resolveTopazUpscale,
|
|
45
|
+
TOPAZ_UPSCALE_FACTORS,
|
|
46
|
+
TOPAZ_DEFAULT_UPSCALE_FACTOR,
|
|
47
|
+
type TopazUpscaleFactor,
|
|
48
|
+
type TopazUpscaleAdjustment,
|
|
49
|
+
type TopazUpscaleResolution,
|
|
50
|
+
} from "../topaz-upscale.js"
|
|
51
|
+
export { calculateMonetizationMarkup, calculateMonetizedCost } from "../monetization.js"
|
|
52
|
+
export {
|
|
53
|
+
LIP_SYNC_DURATION_BUCKETS,
|
|
54
|
+
LIP_SYNC_MAX_AUDIO_SECONDS,
|
|
55
|
+
pickLipSyncBucket,
|
|
56
|
+
getLipSyncMaxAudioSeconds,
|
|
57
|
+
isPerSecondLipSyncProvider,
|
|
58
|
+
buildLipSyncCreditId,
|
|
59
|
+
} from "../lip-sync-pricing.js"
|
|
60
|
+
export type { LipSyncDurationBucket } from "../lip-sync-pricing.js"
|
|
61
|
+
export {
|
|
62
|
+
AI_AVATAR_MAX_DURATION_SEC,
|
|
63
|
+
AI_AVATAR_MAX_AUDIO_SEC,
|
|
64
|
+
AI_AVATAR_DURATION_BUCKETS,
|
|
65
|
+
AI_AVATAR_RESERVE_IDS,
|
|
66
|
+
aiAvatarReserveCreditId,
|
|
67
|
+
resolveAiAvatarCreditId,
|
|
68
|
+
estimateScriptDurationSec,
|
|
69
|
+
pickAiAvatarBucket,
|
|
70
|
+
} from "../ai-avatar-pricing.js"
|
|
71
|
+
export type { AiAvatarEngine, AiAvatarResolution, AiAvatarDurationBucket } from "../ai-avatar-pricing.js"
|
|
72
|
+
export * from "../switchx-pricing.js"
|
|
73
|
+
export {
|
|
74
|
+
CINEMATIC_MIN_DURATION_SEC,
|
|
75
|
+
CINEMATIC_MAX_DURATION_SEC,
|
|
76
|
+
CINEMATIC_DEFAULT_DURATION_SEC,
|
|
77
|
+
CINEMATIC_DEFAULT_RESOLUTION,
|
|
78
|
+
CINEMATIC_RESERVE_IDS,
|
|
79
|
+
clampCinematicDuration,
|
|
80
|
+
cinematicCreditId,
|
|
81
|
+
resolveCinematicCreditId,
|
|
82
|
+
} from "../cinematic-avatar-pricing.js"
|
|
83
|
+
export type { CinematicResolution } from "../cinematic-avatar-pricing.js"
|
|
84
|
+
export {
|
|
85
|
+
AvatarPayloadError,
|
|
86
|
+
validateAiAvatarPayload,
|
|
87
|
+
validateCinematicAvatarPayload,
|
|
88
|
+
CINEMATIC_PROMPT_MAX,
|
|
89
|
+
CINEMATIC_MAX_REFERENCE_VIDEOS,
|
|
90
|
+
CINEMATIC_MAX_REFERENCE_IMAGES,
|
|
91
|
+
CINEMATIC_MIN_LOOKS,
|
|
92
|
+
CINEMATIC_MAX_LOOKS,
|
|
93
|
+
} from "../avatar-payload-validators.js"
|
|
94
|
+
export {
|
|
95
|
+
resolveStoredTier,
|
|
96
|
+
resolveEffectiveTier,
|
|
97
|
+
isPaygRetentionActive,
|
|
98
|
+
PAYG_RETENTION_DAYS,
|
|
99
|
+
} from "../effective-tier.js"
|
|
100
|
+
// --- Video-analysis pricing (duration buckets + structural credit formula) ---
|
|
101
|
+
// Also hosts video-audit's sibling pricing (VIDEO_AUDIT_BUCKET_CREDITS +
|
|
102
|
+
// buildVideoAuditCreditId / videoAuditCreditsForBucket / bucketSecondsFromAuditCreditId).
|
|
103
|
+
export * from "../video-analysis-pricing.js"
|
|
104
|
+
// --- Content Recipe / Content Ideas pricing (credit ids + the per-five-ideas rule) ---
|
|
105
|
+
export * from "../content-recipe-ideas.js"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/edl` — The edit decision list contract: EDL, speaker layouts/tracks, multicam, camera switch, edit plans.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export {
|
|
9
|
+
COMBINE_TRANSITIONS,
|
|
10
|
+
COMBINE_TRANSITION_IDS,
|
|
11
|
+
PICKER_TO_COMBINE_TRANSITION,
|
|
12
|
+
resolveSlideshowTransition,
|
|
13
|
+
COMBINE_TRANSITION_GROUP_ORDER,
|
|
14
|
+
COMBINE_TRANSITION_GROUP_LABELS,
|
|
15
|
+
getCombineTransition,
|
|
16
|
+
resolveXfadeName,
|
|
17
|
+
} from "../combine-transitions.js"
|
|
18
|
+
export type {
|
|
19
|
+
CombineTransition,
|
|
20
|
+
CombineTransitionGroup,
|
|
21
|
+
} from "../combine-transitions.js"
|
|
22
|
+
export {
|
|
23
|
+
AUDIO_CROSSFADE_CURVES,
|
|
24
|
+
AUDIO_CROSSFADE_CURVE_IDS,
|
|
25
|
+
DEFAULT_AUDIO_CROSSFADE_CURVE_ID,
|
|
26
|
+
getAudioCrossfadeCurve,
|
|
27
|
+
resolveAudioCrossfadeCurve,
|
|
28
|
+
} from "../audio-crossfade-curves.js"
|
|
29
|
+
export type { AudioCrossfadeCurve } from "../audio-crossfade-curves.js"
|
|
30
|
+
// --- Smart-cut best-pair search windows (shared bound + clamp) ---
|
|
31
|
+
export * from "../smart-cut-windows.js"
|
|
32
|
+
// --- EDL: the edit decision list contract (podcast editing primitives).
|
|
33
|
+
// Types + validators + pure remap/duration functions; structural only. ---
|
|
34
|
+
export * from "../edl.js"
|
|
35
|
+
export * from "../speaker-layouts.js"
|
|
36
|
+
export * from "../edl-multicam.js"
|
|
37
|
+
// Speaker tracks: the face-tracking result (box body + the node's descriptor) and its validators.
|
|
38
|
+
export * from "../speaker-tracks.js"
|
|
39
|
+
export * from "../camera-switch-contract.js"
|
|
40
|
+
export * from "../edit-plan-contract.js"
|
|
41
|
+
// A person's review of an Edit Plan (`editedEdl`) and the one resolver that applies it.
|
|
42
|
+
export * from "../edit-plan-review.js"
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/entities` — Characters, locations and objects: mention slugs, aspect defaults, entity fields and assets, references, reference sheets and boards.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export { FEATURED_ENTITIES, getFeaturedEntities } from "../featured-entities.js"
|
|
9
|
+
export type { FeaturedEntity } from "../featured-entities.js"
|
|
10
|
+
export {
|
|
11
|
+
IMAGE_REF_TYPES,
|
|
12
|
+
PASSTHROUGH_TYPES,
|
|
13
|
+
collectAncestorRefs,
|
|
14
|
+
} from "../ancestor-refs.js"
|
|
15
|
+
export {
|
|
16
|
+
expandExtraRefsToConnectedReferences,
|
|
17
|
+
} from "../extra-refs.js"
|
|
18
|
+
export type {
|
|
19
|
+
ExtraRefInput,
|
|
20
|
+
ExtraRefCharacterContext,
|
|
21
|
+
} from "../extra-refs.js"
|
|
22
|
+
export {
|
|
23
|
+
SURROUND_DIRECTIONS,
|
|
24
|
+
DEFAULT_CARRIED_FRACTION,
|
|
25
|
+
TILT_CARRIED_FRACTION,
|
|
26
|
+
isTiltDirection,
|
|
27
|
+
defaultCarriedFraction,
|
|
28
|
+
type SurroundDirection,
|
|
29
|
+
} from "../surround.js"
|
|
30
|
+
export {
|
|
31
|
+
OBJECT_ASPECT_OPTIONS,
|
|
32
|
+
OBJECT_ASPECT_DEFAULTS,
|
|
33
|
+
isObjectAspectRatio,
|
|
34
|
+
resolveObjectAspectRatio,
|
|
35
|
+
type ObjectAspectRatio,
|
|
36
|
+
type ObjectAssetTypeForAspect,
|
|
37
|
+
type ResolveObjectAspectOptions,
|
|
38
|
+
} from "../object-aspect-defaults.js"
|
|
39
|
+
export {
|
|
40
|
+
characterMentionSlug,
|
|
41
|
+
parseCharacterMentionToken,
|
|
42
|
+
findCharacterMentionTokens,
|
|
43
|
+
} from "../character-mention-slug.js"
|
|
44
|
+
export type { CharacterMentionTokenInfo } from "../character-mention-slug.js"
|
|
45
|
+
export {
|
|
46
|
+
CHARACTER_VARIANT_ASSET_BUCKETS,
|
|
47
|
+
characterVariantAssetArrays,
|
|
48
|
+
characterSheetRefItems,
|
|
49
|
+
characterBoardItems,
|
|
50
|
+
characterMentionableAssetArrays,
|
|
51
|
+
CHARACTER_PICKER_DISPLAY_ORDER,
|
|
52
|
+
characterBucketDisplayRank,
|
|
53
|
+
sortCharacterEntriesForDisplay,
|
|
54
|
+
} from "../character-variant-assets.js"
|
|
55
|
+
export type {
|
|
56
|
+
CharacterVariantAssetBucket,
|
|
57
|
+
CharacterVariantAssetItem,
|
|
58
|
+
} from "../character-variant-assets.js"
|
|
59
|
+
export {
|
|
60
|
+
LOCATION_USAGE_MODES,
|
|
61
|
+
DEFAULT_LOCATION_USAGE_MODE,
|
|
62
|
+
isLocationUsageMode,
|
|
63
|
+
locationMentionSlug,
|
|
64
|
+
locationUsageModeLabel,
|
|
65
|
+
parseLocationMentionToken,
|
|
66
|
+
findLocationMentionTokens,
|
|
67
|
+
} from "../location-mention-slug.js"
|
|
68
|
+
export type {
|
|
69
|
+
LocationUsageMode,
|
|
70
|
+
LocationMentionTokenInfo,
|
|
71
|
+
} from "../location-mention-slug.js"
|
|
72
|
+
export {
|
|
73
|
+
imageMentionSlug,
|
|
74
|
+
parseImageMentionToken,
|
|
75
|
+
findImageMentionTokens,
|
|
76
|
+
knownImageSlugsFromRefs,
|
|
77
|
+
imageMentionSlugForRef,
|
|
78
|
+
} from "../image-mention-slug.js"
|
|
79
|
+
export type { ImageMentionTokenInfo } from "../image-mention-slug.js"
|
|
80
|
+
// Wired-creature / wired-object mentions — the SAME 2-or-3-segment grammar as
|
|
81
|
+
// the named-image mention (both are views of `mention-token-grammar.ts`), with
|
|
82
|
+
// their own ref gate. The grammar core itself stays internal to the package: it
|
|
83
|
+
// has no standalone consumer, and a third public `@slug:N` surface would invite
|
|
84
|
+
// call sites that bypass a kind's gate.
|
|
85
|
+
export {
|
|
86
|
+
entityMentionSlug,
|
|
87
|
+
parseEntityMentionToken,
|
|
88
|
+
findEntityMentionTokens,
|
|
89
|
+
knownEntitySlugsFromRefs,
|
|
90
|
+
entityMentionSlugForRef,
|
|
91
|
+
} from "../entity-mention-slug.js"
|
|
92
|
+
export type { EntityMentionTokenInfo } from "../entity-mention-slug.js"
|
|
93
|
+
export {
|
|
94
|
+
toConnectedReference,
|
|
95
|
+
toConnectedReferences,
|
|
96
|
+
} from "../to-connected-references.js"
|
|
97
|
+
export type { EntityReferenceInput } from "../to-connected-references.js"
|
|
98
|
+
export {
|
|
99
|
+
USAGE_MODES,
|
|
100
|
+
DEFAULT_USAGE_MODE,
|
|
101
|
+
isUsageMode,
|
|
102
|
+
usageModeDirective,
|
|
103
|
+
usageModeLabel,
|
|
104
|
+
usageModeIncludesName,
|
|
105
|
+
} from "../character-usage-mode.js"
|
|
106
|
+
export type { UsageMode } from "../character-usage-mode.js"
|
|
107
|
+
export {
|
|
108
|
+
CHARACTER_ASPECT_OPTIONS,
|
|
109
|
+
CHARACTER_ASPECT_DEFAULTS,
|
|
110
|
+
isCharacterAspectRatio,
|
|
111
|
+
resolveCharacterAspectRatio,
|
|
112
|
+
} from "../character-aspect-defaults.js"
|
|
113
|
+
export type {
|
|
114
|
+
CharacterAspectRatio,
|
|
115
|
+
CharacterAssetTypeForAspect,
|
|
116
|
+
ResolveCharacterAspectOptions,
|
|
117
|
+
} from "../character-aspect-defaults.js"
|
|
118
|
+
export {
|
|
119
|
+
ENTITY_ASPECT_DEFAULTS,
|
|
120
|
+
resolveEntityAspect,
|
|
121
|
+
aspectRatioToNumber,
|
|
122
|
+
} from "../entity-aspect-defaults.js"
|
|
123
|
+
export type { EntityStudioKind } from "../entity-aspect-defaults.js"
|
|
124
|
+
// --- Reference Sheet (catalog, types, planner) ---
|
|
125
|
+
export * from "../reference-sheet/index.js"
|
|
126
|
+
// --- Reference Board (templates + provider constant) ---
|
|
127
|
+
export * from "../reference-board-templates.js"
|
|
128
|
+
// --- Entity image-handle parity (entity `image` source handle → plain image) ---
|
|
129
|
+
export * from "../entity-image-handle.js"
|
|
130
|
+
// --- Type-aware reference-role registry (presets + default + phrase renderer) ---
|
|
131
|
+
export * from "../reference-roles.js"
|
|
132
|
+
export * from "../entity-asset-types.js"
|
|
133
|
+
export {
|
|
134
|
+
ENTITY_DB_ID_FIELD,
|
|
135
|
+
ENTITY_NAME_FIELD,
|
|
136
|
+
ENTITY_TABLE,
|
|
137
|
+
ENTITY_BUCKET_FIELDS,
|
|
138
|
+
ENTITY_KIND_SCALAR_FIELDS,
|
|
139
|
+
ENTITY_SCALAR_FIELDS,
|
|
140
|
+
entityScalarFields,
|
|
141
|
+
entityHydrationColumns,
|
|
142
|
+
} from "../entity-node-fields.js"
|
|
143
|
+
export { ENTITY_NODE_KINDS } from "../entity-node-fields.js"
|
|
144
|
+
export type { EntityNodeKind } from "../entity-node-fields.js"
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/i18n` — Locale ids, catalog sidecars and their loaders.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
// Sound parameter-node dimensions (music + voice pickers + backend hints)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// i18n
|
|
16
|
+
export {
|
|
17
|
+
LANGUAGES,
|
|
18
|
+
getLocaleDirection,
|
|
19
|
+
ensureLocaleCatalogLoaded,
|
|
20
|
+
registerSidecarLoaders,
|
|
21
|
+
registerCatalogSidecars,
|
|
22
|
+
resetCatalogSidecars,
|
|
23
|
+
resolveLabel,
|
|
24
|
+
resolveDescription,
|
|
25
|
+
entryMatchesQuery,
|
|
26
|
+
type LocaleId,
|
|
27
|
+
type LocaleDirection,
|
|
28
|
+
type I18nCatalogId,
|
|
29
|
+
type SidecarLoader,
|
|
30
|
+
} from "../i18n/index.js"
|
|
31
|
+
export { NON_EN_LOCALE_IDS, type LocaleCatalogMap } from "../i18n/types.js"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/llm-models` — The LLM model registry.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export {
|
|
9
|
+
LLM_MODELS,
|
|
10
|
+
LLM_MODEL_IDS,
|
|
11
|
+
STRUCTURED_VISION_MODELS,
|
|
12
|
+
LLM_VENDOR_ORDER,
|
|
13
|
+
LLM_VENDOR_LABELS,
|
|
14
|
+
groupLlmModelsByVendor,
|
|
15
|
+
orderedLlmModels,
|
|
16
|
+
type LlmVendor,
|
|
17
|
+
type LlmModelGroup,
|
|
18
|
+
VIDEO_ANALYSIS_LLM_MODELS,
|
|
19
|
+
VIDEO_ANALYSIS_TIERS,
|
|
20
|
+
VIDEO_ANALYSIS_LEGACY_MODELS,
|
|
21
|
+
type VideoAnalysisTier,
|
|
22
|
+
type VideoAnalysisModelTier,
|
|
23
|
+
VIDEO_ANALYSIS_MIXED_TIERS,
|
|
24
|
+
type VideoAnalysisMixedTier,
|
|
25
|
+
VIDEO_ANALYSIS_TIER_ORDER,
|
|
26
|
+
DEFAULT_VIDEO_ANALYSIS_TIER,
|
|
27
|
+
DEFAULT_VIDEO_ANALYSIS_MODEL,
|
|
28
|
+
VIDEO_ANALYSIS_TIER_LABELS,
|
|
29
|
+
isVideoAnalysisTier,
|
|
30
|
+
isVideoAnalysisMixedTier,
|
|
31
|
+
resolveVideoAnalysisModel,
|
|
32
|
+
LLM_FEATURE_DEFAULTS,
|
|
33
|
+
LLM_FEATURE_DEFAULT_EFFORTS,
|
|
34
|
+
defaultReasoningEffort,
|
|
35
|
+
LLM_MODALITY_CAPS,
|
|
36
|
+
LLM_REASONING_EFFORTS,
|
|
37
|
+
EFFORT_TIER_BUMP,
|
|
38
|
+
getLlmModel,
|
|
39
|
+
getLlmTier,
|
|
40
|
+
getLlmModalityCaps,
|
|
41
|
+
buildLlmCreditIdentifier,
|
|
42
|
+
resolveLlmCreditId,
|
|
43
|
+
supportsAdvancedMode,
|
|
44
|
+
llmServesDirect,
|
|
45
|
+
LLM_CREDIT_RUNGS,
|
|
46
|
+
type LlmCreditRung,
|
|
47
|
+
llmCreditIdForRung,
|
|
48
|
+
llmTierCreditIds,
|
|
49
|
+
availableReasoningEfforts,
|
|
50
|
+
LLM_ROUTE_DEFAULTS,
|
|
51
|
+
llmRouteDefaults,
|
|
52
|
+
type LlmRouteDefaults,
|
|
53
|
+
ADVANCED_MODE_UNAVAILABLE_REASON,
|
|
54
|
+
motionGraphicsFeature,
|
|
55
|
+
effectiveReasoningEffort,
|
|
56
|
+
REASONING_OUTPUT_FLOOR,
|
|
57
|
+
reasoningOutputFloor,
|
|
58
|
+
type LlmTier,
|
|
59
|
+
type LlmFeature,
|
|
60
|
+
type KieApiFormat,
|
|
61
|
+
type LlmModelDef,
|
|
62
|
+
type LlmReasoningEffort,
|
|
63
|
+
} from "../llm-models.js"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/media` — Media-editing contracts: image overlays, masks, Lottie slots, depth, inpaint regions, audio FX presets, the FreeCut protocol.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export * from "../freecut-protocol.js"
|
|
9
|
+
export { describeMaskRegion } from "../inpaint-region.js"
|
|
10
|
+
export type { MaskRegionDescriptor, PixelBox } from "../inpaint-region.js"
|
|
11
|
+
export * from "../video-depth.js"
|
|
12
|
+
export {
|
|
13
|
+
applySlots,
|
|
14
|
+
normalizeLottieLayers,
|
|
15
|
+
describeSlotControl,
|
|
16
|
+
rgbaArrayToHex,
|
|
17
|
+
hexToRgbaArray,
|
|
18
|
+
listSlotSids,
|
|
19
|
+
humanizeSlotSid,
|
|
20
|
+
deriveLottieSlotFields,
|
|
21
|
+
LOTTIE_SLOT_FIELD_PREFIX,
|
|
22
|
+
} from "../lottie-slots.js"
|
|
23
|
+
export type { SlotControlKind, SlotControlDescriptor, LottieSlotField } from "../lottie-slots.js"
|
|
24
|
+
export {
|
|
25
|
+
LOTTIE_OVERLAY_CATALOG,
|
|
26
|
+
LEGACY_LOTTIE_HOST_REMAP,
|
|
27
|
+
resolveLottieOverlaySrc,
|
|
28
|
+
} from "../lottie-overlay-catalog.js"
|
|
29
|
+
export type { LottieOverlayCatalogEntry } from "../lottie-overlay-catalog.js"
|
|
30
|
+
// --- Audio FX node preset ids (single source of truth for route/UI/data type) ---
|
|
31
|
+
export * from "../audio-fx-presets.js"
|
|
32
|
+
export * from "../image-overlay-layers.js"
|
|
33
|
+
export * from "../video-mask.js"
|
|
34
|
+
export * from "../mask-composite.js"
|
|
35
|
+
export * from "../image-overlay-shapes.js"
|
|
36
|
+
export * from "../image-overlay-platforms.js"
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/model-catalog` — The model catalog (capability sheets + pricing rows) and the lookups derived from it.
|
|
3
|
+
*
|
|
4
|
+
* One of the package's subpath entries (see `src/index.ts`). The root
|
|
5
|
+
* re-exports every entry, so each name here is also importable from
|
|
6
|
+
* `@nodaro/shared`.
|
|
7
|
+
*/
|
|
8
|
+
export * from "../seedance-draft.js"
|
|
9
|
+
export { isFlux2Model, FLUX2_RES_MP } from "../flux2-pricing.js"
|
|
10
|
+
export type { Flux2Model } from "../flux2-pricing.js"
|
|
11
|
+
// Model catalog (single source of truth for MCP `list_models` and the
|
|
12
|
+
// frontend config-panel registries).
|
|
13
|
+
export {
|
|
14
|
+
MODEL_CATALOG,
|
|
15
|
+
MODEL_RECOMMENDATIONS,
|
|
16
|
+
// The companies behind the models (`maker` on every entry; the wire's `maker`).
|
|
17
|
+
MODEL_MAKERS,
|
|
18
|
+
isModelMakerId,
|
|
19
|
+
modelMakerOf,
|
|
20
|
+
SPEECH_UNIT_PRICE_NOTE,
|
|
21
|
+
listModels,
|
|
22
|
+
groupByFamily,
|
|
23
|
+
groupByKindAndFamily,
|
|
24
|
+
MODEL_KINDS,
|
|
25
|
+
getModel,
|
|
26
|
+
validateModelInput,
|
|
27
|
+
// Frontend picker derivers
|
|
28
|
+
getAspectRatioOptions,
|
|
29
|
+
getResolutionOptions,
|
|
30
|
+
getQualityOptions,
|
|
31
|
+
getDurationsForModel,
|
|
32
|
+
getCreditRange,
|
|
33
|
+
hasFeature,
|
|
34
|
+
modelsWithFeature,
|
|
35
|
+
modelTakesSeed,
|
|
36
|
+
durationsByMode,
|
|
37
|
+
resolutionOptionsByKind,
|
|
38
|
+
aspectRatioOptionsByKind,
|
|
39
|
+
qualityOptionsByKind,
|
|
40
|
+
creditRangesAll,
|
|
41
|
+
modelIdsByKindMode,
|
|
42
|
+
buildModelMenu,
|
|
43
|
+
normalizeModelInput,
|
|
44
|
+
normalizeVideoRequestParams,
|
|
45
|
+
fitAspectRatioToModel,
|
|
46
|
+
defaultResolutionFor,
|
|
47
|
+
nearestCatalogAspectRatio,
|
|
48
|
+
autoAspectNeedsSourceImage,
|
|
49
|
+
isAutoAspectToken,
|
|
50
|
+
} from "../model-catalog.js"
|
|
51
|
+
export type {
|
|
52
|
+
NormalizedVideoRequest,
|
|
53
|
+
ModelCatalogEntry,
|
|
54
|
+
ModelKind,
|
|
55
|
+
ModelMaker,
|
|
56
|
+
ModelMakerId,
|
|
57
|
+
ModelMode,
|
|
58
|
+
ModelRecommendation,
|
|
59
|
+
ModelValidationIssue,
|
|
60
|
+
PriceVariant,
|
|
61
|
+
ValidationField,
|
|
62
|
+
LabeledOption,
|
|
63
|
+
ModelMenuOption,
|
|
64
|
+
ModelInputAdjustment,
|
|
65
|
+
NormalizedModelInput,
|
|
66
|
+
ModelInputContext,
|
|
67
|
+
SourceImageSize,
|
|
68
|
+
TtsCapabilities,
|
|
69
|
+
TtsSettingLever,
|
|
70
|
+
} from "../model-catalog.js"
|
|
71
|
+
// Speech-model capability lookups (derive from `ModelCatalogEntry.tts` above).
|
|
72
|
+
export {
|
|
73
|
+
TTS_PROVIDER_ALIASES,
|
|
74
|
+
TTS_FALLBACK_PROVIDER,
|
|
75
|
+
canonicalTtsProvider,
|
|
76
|
+
getTtsCapabilities,
|
|
77
|
+
ttsSupportsAudioTags,
|
|
78
|
+
ttsSupportsSsmlBreaks,
|
|
79
|
+
ttsSupportsStitching,
|
|
80
|
+
ttsHasLever,
|
|
81
|
+
ttsLanguageCodes,
|
|
82
|
+
ttsSupportsTimestamps,
|
|
83
|
+
} from "../tts-capabilities.js"
|
|
84
|
+
// Per-model safety-filter retry/fallback policy (derives from
|
|
85
|
+
// `ModelCatalogEntry.safetyFilter` above).
|
|
86
|
+
export { safetyRetryPolicy } from "../safety-retry-policy.js"
|
|
87
|
+
export {
|
|
88
|
+
IMAGE_MODEL_ROLE_DEFAULTS,
|
|
89
|
+
IMAGE_MODEL_RATIO_FALLBACKS,
|
|
90
|
+
defaultImageModel,
|
|
91
|
+
imageModelDrawsRatio,
|
|
92
|
+
} from "../image-model-roles.js"
|
|
93
|
+
export type { ImageModelRole } from "../image-model-roles.js"
|
|
94
|
+
export type { SafetyRetryPolicy } from "../safety-retry-policy.js"
|
|
95
|
+
export { VIDEO_DURATION_AUTO, isAutoVideoDuration } from "../video-duration-auto.js"
|