@nodaro/shared 3.67.0 → 3.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-T4GIHHXY.cjs → chunk-25C2E2GI.cjs} +6 -6
- package/dist/{chunk-T4GIHHXY.cjs.map → chunk-25C2E2GI.cjs.map} +1 -1
- package/dist/{chunk-OXTF4Y3P.cjs → chunk-3AB3YIFM.cjs} +6 -6
- package/dist/{chunk-OXTF4Y3P.cjs.map → chunk-3AB3YIFM.cjs.map} +1 -1
- package/dist/{chunk-23IKLMRL.cjs → chunk-3OHRFSQL.cjs} +53 -51
- package/dist/{chunk-23IKLMRL.cjs.map → chunk-3OHRFSQL.cjs.map} +1 -1
- package/dist/{chunk-GNLA5NTT.cjs → chunk-4IMEJQVQ.cjs} +4 -4
- package/dist/{chunk-GNLA5NTT.cjs.map → chunk-4IMEJQVQ.cjs.map} +1 -1
- package/dist/{chunk-JTYCJ5OL.cjs → chunk-54E2JO4E.cjs} +100 -33
- package/dist/chunk-54E2JO4E.cjs.map +1 -0
- package/dist/{chunk-HTDKEYMY.cjs → chunk-5EQRIUGI.cjs} +139 -91
- package/dist/chunk-5EQRIUGI.cjs.map +1 -0
- package/dist/{chunk-AT53ZQUC.js → chunk-5WHU7CYE.js} +3 -3
- package/dist/{chunk-AT53ZQUC.js.map → chunk-5WHU7CYE.js.map} +1 -1
- package/dist/{chunk-BNR5FKL5.js → chunk-5ZCZL73I.js} +3 -3
- package/dist/{chunk-BNR5FKL5.js.map → chunk-5ZCZL73I.js.map} +1 -1
- package/dist/{chunk-6FQBKI2A.cjs → chunk-6JSYNKFL.cjs} +4 -4
- package/dist/{chunk-6FQBKI2A.cjs.map → chunk-6JSYNKFL.cjs.map} +1 -1
- package/dist/{chunk-WZG6GZIL.cjs → chunk-6QJHSN6J.cjs} +4 -4
- package/dist/{chunk-WZG6GZIL.cjs.map → chunk-6QJHSN6J.cjs.map} +1 -1
- package/dist/{chunk-OFQ6CU6S.js → chunk-7EQJIGVT.js} +3 -3
- package/dist/{chunk-OFQ6CU6S.js.map → chunk-7EQJIGVT.js.map} +1 -1
- package/dist/{chunk-XEPKONJC.js → chunk-7OSUEYZ4.js} +3 -3
- package/dist/{chunk-XEPKONJC.js.map → chunk-7OSUEYZ4.js.map} +1 -1
- package/dist/{chunk-3L7GMQ4M.cjs → chunk-7PC2YHBN.cjs} +54 -49
- package/dist/chunk-7PC2YHBN.cjs.map +1 -0
- package/dist/{chunk-BMDOPJBP.cjs → chunk-AGIG5HUU.cjs} +17 -17
- package/dist/{chunk-BMDOPJBP.cjs.map → chunk-AGIG5HUU.cjs.map} +1 -1
- package/dist/{chunk-5LWYX4GV.js → chunk-AH6OQXLW.js} +3 -3
- package/dist/{chunk-5LWYX4GV.js.map → chunk-AH6OQXLW.js.map} +1 -1
- package/dist/{chunk-RVQW623D.js → chunk-BDW25A7Y.js} +72 -18
- package/dist/chunk-BDW25A7Y.js.map +1 -0
- package/dist/{chunk-5J2LIQYU.js → chunk-DE55SA2X.js} +5 -5
- package/dist/{chunk-5J2LIQYU.js.map → chunk-DE55SA2X.js.map} +1 -1
- package/dist/{chunk-VBP4DH37.js → chunk-DNWFFVC6.js} +130 -15
- package/dist/chunk-DNWFFVC6.js.map +1 -0
- package/dist/{chunk-CLAKSLXF.js → chunk-E3PU7YC6.js} +3 -3
- package/dist/{chunk-CLAKSLXF.js.map → chunk-E3PU7YC6.js.map} +1 -1
- package/dist/{chunk-MVXZP6VB.js → chunk-FUYBUT65.js} +97 -2
- package/dist/chunk-FUYBUT65.js.map +1 -0
- package/dist/{chunk-SW5ZD7BO.js → chunk-G6AOKNAY.js} +3 -3
- package/dist/{chunk-SW5ZD7BO.js.map → chunk-G6AOKNAY.js.map} +1 -1
- package/dist/{chunk-EFYWV2V5.cjs → chunk-I6TBKTW3.cjs} +61 -61
- package/dist/{chunk-EFYWV2V5.cjs.map → chunk-I6TBKTW3.cjs.map} +1 -1
- package/dist/{chunk-3YWZ5SOZ.js → chunk-KLEKJUQI.js} +5 -5
- package/dist/{chunk-3YWZ5SOZ.js.map → chunk-KLEKJUQI.js.map} +1 -1
- package/dist/{chunk-OXBU5AGH.js → chunk-LSX2OFNB.js} +3 -3
- package/dist/{chunk-OXBU5AGH.js.map → chunk-LSX2OFNB.js.map} +1 -1
- package/dist/{chunk-66QSUUB4.cjs → chunk-LY6IR5LL.cjs} +12 -12
- package/dist/{chunk-66QSUUB4.cjs.map → chunk-LY6IR5LL.cjs.map} +1 -1
- package/dist/{chunk-5GG4CG4Y.js → chunk-LZPG4XHT.js} +3 -3
- package/dist/{chunk-5GG4CG4Y.js.map → chunk-LZPG4XHT.js.map} +1 -1
- package/dist/{chunk-PGDR7CO3.cjs → chunk-MGSGLRHZ.cjs} +8 -8
- package/dist/{chunk-PGDR7CO3.cjs.map → chunk-MGSGLRHZ.cjs.map} +1 -1
- package/dist/{chunk-Z77M7Q2R.js → chunk-ML55U7WM.js} +3 -3
- package/dist/{chunk-Z77M7Q2R.js.map → chunk-ML55U7WM.js.map} +1 -1
- package/dist/{chunk-ALRXY4QH.cjs → chunk-N7ZJD4CK.cjs} +6 -2
- package/dist/chunk-N7ZJD4CK.cjs.map +1 -0
- package/dist/{chunk-O2QOBA6Q.js → chunk-NPGP6FMU.js} +43 -3
- package/dist/chunk-NPGP6FMU.js.map +1 -0
- package/dist/{chunk-IWUW3YPM.cjs → chunk-NTCSXKZ3.cjs} +5 -5
- package/dist/{chunk-IWUW3YPM.cjs.map → chunk-NTCSXKZ3.cjs.map} +1 -1
- package/dist/chunk-NWNRATS3.js +13 -0
- package/dist/chunk-NWNRATS3.js.map +1 -0
- package/dist/{chunk-SCDE676D.js → chunk-OEOOXL3F.js} +65 -23
- package/dist/chunk-OEOOXL3F.js.map +1 -0
- package/dist/{chunk-GF7ZA26H.js → chunk-OOUJZR4K.js} +4 -4
- package/dist/{chunk-GF7ZA26H.js.map → chunk-OOUJZR4K.js.map} +1 -1
- package/dist/{chunk-5IZHECUP.js → chunk-OZA4DE23.js} +3 -3
- package/dist/{chunk-5IZHECUP.js.map → chunk-OZA4DE23.js.map} +1 -1
- package/dist/{chunk-GTBW2KAY.js → chunk-PHQVAPSD.js} +8 -6
- package/dist/{chunk-GTBW2KAY.js.map → chunk-PHQVAPSD.js.map} +1 -1
- package/dist/{chunk-5NVGKXJV.cjs → chunk-PLANUXQL.cjs} +89 -3
- package/dist/chunk-PLANUXQL.cjs.map +1 -0
- package/dist/{chunk-ZQ2BHOFH.cjs → chunk-Q2LEJXLZ.cjs} +6 -6
- package/dist/{chunk-ZQ2BHOFH.cjs.map → chunk-Q2LEJXLZ.cjs.map} +1 -1
- package/dist/{chunk-PJAJCFLP.cjs → chunk-QNPYYSLT.cjs} +168 -44
- package/dist/chunk-QNPYYSLT.cjs.map +1 -0
- package/dist/{chunk-G2G7XGFU.cjs → chunk-RURPG6IS.cjs} +7 -7
- package/dist/{chunk-G2G7XGFU.cjs.map → chunk-RURPG6IS.cjs.map} +1 -1
- package/dist/{chunk-PAUWEWTY.js → chunk-TDU45K6Z.js} +12 -7
- package/dist/chunk-TDU45K6Z.js.map +1 -0
- package/dist/{chunk-X2YHKP4D.cjs → chunk-TWUFC32F.cjs} +8 -8
- package/dist/{chunk-X2YHKP4D.cjs.map → chunk-TWUFC32F.cjs.map} +1 -1
- package/dist/{chunk-O6TBB4IF.cjs → chunk-TZWXZDSX.cjs} +48 -2
- package/dist/chunk-TZWXZDSX.cjs.map +1 -0
- package/dist/{chunk-F6XIH3TZ.cjs → chunk-UJREE6EQ.cjs} +9 -9
- package/dist/{chunk-F6XIH3TZ.cjs.map → chunk-UJREE6EQ.cjs.map} +1 -1
- package/dist/{chunk-CFTXW3ZL.js → chunk-UVUHVY7F.js} +3 -3
- package/dist/{chunk-CFTXW3ZL.js.map → chunk-UVUHVY7F.js.map} +1 -1
- package/dist/{chunk-37ZSFS6A.cjs → chunk-WML66SUV.cjs} +9 -9
- package/dist/{chunk-37ZSFS6A.cjs.map → chunk-WML66SUV.cjs.map} +1 -1
- package/dist/{chunk-M5QY464F.cjs → chunk-XZYZYWKG.cjs} +21 -21
- package/dist/{chunk-M5QY464F.cjs.map → chunk-XZYZYWKG.cjs.map} +1 -1
- package/dist/{chunk-3QJ3UR5Z.js → chunk-YT4ZTJVC.js} +9 -9
- package/dist/{chunk-3QJ3UR5Z.js.map → chunk-YT4ZTJVC.js.map} +1 -1
- package/dist/{chunk-V6OXSXIX.js → chunk-YVQFYW2U.js} +86 -4
- package/dist/chunk-YVQFYW2U.js.map +1 -0
- package/dist/{chunk-E62W5I6A.cjs → chunk-ZWEVRMFN.cjs} +97 -2
- package/dist/chunk-ZWEVRMFN.cjs.map +1 -0
- package/dist/entries/apps.cjs +42 -42
- package/dist/entries/apps.js +7 -7
- package/dist/entries/credits.cjs +295 -219
- package/dist/entries/credits.d.cts +233 -70
- package/dist/entries/credits.d.ts +233 -70
- package/dist/entries/credits.js +11 -11
- package/dist/entries/llm-models.cjs +84 -68
- package/dist/entries/llm-models.d.cts +36 -3
- package/dist/entries/llm-models.d.ts +36 -3
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +111 -107
- package/dist/entries/media.d.cts +17 -2
- package/dist/entries/media.d.ts +17 -2
- package/dist/entries/media.js +3 -3
- package/dist/entries/model-catalog.cjs +133 -133
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +433 -397
- package/dist/entries/models.d.cts +2 -2
- package/dist/entries/models.d.ts +2 -2
- package/dist/entries/models.js +8 -8
- package/dist/entries/nodes.cjs +212 -212
- package/dist/entries/nodes.js +8 -8
- package/dist/entries/pipeline.cjs +153 -153
- package/dist/entries/pipeline.d.cts +1 -1
- package/dist/entries/pipeline.d.ts +1 -1
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/runtime-config.cjs +53 -29
- package/dist/entries/runtime-config.d.cts +53 -1
- package/dist/entries/runtime-config.d.ts +53 -1
- package/dist/entries/runtime-config.js +1 -1
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/types.d.cts +12 -5
- package/dist/entries/types.d.ts +12 -5
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +152 -152
- package/dist/entries/video.d.cts +2 -1
- package/dist/entries/video.d.ts +2 -1
- package/dist/entries/video.js +6 -6
- package/dist/index.cjs +1882 -1726
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +25 -25
- package/dist/{model-constants-DZ3tPGFO.d.ts → model-constants-B5DNHIP8.d.ts} +156 -12
- package/dist/{model-constants-BstsUup6.d.cts → model-constants-CQr_d3Kw.d.cts} +156 -12
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +13 -1
- package/src/__tests__/extend-providers.test.ts +43 -6
- package/src/__tests__/fixtures/measured-input-quote-parity.json +2352 -1
- package/src/__tests__/fixtures/planned-length-quote-parity.json +100 -10
- package/src/__tests__/fixtures/probed-node-quote-parity.json +132 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +945 -38
- package/src/__tests__/gemini-omni-extend.test.ts +110 -0
- package/src/__tests__/gvp-supported-providers.test.ts +3 -0
- package/src/__tests__/llm-models.test.ts +116 -2
- package/src/__tests__/llm-price-key.test.ts +2 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +32 -0
- package/src/__tests__/runtime-config-lists.test.ts +92 -0
- package/src/__tests__/seedance-2-5-flash-catalog.test.ts +194 -0
- package/src/__tests__/video-character-refs.test.ts +48 -0
- package/src/catalog-projection.ts +12 -5
- package/src/credit-estimators/add-captions-nemotron.ts +11 -1
- package/src/credit-estimators/index.ts +6 -1
- package/src/credit-estimators/nemotron-transcribe.ts +35 -3
- package/src/credit-estimators/pitch-tempo.ts +14 -0
- package/src/credit-estimators/video-sfx.ts +15 -0
- package/src/credit-estimators/video-utils.ts +48 -12
- package/src/credit-identifiers.ts +51 -32
- package/src/entries/credits.ts +18 -0
- package/src/entries/llm-models.ts +4 -0
- package/src/entries/models.ts +11 -0
- package/src/entries/runtime-config.ts +10 -1
- package/src/gemini-omni-extend-quote.ts +76 -0
- package/src/lip-sync-pricing.ts +16 -1
- package/src/llm-models.ts +117 -2
- package/src/model-catalog.ts +95 -0
- package/src/model-constants.ts +274 -11
- package/src/node-default-mappings.ts +2 -0
- package/src/priced-clip-seconds.ts +19 -1
- package/src/runtime-config/lists.ts +87 -0
- package/src/runtime-config/worlds.ts +10 -0
- package/src/seedance-extend-rate.ts +83 -20
- package/src/seedance-lip-sync.ts +68 -0
- package/src/video-character-refs.ts +26 -6
- package/dist/chunk-3L7GMQ4M.cjs.map +0 -1
- package/dist/chunk-5NVGKXJV.cjs.map +0 -1
- package/dist/chunk-ALRXY4QH.cjs.map +0 -1
- package/dist/chunk-E62W5I6A.cjs.map +0 -1
- package/dist/chunk-HTDKEYMY.cjs.map +0 -1
- package/dist/chunk-JTYCJ5OL.cjs.map +0 -1
- package/dist/chunk-MVXZP6VB.js.map +0 -1
- package/dist/chunk-O2QOBA6Q.js.map +0 -1
- package/dist/chunk-O6TBB4IF.cjs.map +0 -1
- package/dist/chunk-PAUWEWTY.js.map +0 -1
- package/dist/chunk-PJAJCFLP.cjs.map +0 -1
- package/dist/chunk-RVQW623D.js.map +0 -1
- package/dist/chunk-SCDE676D.js.map +0 -1
- package/dist/chunk-SMOO5FAH.js +0 -10
- package/dist/chunk-SMOO5FAH.js.map +0 -1
- package/dist/chunk-V6OXSXIX.js.map +0 -1
- package/dist/chunk-VBP4DH37.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Operation } from 'fast-json-patch';
|
|
3
|
-
import {
|
|
3
|
+
import { ch as TtsProvider } from '../model-constants-CQr_d3Kw.cjs';
|
|
4
4
|
export { A as AssetRef, a as AssetRefSchema, M as MatchCutVerdict, b as MatchCutVerdictSchema, S as SceneMetadata, c as SceneMetadataSchema, d as SceneNodeData, e as SceneNodeDataSchema, f as ShotSpec, g as ShotSpecSchema, T as TransitionType, h as TransitionTypeSchema, s as sceneRenderStateRegistry } from '../scene-node-types-BSrTKnV7.cjs';
|
|
5
5
|
import '../model-catalog-B-aQnUS8.cjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Operation } from 'fast-json-patch';
|
|
3
|
-
import {
|
|
3
|
+
import { ch as TtsProvider } from '../model-constants-B5DNHIP8.js';
|
|
4
4
|
export { A as AssetRef, a as AssetRefSchema, M as MatchCutVerdict, b as MatchCutVerdictSchema, S as SceneMetadata, c as SceneMetadataSchema, d as SceneNodeData, e as SceneNodeDataSchema, f as ShotSpec, g as ShotSpecSchema, T as TransitionType, h as TransitionTypeSchema, s as sceneRenderStateRegistry } from '../scene-node-types-BSrTKnV7.js';
|
|
5
5
|
import '../model-catalog-B-aQnUS8.js';
|
|
6
6
|
|
package/dist/entries/pipeline.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ACTIVE_SCENE_HELPERS, ANIMATE_SUB_GATES, AddBRollResultSchema, AnchorSceneStyleResultSchema, AnimateSubGateSchema, AssetRefSchema, AuditImagesResultSchema, AuditImagesShotEntrySchema, AuditPromptIssueSchema, AuditPromptResultSchema, BridgeToNextSceneInputSchema, BridgeToNextSceneResultSchema, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CastCoverageCriticVerdictSchema, CharacterImageCriticVerdictSchema, CharacterMetadataSchema, ChatTurnResponseSchema, CriticIssueSchema, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DetectionResultSchema, EMOTIONAL_BEAT, ENTITY_STATUSES, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EntityMetadataSchema, EntityRejectInputSchema, EntityStaleEventSchema, EntityStateChangeEventSchema, FixContinuityInputSchema, FixContinuityResultSchema, GLOBAL_MAX_DURATION_SECONDS, GenerateMotionInputSchema, GenerateMotionResultSchema, HELPERS_SHIPPED_IN_1B3, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, ImageCriticIssueSchema, ImageCriticResultSchema, ImageCriticVerdictSchema, ImprovePromptInputSchema, ImprovePromptResultSchema, LocationImageCriticVerdictSchema, LocationMetadataSchema, LocationsCoverageCriticIssueSchema, LocationsCoverageCriticVerdictSchema, MATCH_CUT_BREAK_GATE, MAX_LOCATION_VARIANTS, MatchCutVerdictSchema, ObjectMetadataSchema, OptimizeForModelInputSchema, OptimizeForModelResultSchema, PER_FORMAT_DURATION_BOUNDS, PIPELINE_ACCEPTED_IMAGE_MODELS, PIPELINE_ACCEPTED_SCRIPT_LLMS, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_LEGACY_PINNED_IMAGE_MODELS, PIPELINE_LEGACY_PINNED_SCRIPT_LLMS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PipelineCompletedEventSchema, PipelineConfigSchema, PipelineDriftSummarySchema, PipelineEditorDecisionsReadyEventSchema, PipelineForkedEventSchema, PipelineInputSchema, PipelineMusicReadyEventSchema, PipelineStageNameSchema, PipelineStageStatusSchema, PipelineStateSchema, PipelineStatusSchema, SCENE_HELPER_NAMES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, STAGE_PATCH_SCHEMA, STUDIO_DEPENDENT_FRAMES_CAPABILITY, STUDIO_KEYFRAME_ACCEPTANCE_PRIVATE_KEYS, STUDIO_KEYFRAME_NODE_TRANSIENT_KEYS, STUDIO_KEYFRAME_REVIEW_KEYS, STUDIO_KEYFRAME_TRANSIENT_KEYS, STUDIO_PREVIZ_RUN_STATE_KEYS, STUDIO_SEQUENCE_PLANNING_KEYS, STUDIO_SEQUENCE_POLICY_KEYS, STUDIO_SEQUENCE_UNIT_MANIFEST_KEYS, STUDIO_SEQUENCE_UNIT_REVIEW_KEYS, STUDIO_SHOT_DRAFT_KEYS, STUDIO_SHOT_TRANSIENT_KEYS, STUDIO_TAKE_SEQUENCE_KEYS, STUDIO_TAKE_VOICE_KEYS, STUDIO_TRANSIENT_KEYS, SceneHelperNameSchema, SceneMetadataSchema, SceneNodeDataSchema, SceneSpecSchema, ScriptCriticVerdictSchema, SequenceExecutionRequiredError, ShotSpecSchema, ShowrunnerPlanSchema, StageAwaitingSubGateEventSchema, StoryboardCohesionCriticVerdictSchema, StyleDirectivesSchema, SubGateNameSchema, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TransitionTypeSchema, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_CRITIC_RESERVED_CREDITS_PER_SHOT, VOICE_FAVORITE_TYPES, VOICE_LIBRARY_DESCRIPTIVES, VOICE_LIBRARY_USE_CASES, ValidateMatchCutInputSchema, ValidateMatchCutResultSchema, VideoCriticVerdictSchema, VoiceMatchSchema, assertCanvasExecutionAllowed, clearImageCriticMetadata, clearVideoCriticMetadata, isCodecOwnedDocument, parseAttributedDialogue, requiresSequenceExecution, resolveDialogueVoices, resolvePipelineModel, sceneRenderStateRegistry, stripStudioDraftSettings, stripStudioDraftWorkflow, stripStudioTakeVoiceRecords, stripStudioTransientSettings, validateDurationForFormat, validateModeActivation, validateObjects } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { ACTIVE_SCENE_HELPERS, ANIMATE_SUB_GATES, AddBRollResultSchema, AnchorSceneStyleResultSchema, AnimateSubGateSchema, AssetRefSchema, AuditImagesResultSchema, AuditImagesShotEntrySchema, AuditPromptIssueSchema, AuditPromptResultSchema, BridgeToNextSceneInputSchema, BridgeToNextSceneResultSchema, CHAT_ENABLED_STAGES, CHAT_STAGES, CHAT_TURN_CAPS, CHAT_WIRED_STAGES, CastCoverageCriticVerdictSchema, CharacterImageCriticVerdictSchema, CharacterMetadataSchema, ChatTurnResponseSchema, CriticIssueSchema, DEFAULT_CHARACTER_ANGLE_COUNT, DEFAULT_CHARACTER_EXPRESSION_COUNT, DetectionResultSchema, EMOTIONAL_BEAT, ENTITY_STATUSES, ENTITY_TOOL_RETRY_CAP, ENTITY_TYPES, EntityMetadataSchema, EntityRejectInputSchema, EntityStaleEventSchema, EntityStateChangeEventSchema, FixContinuityInputSchema, FixContinuityResultSchema, GLOBAL_MAX_DURATION_SECONDS, GenerateMotionInputSchema, GenerateMotionResultSchema, HELPERS_SHIPPED_IN_1B3, IMAGE_CRITIC_LEAF_MODES, IMAGE_CRITIC_MAX_RETRIES, IMAGE_CRITIC_METADATA_KEYS, IMAGE_CRITIC_MIN_ADHERENCE_SCORE, IMAGE_CRITIC_MODES, IMAGE_CRITIC_UNRESOLVABLE, ImageCriticIssueSchema, ImageCriticResultSchema, ImageCriticVerdictSchema, ImprovePromptInputSchema, ImprovePromptResultSchema, LocationImageCriticVerdictSchema, LocationMetadataSchema, LocationsCoverageCriticIssueSchema, LocationsCoverageCriticVerdictSchema, MATCH_CUT_BREAK_GATE, MAX_LOCATION_VARIANTS, MatchCutVerdictSchema, ObjectMetadataSchema, OptimizeForModelInputSchema, OptimizeForModelResultSchema, PER_FORMAT_DURATION_BOUNDS, PIPELINE_ACCEPTED_IMAGE_MODELS, PIPELINE_ACCEPTED_SCRIPT_LLMS, PIPELINE_ACTIVATION_MODES, PIPELINE_FORMATS, PIPELINE_HARD_TIMEOUT_MS, PIPELINE_LEGACY_PINNED_IMAGE_MODELS, PIPELINE_LEGACY_PINNED_SCRIPT_LLMS, PIPELINE_MODEL_STAGES, PIPELINE_MODES, PIPELINE_OUTPUT_RESOLUTIONS, PIPELINE_PINNABLE_IMAGE_MODELS, PIPELINE_PINNABLE_SCRIPT_LLMS, PIPELINE_PINNABLE_VIDEO_MODELS, PIPELINE_STAGE_NAMES, PIPELINE_STAGE_TIMEOUT_MS, PIPELINE_TYPES, PipelineCompletedEventSchema, PipelineConfigSchema, PipelineDriftSummarySchema, PipelineEditorDecisionsReadyEventSchema, PipelineForkedEventSchema, PipelineInputSchema, PipelineMusicReadyEventSchema, PipelineStageNameSchema, PipelineStageStatusSchema, PipelineStateSchema, PipelineStatusSchema, SCENE_HELPER_NAMES, SHORT_FILM_ANGLE_COUNT, SHORT_FILM_EXPRESSION_COUNT, SHORT_FILM_VARIANT_THRESHOLD_SEC, STAGE_PATCH_SCHEMA, STUDIO_DEPENDENT_FRAMES_CAPABILITY, STUDIO_KEYFRAME_ACCEPTANCE_PRIVATE_KEYS, STUDIO_KEYFRAME_NODE_TRANSIENT_KEYS, STUDIO_KEYFRAME_REVIEW_KEYS, STUDIO_KEYFRAME_TRANSIENT_KEYS, STUDIO_PREVIZ_RUN_STATE_KEYS, STUDIO_SEQUENCE_PLANNING_KEYS, STUDIO_SEQUENCE_POLICY_KEYS, STUDIO_SEQUENCE_UNIT_MANIFEST_KEYS, STUDIO_SEQUENCE_UNIT_REVIEW_KEYS, STUDIO_SHOT_DRAFT_KEYS, STUDIO_SHOT_TRANSIENT_KEYS, STUDIO_TAKE_SEQUENCE_KEYS, STUDIO_TAKE_VOICE_KEYS, STUDIO_TRANSIENT_KEYS, SceneHelperNameSchema, SceneMetadataSchema, SceneNodeDataSchema, SceneSpecSchema, ScriptCriticVerdictSchema, SequenceExecutionRequiredError, ShotSpecSchema, ShowrunnerPlanSchema, StageAwaitingSubGateEventSchema, StoryboardCohesionCriticVerdictSchema, StyleDirectivesSchema, SubGateNameSchema, TIER_MAX_PIPELINE_COST_CREDITS, TIER_PIPELINE_PARALLELISM, TransitionTypeSchema, VIDEO_CRITIC_FRAME_MODES, VIDEO_CRITIC_MAX_RETRIES, VIDEO_CRITIC_METADATA_KEYS, VIDEO_CRITIC_MIN_ADHERENCE_SCORE, VIDEO_CRITIC_RESERVED_CREDITS_PER_SHOT, VOICE_FAVORITE_TYPES, VOICE_LIBRARY_DESCRIPTIVES, VOICE_LIBRARY_USE_CASES, ValidateMatchCutInputSchema, ValidateMatchCutResultSchema, VideoCriticVerdictSchema, VoiceMatchSchema, assertCanvasExecutionAllowed, clearImageCriticMetadata, clearVideoCriticMetadata, isCodecOwnedDocument, parseAttributedDialogue, requiresSequenceExecution, resolveDialogueVoices, resolvePipelineModel, sceneRenderStateRegistry, stripStudioDraftSettings, stripStudioDraftWorkflow, stripStudioTakeVoiceRecords, stripStudioTransientSettings, validateDurationForFormat, validateModeActivation, validateObjects } from '../chunk-7OSUEYZ4.js';
|
|
2
|
+
import '../chunk-DNWFFVC6.js';
|
|
3
|
+
import '../chunk-FUYBUT65.js';
|
|
4
4
|
//# sourceMappingURL=pipeline.js.map
|
|
5
5
|
//# sourceMappingURL=pipeline.js.map
|
|
@@ -1,120 +1,144 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTZWXZDSX_cjs = require('../chunk-TZWXZDSX.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Object.defineProperty(exports, "ALLOW_LIST_EXEMPT_NODE_TYPES", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTZWXZDSX_cjs.ALLOW_LIST_EXEMPT_NODE_TYPES; }
|
|
10
|
+
});
|
|
7
11
|
Object.defineProperty(exports, "RUNTIME_CONFIG_GLOBAL", {
|
|
8
12
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkTZWXZDSX_cjs.RUNTIME_CONFIG_GLOBAL; }
|
|
10
14
|
});
|
|
11
15
|
Object.defineProperty(exports, "RUNTIME_CONFIG_KEYS", {
|
|
12
16
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkTZWXZDSX_cjs.RUNTIME_CONFIG_KEYS; }
|
|
14
18
|
});
|
|
15
19
|
Object.defineProperty(exports, "RUNTIME_SURFACE_DEFAULT", {
|
|
16
20
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkTZWXZDSX_cjs.RUNTIME_SURFACE_DEFAULT; }
|
|
18
22
|
});
|
|
19
23
|
Object.defineProperty(exports, "SURFACE_CATALOG_IMAGES", {
|
|
20
24
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkTZWXZDSX_cjs.SURFACE_CATALOG_IMAGES; }
|
|
22
26
|
});
|
|
23
27
|
Object.defineProperty(exports, "SURFACE_HEADER_MODES", {
|
|
24
28
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkTZWXZDSX_cjs.SURFACE_HEADER_MODES; }
|
|
26
30
|
});
|
|
27
31
|
Object.defineProperty(exports, "UI_STRING_PRODUCTS", {
|
|
28
32
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkTZWXZDSX_cjs.UI_STRING_PRODUCTS; }
|
|
30
34
|
});
|
|
31
35
|
Object.defineProperty(exports, "WORLD_IDS", {
|
|
32
36
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTZWXZDSX_cjs.WORLD_IDS; }
|
|
34
38
|
});
|
|
35
39
|
Object.defineProperty(exports, "WORLD_REQUIRED_NODE_TYPES", {
|
|
36
40
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTZWXZDSX_cjs.WORLD_REQUIRED_NODE_TYPES; }
|
|
38
42
|
});
|
|
39
43
|
Object.defineProperty(exports, "buildUiStringManifest", {
|
|
40
44
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTZWXZDSX_cjs.buildUiStringManifest; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "isAllowListGatedNodeType", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkTZWXZDSX_cjs.isAllowListGatedNodeType; }
|
|
42
50
|
});
|
|
43
51
|
Object.defineProperty(exports, "isBrandLogoRef", {
|
|
44
52
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTZWXZDSX_cjs.isBrandLogoRef; }
|
|
46
54
|
});
|
|
47
55
|
Object.defineProperty(exports, "isHttpsOrigin", {
|
|
48
56
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkTZWXZDSX_cjs.isHttpsOrigin; }
|
|
50
58
|
});
|
|
51
59
|
Object.defineProperty(exports, "isLegacyUiHost", {
|
|
52
60
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkTZWXZDSX_cjs.isLegacyUiHost; }
|
|
54
62
|
});
|
|
55
63
|
Object.defineProperty(exports, "isSameSitePath", {
|
|
56
64
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkTZWXZDSX_cjs.isSameSitePath; }
|
|
58
66
|
});
|
|
59
67
|
Object.defineProperty(exports, "isSsoOnly", {
|
|
60
68
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkTZWXZDSX_cjs.isSsoOnly; }
|
|
62
70
|
});
|
|
63
71
|
Object.defineProperty(exports, "isWorldId", {
|
|
64
72
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkTZWXZDSX_cjs.isWorldId; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "listsSet", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return chunkTZWXZDSX_cjs.listsSet; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "listsWithhold", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return chunkTZWXZDSX_cjs.listsWithhold; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "nodeListsWithhold", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return chunkTZWXZDSX_cjs.nodeListsWithhold; }
|
|
66
86
|
});
|
|
67
87
|
Object.defineProperty(exports, "orderWorlds", {
|
|
68
88
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkTZWXZDSX_cjs.orderWorlds; }
|
|
70
90
|
});
|
|
71
91
|
Object.defineProperty(exports, "parseRuntimeConfig", {
|
|
72
92
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkTZWXZDSX_cjs.parseRuntimeConfig; }
|
|
74
94
|
});
|
|
75
95
|
Object.defineProperty(exports, "parseRuntimeStrings", {
|
|
76
96
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkTZWXZDSX_cjs.parseRuntimeStrings; }
|
|
78
98
|
});
|
|
79
99
|
Object.defineProperty(exports, "parseRuntimeSurface", {
|
|
80
100
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkTZWXZDSX_cjs.parseRuntimeSurface; }
|
|
82
102
|
});
|
|
83
103
|
Object.defineProperty(exports, "readRuntimeConfig", {
|
|
84
104
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkTZWXZDSX_cjs.readRuntimeConfig; }
|
|
86
106
|
});
|
|
87
107
|
Object.defineProperty(exports, "resolveRuntimeApiBase", {
|
|
88
108
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkTZWXZDSX_cjs.resolveRuntimeApiBase; }
|
|
90
110
|
});
|
|
91
111
|
Object.defineProperty(exports, "resolveRuntimeSupabaseUrl", {
|
|
92
112
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkTZWXZDSX_cjs.resolveRuntimeSupabaseUrl; }
|
|
94
114
|
});
|
|
95
115
|
Object.defineProperty(exports, "surfaceRequiresSignIn", {
|
|
96
116
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkTZWXZDSX_cjs.surfaceRequiresSignIn; }
|
|
98
118
|
});
|
|
99
119
|
Object.defineProperty(exports, "surfaceStringOverride", {
|
|
100
120
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkTZWXZDSX_cjs.surfaceStringOverride; }
|
|
102
122
|
});
|
|
103
123
|
Object.defineProperty(exports, "surfaceUnitLabel", {
|
|
104
124
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkTZWXZDSX_cjs.surfaceUnitLabel; }
|
|
106
126
|
});
|
|
107
127
|
Object.defineProperty(exports, "uiStringManifestFile", {
|
|
108
128
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkTZWXZDSX_cjs.uiStringManifestFile; }
|
|
110
130
|
});
|
|
111
131
|
Object.defineProperty(exports, "uiStringPlaceholders", {
|
|
112
132
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkTZWXZDSX_cjs.uiStringPlaceholders; }
|
|
114
134
|
});
|
|
115
135
|
Object.defineProperty(exports, "worldAllowed", {
|
|
116
136
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkTZWXZDSX_cjs.worldAllowed; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "worldOffered", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return chunkTZWXZDSX_cjs.worldOffered; }
|
|
118
142
|
});
|
|
119
143
|
//# sourceMappingURL=runtime-config.cjs.map
|
|
120
144
|
//# sourceMappingURL=runtime-config.cjs.map
|
|
@@ -45,9 +45,61 @@ interface SurfaceWorlds {
|
|
|
45
45
|
}
|
|
46
46
|
/** Does the profile's allowlist let this world through? (Node availability is checked separately.) */
|
|
47
47
|
declare function worldAllowed(worlds: SurfaceWorlds | undefined, id: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether a world is offered: the profile's allowlist lets it through and none
|
|
50
|
+
* of the node types it runs (`WORLD_REQUIRED_NODE_TYPES`) is withheld, as
|
|
51
|
+
* `nodeWithheld` judges them: the platform per viewer, or a client by the
|
|
52
|
+
* deployment's own lists (`nodeListsWithhold`) before the platform's answer.
|
|
53
|
+
*/
|
|
54
|
+
declare function worldOffered(worlds: SurfaceWorlds | undefined, id: WorldId, nodeWithheld: (type: string) => boolean): boolean;
|
|
48
55
|
/** Every world, `order`'s known ids first (each once), then the rest in canonical order. */
|
|
49
56
|
declare function orderWorlds(order?: readonly string[]): WorldId[];
|
|
50
57
|
|
|
58
|
+
/**
|
|
59
|
+
* How a deployment's own lists withhold what it offers: `surface.nodes` and
|
|
60
|
+
* `surface.models` in its runtime configuration, each an `allow` / `deny`
|
|
61
|
+
* pair. This is the platform's rule before any admin setting (Admin →
|
|
62
|
+
* Availability can replace the lists, and switches models off); a client
|
|
63
|
+
* applies it the same way before the platform's per-viewer answer
|
|
64
|
+
* (`GET /v1/surface/availability`) has arrived, or after it could not be read,
|
|
65
|
+
* so a restricted deployment is judged by its own lists from the first paint.
|
|
66
|
+
* The worlds' half is `worldOffered` (worlds.ts).
|
|
67
|
+
*
|
|
68
|
+
* Structural vocabulary only (ids and node-type names), no content.
|
|
69
|
+
*/
|
|
70
|
+
/** One kind's lists (`surface.nodes`, `surface.models`). */
|
|
71
|
+
interface SurfaceAllowDeny {
|
|
72
|
+
readonly allow: readonly string[];
|
|
73
|
+
readonly deny: readonly string[];
|
|
74
|
+
}
|
|
75
|
+
/** Whether a kind's lists say anything: either one names an id. */
|
|
76
|
+
declare function listsSet(lists: SurfaceAllowDeny | undefined): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether `lists` withhold `id`. A non-empty `allow` is a whitelist: it
|
|
79
|
+
* withholds every id outside it that it governs (`gated`: a whitelist only
|
|
80
|
+
* inverts over the ids an operator can see and set). `deny` withholds every
|
|
81
|
+
* id it names, governed or not, and wins over `allow`.
|
|
82
|
+
*/
|
|
83
|
+
declare function listsWithhold(lists: SurfaceAllowDeny, id: string, gated: (id: string) => boolean): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Node types an `allow` list never withholds by leaving them out, so only
|
|
86
|
+
* `deny` withholds them: the canvas's utility nodes (they cost nothing and run
|
|
87
|
+
* nothing, and a whitelist that forgot the sticky note must not take away the
|
|
88
|
+
* canvas's notes) and Site Capture (an install switch governs it). The
|
|
89
|
+
* platform's own registry is held to this list.
|
|
90
|
+
*/
|
|
91
|
+
declare const ALLOW_LIST_EXEMPT_NODE_TYPES: readonly string[];
|
|
92
|
+
/** Whether a node whitelist governs `type`: every node type but {@link ALLOW_LIST_EXEMPT_NODE_TYPES}. */
|
|
93
|
+
declare function isAllowListGatedNodeType(type: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Whether a deployment's node lists withhold `type`: {@link listsWithhold}
|
|
96
|
+
* over the node types a whitelist governs, and a capability that follows a
|
|
97
|
+
* denied node. `gated` is the caller's universe; by default
|
|
98
|
+
* {@link isAllowListGatedNodeType}, which governs a type it has never heard of
|
|
99
|
+
* (a client then withholds it rather than offering it).
|
|
100
|
+
*/
|
|
101
|
+
declare function nodeListsWithhold(nodes: SurfaceAllowDeny, type: string, gated?: (type: string) => boolean): boolean;
|
|
102
|
+
|
|
51
103
|
/**
|
|
52
104
|
* The deployment runtime config — the object a Nodaro platform container
|
|
53
105
|
* writes to `/config.js` at boot as `window.__NODARO_RUNTIME__`, and that every
|
|
@@ -330,4 +382,4 @@ declare function parseRuntimeConfig(raw: unknown): NodaroRuntimeConfig;
|
|
|
330
382
|
/** Read and parse the runtime config `/config.js` set on `scope` (default: the global object). */
|
|
331
383
|
declare function readRuntimeConfig(scope?: unknown): NodaroRuntimeConfig;
|
|
332
384
|
|
|
333
|
-
export { type NodaroRuntimeConfig, RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, type RuntimeConfigKey, type RuntimeSurface, type RuntimeSurfaceBilling, type RuntimeSurfaceBrand, type RuntimeSurfaceSibling, type RuntimeSurfaceStrings, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, type SurfaceCatalogImages, type SurfaceHeaderMode, type SurfaceWorlds, UI_STRING_PRODUCTS, type UiStringManifest, type UiStringProduct, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, type WorldId, buildUiStringManifest, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed };
|
|
385
|
+
export { ALLOW_LIST_EXEMPT_NODE_TYPES, type NodaroRuntimeConfig, RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, type RuntimeConfigKey, type RuntimeSurface, type RuntimeSurfaceBilling, type RuntimeSurfaceBrand, type RuntimeSurfaceSibling, type RuntimeSurfaceStrings, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, type SurfaceAllowDeny, type SurfaceCatalogImages, type SurfaceHeaderMode, type SurfaceWorlds, UI_STRING_PRODUCTS, type UiStringManifest, type UiStringProduct, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, type WorldId, buildUiStringManifest, isAllowListGatedNodeType, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, listsSet, listsWithhold, nodeListsWithhold, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed, worldOffered };
|
|
@@ -45,9 +45,61 @@ interface SurfaceWorlds {
|
|
|
45
45
|
}
|
|
46
46
|
/** Does the profile's allowlist let this world through? (Node availability is checked separately.) */
|
|
47
47
|
declare function worldAllowed(worlds: SurfaceWorlds | undefined, id: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether a world is offered: the profile's allowlist lets it through and none
|
|
50
|
+
* of the node types it runs (`WORLD_REQUIRED_NODE_TYPES`) is withheld, as
|
|
51
|
+
* `nodeWithheld` judges them: the platform per viewer, or a client by the
|
|
52
|
+
* deployment's own lists (`nodeListsWithhold`) before the platform's answer.
|
|
53
|
+
*/
|
|
54
|
+
declare function worldOffered(worlds: SurfaceWorlds | undefined, id: WorldId, nodeWithheld: (type: string) => boolean): boolean;
|
|
48
55
|
/** Every world, `order`'s known ids first (each once), then the rest in canonical order. */
|
|
49
56
|
declare function orderWorlds(order?: readonly string[]): WorldId[];
|
|
50
57
|
|
|
58
|
+
/**
|
|
59
|
+
* How a deployment's own lists withhold what it offers: `surface.nodes` and
|
|
60
|
+
* `surface.models` in its runtime configuration, each an `allow` / `deny`
|
|
61
|
+
* pair. This is the platform's rule before any admin setting (Admin →
|
|
62
|
+
* Availability can replace the lists, and switches models off); a client
|
|
63
|
+
* applies it the same way before the platform's per-viewer answer
|
|
64
|
+
* (`GET /v1/surface/availability`) has arrived, or after it could not be read,
|
|
65
|
+
* so a restricted deployment is judged by its own lists from the first paint.
|
|
66
|
+
* The worlds' half is `worldOffered` (worlds.ts).
|
|
67
|
+
*
|
|
68
|
+
* Structural vocabulary only (ids and node-type names), no content.
|
|
69
|
+
*/
|
|
70
|
+
/** One kind's lists (`surface.nodes`, `surface.models`). */
|
|
71
|
+
interface SurfaceAllowDeny {
|
|
72
|
+
readonly allow: readonly string[];
|
|
73
|
+
readonly deny: readonly string[];
|
|
74
|
+
}
|
|
75
|
+
/** Whether a kind's lists say anything: either one names an id. */
|
|
76
|
+
declare function listsSet(lists: SurfaceAllowDeny | undefined): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Whether `lists` withhold `id`. A non-empty `allow` is a whitelist: it
|
|
79
|
+
* withholds every id outside it that it governs (`gated`: a whitelist only
|
|
80
|
+
* inverts over the ids an operator can see and set). `deny` withholds every
|
|
81
|
+
* id it names, governed or not, and wins over `allow`.
|
|
82
|
+
*/
|
|
83
|
+
declare function listsWithhold(lists: SurfaceAllowDeny, id: string, gated: (id: string) => boolean): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Node types an `allow` list never withholds by leaving them out, so only
|
|
86
|
+
* `deny` withholds them: the canvas's utility nodes (they cost nothing and run
|
|
87
|
+
* nothing, and a whitelist that forgot the sticky note must not take away the
|
|
88
|
+
* canvas's notes) and Site Capture (an install switch governs it). The
|
|
89
|
+
* platform's own registry is held to this list.
|
|
90
|
+
*/
|
|
91
|
+
declare const ALLOW_LIST_EXEMPT_NODE_TYPES: readonly string[];
|
|
92
|
+
/** Whether a node whitelist governs `type`: every node type but {@link ALLOW_LIST_EXEMPT_NODE_TYPES}. */
|
|
93
|
+
declare function isAllowListGatedNodeType(type: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Whether a deployment's node lists withhold `type`: {@link listsWithhold}
|
|
96
|
+
* over the node types a whitelist governs, and a capability that follows a
|
|
97
|
+
* denied node. `gated` is the caller's universe; by default
|
|
98
|
+
* {@link isAllowListGatedNodeType}, which governs a type it has never heard of
|
|
99
|
+
* (a client then withholds it rather than offering it).
|
|
100
|
+
*/
|
|
101
|
+
declare function nodeListsWithhold(nodes: SurfaceAllowDeny, type: string, gated?: (type: string) => boolean): boolean;
|
|
102
|
+
|
|
51
103
|
/**
|
|
52
104
|
* The deployment runtime config — the object a Nodaro platform container
|
|
53
105
|
* writes to `/config.js` at boot as `window.__NODARO_RUNTIME__`, and that every
|
|
@@ -330,4 +382,4 @@ declare function parseRuntimeConfig(raw: unknown): NodaroRuntimeConfig;
|
|
|
330
382
|
/** Read and parse the runtime config `/config.js` set on `scope` (default: the global object). */
|
|
331
383
|
declare function readRuntimeConfig(scope?: unknown): NodaroRuntimeConfig;
|
|
332
384
|
|
|
333
|
-
export { type NodaroRuntimeConfig, RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, type RuntimeConfigKey, type RuntimeSurface, type RuntimeSurfaceBilling, type RuntimeSurfaceBrand, type RuntimeSurfaceSibling, type RuntimeSurfaceStrings, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, type SurfaceCatalogImages, type SurfaceHeaderMode, type SurfaceWorlds, UI_STRING_PRODUCTS, type UiStringManifest, type UiStringProduct, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, type WorldId, buildUiStringManifest, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed };
|
|
385
|
+
export { ALLOW_LIST_EXEMPT_NODE_TYPES, type NodaroRuntimeConfig, RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, type RuntimeConfigKey, type RuntimeSurface, type RuntimeSurfaceBilling, type RuntimeSurfaceBrand, type RuntimeSurfaceSibling, type RuntimeSurfaceStrings, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, type SurfaceAllowDeny, type SurfaceCatalogImages, type SurfaceHeaderMode, type SurfaceWorlds, UI_STRING_PRODUCTS, type UiStringManifest, type UiStringProduct, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, type WorldId, buildUiStringManifest, isAllowListGatedNodeType, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, listsSet, listsWithhold, nodeListsWithhold, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed, worldOffered };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, UI_STRING_PRODUCTS, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, buildUiStringManifest, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed } from '../chunk-
|
|
1
|
+
export { ALLOW_LIST_EXEMPT_NODE_TYPES, RUNTIME_CONFIG_GLOBAL, RUNTIME_CONFIG_KEYS, RUNTIME_SURFACE_DEFAULT, SURFACE_CATALOG_IMAGES, SURFACE_HEADER_MODES, UI_STRING_PRODUCTS, WORLD_IDS, WORLD_REQUIRED_NODE_TYPES, buildUiStringManifest, isAllowListGatedNodeType, isBrandLogoRef, isHttpsOrigin, isLegacyUiHost, isSameSitePath, isSsoOnly, isWorldId, listsSet, listsWithhold, nodeListsWithhold, orderWorlds, parseRuntimeConfig, parseRuntimeStrings, parseRuntimeSurface, readRuntimeConfig, resolveRuntimeApiBase, resolveRuntimeSupabaseUrl, surfaceRequiresSignIn, surfaceStringOverride, surfaceUnitLabel, uiStringManifestFile, uiStringPlaceholders, worldAllowed, worldOffered } from '../chunk-NPGP6FMU.js';
|
|
2
2
|
//# sourceMappingURL=runtime-config.js.map
|
|
3
3
|
//# sourceMappingURL=runtime-config.js.map
|