@nodaro/shared 3.30.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 -26444
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -23733
- package/dist/index.d.ts +32 -23733
- package/dist/index.js +40 -24641
- 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__/entity-image-handle.test.ts +61 -1
- package/src/__tests__/fixtures/root-exports.baseline.json +4625 -0
- package/src/__tests__/input-field-extra-keys.test.ts +1 -0
- package/src/__tests__/json-kinds.test.ts +10 -0
- package/src/__tests__/model-seed-capability.test.ts +34 -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-preset-extract.test.ts +8 -0
- package/src/__tests__/node-run-routes.test.ts +63 -0
- package/src/__tests__/node-runtime-keys.test.ts +70 -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 +14 -0
- package/src/__tests__/preview-gate-use-case.test.ts +151 -0
- package/src/__tests__/producer-types.test.ts +15 -0
- package/src/__tests__/run-continuation.test.ts +7 -1
- package/src/__tests__/seedance-draft.test.ts +74 -0
- package/src/__tests__/site-capture-node.test.ts +58 -0
- package/src/__tests__/ugc-clip-saved-list.test.ts +19 -0
- package/src/__tests__/ugc-lane-wires.test.ts +228 -0
- package/src/__tests__/ugc-node-wires.test.ts +606 -0
- package/src/__tests__/ugc-run-state.test.ts +85 -7
- 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/__tests__/workflow-export-strip.test.ts +14 -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 +50 -1
- 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 -1838
- package/src/json-kinds.ts +13 -0
- package/src/model-catalog.ts +97 -36
- package/src/model-constants.ts +3 -0
- package/src/node-mappable-fields.ts +1 -0
- package/src/node-preset-export.ts +2 -2
- package/src/node-preset-extract.ts +6 -4
- package/src/node-run-routes.ts +78 -0
- package/src/node-runtime-keys.ts +50 -1
- package/src/normalize-node-params.ts +30 -0
- package/src/presentation-utils.ts +8 -0
- package/src/preview-gate.ts +92 -14
- package/src/producer-types.ts +26 -2
- package/src/run-continuation.ts +21 -0
- package/src/seedance-draft.ts +64 -0
- package/src/site-capture-node.ts +82 -0
- package/src/social-post.ts +13 -0
- package/src/ugc-lane-wires.ts +246 -0
- package/src/ugc-node-wires.ts +653 -0
- package/src/ugc-run-state.ts +65 -8
- package/src/video-analysis-pricing.ts +31 -29
- package/src/workflow-export.ts +3 -1
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { I as I18nCatalogId } from '../types-DffyGSy5.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The 5 parameter-picker node types that can wire INTO the Object Studio's
|
|
5
|
+
* `type` input handle as upstream identity providers (Material, Animal,
|
|
6
|
+
* Vehicle, Weapon, Furniture). The resolver in
|
|
7
|
+
* `backend/src/services/workflow-engine/input-resolver.ts` (and its frontend
|
|
8
|
+
* mirror) reads this set to discriminate wired pickers from arbitrary source
|
|
9
|
+
* nodes when composing the seedPromptHint.
|
|
10
|
+
*
|
|
11
|
+
* Defensive filter: if `PARAMETER_NODE_TYPES` doesn't yet contain `"furniture"`
|
|
12
|
+
* (i.e., the Furniture prereq PR hasn't been deployed in this environment),
|
|
13
|
+
* furniture silently drops from the set. The wired-picker resolver then
|
|
14
|
+
* skips furniture pickers without error rather than firing a wrong prompt
|
|
15
|
+
* fragment. Production deploy order is enforced as: Prereq PR (#2601, merged)
|
|
16
|
+
* → Object Studio PRs; this defensive code is a safety net.
|
|
17
|
+
*/
|
|
18
|
+
declare const OBJECT_PICKER_NODE_TYPES: ReadonlySet<string>;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Canonical catalog of seasons.
|
|
22
|
+
*
|
|
23
|
+
* 4 universal seasonal labels — used by the Location Studio's Seasons tab
|
|
24
|
+
* and (in the future) by any season-picker parameter node. Independent of
|
|
25
|
+
* lighting (time-of-day), atmosphere (weather), and color/look.
|
|
26
|
+
*
|
|
27
|
+
* Northern-hemisphere reference is implicit. Promp t hints describe the
|
|
28
|
+
* visual hallmarks of each season so downstream generators reproduce them
|
|
29
|
+
* faithfully across diverse settings (interior, exterior, character, etc.).
|
|
30
|
+
*/
|
|
31
|
+
interface Season {
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly label: string;
|
|
34
|
+
readonly description: string;
|
|
35
|
+
readonly promptHint: string;
|
|
36
|
+
}
|
|
37
|
+
declare const SEASONS: ReadonlyArray<Season>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Adapter from the Location Studio's backend preset strings to canonical
|
|
41
|
+
* picker-catalog entries.
|
|
42
|
+
*
|
|
43
|
+
* The Location Studio's tab presets ship 46 backend-stable variant strings
|
|
44
|
+
* (e.g. "wide", "golden hour", "drone fly-over"). These strings are what the
|
|
45
|
+
* frontend sends to `POST /v1/generate-location-asset` and what backend Zod
|
|
46
|
+
* validates against the `VARIANTS` map in
|
|
47
|
+
* `backend/src/routes/generate-location-asset.ts`. They MUST stay stable.
|
|
48
|
+
*
|
|
49
|
+
* For display, however, we want translated labels that match the rest of
|
|
50
|
+
* the app. Instead of maintaining a parallel `location-variants` i18n
|
|
51
|
+
* catalog (the duplication this file replaces), the Studio looks up each
|
|
52
|
+
* preset against an existing canonical catalog — framing, lighting,
|
|
53
|
+
* atmosphere, camera-motions, seasons — and uses the existing localized
|
|
54
|
+
* label.
|
|
55
|
+
*
|
|
56
|
+
* Adding a new preset to a Location Studio tab: pick the closest entry in
|
|
57
|
+
* the relevant canonical catalog and add a mapping here. If the closest
|
|
58
|
+
* match is wrong, ADD a new entry to the canonical catalog (so the
|
|
59
|
+
* camera-motion picker / framing picker / etc. all benefit), then map.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
interface LocationCatalogRef {
|
|
63
|
+
readonly catalogId: I18nCatalogId;
|
|
64
|
+
readonly entryId: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Backend variant string → canonical catalog reference.
|
|
68
|
+
*
|
|
69
|
+
* Keys MUST match the strings in `VARIANTS` in
|
|
70
|
+
* `backend/src/routes/generate-location-asset.ts` AND the preset arrays in
|
|
71
|
+
* the Location Studio tab wrappers
|
|
72
|
+
* (`frontend/src/components/editor/location-studio/{time-of-day,weather,seasons,angles,lighting}-tab.tsx`)
|
|
73
|
+
* AND `motion-tab.tsx`'s MOTION_PRESETS.
|
|
74
|
+
*/
|
|
75
|
+
declare const LOCATION_PRESET_TO_CATALOG: Readonly<Record<string, LocationCatalogRef>>;
|
|
76
|
+
/**
|
|
77
|
+
* Resolve a backend preset string to its canonical catalog reference, or
|
|
78
|
+
* undefined if the preset is unknown (caller falls back to the raw
|
|
79
|
+
* preset string as the display label).
|
|
80
|
+
*/
|
|
81
|
+
declare function resolveLocationPresetCatalog(preset: string): LocationCatalogRef | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Each Location Studio tab pulls all its localized labels from a single
|
|
84
|
+
* canonical catalog (the tab's bucket → catalog mapping below). This lets
|
|
85
|
+
* the tab call `useLocalizedCatalog(LOCATION_BUCKET_TO_CATALOG_ID[bucket])`
|
|
86
|
+
* once and resolve every preset chip through the same catalog.
|
|
87
|
+
*
|
|
88
|
+
* Atmosphere motion (motion-tab.tsx) uses `camera-motions` directly — it's
|
|
89
|
+
* a single-bucket tab so the mapping isn't needed there.
|
|
90
|
+
*/
|
|
91
|
+
declare const LOCATION_BUCKET_TO_CATALOG_ID: {
|
|
92
|
+
readonly timeOfDay: "lighting";
|
|
93
|
+
readonly weather: "atmosphere";
|
|
94
|
+
readonly seasons: "seasons";
|
|
95
|
+
readonly angles: "framing";
|
|
96
|
+
readonly lighting: "lighting";
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Read the "primary value" of a parameter node directly from its data.
|
|
101
|
+
*
|
|
102
|
+
* Parameter nodes (framing, camera-motion, motion, tone, etc.) are pickers on
|
|
103
|
+
* canvas — they don't execute, so they produce no NodeExecutionState.output on
|
|
104
|
+
* the backend. Both the frontend extractNodeOutput fallthrough and the backend
|
|
105
|
+
* resolver adapter call this when a mapped source is a parameter node, so that
|
|
106
|
+
* fieldMappings on non-text fields (framing, cameraMotion, etc.) resolve
|
|
107
|
+
* correctly at execution time.
|
|
108
|
+
*/
|
|
109
|
+
declare const PARAMETER_NODE_TYPES: ReadonlySet<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Parameter types that intentionally produce NO prompt hint from
|
|
112
|
+
* `getParameterPromptHint` (in `@nodaro/prompts`). They carry pure runtime
|
|
113
|
+
* parameters — counts, durations, aspect ratios, a model id — consumed by the
|
|
114
|
+
* executor directly, never appended to a downstream prompt.
|
|
115
|
+
*
|
|
116
|
+
* Consumers that treat "parameter node" as "text producer" (the `{Label}`
|
|
117
|
+
* auto-fill in `main-text-handle.ts`, ref-map builders) must exclude these:
|
|
118
|
+
* their extracted output is undefined, so an auto-filled `{Label}` would stay
|
|
119
|
+
* in the outgoing prompt as literal brace text. Guarded by
|
|
120
|
+
* `parameter-registry-sync.test.ts` (each member really returns "") and
|
|
121
|
+
* `main-text-handle.test.ts` (members are not text-producing).
|
|
122
|
+
*/
|
|
123
|
+
declare const HINT_EXEMPT_PARAMETER_TYPES: ReadonlySet<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Parameter nodes whose fragment only makes sense in MOTION — a camera move,
|
|
126
|
+
* a transition, a timeline, a character effect, a character movement or the
|
|
127
|
+
* shot's motion intensity (the Motion node). Every
|
|
128
|
+
* still-image consumer (generate-image, edit-image, image-to-image,
|
|
129
|
+
* modify-image, location) excludes these on BOTH executors and in the add-node
|
|
130
|
+
* popup. One set instead of three hand-synced copies: `STILL_IMAGE_EXCLUDE_TYPES`
|
|
131
|
+
* (frontend cinematography-hints.ts and backend payload-builder.ts) and
|
|
132
|
+
* `MOTION_ONLY_PICKER_TYPES` (frontend node-compatibility.ts) alias it.
|
|
133
|
+
*/
|
|
134
|
+
declare const VIDEO_ONLY_PARAMETER_NODE_TYPES: ReadonlySet<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Pickers whose fragment depends on OTHER nodes wired into them — camera
|
|
137
|
+
* motion's and transition's start / end states, character motion's target and
|
|
138
|
+
* partner names, character FX's target name — so both executors must pass the
|
|
139
|
+
* graph to `getParameterPromptHint` for them.
|
|
140
|
+
*
|
|
141
|
+
* TRANSITION AND CHARACTER-FX JOINED THIS SET (signed off). They compose from
|
|
142
|
+
* the graph everywhere a human LOOKS at them — the config panel's injection
|
|
143
|
+
* preview and the canvas card both run
|
|
144
|
+
* `getParameterPromptHint(node, { nodes, edges })` — and on the frontend
|
|
145
|
+
* `{Label}` path (`execution-graph.ts :: extractNodeOutput`), but the two
|
|
146
|
+
* cinematography collectors that read THIS set dispatched them without the
|
|
147
|
+
* graph, so a wired `startState` / `target` was promised in the preview and
|
|
148
|
+
* dropped at execution. Admitting them here closes that gap on BOTH executors
|
|
149
|
+
* at once.
|
|
150
|
+
*
|
|
151
|
+
* THE BOUND, and it is proved rather than asserted: a picker with NOTHING
|
|
152
|
+
* wired to its own `startState` / `endState` / `target` handles emits
|
|
153
|
+
* byte-identical text with and without the graph — the composers are simply
|
|
154
|
+
* called with empty clause arrays either way. So only workflows that actually
|
|
155
|
+
* wire those handles change at all, and they change to the text their own
|
|
156
|
+
* preview already shows. The prompts package's
|
|
157
|
+
* `graph-composed-unwired-identity.test.ts` walks every transition and
|
|
158
|
+
* character-fx catalog entry in both hint modes, under two unwired graph
|
|
159
|
+
* shapes, and asserts that equality — with a wired positive control so it
|
|
160
|
+
* cannot go vacuous.
|
|
161
|
+
*
|
|
162
|
+
* ADD A NEW GRAPH-COMPOSED PICKER HERE AND TO
|
|
163
|
+
* `LABEL_REF_GRAPH_COMPOSED_PARAMETER_TYPES` (backend
|
|
164
|
+
* `services/workflow-engine/label-ref-hint-context.ts`) when it ships, so its
|
|
165
|
+
* `{Label}` text and its directly-wired text agree from its first release.
|
|
166
|
+
*/
|
|
167
|
+
declare const EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES: ReadonlySet<string>;
|
|
168
|
+
declare function setRegisteredPersonPackFields(fields: readonly string[]): void;
|
|
169
|
+
declare function getParameterValue(data: Record<string, unknown>, nodeType: string): string | undefined;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Canonical catalog of animal presets for the Object entity node.
|
|
173
|
+
*
|
|
174
|
+
* When the Object category is "animal", users pick a specific animal from this
|
|
175
|
+
* catalog. The picker auto-fills the object's `objectName` and `description`
|
|
176
|
+
* so the existing `buildObjectPrompt` pipeline just works — no backend prompt
|
|
177
|
+
* changes needed.
|
|
178
|
+
*
|
|
179
|
+
* Organized into everyday sub-categories: cats, dogs, transport animals (the
|
|
180
|
+
* rideable / working ones like horse + camel + donkey), farm, wild, birds,
|
|
181
|
+
* sea, small pets, reptiles, and mythical.
|
|
182
|
+
*/
|
|
183
|
+
type AnimalSubcategory = "cats" | "dogs" | "transport" | "farm" | "wild" | "birds" | "sea" | "small-pets" | "reptiles" | "insects" | "dinosaurs" | "mythical";
|
|
184
|
+
interface Animal {
|
|
185
|
+
readonly id: string;
|
|
186
|
+
readonly label: string;
|
|
187
|
+
readonly subcategory: AnimalSubcategory;
|
|
188
|
+
readonly description: string;
|
|
189
|
+
/**
|
|
190
|
+
* Optional authored compact term — the short phrase a professional would
|
|
191
|
+
* write in a prompt, as opposed to the user-facing `label` (see the `term`
|
|
192
|
+
* convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the
|
|
193
|
+
* lowercased label is not that phrase — a UI compound naming two things at
|
|
194
|
+
* once ("Airship / Dirigible" -> "airship", "Plasma Sword / Lightsaber" ->
|
|
195
|
+
* "plasma sword"). Everywhere else the lowercased label IS the term for a
|
|
196
|
+
* concrete object ("golden retriever", "katana"), so nothing is authored.
|
|
197
|
+
*/
|
|
198
|
+
readonly term?: string;
|
|
199
|
+
}
|
|
200
|
+
declare const ANIMALS: ReadonlyArray<Animal>;
|
|
201
|
+
declare function getAnimal(id: string | undefined | null): Animal | undefined;
|
|
202
|
+
declare function getAnimalLabel(id: string | undefined | null, fallback?: string): string;
|
|
203
|
+
/**
|
|
204
|
+
* The ONE authored phrasing for an animal selection — "featuring a golden
|
|
205
|
+
* retriever, Medium-large dog with …".
|
|
206
|
+
*
|
|
207
|
+
* WHY IT LIVES HERE: the phrase had two independent copies (the picker-catalog
|
|
208
|
+
* funnel's synthesized `promptHint` and `getParameterPromptHint`'s `animal`
|
|
209
|
+
* case), and the `subject` prompt channel needs a third caller. A third copy
|
|
210
|
+
* would be new drift, and the channel's registry cannot read `ANIMALS`
|
|
211
|
+
* directly — `catalog-funnel-ratchet.test.ts` derives its watch set from
|
|
212
|
+
* `picker-catalogs.ts`'s own uppercase value imports and can only SHRINK, so a
|
|
213
|
+
* new raw-array reader under `packages/prompts/src` fails CI. A FUNCTION in
|
|
214
|
+
* `@nodaro/shared` (where the catalog itself lives) is invisible to that scan
|
|
215
|
+
* and is the same "functions only" discipline `direction-registry.ts` follows.
|
|
216
|
+
*
|
|
217
|
+
* Empty string on a miss, matching every `get*PromptHint` in `@nodaro/prompts`:
|
|
218
|
+
* a retired or unknown id contributes no clause rather than throwing.
|
|
219
|
+
*/
|
|
220
|
+
declare function getAnimalPromptHint(id: string | undefined | null): string;
|
|
221
|
+
/**
|
|
222
|
+
* The COMPACT counterpart of `getAnimalPromptHint`: the same lookup, the same
|
|
223
|
+
* empty-string-on-miss, returning the short professional term a prompt would
|
|
224
|
+
* actually carry ("golden retriever", "t-rex") instead of the full clause.
|
|
225
|
+
*
|
|
226
|
+
* An authored `term` wins; otherwise the label IS the professional term for a
|
|
227
|
+
* concrete object, resolved through the mechanical derivation — NOT a bare
|
|
228
|
+
* `toLowerCase()` — so a parenthetical label is stripped exactly the way every
|
|
229
|
+
* other catalog strips it.
|
|
230
|
+
*/
|
|
231
|
+
declare function getAnimalTerm(id: string | undefined | null): string;
|
|
232
|
+
declare const ANIMAL_SUBCATEGORY_LABELS: Readonly<Record<AnimalSubcategory, string>>;
|
|
233
|
+
declare const ANIMAL_SUBCATEGORY_ORDER: ReadonlyArray<AnimalSubcategory>;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Canonical catalog of furniture presets for the Object entity node.
|
|
237
|
+
*
|
|
238
|
+
* When the Object category is "furniture", users pick a specific furniture
|
|
239
|
+
* piece from this catalog. The picker auto-fills the object's `objectName`
|
|
240
|
+
* and `description` so the existing `buildObjectPrompt` pipeline just works
|
|
241
|
+
* — no backend prompt changes needed.
|
|
242
|
+
*
|
|
243
|
+
* Organized into everyday sub-categories: seating, tables, beds, storage,
|
|
244
|
+
* lighting, kitchen & dining, outdoor, decorative, and bath.
|
|
245
|
+
*/
|
|
246
|
+
type FurnitureSubcategory = "seating" | "tables" | "beds" | "storage" | "lighting" | "kitchen-dining" | "outdoor" | "decorative" | "bath";
|
|
247
|
+
interface Furniture {
|
|
248
|
+
readonly id: string;
|
|
249
|
+
readonly label: string;
|
|
250
|
+
readonly subcategory: FurnitureSubcategory;
|
|
251
|
+
readonly description: string;
|
|
252
|
+
/**
|
|
253
|
+
* Optional authored compact term — the short phrase a professional would
|
|
254
|
+
* write in a prompt, as opposed to the user-facing `label` (see the `term`
|
|
255
|
+
* convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the
|
|
256
|
+
* lowercased label is not that phrase — a UI compound naming two things at
|
|
257
|
+
* once ("Airship / Dirigible" -> "airship", "Plasma Sword / Lightsaber" ->
|
|
258
|
+
* "plasma sword"). Everywhere else the lowercased label IS the term for a
|
|
259
|
+
* concrete object ("golden retriever", "katana"), so nothing is authored.
|
|
260
|
+
*/
|
|
261
|
+
readonly term?: string;
|
|
262
|
+
}
|
|
263
|
+
declare const FURNITURE: ReadonlyArray<Furniture>;
|
|
264
|
+
declare function getFurniture(id: string | undefined | null): Furniture | undefined;
|
|
265
|
+
declare function getFurnitureLabel(id: string | undefined | null, fallback?: string): string;
|
|
266
|
+
declare const FURNITURE_SUBCATEGORY_LABELS: Readonly<Record<FurnitureSubcategory, string>>;
|
|
267
|
+
declare const FURNITURE_SUBCATEGORY_ORDER: ReadonlyArray<FurnitureSubcategory>;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Facets of a source character/asset that can be selectively injected into a
|
|
271
|
+
* consumer character via the Character node's Assets handle (element/asset
|
|
272
|
+
* injection, P2). Single source of truth for the frontend facet chip options
|
|
273
|
+
* AND the backend facet-extraction instructions.
|
|
274
|
+
*
|
|
275
|
+
* `full` injects the whole source description verbatim (no LLM call needed).
|
|
276
|
+
* Every other facet is LLM-extracted on demand from the source's
|
|
277
|
+
* `canonicalDescription` via `POST /v1/character/extract-facet`.
|
|
278
|
+
*/
|
|
279
|
+
interface CharacterFacet {
|
|
280
|
+
/** Stable id stored on the connection (`assetInjections[].facet`). */
|
|
281
|
+
readonly id: string;
|
|
282
|
+
/** Human label shown in the facet chip. */
|
|
283
|
+
readonly label: string;
|
|
284
|
+
/** What the extractor should pull from the source description. Phrased to
|
|
285
|
+
* complete "Extract {instruction} …". Unused for `full`. */
|
|
286
|
+
readonly instruction: string;
|
|
287
|
+
}
|
|
288
|
+
declare const CHARACTER_FACETS: readonly CharacterFacet[];
|
|
289
|
+
declare const DEFAULT_CHARACTER_FACET = "full";
|
|
290
|
+
declare const CHARACTER_FACET_IDS: ReadonlySet<string>;
|
|
291
|
+
declare function getCharacterFacet(id: string): CharacterFacet | undefined;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Canonical catalog of vehicle presets for the Object entity node.
|
|
295
|
+
*
|
|
296
|
+
* When the Object category is "vehicle", users pick a specific vehicle from
|
|
297
|
+
* this catalog. The picker auto-fills the object's `objectName` and
|
|
298
|
+
* `description` so the existing `buildObjectPrompt` pipeline just works — no
|
|
299
|
+
* backend prompt changes needed.
|
|
300
|
+
*
|
|
301
|
+
* Organized into everyday sub-categories: classic cars, everyday cars,
|
|
302
|
+
* performance cars, motorcycles, bicycles (human-powered), trucks, transit
|
|
303
|
+
* (buses + rail + horse-drawn), aircraft, watercraft, military, construction,
|
|
304
|
+
* and sci-fi.
|
|
305
|
+
*/
|
|
306
|
+
type VehicleSubcategory = "cars-classic" | "cars-everyday" | "cars-performance" | "motorcycles" | "bicycles" | "trucks" | "transit" | "aircraft" | "watercraft" | "military" | "construction" | "sci-fi";
|
|
307
|
+
interface Vehicle {
|
|
308
|
+
readonly id: string;
|
|
309
|
+
readonly label: string;
|
|
310
|
+
readonly subcategory: VehicleSubcategory;
|
|
311
|
+
readonly description: string;
|
|
312
|
+
/**
|
|
313
|
+
* Optional authored compact term — the short phrase a professional would
|
|
314
|
+
* write in a prompt, as opposed to the user-facing `label` (see the `term`
|
|
315
|
+
* convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the
|
|
316
|
+
* lowercased label is not that phrase — a UI compound naming two things at
|
|
317
|
+
* once ("Airship / Dirigible" -> "airship", "Plasma Sword / Lightsaber" ->
|
|
318
|
+
* "plasma sword"). Everywhere else the lowercased label IS the term for a
|
|
319
|
+
* concrete object ("golden retriever", "katana"), so nothing is authored.
|
|
320
|
+
*/
|
|
321
|
+
readonly term?: string;
|
|
322
|
+
}
|
|
323
|
+
declare const VEHICLES: ReadonlyArray<Vehicle>;
|
|
324
|
+
declare function getVehicle(id: string | undefined | null): Vehicle | undefined;
|
|
325
|
+
declare function getVehicleLabel(id: string | undefined | null, fallback?: string): string;
|
|
326
|
+
declare const VEHICLE_SUBCATEGORY_LABELS: Readonly<Record<VehicleSubcategory, string>>;
|
|
327
|
+
declare const VEHICLE_SUBCATEGORY_ORDER: ReadonlyArray<VehicleSubcategory>;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Canonical catalog of weapon presets for the Object entity node.
|
|
331
|
+
*
|
|
332
|
+
* When the Object category is "weapon", users pick a specific weapon from
|
|
333
|
+
* this catalog. The picker auto-fills the object's `objectName` and
|
|
334
|
+
* `description` so the existing `buildObjectPrompt` pipeline just works —
|
|
335
|
+
* no backend prompt changes needed.
|
|
336
|
+
*
|
|
337
|
+
* Organized by weapon family: swords, daggers, axes, polearms, bows,
|
|
338
|
+
* blunt/impact, throwing, modern firearms, historical firearms, explosives
|
|
339
|
+
* & siege, sci-fi, and fantasy.
|
|
340
|
+
*/
|
|
341
|
+
type WeaponSubcategory = "swords" | "daggers" | "axes" | "polearms" | "bows" | "blunt" | "throwing" | "firearms-modern" | "firearms-historical" | "explosives-siege" | "sci-fi" | "fantasy";
|
|
342
|
+
interface Weapon {
|
|
343
|
+
readonly id: string;
|
|
344
|
+
readonly label: string;
|
|
345
|
+
readonly subcategory: WeaponSubcategory;
|
|
346
|
+
readonly description: string;
|
|
347
|
+
/**
|
|
348
|
+
* Optional authored compact term — the short phrase a professional would
|
|
349
|
+
* write in a prompt, as opposed to the user-facing `label` (see the `term`
|
|
350
|
+
* convention in `@nodaro/prompts`'s `term.ts`). Authored ONLY where the
|
|
351
|
+
* lowercased label is not that phrase — a UI compound naming two things at
|
|
352
|
+
* once ("Airship / Dirigible" -> "airship", "Plasma Sword / Lightsaber" ->
|
|
353
|
+
* "plasma sword"). Everywhere else the lowercased label IS the term for a
|
|
354
|
+
* concrete object ("golden retriever", "katana"), so nothing is authored.
|
|
355
|
+
*/
|
|
356
|
+
readonly term?: string;
|
|
357
|
+
}
|
|
358
|
+
declare const WEAPONS: ReadonlyArray<Weapon>;
|
|
359
|
+
declare function getWeapon(id: string | undefined | null): Weapon | undefined;
|
|
360
|
+
declare function getWeaponLabel(id: string | undefined | null, fallback?: string): string;
|
|
361
|
+
declare const WEAPON_SUBCATEGORY_LABELS: Readonly<Record<WeaponSubcategory, string>>;
|
|
362
|
+
declare const WEAPON_SUBCATEGORY_ORDER: ReadonlyArray<WeaponSubcategory>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Multi-select helpers for parameter dimensions that allow up to N picks.
|
|
366
|
+
*
|
|
367
|
+
* A dimension's stored value can be:
|
|
368
|
+
* - undefined / "" / [] → no pick
|
|
369
|
+
* - string → single pick (back-compat with single-select fields)
|
|
370
|
+
* - string[] → multi pick (1..N entries)
|
|
371
|
+
*
|
|
372
|
+
* `pickIds` normalizes any of those into a clean string[] (deduped, falsy
|
|
373
|
+
* entries dropped). Pickers cap the array at `maxSelected` (FIFO replacement
|
|
374
|
+
* is the picker's responsibility, not this helper's).
|
|
375
|
+
*
|
|
376
|
+
* Multi-select dimensions today: Person.ethnicity, Mood.mood, Aesthetic.aesthetic.
|
|
377
|
+
*/
|
|
378
|
+
declare function pickIds(value: unknown): string[];
|
|
379
|
+
/**
|
|
380
|
+
* Cap a multi-pick array at `maxSelected`, FIFO-replacing the oldest entry
|
|
381
|
+
* when the array is full and a new id is added. Returns a fresh array.
|
|
382
|
+
*/
|
|
383
|
+
declare function togglePick(current: ReadonlyArray<string>, id: string, maxSelected: number): string[];
|
|
384
|
+
|
|
385
|
+
export { ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, type Animal, type AnimalSubcategory, CHARACTER_FACETS, CHARACTER_FACET_IDS, type CharacterFacet, DEFAULT_CHARACTER_FACET, EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, type Furniture, type FurnitureSubcategory, HINT_EXEMPT_PARAMETER_TYPES, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, type LocationCatalogRef, OBJECT_PICKER_NODE_TYPES, PARAMETER_NODE_TYPES, SEASONS, type Season, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, VIDEO_ONLY_PARAMETER_NODE_TYPES, type Vehicle, type VehicleSubcategory, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, type Weapon, type WeaponSubcategory, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getCharacterFacet, getFurniture, getFurnitureLabel, getParameterValue, getVehicle, getVehicleLabel, getWeapon, getWeaponLabel, pickIds, resolveLocationPresetCatalog, setRegisteredPersonPackFields, togglePick };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ANIMALS, ANIMAL_SUBCATEGORY_LABELS, ANIMAL_SUBCATEGORY_ORDER, CHARACTER_FACETS, CHARACTER_FACET_IDS, DEFAULT_CHARACTER_FACET, FURNITURE, FURNITURE_SUBCATEGORY_LABELS, FURNITURE_SUBCATEGORY_ORDER, LOCATION_BUCKET_TO_CATALOG_ID, LOCATION_PRESET_TO_CATALOG, OBJECT_PICKER_NODE_TYPES, SEASONS, VEHICLES, VEHICLE_SUBCATEGORY_LABELS, VEHICLE_SUBCATEGORY_ORDER, WEAPONS, WEAPON_SUBCATEGORY_LABELS, WEAPON_SUBCATEGORY_ORDER, getAnimal, getAnimalLabel, getAnimalPromptHint, getAnimalTerm, getCharacterFacet, getFurniture, getFurnitureLabel, getVehicle, getVehicleLabel, getWeapon, getWeaponLabel, pickIds, resolveLocationPresetCatalog, togglePick } from '../chunk-QJRP44ZO.js';
|
|
2
|
+
export { EXECUTION_GRAPH_COMPOSED_PARAMETER_TYPES, HINT_EXEMPT_PARAMETER_TYPES, PARAMETER_NODE_TYPES, VIDEO_ONLY_PARAMETER_NODE_TYPES, getParameterValue, setRegisteredPersonPackFields } from '../chunk-JWA5SGCS.js';
|
|
3
|
+
//# sourceMappingURL=catalogs.js.map
|
|
4
|
+
//# sourceMappingURL=catalogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"catalogs.js"}
|