@nodaro/shared 3.31.0 → 3.32.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-2NIQO2J3.cjs +54 -0
- package/dist/chunk-2NIQO2J3.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-3CUFITU7.js +1905 -0
- package/dist/chunk-3CUFITU7.js.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-5AUSSJIM.cjs +3372 -0
- package/dist/chunk-5AUSSJIM.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-5THUHJ3E.js +46 -0
- package/dist/chunk-5THUHJ3E.js.map +1 -0
- package/dist/chunk-5U7VLG43.js +141 -0
- package/dist/chunk-5U7VLG43.js.map +1 -0
- package/dist/chunk-6DAWSVX2.cjs +103 -0
- package/dist/chunk-6DAWSVX2.cjs.map +1 -0
- package/dist/chunk-6DKDOWBL.js +1567 -0
- package/dist/chunk-6DKDOWBL.js.map +1 -0
- package/dist/chunk-6IJOPRZP.cjs +197 -0
- package/dist/chunk-6IJOPRZP.cjs.map +1 -0
- package/dist/chunk-7G7G42KS.js +86 -0
- package/dist/chunk-7G7G42KS.js.map +1 -0
- package/dist/chunk-AINCI23X.js +2171 -0
- package/dist/chunk-AINCI23X.js.map +1 -0
- package/dist/chunk-AROWPFO2.js +773 -0
- package/dist/chunk-AROWPFO2.js.map +1 -0
- package/dist/chunk-AVQK77G6.cjs +2000 -0
- package/dist/chunk-AVQK77G6.cjs.map +1 -0
- package/dist/chunk-C57NEO3X.js +3327 -0
- package/dist/chunk-C57NEO3X.js.map +1 -0
- package/dist/chunk-CK3GK34R.js +1381 -0
- package/dist/chunk-CK3GK34R.js.map +1 -0
- package/dist/chunk-E2TGXG6X.cjs +1770 -0
- package/dist/chunk-E2TGXG6X.cjs.map +1 -0
- package/dist/chunk-EK362Q45.cjs +38 -0
- package/dist/chunk-EK362Q45.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-G6IIVKMO.js +26 -0
- package/dist/chunk-G6IIVKMO.js.map +1 -0
- package/dist/chunk-HGC5JNVA.cjs +1503 -0
- package/dist/chunk-HGC5JNVA.cjs.map +1 -0
- package/dist/chunk-HSHCCBIV.js +255 -0
- package/dist/chunk-HSHCCBIV.js.map +1 -0
- package/dist/chunk-IEBZHTPE.js +254 -0
- package/dist/chunk-IEBZHTPE.js.map +1 -0
- package/dist/chunk-ISJDAFKS.js +1604 -0
- package/dist/chunk-ISJDAFKS.js.map +1 -0
- package/dist/chunk-J6KHW2E5.cjs +1963 -0
- package/dist/chunk-J6KHW2E5.cjs.map +1 -0
- package/dist/chunk-J7BMO73N.cjs +114 -0
- package/dist/chunk-J7BMO73N.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-JSNV5O2F.cjs +34 -0
- package/dist/chunk-JSNV5O2F.cjs.map +1 -0
- package/dist/chunk-JWA5SGCS.js +203 -0
- package/dist/chunk-JWA5SGCS.js.map +1 -0
- package/dist/chunk-JX5YZ4DH.cjs +430 -0
- package/dist/chunk-JX5YZ4DH.cjs.map +1 -0
- package/dist/chunk-KHCBJ7KD.js +42 -0
- package/dist/chunk-KHCBJ7KD.js.map +1 -0
- package/dist/chunk-KU6S7IYV.cjs +210 -0
- package/dist/chunk-KU6S7IYV.cjs.map +1 -0
- package/dist/chunk-LKAIXWK3.js +181 -0
- package/dist/chunk-LKAIXWK3.js.map +1 -0
- package/dist/chunk-LPW3XNC2.js +471 -0
- package/dist/chunk-LPW3XNC2.js.map +1 -0
- package/dist/chunk-M36G6SRP.js +447 -0
- package/dist/chunk-M36G6SRP.js.map +1 -0
- package/dist/chunk-MRXGWL42.cjs +4 -0
- package/dist/chunk-MRXGWL42.cjs.map +1 -0
- package/dist/chunk-NB72XWXQ.cjs +54 -0
- package/dist/chunk-NB72XWXQ.cjs.map +1 -0
- package/dist/chunk-NEJ2PV4C.cjs +211 -0
- package/dist/chunk-NEJ2PV4C.cjs.map +1 -0
- package/dist/chunk-NT6IJH4L.cjs +273 -0
- package/dist/chunk-NT6IJH4L.cjs.map +1 -0
- package/dist/chunk-O5MP52U2.cjs +526 -0
- package/dist/chunk-O5MP52U2.cjs.map +1 -0
- package/dist/chunk-O7PUQLJ3.cjs +818 -0
- package/dist/chunk-O7PUQLJ3.cjs.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-Q4CDQ2KO.js +21 -0
- package/dist/chunk-Q4CDQ2KO.js.map +1 -0
- package/dist/chunk-QELDJGDK.cjs +1714 -0
- package/dist/chunk-QELDJGDK.cjs.map +1 -0
- package/dist/chunk-QJRP44ZO.js +769 -0
- package/dist/chunk-QJRP44ZO.js.map +1 -0
- package/dist/chunk-QNGNOU4Z.js +29 -0
- package/dist/chunk-QNGNOU4Z.js.map +1 -0
- package/dist/chunk-RJL7RCEM.cjs +159 -0
- package/dist/chunk-RJL7RCEM.cjs.map +1 -0
- package/dist/chunk-RN3RMBJZ.js +1164 -0
- package/dist/chunk-RN3RMBJZ.js.map +1 -0
- package/dist/chunk-S5DMKUWK.cjs +1273 -0
- package/dist/chunk-S5DMKUWK.cjs.map +1 -0
- package/dist/chunk-SES6GDBQ.cjs +624 -0
- package/dist/chunk-SES6GDBQ.cjs.map +1 -0
- package/dist/chunk-TNPDV7I4.cjs +2346 -0
- package/dist/chunk-TNPDV7I4.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-ULXI7A6Q.cjs +1047 -0
- package/dist/chunk-ULXI7A6Q.cjs.map +1 -0
- package/dist/chunk-VIWSWVAW.js +1782 -0
- package/dist/chunk-VIWSWVAW.js.map +1 -0
- package/dist/chunk-VWGNPMJZ.cjs +19 -0
- package/dist/chunk-VWGNPMJZ.cjs.map +1 -0
- package/dist/chunk-WDIBOWAA.js +1054 -0
- package/dist/chunk-WDIBOWAA.js.map +1 -0
- package/dist/chunk-WNG7HRVA.cjs +25 -0
- package/dist/chunk-WNG7HRVA.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-XAMC4S53.js +17 -0
- package/dist/chunk-XAMC4S53.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-YHRG7UOC.js +31 -0
- package/dist/chunk-YHRG7UOC.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-Z4AZW6FY.js +920 -0
- package/dist/chunk-Z4AZW6FY.js.map +1 -0
- package/dist/chunk-ZDFHA2EC.js +572 -0
- package/dist/chunk-ZDFHA2EC.js.map +1 -0
- package/dist/chunk-ZNZDQAXN.js +175 -0
- package/dist/chunk-ZNZDQAXN.js.map +1 -0
- package/dist/chunk-ZRL2UFTH.cjs +1073 -0
- package/dist/chunk-ZRL2UFTH.cjs.map +1 -0
- package/dist/chunk-ZT77RY6R.js +404 -0
- package/dist/chunk-ZT77RY6R.js.map +1 -0
- package/dist/entries/apps.cjs +155 -0
- package/dist/entries/apps.cjs.map +1 -0
- package/dist/entries/apps.d.cts +283 -0
- package/dist/entries/apps.d.ts +283 -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 +592 -0
- package/dist/entries/credits.cjs.map +1 -0
- package/dist/entries/credits.d.cts +1429 -0
- package/dist/entries/credits.d.ts +1429 -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 +247 -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 +1733 -0
- package/dist/entries/workflow.d.ts +1733 -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 +7731 -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-flJYaa-g.d.cts +561 -0
- package/dist/model-catalog-flJYaa-g.d.ts +561 -0
- package/dist/presentation-types-0ENOCjoj.d.cts +61 -0
- package/dist/presentation-types-0ENOCjoj.d.ts +61 -0
- package/dist/presentation-utils-BIqiCzSA.d.cts +90 -0
- package/dist/presentation-utils-BdiObtwq.d.ts +90 -0
- package/dist/scene-node-types-DjenYFLO.d.cts +1949 -0
- package/dist/scene-node-types-DjenYFLO.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__/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__/preview-gate-use-case.test.ts +151 -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/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/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 +104 -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 +89 -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 +36 -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 +5 -0
- package/src/preview-gate.ts +92 -14
- 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,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/apps` — Published apps and the public API surface: presentation utils, exposed fields, picker restrictions, components, community listings, templates, OAuth scopes, recast segment packs.
|
|
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
|
+
INPUT_NODE_TYPES,
|
|
10
|
+
getInputNodes,
|
|
11
|
+
getOutputNodes,
|
|
12
|
+
getOutputType,
|
|
13
|
+
getNodeResult,
|
|
14
|
+
getNodeLabel,
|
|
15
|
+
getInputFieldSchema,
|
|
16
|
+
INPUT_FIELD_EXTRA_KEYS,
|
|
17
|
+
getInputFieldExtraKeys,
|
|
18
|
+
mergeNodeInputOverrides,
|
|
19
|
+
flattenItems,
|
|
20
|
+
migrateToItems,
|
|
21
|
+
validateNoNestedGroups,
|
|
22
|
+
cleanOrphanedItems,
|
|
23
|
+
getItemSortId,
|
|
24
|
+
type OutputType,
|
|
25
|
+
type InputFieldSchema,
|
|
26
|
+
} from "../presentation-utils.js"
|
|
27
|
+
export {
|
|
28
|
+
LEGACY_EXPOSED_FIELD_KEYS,
|
|
29
|
+
canonicalExposedFieldKey,
|
|
30
|
+
canonicalizeOverrideKeys,
|
|
31
|
+
} from "../exposed-field-keys.js"
|
|
32
|
+
export { findRestrictedPickerValue, type PickerCardRestrictions } from "../picker-restrictions.js"
|
|
33
|
+
export {
|
|
34
|
+
INPUT_FIELD_MAP,
|
|
35
|
+
OUTPUT_FIELD_MAP,
|
|
36
|
+
HANDLE_PORT_SEPARATOR,
|
|
37
|
+
mergeExposedSettings,
|
|
38
|
+
parseHandleId,
|
|
39
|
+
applyHandleInputOverride,
|
|
40
|
+
isHandleInputWired,
|
|
41
|
+
type ComponentMetadata,
|
|
42
|
+
type ComponentHandle,
|
|
43
|
+
type ExposedSetting,
|
|
44
|
+
} from "../component-types.js"
|
|
45
|
+
export type {
|
|
46
|
+
CommunityEntityType,
|
|
47
|
+
CommunitySort,
|
|
48
|
+
CommunityReportReason,
|
|
49
|
+
CommunityCard,
|
|
50
|
+
CommunityFullDetail,
|
|
51
|
+
BrowseCommunityParams,
|
|
52
|
+
BrowseCommunityResult,
|
|
53
|
+
CloneListingResult,
|
|
54
|
+
FavoriteListingResult,
|
|
55
|
+
ReportListingResult,
|
|
56
|
+
PublishListingParams,
|
|
57
|
+
PublishListingResult,
|
|
58
|
+
SharedListing,
|
|
59
|
+
} from "../community.js"
|
|
60
|
+
export { OAUTH_SCOPES, type OAuthScope } from "../oauth-scopes.js"
|
|
61
|
+
export { RECAST_SEGMENT_PACKS, type RecastSegmentPack } from "../recast-segment-packs.js"
|
|
62
|
+
// --- Marketplace template categories (the eight use cases) ---
|
|
63
|
+
export * from "../template-categories.js"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/captions` — Caption styles, caption plans and segment schemas, supported fonts.
|
|
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
|
+
STATIC_CAPTION_STYLES,
|
|
10
|
+
KINETIC_CAPTION_STYLES,
|
|
11
|
+
ALL_CAPTION_STYLES,
|
|
12
|
+
isKineticCaptionStyle,
|
|
13
|
+
CAPTION_LOOK_IDS,
|
|
14
|
+
CAPTION_LOOKS,
|
|
15
|
+
DEFAULT_CAPTION_LOOK,
|
|
16
|
+
DEFAULT_SUBTITLE_LOOK,
|
|
17
|
+
KINETIC_ONLY_CAPTION_LEVER_KEYS,
|
|
18
|
+
captionRoutesToRemotion,
|
|
19
|
+
CAPTION_MAX_WORDS_PER_LINE_MIN,
|
|
20
|
+
CAPTION_MAX_WORDS_PER_LINE_MAX,
|
|
21
|
+
CAPTION_LEVER_BOUNDS,
|
|
22
|
+
normalizeCaptionNumericLevers,
|
|
23
|
+
autoStrokeWidth,
|
|
24
|
+
resolveCaptionLook,
|
|
25
|
+
resolveCaptionLevers,
|
|
26
|
+
} from "../caption-styles.js"
|
|
27
|
+
export type { StaticCaptionStyle, KineticCaptionStyle, CaptionStyle, CaptionLookId, CaptionLookLevers, KineticOnlyCaptionLeverKey } from "../caption-styles.js"
|
|
28
|
+
export type { CaptionPlan, CaptionWordTiming } from "../caption-plan.js"
|
|
29
|
+
export { parseCaptionPlan } from "../caption-plan.js"
|
|
30
|
+
export * from "../caption-segment-schema.js"
|
|
31
|
+
export * from "../caption-edge-dash.js"
|
|
32
|
+
export * from "../add-captions-plan.js"
|
|
33
|
+
// --- Remotion renderer: supported font names (shared with backend Zod validation) ---
|
|
34
|
+
export * from "../supported-fonts.js"
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@nodaro/shared/catalogs` — Parameter-node dimensions (animals, furniture, vehicles, weapons, character facets, seasons) and the parameter-node value gate.
|
|
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
|
+
OBJECT_PICKER_NODE_TYPES,
|
|
10
|
+
} from "../object-picker-types.js"
|
|
11
|
+
export { SEASONS } from "../seasons.js"
|
|
12
|
+
export type { Season } from "../seasons.js"
|
|
13
|
+
export {
|
|
14
|
+
LOCATION_PRESET_TO_CATALOG,
|
|
15
|
+
LOCATION_BUCKET_TO_CATALOG_ID,
|
|
16
|
+
resolveLocationPresetCatalog,
|
|
17
|
+
} from "../location-preset-catalog-map.js"
|
|
18
|
+
export type { LocationCatalogRef } from "../location-preset-catalog-map.js"
|
|
19
|
+
export {
|
|
20
|
+
PARAMETER_NODE_TYPES,
|
|
21
|
+
HINT_EXEMPT_PARAMETER_TYPES,
|
|
22
|
+
VIDEO_ONLY_PARAMETER_NODE_TYPES,
|
|
23
|
+
EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES,
|
|
24
|
+
getParameterValue,
|
|
25
|
+
setRegisteredPersonPackFields,
|
|
26
|
+
} from "../parameter-node-value.js"
|
|
27
|
+
// Parameter-node dimensions (frontend pickers + backend hints)
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
ANIMALS,
|
|
31
|
+
ANIMAL_SUBCATEGORY_LABELS,
|
|
32
|
+
ANIMAL_SUBCATEGORY_ORDER,
|
|
33
|
+
getAnimal,
|
|
34
|
+
getAnimalLabel,
|
|
35
|
+
getAnimalPromptHint,
|
|
36
|
+
getAnimalTerm,
|
|
37
|
+
} from "../animals.js"
|
|
38
|
+
export type { Animal, AnimalSubcategory } from "../animals.js"
|
|
39
|
+
export {
|
|
40
|
+
FURNITURE,
|
|
41
|
+
FURNITURE_SUBCATEGORY_LABELS,
|
|
42
|
+
FURNITURE_SUBCATEGORY_ORDER,
|
|
43
|
+
getFurniture,
|
|
44
|
+
getFurnitureLabel,
|
|
45
|
+
} from "../furniture.js"
|
|
46
|
+
export type { Furniture, FurnitureSubcategory } from "../furniture.js"
|
|
47
|
+
export * from "../character-facets.js"
|
|
48
|
+
export {
|
|
49
|
+
VEHICLES,
|
|
50
|
+
VEHICLE_SUBCATEGORY_LABELS,
|
|
51
|
+
VEHICLE_SUBCATEGORY_ORDER,
|
|
52
|
+
getVehicle,
|
|
53
|
+
getVehicleLabel,
|
|
54
|
+
} from "../vehicles.js"
|
|
55
|
+
export type { Vehicle, VehicleSubcategory } from "../vehicles.js"
|
|
56
|
+
export {
|
|
57
|
+
WEAPONS,
|
|
58
|
+
WEAPON_SUBCATEGORY_LABELS,
|
|
59
|
+
WEAPON_SUBCATEGORY_ORDER,
|
|
60
|
+
getWeapon,
|
|
61
|
+
getWeaponLabel,
|
|
62
|
+
} from "../weapons.js"
|
|
63
|
+
export type { Weapon, WeaponSubcategory } from "../weapons.js"
|
|
64
|
+
// Multi-pick utilities
|
|
65
|
+
export { pickIds, togglePick } from "../multi-pick.js"
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
pricedVideoSelection,
|
|
27
|
+
buildMotionCreditModelIdentifier,
|
|
28
|
+
speedRampCreditId,
|
|
29
|
+
applyEdlCreditId,
|
|
30
|
+
speakerViewCreditId,
|
|
31
|
+
SPEAKER_VIEW_CREDIT_IDS,
|
|
32
|
+
SPEAKER_VIEW_PRICE_TIERS,
|
|
33
|
+
type SpeakerViewPriceTier,
|
|
34
|
+
type SpeakerViewCreditId,
|
|
35
|
+
sunoCreditType,
|
|
36
|
+
SUNO_VERSION_CREDIT_KEYS,
|
|
37
|
+
SUNO_VERSION_PRICED_OPERATIONS,
|
|
38
|
+
SUNO_SELECT_OPERATIONS,
|
|
39
|
+
} from "../credit-identifiers.js"
|
|
40
|
+
export type { NormalizedImageGen, PricedVideoSelection } from "../credit-identifiers.js"
|
|
41
|
+
export * from "../credit-estimators/index.js"
|
|
42
|
+
export {
|
|
43
|
+
resolveTopazUpscale,
|
|
44
|
+
TOPAZ_UPSCALE_FACTORS,
|
|
45
|
+
TOPAZ_DEFAULT_UPSCALE_FACTOR,
|
|
46
|
+
type TopazUpscaleFactor,
|
|
47
|
+
type TopazUpscaleAdjustment,
|
|
48
|
+
type TopazUpscaleResolution,
|
|
49
|
+
} from "../topaz-upscale.js"
|
|
50
|
+
export { calculateMonetizationMarkup, calculateMonetizedCost } from "../monetization.js"
|
|
51
|
+
export {
|
|
52
|
+
LIP_SYNC_DURATION_BUCKETS,
|
|
53
|
+
LIP_SYNC_MAX_AUDIO_SECONDS,
|
|
54
|
+
pickLipSyncBucket,
|
|
55
|
+
getLipSyncMaxAudioSeconds,
|
|
56
|
+
isPerSecondLipSyncProvider,
|
|
57
|
+
buildLipSyncCreditId,
|
|
58
|
+
} from "../lip-sync-pricing.js"
|
|
59
|
+
export type { LipSyncDurationBucket } from "../lip-sync-pricing.js"
|
|
60
|
+
export {
|
|
61
|
+
AI_AVATAR_MAX_DURATION_SEC,
|
|
62
|
+
AI_AVATAR_MAX_AUDIO_SEC,
|
|
63
|
+
AI_AVATAR_DURATION_BUCKETS,
|
|
64
|
+
AI_AVATAR_RESERVE_IDS,
|
|
65
|
+
aiAvatarReserveCreditId,
|
|
66
|
+
resolveAiAvatarCreditId,
|
|
67
|
+
estimateScriptDurationSec,
|
|
68
|
+
pickAiAvatarBucket,
|
|
69
|
+
} from "../ai-avatar-pricing.js"
|
|
70
|
+
export type { AiAvatarEngine, AiAvatarResolution, AiAvatarDurationBucket } from "../ai-avatar-pricing.js"
|
|
71
|
+
export * from "../switchx-pricing.js"
|
|
72
|
+
export {
|
|
73
|
+
CINEMATIC_MIN_DURATION_SEC,
|
|
74
|
+
CINEMATIC_MAX_DURATION_SEC,
|
|
75
|
+
CINEMATIC_DEFAULT_DURATION_SEC,
|
|
76
|
+
CINEMATIC_DEFAULT_RESOLUTION,
|
|
77
|
+
CINEMATIC_RESERVE_IDS,
|
|
78
|
+
clampCinematicDuration,
|
|
79
|
+
cinematicCreditId,
|
|
80
|
+
resolveCinematicCreditId,
|
|
81
|
+
} from "../cinematic-avatar-pricing.js"
|
|
82
|
+
export type { CinematicResolution } from "../cinematic-avatar-pricing.js"
|
|
83
|
+
export {
|
|
84
|
+
AvatarPayloadError,
|
|
85
|
+
validateAiAvatarPayload,
|
|
86
|
+
validateCinematicAvatarPayload,
|
|
87
|
+
CINEMATIC_PROMPT_MAX,
|
|
88
|
+
CINEMATIC_MAX_REFERENCE_VIDEOS,
|
|
89
|
+
CINEMATIC_MAX_REFERENCE_IMAGES,
|
|
90
|
+
CINEMATIC_MIN_LOOKS,
|
|
91
|
+
CINEMATIC_MAX_LOOKS,
|
|
92
|
+
} from "../avatar-payload-validators.js"
|
|
93
|
+
export {
|
|
94
|
+
resolveStoredTier,
|
|
95
|
+
resolveEffectiveTier,
|
|
96
|
+
isPaygRetentionActive,
|
|
97
|
+
PAYG_RETENTION_DAYS,
|
|
98
|
+
} from "../effective-tier.js"
|
|
99
|
+
// --- Video-analysis pricing (duration buckets + structural credit formula) ---
|
|
100
|
+
// Also hosts video-audit's sibling pricing (VIDEO_AUDIT_BUCKET_CREDITS +
|
|
101
|
+
// buildVideoAuditCreditId / videoAuditCreditsForBucket / bucketSecondsFromAuditCreditId).
|
|
102
|
+
export * from "../video-analysis-pricing.js"
|
|
103
|
+
// --- Content Recipe / Content Ideas pricing (credit ids + the per-five-ideas rule) ---
|
|
104
|
+
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,89 @@
|
|
|
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
|
+
SPEECH_UNIT_PRICE_NOTE,
|
|
17
|
+
listModels,
|
|
18
|
+
groupByFamily,
|
|
19
|
+
groupByKindAndFamily,
|
|
20
|
+
MODEL_KINDS,
|
|
21
|
+
getModel,
|
|
22
|
+
validateModelInput,
|
|
23
|
+
// Frontend picker derivers
|
|
24
|
+
getAspectRatioOptions,
|
|
25
|
+
getResolutionOptions,
|
|
26
|
+
getQualityOptions,
|
|
27
|
+
getDurationsForModel,
|
|
28
|
+
getCreditRange,
|
|
29
|
+
hasFeature,
|
|
30
|
+
modelsWithFeature,
|
|
31
|
+
modelTakesSeed,
|
|
32
|
+
durationsByMode,
|
|
33
|
+
resolutionOptionsByKind,
|
|
34
|
+
aspectRatioOptionsByKind,
|
|
35
|
+
qualityOptionsByKind,
|
|
36
|
+
creditRangesAll,
|
|
37
|
+
modelIdsByKindMode,
|
|
38
|
+
buildModelMenu,
|
|
39
|
+
normalizeModelInput,
|
|
40
|
+
normalizeVideoRequestParams,
|
|
41
|
+
fitAspectRatioToModel,
|
|
42
|
+
defaultResolutionFor,
|
|
43
|
+
nearestCatalogAspectRatio,
|
|
44
|
+
autoAspectNeedsSourceImage,
|
|
45
|
+
isAutoAspectToken,
|
|
46
|
+
} from "../model-catalog.js"
|
|
47
|
+
export type {
|
|
48
|
+
NormalizedVideoRequest,
|
|
49
|
+
ModelCatalogEntry,
|
|
50
|
+
ModelKind,
|
|
51
|
+
ModelMode,
|
|
52
|
+
ModelRecommendation,
|
|
53
|
+
ModelValidationIssue,
|
|
54
|
+
PriceVariant,
|
|
55
|
+
ValidationField,
|
|
56
|
+
LabeledOption,
|
|
57
|
+
ModelMenuOption,
|
|
58
|
+
ModelInputAdjustment,
|
|
59
|
+
NormalizedModelInput,
|
|
60
|
+
ModelInputContext,
|
|
61
|
+
SourceImageSize,
|
|
62
|
+
TtsCapabilities,
|
|
63
|
+
TtsSettingLever,
|
|
64
|
+
} from "../model-catalog.js"
|
|
65
|
+
// Speech-model capability lookups (derive from `ModelCatalogEntry.tts` above).
|
|
66
|
+
export {
|
|
67
|
+
TTS_PROVIDER_ALIASES,
|
|
68
|
+
TTS_FALLBACK_PROVIDER,
|
|
69
|
+
canonicalTtsProvider,
|
|
70
|
+
getTtsCapabilities,
|
|
71
|
+
ttsSupportsAudioTags,
|
|
72
|
+
ttsSupportsSsmlBreaks,
|
|
73
|
+
ttsSupportsStitching,
|
|
74
|
+
ttsHasLever,
|
|
75
|
+
ttsLanguageCodes,
|
|
76
|
+
ttsSupportsTimestamps,
|
|
77
|
+
} from "../tts-capabilities.js"
|
|
78
|
+
// Per-model safety-filter retry/fallback policy (derives from
|
|
79
|
+
// `ModelCatalogEntry.safetyFilter` above).
|
|
80
|
+
export { safetyRetryPolicy } from "../safety-retry-policy.js"
|
|
81
|
+
export {
|
|
82
|
+
IMAGE_MODEL_ROLE_DEFAULTS,
|
|
83
|
+
IMAGE_MODEL_RATIO_FALLBACKS,
|
|
84
|
+
defaultImageModel,
|
|
85
|
+
imageModelDrawsRatio,
|
|
86
|
+
} from "../image-model-roles.js"
|
|
87
|
+
export type { ImageModelRole } from "../image-model-roles.js"
|
|
88
|
+
export type { SafetyRetryPolicy } from "../safety-retry-policy.js"
|
|
89
|
+
export { VIDEO_DURATION_AUTO, isAutoVideoDuration } from "../video-duration-auto.js"
|