@cueframe/kernel 0.2.58 → 0.2.59-rc.1
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/_members/account-model/testing/conversationStoreContract.d.ts +3 -4
- package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +3 -4
- package/dist/_members/account-model/validators/index.d.ts +0 -1
- package/dist/_members/animate/index.d.ts +0 -2
- package/dist/_members/authoring/index.d.ts +1 -1
- package/dist/_members/authoring/prompts/index.d.ts +0 -1
- package/dist/_members/authoring/resources.d.ts +2 -11
- package/dist/_members/cloud-import/CloudImportService.d.ts +0 -1
- package/dist/_members/cloud-import/index.d.ts +0 -2
- package/dist/_members/component-runtime/allowedImports.d.ts +6 -0
- package/dist/_members/component-runtime/allowedImports.d.ts.map +1 -1
- package/dist/_members/component-runtime/browserIdentity.d.ts +2 -12
- package/dist/_members/component-runtime/browserIdentity.d.ts.map +1 -1
- package/dist/_members/component-runtime/canonicalIdentity.d.ts +8 -1
- package/dist/_members/component-runtime/canonicalIdentity.d.ts.map +1 -1
- package/dist/_members/component-runtime/contracts.d.ts +2 -1
- package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
- package/dist/_members/component-runtime/identity.d.ts +2 -3
- package/dist/_members/component-runtime/identity.d.ts.map +1 -1
- package/dist/_members/component-runtime/importPolicy.d.ts +5 -0
- package/dist/_members/component-runtime/importPolicy.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/checks.d.ts +71 -0
- package/dist/_members/component-runtime/template/checks.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/extract.d.ts +4 -0
- package/dist/_members/component-runtime/template/extract.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/index.d.ts +1 -0
- package/dist/_members/component-runtime/template/index.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/schema.d.ts +14 -13
- package/dist/_members/component-runtime/template/schema.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +3 -4
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -1
- package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts +15 -0
- package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts.map +1 -0
- package/dist/_members/component-runtime/webglProbe.d.ts.map +1 -1
- package/dist/_members/compose/index.d.ts +1 -1
- package/dist/_members/compose/primitiveRegistry.d.ts +0 -2
- package/dist/_members/composition/audio/audioMix.d.ts +0 -1
- package/dist/_members/composition/audio/mixStaging.d.ts +0 -5
- package/dist/_members/composition/fixtures/index.d.ts +0 -1
- package/dist/_members/composition/graphics-plan/index.d.ts +0 -2
- package/dist/_members/composition/graphics-plan/schemas.d.ts +4 -4
- package/dist/_members/composition/invariants/etag.d.ts +0 -1
- package/dist/_members/composition/invariants/index.d.ts +0 -1
- package/dist/_members/composition/ops/compositionOps.d.ts +0 -1
- package/dist/_members/composition/ops/compositionOps.shared.d.ts +6 -0
- package/dist/_members/composition/ops/index.d.ts +2 -1
- package/dist/_members/composition/primitive-catalog/index.d.ts +0 -2
- package/dist/_members/composition/projection/behind-readiness.d.ts +0 -6
- package/dist/_members/composition/timeline/link.d.ts +0 -4
- package/dist/_members/composition/timeline/plan.d.ts +0 -1
- package/dist/_members/composition/validators/brandKit.d.ts +4 -4
- package/dist/_members/composition/validators/brandKitBody.d.ts +8 -8
- package/dist/_members/composition/validators/cardHtml.d.ts +11 -0
- package/dist/_members/composition/validators/composition.d.ts +2 -5
- package/dist/_members/composition/validators/css-tree-subpaths.d.ts +16 -0
- package/dist/_members/composition/validators/index.d.ts +0 -3
- package/dist/_members/composition/validators/session.d.ts +3 -3
- package/dist/_members/composition/validators/webhook.d.ts +4 -4
- package/dist/_members/composition-ops/alphaLayers.d.ts +0 -5
- package/dist/_members/composition-ops/index.d.ts +2 -2
- package/dist/_members/composition-ops/opRecorder.d.ts +23 -3
- package/dist/_members/core/render/exportSettings.d.ts +4 -2
- package/dist/_members/core/render/index.d.ts +1 -1
- package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -1
- package/dist/_members/director/ai-sdk/index.d.ts +0 -1
- package/dist/_members/director/ai-sdk/messages.d.ts +0 -1
- package/dist/_members/director/domain/chat.d.ts +0 -78
- package/dist/_members/director/domain/index.d.ts +0 -1
- package/dist/_members/errors/registry.d.ts +6 -0
- package/dist/_members/foundation/canonical/index.d.ts +14 -0
- package/dist/_members/foundation/index.d.ts +1 -1
- package/dist/_members/foundation/primitives/index.d.ts +0 -2
- package/dist/_members/foundation/testing/index.d.ts +1 -0
- package/dist/_members/foundation/testing/knownRed.d.ts +13 -0
- package/dist/_members/mcp/adapter.d.ts +21 -0
- package/dist/_members/mcp/compositionOps.d.ts +10 -0
- package/dist/_members/mcp/server.d.ts +0 -5
- package/dist/_members/mcp/wait.d.ts +3 -1
- package/dist/_members/media-model/generation.d.ts +0 -25
- package/dist/_members/nle-export/xml-utils.d.ts +0 -8
- package/dist/_members/plane/conformance.d.ts +20 -0
- package/dist/_members/primitives/index.d.ts +1 -11
- package/dist/_members/primitives/lib/index.d.ts +1 -1
- package/dist/_members/primitives/lib/tokens.d.ts +0 -16
- package/dist/_members/render-harness/cardAssetAdmission.d.ts +1 -0
- package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
- package/dist/_members/render-harness/mediaServer.d.ts +6 -1
- package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
- package/dist/account-model/testing.js +15 -5
- package/dist/account-model/validators.js +5 -7
- package/dist/account-model.js +5 -7
- package/dist/animate/preparation-facts.js +1 -1
- package/dist/animate.js +2 -6
- package/dist/authoring/composer.js +1 -1
- package/dist/authoring/context.js +8 -7
- package/dist/authoring/models/defaults.d.ts +1 -0
- package/dist/authoring/models/defaults.js +7 -0
- package/dist/authoring/models.js +5 -3
- package/dist/authoring/motion.d.ts +1 -0
- package/dist/authoring/motion.js +25 -0
- package/dist/authoring/prompts.js +4 -14
- package/dist/authoring/providers.js +1 -1
- package/dist/authoring/resource-routing.js +2 -2
- package/dist/authoring/resources.js +4 -22
- package/dist/authoring/scene.js +3 -2
- package/dist/authoring.js +662 -219
- package/dist/brand-derivation/constants.js +1 -1
- package/dist/brand-derivation.js +1 -1
- package/dist/{chunk-LBJ5LI5V.js → chunk-2K2GBFLU.js} +17 -8
- package/dist/{chunk-RAXHCRVV.js → chunk-2PAP5LO5.js} +1 -1
- package/dist/{chunk-MNO6AO2J.js → chunk-3HLDIIWA.js} +1 -1
- package/dist/{chunk-PTVTWQ4T.js → chunk-3JEUNKDK.js} +2 -2
- package/dist/chunk-3VWJ3H4X.js +68 -0
- package/dist/{chunk-S5H6GH6M.js → chunk-3Z7CN54H.js} +1 -1
- package/dist/{chunk-FVDFPJHT.js → chunk-46WBCUPE.js} +1 -1
- package/dist/chunk-4VBLQIM5.js +30 -0
- package/dist/{chunk-N2OZDD44.js → chunk-6HA55CRU.js} +4 -5
- package/dist/{chunk-WL2MLKWU.js → chunk-6HPEMDQW.js} +1 -1
- package/dist/{chunk-PWWZTY3G.js → chunk-6KZCXAYL.js} +5 -2
- package/dist/{chunk-IEXAKOEX.js → chunk-6QGARSV6.js} +2 -15
- package/dist/{chunk-3YVIAWET.js → chunk-7II5OM7R.js} +13 -1
- package/dist/{chunk-UFD4EZHM.js → chunk-AFUITAH6.js} +4 -5
- package/dist/{chunk-HGCYZMII.js → chunk-AK6QPX7A.js} +9 -9
- package/dist/{chunk-EC6VFQE6.js → chunk-BZVOCVQV.js} +1 -0
- package/dist/{chunk-RBWS5XHE.js → chunk-CAF7BRNE.js} +2 -2
- package/dist/{chunk-TR53N6HB.js → chunk-CEO47DIE.js} +6 -3
- package/dist/chunk-CIOUDOGN.js +12 -0
- package/dist/{chunk-GQ6XGAFB.js → chunk-DCKADD5B.js} +1 -1
- package/dist/{chunk-4NIJWK45.js → chunk-EISHFHU5.js} +0 -8
- package/dist/chunk-EQH37KNZ.js +224 -0
- package/dist/{chunk-EXY4JJPH.js → chunk-F6PLDBAK.js} +2 -11
- package/dist/{chunk-DAARYRNT.js → chunk-FKSXKS35.js} +6 -6
- package/dist/{chunk-KBDUEU4W.js → chunk-FZB7UX44.js} +1 -1
- package/dist/chunk-H2ZZXISB.js +24 -0
- package/dist/{chunk-WSMCZRJ2.js → chunk-I2HNC4PQ.js} +1 -1
- package/dist/{chunk-NVXSKKRN.js → chunk-IUJABAG2.js} +14 -10
- package/dist/{chunk-7NIOFHMH.js → chunk-IVFMOHAC.js} +1 -9
- package/dist/{chunk-UKDBU7HM.js → chunk-JNBNDHEF.js} +3 -3
- package/dist/{chunk-JWMWVP64.js → chunk-KC4LNZL5.js} +4 -9
- package/dist/{chunk-GCQ7Z7S7.js → chunk-KKATUGRU.js} +3 -9
- package/dist/{chunk-Q5P5UFOP.js → chunk-KLQ53NX3.js} +13 -1
- package/dist/{chunk-UMXES6ED.js → chunk-LVMWPFV4.js} +1 -1
- package/dist/{chunk-TKFLSGAS.js → chunk-MMJYII7Y.js} +5 -5
- package/dist/{chunk-REST55RC.js → chunk-NECN7TT4.js} +5 -4
- package/dist/{chunk-4ZE564YF.js → chunk-NM7NWXGF.js} +0 -146
- package/dist/{chunk-5T655LYZ.js → chunk-NY6EI5YW.js} +4 -4
- package/dist/{chunk-UXRSEMJJ.js → chunk-ONSGT6UJ.js} +66 -35
- package/dist/{chunk-VZ7TYX6Z.js → chunk-P3EFZDM5.js} +0 -17
- package/dist/{chunk-BEFSJMFF.js → chunk-P6RVYHLT.js} +9 -9
- package/dist/{chunk-TBHSOEYK.js → chunk-PLWDYWK6.js} +4 -34
- package/dist/{chunk-KYRDKK2D.js → chunk-Q6CJ6HCU.js} +1 -6
- package/dist/{chunk-FWSJLHSV.js → chunk-R642352J.js} +1 -1
- package/dist/{chunk-XELS2BGA.js → chunk-R6HTIP3N.js} +1 -3
- package/dist/{chunk-RL5SO653.js → chunk-RQRPSSRT.js} +1 -1
- package/dist/chunk-RR7UBEBV.js +172 -0
- package/dist/{chunk-FHMTAZD4.js → chunk-RWJHZCOR.js} +1 -71
- package/dist/{chunk-73DQTUWY.js → chunk-TIAJMEQ4.js} +2 -22
- package/dist/{chunk-2ESYSVXG.js → chunk-U67V476Y.js} +2 -15
- package/dist/{chunk-3VLDQE26.js → chunk-U7KSOA2L.js} +4 -21
- package/dist/{chunk-VLJOIUHL.js → chunk-UGEUB763.js} +6 -6
- package/dist/{chunk-K66NLMGX.js → chunk-UGWJC4GA.js} +62 -18
- package/dist/chunk-VBYINB74.js +136 -0
- package/dist/{chunk-W2245F6G.js → chunk-WTQRLFR2.js} +1 -1
- package/dist/{chunk-JN3GF36B.js → chunk-X2RTLS6K.js} +2 -23
- package/dist/chunk-XHMKPTHV.js +20 -0
- package/dist/{chunk-2L33CKIY.js → chunk-XOT2VWCO.js} +18 -31
- package/dist/{chunk-AK5QBHOB.js → chunk-XQGQ5EFS.js} +10 -1
- package/dist/chunk-XR76OZKC.js +21 -0
- package/dist/chunk-ZCEYEIRB.js +179 -0
- package/dist/{chunk-IMIUHG2E.js → chunk-ZPJQ3TQL.js} +1 -3
- package/dist/cloud-import.js +1 -16
- package/dist/component-runtime/browserOptions.js +4 -3
- package/dist/component-runtime/contracts.js +2 -2
- package/dist/component-runtime/identity/browser.js +2 -17
- package/dist/component-runtime/identity.js +5 -7
- package/dist/component-runtime/importPolicy.js +3 -3
- package/dist/component-runtime/mediaResolution.js +1 -1
- package/dist/component-runtime/render.js +8 -7
- package/dist/component-runtime/sourceAdmission.js +3 -3
- package/dist/component-runtime/template/testing.js +15 -12
- package/dist/component-runtime/template.js +165 -13
- package/dist/component-runtime.js +27 -28
- package/dist/compose.js +30 -47
- package/dist/composition/audio.js +4 -8
- package/dist/composition/brand-kit.js +1 -1
- package/dist/composition/brief.js +1 -1
- package/dist/composition/card-html.d.ts +1 -0
- package/dist/composition/card-html.js +15 -0
- package/dist/composition/depth.js +1 -1
- package/dist/composition/floors.js +2 -2
- package/dist/composition/fonts.js +1 -1
- package/dist/composition/graphics-plan.js +4 -44
- package/dist/composition/invariants.js +5 -12
- package/dist/composition/ops.js +7 -6
- package/dist/composition/primitive-catalog.js +2 -6
- package/dist/composition/projection.js +3 -5
- package/dist/composition/reframe/coverage.js +1 -1
- package/dist/composition/reframe/kenBurns.js +1 -1
- package/dist/composition/reframe/shotScale.js +1 -1
- package/dist/composition/reframe/trajectory.js +1 -1
- package/dist/composition/reframe.js +1 -1
- package/dist/composition/scene/budget-policy.js +1 -1
- package/dist/composition/scene.js +1 -1
- package/dist/composition/timeline.js +4 -8
- package/dist/composition/validators/brand-kit-body.js +5 -4
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +8 -65
- package/dist/composition-ops.js +17 -16
- package/dist/composition.js +13 -79
- package/dist/context-7SWSVJ6Z.js +17 -0
- package/dist/core/render.js +13 -9
- package/dist/core/select.js +3 -3
- package/dist/core.js +9 -9
- package/dist/director/ai-sdk.js +7 -11
- package/dist/director/domain.js +9 -17
- package/dist/director.js +9 -21
- package/dist/{dist-LAJ2363K.js → dist-6FO67KVA.js} +1 -1
- package/dist/errors.js +2 -2
- package/dist/foundation/canonical.d.ts +1 -0
- package/dist/foundation/canonical.js +7 -0
- package/dist/foundation/primitives.js +4 -6
- package/dist/foundation/testing.d.ts +1 -0
- package/dist/foundation/testing.js +7 -0
- package/dist/foundation.js +7 -9
- package/dist/{magic-string.es-SDTMJBWP.js → magic-string.es-KVSW34UD.js} +1 -1
- package/dist/mcp/adapter.js +11 -19
- package/dist/mcp/composition-ops.d.ts +1 -0
- package/dist/mcp/composition-ops.js +11 -0
- package/dist/mcp/core.js +2 -2
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/executor.js +1 -1
- package/dist/mcp/scene-shot.js +3 -3
- package/dist/mcp/server.js +6 -7
- package/dist/mcp/wire-schema.js +13 -2
- package/dist/mcp.js +11 -10
- package/dist/media-model/generation.js +6 -8
- package/dist/media-model/media-kind.js +1 -1
- package/dist/media-model/testing.js +2 -2
- package/dist/media-model/transcriptSearch.js +1 -1
- package/dist/media-model.js +6 -8
- package/dist/nle-export/xml.js +1 -1
- package/dist/nle-export.js +2 -2
- package/dist/perception.js +1 -1
- package/dist/plane/conformance.js +8 -4
- package/dist/plane/contract.js +1 -1
- package/dist/plane.js +8 -4
- package/dist/primitives/backgrounds.js +3 -3
- package/dist/primitives/captions.js +2 -2
- package/dist/primitives/effects.js +5 -5
- package/dist/primitives/hero-text.js +4 -4
- package/dist/primitives/layouts.js +4 -4
- package/dist/primitives/lib/easings.js +1 -1
- package/dist/primitives/lib/frameScale.js +1 -1
- package/dist/primitives/lib/index.js +7 -13
- package/dist/primitives/lib/palette.js +2 -2
- package/dist/primitives/lib/preview.js +1 -1
- package/dist/primitives/lib/schema.js +1 -1
- package/dist/primitives/lib/seeded-random.js +1 -1
- package/dist/primitives/lib/text/contrast.js +3 -3
- package/dist/primitives/lib/text/fill.js +1 -1
- package/dist/primitives/lib/text/fitText.js +1 -1
- package/dist/primitives/lib/text/marker.js +1 -1
- package/dist/primitives/lib/text/motion.js +1 -1
- package/dist/primitives/lib/text/recolor.js +1 -1
- package/dist/primitives/lib/text/stage.js +1 -1
- package/dist/primitives/lib/text/typeface.js +1 -1
- package/dist/primitives/lib/tokens.js +4 -11
- package/dist/primitives/lib.js +7 -13
- package/dist/primitives/scenes.js +5 -5
- package/dist/primitives/subject-foreground.js +1 -1
- package/dist/primitives/text.js +4 -4
- package/dist/primitives/transitions.js +3 -3
- package/dist/primitives/ui-blocks.js +6 -6
- package/dist/primitives/workspace.js +1 -1
- package/dist/primitives.js +26 -40
- package/dist/render-harness/cardAssetAdmission.js +4 -4
- package/dist/render-harness/cardFonts.js +3 -3
- package/dist/render-harness/renderInputAssets.js +4 -4
- package/dist/render-harness.js +104 -86
- package/dist/{src-ZP6727AA.js → src-XI5MULKD.js} +17 -16
- package/package.json +38 -60
- package/dist/_members/account-model/validators/workingComposition.d.ts +0 -11
- package/dist/_members/animate/animations/index.d.ts +0 -9
- package/dist/_members/animate/easing/index.d.ts +0 -3
- package/dist/_members/animate/mobjects/index.d.ts +0 -4
- package/dist/_members/animate/scene/internal.d.ts +0 -29
- package/dist/_members/authoring/prompts/graphics.d.ts +0 -9
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -2
- package/dist/_members/composition/autozoom/index.d.ts +0 -25
- package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -34
- package/dist/_members/composition/invariants/time.d.ts +0 -14
- package/dist/_members/composition/types/index.d.ts +0 -8
- package/dist/_members/composition/validators/font.d.ts +0 -58
- package/dist/_members/composition/validators/registry.d.ts +0 -79
- package/dist/_members/composition/validators/render.d.ts +0 -2068
- package/dist/_members/director/ai-sdk/chunks.d.ts +0 -14
- package/dist/_members/director/domain/ports.d.ts +0 -32
- package/dist/_members/director/testing/contract.d.ts +0 -52
- package/dist/_members/director/testing/index.d.ts +0 -1
- package/dist/_members/foundation/codes/index.d.ts +0 -10
- package/dist/_members/nle-export/server/index.d.ts +0 -1
- package/dist/_members/nle-export/server/pack-zip.d.ts +0 -6
- package/dist/_members/render-harness/assetRefs.d.ts +0 -26
- package/dist/_members/render-harness/assetRefs.d.ts.map +0 -1
- package/dist/_members/render-harness/remotion-runtime.d.ts +0 -87
- package/dist/authoring/build-tools.d.ts +0 -1
- package/dist/authoring/build-tools.js +0 -28
- package/dist/authoring/capabilities.d.ts +0 -1
- package/dist/authoring/capabilities.js +0 -11
- package/dist/authoring/pipelineTrace.d.ts +0 -1
- package/dist/authoring/pipelineTrace.js +0 -7
- package/dist/authoring/tools.d.ts +0 -1
- package/dist/authoring/tools.js +0 -31
- package/dist/chunk-6UZYUWBX.js +0 -197
- package/dist/chunk-7EDLPIUN.js +0 -384
- package/dist/chunk-GF52TW4I.js +0 -51
- package/dist/chunk-IG3YAOUZ.js +0 -418
- package/dist/chunk-JOURGVOR.js +0 -27
- package/dist/chunk-MFMR3LHO.js +0 -116
- package/dist/chunk-OSMXQV5V.js +0 -18
- package/dist/chunk-QDBVYZSF.js +0 -128
- package/dist/chunk-U3JPILZS.js +0 -15
- package/dist/chunk-Y4HPN4BC.js +0 -364
- package/dist/composition/autozoom.d.ts +0 -1
- package/dist/composition/autozoom.js +0 -76
- package/dist/composition/fixtures.d.ts +0 -1
- package/dist/composition/fixtures.js +0 -154
- package/dist/composition/types.d.ts +0 -1
- package/dist/composition/types.js +0 -0
- package/dist/context-4WSFPRLX.js +0 -16
- package/dist/director/testing.d.ts +0 -1
- package/dist/director/testing.js +0 -22
- package/dist/foundation/codes.d.ts +0 -1
- package/dist/foundation/codes.js +0 -7
- package/dist/nle-export/server.d.ts +0 -1
- package/dist/nle-export/server.js +0 -25856
- /package/dist/{chunk-FTVZF4GO.js → chunk-S432RE6G.js} +0 -0
|
@@ -17,10 +17,5 @@ export declare function effectiveClipGainDb(source: {
|
|
|
17
17
|
volume?: number;
|
|
18
18
|
audioRole?: AudioRole;
|
|
19
19
|
}, voPresent: boolean): number | undefined;
|
|
20
|
-
export interface SfxTransient {
|
|
21
|
-
clipId: string;
|
|
22
|
-
startMs: number;
|
|
23
|
-
}
|
|
24
|
-
export declare function sfxTransients(composition: Composition): SfxTransient[];
|
|
25
20
|
export declare function detectNoAudioTrack(composition: Composition): string[];
|
|
26
21
|
export declare function detectMixHierarchyInversion(composition: Composition): string[];
|
|
@@ -4,4 +4,3 @@ export declare const overlappingClips: Composition;
|
|
|
4
4
|
export declare const transitionWithoutPredecessor: Composition;
|
|
5
5
|
export declare const overlappingSceneMarkers: Composition;
|
|
6
6
|
export declare const idCollision: Composition;
|
|
7
|
-
export declare const clipWithExcludedRanges: Composition;
|
|
@@ -96,8 +96,8 @@ export declare const ContentPlan: z.ZodObject<{
|
|
|
96
96
|
export type ContentPlan = z.infer<typeof ContentPlan>;
|
|
97
97
|
export declare const ElementRole: z.ZodEnum<{
|
|
98
98
|
value: "value";
|
|
99
|
-
headline: "headline";
|
|
100
99
|
label: "label";
|
|
100
|
+
headline: "headline";
|
|
101
101
|
sublabel: "sublabel";
|
|
102
102
|
logo: "logo";
|
|
103
103
|
"accent-shape": "accent-shape";
|
|
@@ -122,8 +122,8 @@ export declare const LayoutElement: z.ZodObject<{
|
|
|
122
122
|
elId: z.ZodString;
|
|
123
123
|
role: z.ZodEnum<{
|
|
124
124
|
value: "value";
|
|
125
|
-
headline: "headline";
|
|
126
125
|
label: "label";
|
|
126
|
+
headline: "headline";
|
|
127
127
|
sublabel: "sublabel";
|
|
128
128
|
logo: "logo";
|
|
129
129
|
"accent-shape": "accent-shape";
|
|
@@ -172,8 +172,8 @@ export declare const LayoutPlan: z.ZodObject<{
|
|
|
172
172
|
elId: z.ZodString;
|
|
173
173
|
role: z.ZodEnum<{
|
|
174
174
|
value: "value";
|
|
175
|
-
headline: "headline";
|
|
176
175
|
label: "label";
|
|
176
|
+
headline: "headline";
|
|
177
177
|
sublabel: "sublabel";
|
|
178
178
|
logo: "logo";
|
|
179
179
|
"accent-shape": "accent-shape";
|
|
@@ -411,8 +411,8 @@ export declare const GraphicsPlan: z.ZodObject<{
|
|
|
411
411
|
elId: z.ZodString;
|
|
412
412
|
role: z.ZodEnum<{
|
|
413
413
|
value: "value";
|
|
414
|
-
headline: "headline";
|
|
415
414
|
label: "label";
|
|
415
|
+
headline: "headline";
|
|
416
416
|
sublabel: "sublabel";
|
|
417
417
|
logo: "logo";
|
|
418
418
|
"accent-shape": "accent-shape";
|
|
@@ -2,7 +2,6 @@ import type { Format, Marker, PerClipEffect, ReframeSegment, TimelineClip, Track
|
|
|
2
2
|
import type { ClipPropertyUpdates, OpsGet, OpsSet } from './types.js';
|
|
3
3
|
import type { TimelineEntity } from '../timeline/plan.js';
|
|
4
4
|
import { type TrackKind } from './compositionOps.shared.js';
|
|
5
|
-
export { findClipById, findMarkerById, findOrCreateTrackByKind, findTrackContainingClipId, type TrackKind, } from './compositionOps.shared.js';
|
|
6
5
|
export declare function createCompositionOps(get: OpsGet, set: OpsSet): {
|
|
7
6
|
ripple: (time: number, amount: number) => void;
|
|
8
7
|
setFormat: (next: {
|
|
@@ -3,6 +3,12 @@ import type { TimelineEntity } from '../timeline/plan.js';
|
|
|
3
3
|
import type { CompositionOpsState } from './types.js';
|
|
4
4
|
export type TrackKind = Track['kind'];
|
|
5
5
|
export declare const TIMELINE_BOUNDARY_EPSILON_SECONDS = 1e-9;
|
|
6
|
+
/**
|
|
7
|
+
* The lowest `track-<kind>-<n>` the composition does not use. Ids an edit mints
|
|
8
|
+
* are a function of the state it applies to, so a replay of the same edit on
|
|
9
|
+
* the same state (the deployment folding a client's journal) names the same track.
|
|
10
|
+
*/
|
|
11
|
+
export declare function nextTrackId(composition: Composition, kind: TrackKind): string;
|
|
6
12
|
export declare function findOrCreateTrackByKind(composition: Composition, kind: TrackKind): Track;
|
|
7
13
|
export declare function findClipById(composition: Composition, id: string): {
|
|
8
14
|
clip: TimelineClip;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { createCompositionOps, type CompositionOps
|
|
1
|
+
export { createCompositionOps, type CompositionOps } from './compositionOps.js';
|
|
2
|
+
export { findOrCreateTrackByKind, findClipById, findTrackContainingClipId, findMarkerById, type TrackKind, } from './compositionOps.shared.js';
|
|
2
3
|
export { createHeadlessStore, emptyComposition, compositionWithSourceClip, emptyCompositionState, type HeadlessStore, } from './headlessStore.js';
|
|
3
4
|
export { selectAllTracks, selectTracksByKind, selectAllClips, selectMediaClipAt, selectAllOverlays, selectAllAudioClips, selectClipById, selectMarkers, selectSceneMarkers, describeFrameAt, type FrameLayers, } from './selectors.js';
|
|
4
5
|
export { mergeTimelineTranscripts, formatWordTimings, type Transcript, type TranscriptSegment, } from './transcript.js';
|
|
@@ -7,10 +7,8 @@ export declare function listPrimitivesByCategory(category: PrimitiveCategory): P
|
|
|
7
7
|
export declare function getPrimitiveTextParam(id: string): string | null | undefined;
|
|
8
8
|
export declare function getPrimitiveSubtextParam(id: string): string | null | undefined;
|
|
9
9
|
export declare function getPrimitiveCatalogMeta(id: string): PrimitiveCatalogMeta | undefined;
|
|
10
|
-
export declare function listPrimitiveIds(): string[];
|
|
11
10
|
export { projectToComponentCatalog, derivePlacement, } from './projection.js';
|
|
12
11
|
export type { ComponentCatalogEntry, ComponentPlacement, SceneFormat, } from './projection.js';
|
|
13
|
-
export declare function getPrimitivePropSchema(id: string): import("./types.js").JsonSchemaObject | undefined;
|
|
14
12
|
export { validatePrimitiveParams, validateParamsAgainstSchema, } from './paramValidation.js';
|
|
15
13
|
export type { ParamSchemaValidationResult, PrimitiveParamValidationResult, ParamTypeMismatch, } from './paramValidation.js';
|
|
16
14
|
export { DISABLED_PRIMITIVE_IDS, isPrimitiveDisabled } from './disabled.js';
|
|
@@ -36,12 +36,6 @@ export type BehindReadiness = {
|
|
|
36
36
|
};
|
|
37
37
|
export declare function matteIntentKey(intent: MatteIntentLike): Promise<string>;
|
|
38
38
|
export declare function primaryClipForOverlay(composition: unknown, overlayId: string): BehindTarget | null;
|
|
39
|
-
export interface BehindReadinessInput {
|
|
40
|
-
composition: unknown;
|
|
41
|
-
overlayId: string;
|
|
42
|
-
mattesByMediaId: Record<string, Record<string, MatteEntryLike> | undefined>;
|
|
43
|
-
}
|
|
44
|
-
export declare function behindReadinessForOverlay(input: BehindReadinessInput): Promise<BehindReadiness>;
|
|
45
39
|
export declare function behindReadinessForTarget(target: BehindTarget | null, mattes: Record<string, MatteEntryLike> | undefined): Promise<BehindReadiness>;
|
|
46
40
|
export interface BehindWindowLike {
|
|
47
41
|
startMs: number;
|
|
@@ -3,7 +3,3 @@ import type { TimelineEntity } from "./plan.js";
|
|
|
3
3
|
export declare function expandClipIdsToLinkGroups(composition: Pick<Composition, "tracks">, clipIds: Iterable<string>): string[];
|
|
4
4
|
export declare function expandToLinkGroup(composition: Pick<Composition, "tracks">, entities: readonly TimelineEntity[]): TimelineEntity[];
|
|
5
5
|
export declare function linkPartners(composition: Pick<Composition, "tracks">, clipId: string): string[];
|
|
6
|
-
export declare function makeLinkGroup(clipIds: readonly string[], newGroupId: () => string): {
|
|
7
|
-
linkGroupId: string;
|
|
8
|
-
clipIds: readonly string[];
|
|
9
|
-
} | null;
|
|
@@ -355,10 +355,10 @@ export declare const BrandKit: z.ZodObject<{
|
|
|
355
355
|
src: z.ZodString;
|
|
356
356
|
alt: z.ZodOptional<z.ZodString>;
|
|
357
357
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
358
|
-
|
|
358
|
+
br: "br";
|
|
359
359
|
tr: "tr";
|
|
360
|
+
tl: "tl";
|
|
360
361
|
bl: "bl";
|
|
361
|
-
br: "br";
|
|
362
362
|
}>>;
|
|
363
363
|
sizePct: z.ZodOptional<z.ZodNumber>;
|
|
364
364
|
}, z.core.$strip>>;
|
|
@@ -386,10 +386,10 @@ export declare const BrandKit: z.ZodObject<{
|
|
|
386
386
|
src: z.ZodString;
|
|
387
387
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
388
388
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
389
|
-
|
|
389
|
+
br: "br";
|
|
390
390
|
tr: "tr";
|
|
391
|
+
tl: "tl";
|
|
391
392
|
bl: "bl";
|
|
392
|
-
br: "br";
|
|
393
393
|
}>>;
|
|
394
394
|
}, z.core.$strip>>;
|
|
395
395
|
audio: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,10 +141,10 @@ export declare const BrandKitBodyShape: {
|
|
|
141
141
|
src: z.ZodString;
|
|
142
142
|
alt: z.ZodOptional<z.ZodString>;
|
|
143
143
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
144
|
-
|
|
144
|
+
br: "br";
|
|
145
145
|
tr: "tr";
|
|
146
|
+
tl: "tl";
|
|
146
147
|
bl: "bl";
|
|
147
|
-
br: "br";
|
|
148
148
|
}>>;
|
|
149
149
|
sizePct: z.ZodOptional<z.ZodNumber>;
|
|
150
150
|
}, z.core.$strip>>;
|
|
@@ -172,10 +172,10 @@ export declare const BrandKitBodyShape: {
|
|
|
172
172
|
src: z.ZodString;
|
|
173
173
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
174
174
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
175
|
-
|
|
175
|
+
br: "br";
|
|
176
176
|
tr: "tr";
|
|
177
|
+
tl: "tl";
|
|
177
178
|
bl: "bl";
|
|
178
|
-
br: "br";
|
|
179
179
|
}>>;
|
|
180
180
|
}, z.core.$strip>>;
|
|
181
181
|
spacing: z.ZodOptional<z.ZodObject<{
|
|
@@ -392,10 +392,10 @@ export declare const BrandKitBodySchema: z.ZodObject<{
|
|
|
392
392
|
src: z.ZodString;
|
|
393
393
|
alt: z.ZodOptional<z.ZodString>;
|
|
394
394
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
395
|
-
|
|
395
|
+
br: "br";
|
|
396
396
|
tr: "tr";
|
|
397
|
+
tl: "tl";
|
|
397
398
|
bl: "bl";
|
|
398
|
-
br: "br";
|
|
399
399
|
}>>;
|
|
400
400
|
sizePct: z.ZodOptional<z.ZodNumber>;
|
|
401
401
|
}, z.core.$strip>>;
|
|
@@ -423,10 +423,10 @@ export declare const BrandKitBodySchema: z.ZodObject<{
|
|
|
423
423
|
src: z.ZodString;
|
|
424
424
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
425
425
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
426
|
-
|
|
426
|
+
br: "br";
|
|
427
427
|
tr: "tr";
|
|
428
|
+
tl: "tl";
|
|
428
429
|
bl: "bl";
|
|
429
|
-
br: "br";
|
|
430
430
|
}>>;
|
|
431
431
|
}, z.core.$strip>>;
|
|
432
432
|
spacing: z.ZodOptional<z.ZodObject<{
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** `url(#id)`, `href="#id"`: resolves inside this document, never over a network. */
|
|
3
|
+
export declare function isFragmentReference(value: string): boolean;
|
|
4
|
+
/** Every `url(...)` payload in a CSS value, unquoted. */
|
|
5
|
+
export declare function cssUrlPayloads(value: string): string[];
|
|
6
|
+
/** Whether a CSS value carries a `url()` whose payload is not a same-document fragment. */
|
|
7
|
+
export declare function hasNonFragmentCssUrl(value: string): boolean;
|
|
8
|
+
/** Why a card's markup is refused, or null when it is admissible. */
|
|
9
|
+
export declare function cardHtmlProblem(html: string): string | null;
|
|
10
|
+
/** Card markup as every write accepts it. */
|
|
11
|
+
export declare const CardHtml: z.ZodString;
|
|
@@ -1578,9 +1578,6 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1578
1578
|
"behind-subject": "behind-subject";
|
|
1579
1579
|
}>>;
|
|
1580
1580
|
}, z.core.$strip>], "source">;
|
|
1581
|
-
export declare function captionsAreBehindSubject(captions: {
|
|
1582
|
-
zPlane?: unknown;
|
|
1583
|
-
} | null | undefined): boolean;
|
|
1584
1581
|
export type CompositionCaptions = z.infer<typeof CompositionCaptions>;
|
|
1585
1582
|
export declare function captionWords(c: CompositionCaptions): CaptionWord[];
|
|
1586
1583
|
/** One shared invariant for schema parsing, pure ops, and hosted writes. */
|
|
@@ -2152,9 +2149,9 @@ export type RenderableComposition = Composition & {
|
|
|
2152
2149
|
mediaSources?: Record<string, string>;
|
|
2153
2150
|
};
|
|
2154
2151
|
export declare const CompositionAuthorKind: z.ZodEnum<{
|
|
2152
|
+
import: "import";
|
|
2155
2153
|
user: "user";
|
|
2156
2154
|
agent: "agent";
|
|
2157
|
-
import: "import";
|
|
2158
2155
|
}>;
|
|
2159
2156
|
export type CompositionAuthorKind = z.infer<typeof CompositionAuthorKind>;
|
|
2160
2157
|
export declare const CompositionVersion: z.ZodObject<{
|
|
@@ -2164,9 +2161,9 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
2164
2161
|
createdAt: z.ZodNumber;
|
|
2165
2162
|
etag: z.ZodString;
|
|
2166
2163
|
authorKind: z.ZodEnum<{
|
|
2164
|
+
import: "import";
|
|
2167
2165
|
user: "user";
|
|
2168
2166
|
agent: "agent";
|
|
2169
|
-
import: "import";
|
|
2170
2167
|
}>;
|
|
2171
2168
|
authorId: z.ZodOptional<z.ZodString>;
|
|
2172
2169
|
composition: z.ZodObject<{
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// css-tree exposes these focused entry points, but @types/css-tree only
|
|
2
|
+
// declares its root module. Keep their types tied to that upstream contract.
|
|
3
|
+
declare module 'css-tree/parser' {
|
|
4
|
+
const parse: typeof import('css-tree').parse;
|
|
5
|
+
export default parse;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare module 'css-tree/walker' {
|
|
9
|
+
const walk: typeof import('css-tree').walk;
|
|
10
|
+
export default walk;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare module 'css-tree/generator' {
|
|
14
|
+
const generate: typeof import('css-tree').generate;
|
|
15
|
+
export default generate;
|
|
16
|
+
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export * from "./composition.js";
|
|
2
2
|
export * from "./composePlan.js";
|
|
3
3
|
export * from "./brandKit.js";
|
|
4
|
-
export * from "./font.js";
|
|
5
|
-
export * from "./render.js";
|
|
6
|
-
export * from "./registry.js";
|
|
7
4
|
export * from "./project.js";
|
|
8
5
|
export * from "./session.js";
|
|
9
6
|
export * from "./webhook.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const SessionMediaRole: z.ZodEnum<{
|
|
3
3
|
wide: "wide";
|
|
4
|
-
audio: "audio";
|
|
5
4
|
main: "main";
|
|
5
|
+
audio: "audio";
|
|
6
6
|
facecam: "facecam";
|
|
7
7
|
screen: "screen";
|
|
8
8
|
}>;
|
|
@@ -11,8 +11,8 @@ export declare const SessionMember: z.ZodObject<{
|
|
|
11
11
|
mediaId: z.ZodString;
|
|
12
12
|
role: z.ZodEnum<{
|
|
13
13
|
wide: "wide";
|
|
14
|
-
audio: "audio";
|
|
15
14
|
main: "main";
|
|
15
|
+
audio: "audio";
|
|
16
16
|
facecam: "facecam";
|
|
17
17
|
screen: "screen";
|
|
18
18
|
}>;
|
|
@@ -36,8 +36,8 @@ export declare const Session: z.ZodObject<{
|
|
|
36
36
|
mediaId: z.ZodString;
|
|
37
37
|
role: z.ZodEnum<{
|
|
38
38
|
wide: "wide";
|
|
39
|
-
audio: "audio";
|
|
40
39
|
main: "main";
|
|
40
|
+
audio: "audio";
|
|
41
41
|
facecam: "facecam";
|
|
42
42
|
screen: "screen";
|
|
43
43
|
}>;
|
|
@@ -8,9 +8,9 @@ export declare const SubstrateWebhookEvent: z.ZodEnum<{
|
|
|
8
8
|
export type SubstrateWebhookEvent = z.infer<typeof SubstrateWebhookEvent>;
|
|
9
9
|
export declare const WebhookDeliveryStatus: z.ZodEnum<{
|
|
10
10
|
pending: "pending";
|
|
11
|
-
failed: "failed";
|
|
12
|
-
delivered: "delivered";
|
|
13
11
|
delivering: "delivering";
|
|
12
|
+
delivered: "delivered";
|
|
13
|
+
failed: "failed";
|
|
14
14
|
exhausted: "exhausted";
|
|
15
15
|
}>;
|
|
16
16
|
export type WebhookDeliveryStatus = z.infer<typeof WebhookDeliveryStatus>;
|
|
@@ -33,9 +33,9 @@ export declare const WebhookDelivery: z.ZodObject<{
|
|
|
33
33
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
34
34
|
status: z.ZodEnum<{
|
|
35
35
|
pending: "pending";
|
|
36
|
-
failed: "failed";
|
|
37
|
-
delivered: "delivered";
|
|
38
36
|
delivering: "delivering";
|
|
37
|
+
delivered: "delivered";
|
|
38
|
+
failed: "failed";
|
|
39
39
|
exhausted: "exhausted";
|
|
40
40
|
}>;
|
|
41
41
|
attemptCount: z.ZodNumber;
|
|
@@ -8,8 +8,3 @@ export interface AlphaLayerClipRef {
|
|
|
8
8
|
}
|
|
9
9
|
export declare function collectAlphaLayerClips(composition: unknown): AlphaLayerClipRef[];
|
|
10
10
|
export declare function collectRawComponentClips(composition: unknown): string[];
|
|
11
|
-
export interface UnbakedComponentClipRef {
|
|
12
|
-
clipId: string;
|
|
13
|
-
componentId: string;
|
|
14
|
-
}
|
|
15
|
-
export declare function collectUnbakedComponentClips(composition: unknown): UnbakedComponentClipRef[];
|
|
@@ -1050,8 +1050,8 @@ export declare function applyOp(composition: Composition, op: CompositionOp): Co
|
|
|
1050
1050
|
export declare function applyOpToStore(store: HeadlessStore, op: CompositionOp): void;
|
|
1051
1051
|
export declare function invertOp(before: Composition, op: CompositionOp): CompositionOp;
|
|
1052
1052
|
export { createRecordingStore, type RecordingStore } from './recordingStore.js';
|
|
1053
|
-
export { wrapWithOpRecorder, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
|
|
1053
|
+
export { wrapWithOpRecorder, NON_DOCUMENT_METHODS, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
|
|
1054
1054
|
export { materializeCompositionCaptions, materializeCaptionsFromComposition, captionSourceMediaIds, CaptionMaterializationError, type CaptionMaterializationErrorCode, } from './materializeCaptions.js';
|
|
1055
1055
|
export { materializeGridMarkers, GridError, GRID_DEFAULT_MAX_MARKERS, GRID_HARD_MAX_MARKERS, type GridKind, type GridErrorCode, type GridPlacement, } from './materializeGrid.js';
|
|
1056
1056
|
export { replaceRegion, type CutSpan, type ReplaceRegionInput } from './replaceRegion.js';
|
|
1057
|
-
export { collectAlphaLayerClips, type AlphaLayerClipRef,
|
|
1057
|
+
export { collectAlphaLayerClips, type AlphaLayerClipRef, collectRawComponentClips, } from './alphaLayers.js';
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, PerClipEffect } from '../composition/validators/index.js';
|
|
1
|
+
import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, CaptionLayout, PerClipEffect } from '../composition/validators/index.js';
|
|
2
2
|
import { type CompositionOp } from './index.js';
|
|
3
3
|
export interface RecordableOps {
|
|
4
4
|
addClip(clip: TimelineClip, options?: {
|
|
5
5
|
newTrack?: boolean;
|
|
6
6
|
newTrackId?: string;
|
|
7
7
|
}): void;
|
|
8
|
+
addClipToTrack(clip: TimelineClip, target: {
|
|
9
|
+
trackId: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: Track['kind'];
|
|
12
|
+
newTrack?: boolean;
|
|
13
|
+
newTrackId?: string;
|
|
14
|
+
}): void;
|
|
8
15
|
removeClip(id: string): void;
|
|
9
16
|
updateClip(id: string, updates: Partial<TimelineClip>): void;
|
|
10
17
|
removeClipsByMediaId(mediaId: string): void;
|
|
@@ -23,13 +30,15 @@ export interface RecordableOps {
|
|
|
23
30
|
setEffects(clipId: string, effects: PerClipEffect[]): void;
|
|
24
31
|
setCaptionStyle(style: CaptionStyle): void;
|
|
25
32
|
setCaptions(segments: CaptionSegment[], style?: CaptionStyle): void;
|
|
33
|
+
setCaptionLayouts(layouts: CaptionLayout[]): void;
|
|
34
|
+
setCaptionDepth(zPlane: 'front' | 'behind-subject'): void;
|
|
26
35
|
setFormat(format: Pick<Format, 'aspectRatio' | 'fps' | 'resolution'>): void;
|
|
27
36
|
addTrack(kind: Track['kind'], name?: string, id?: string): void;
|
|
28
37
|
removeTrack(trackId: string): void;
|
|
29
38
|
updateTrack(trackId: string, updates: Partial<Pick<Track, 'name' | 'enabled'>>): void;
|
|
30
39
|
reorderTracks(fromIndex: number, toIndex: number): void;
|
|
31
40
|
moveClipToTrack(clipId: string, targetTrackId: string, newStartTime?: number): void;
|
|
32
|
-
duplicateClip(id: string):
|
|
41
|
+
duplicateClip(id: string): string | undefined;
|
|
33
42
|
cutAndRipple(start: number, end: number): void;
|
|
34
43
|
ripple(time: number, amount: number): void;
|
|
35
44
|
addExcludedRange(clipId: string, sourceStart: number, sourceEnd: number, reason?: string): void;
|
|
@@ -38,6 +47,17 @@ export interface RecordableOps {
|
|
|
38
47
|
export interface OpRecorderOpts {
|
|
39
48
|
record: (op: CompositionOp, before: Composition) => void;
|
|
40
49
|
getComposition: () => Composition;
|
|
41
|
-
|
|
50
|
+
/**
|
|
51
|
+
* An edit no op expresses: journal the timeline it produces (`after`) as a
|
|
52
|
+
* replacement. Called before the edit is applied.
|
|
53
|
+
*/
|
|
54
|
+
onUnjournalable?: (reason: string, after: Composition) => void;
|
|
42
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Store members that change no document state, so they are not journaled.
|
|
58
|
+
* Every other function a wrapped store has must be journaled: an unlisted
|
|
59
|
+
* member is refused when the store is wrapped, so a new edit method cannot
|
|
60
|
+
* reach the document without reaching the journal.
|
|
61
|
+
*/
|
|
62
|
+
export declare const NON_DOCUMENT_METHODS: ReadonlySet<string>;
|
|
43
63
|
export declare function wrapWithOpRecorder<T extends RecordableOps>(base: T, opts: OpRecorderOpts): T;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { CaptionStyle } from './types.js';
|
|
2
|
-
export
|
|
2
|
+
export declare const EXPORT_QUALITIES: readonly ["maximum", "social", "web", "potato", "source"];
|
|
3
|
+
export type ExportQuality = (typeof EXPORT_QUALITIES)[number];
|
|
3
4
|
export type ExportFormat = 'source' | '16:9' | '9:16' | '4:5' | '1:1';
|
|
4
|
-
export
|
|
5
|
+
export declare const EXPORT_RESOLUTIONS: readonly ["source", "1080p", "1440p", "4k"];
|
|
6
|
+
export type ExportResolution = (typeof EXPORT_RESOLUTIONS)[number];
|
|
5
7
|
export interface FormatPreset {
|
|
6
8
|
label: string;
|
|
7
9
|
aspectWidth: number;
|
|
@@ -14,7 +14,7 @@ export { extractCaptionWordsFromDoc, sliceTranscriptWords, splitIntoSentences }
|
|
|
14
14
|
export { compositionToRenderInput, referencedMediaIds, assembleRenderInput, assemblePreparedRenderInput, validateComposition, compositionFormatDimensions, captionVisibilityWindowsForComposition, playableSpans, projectMediaPlaybackSpans, assertBehindSubjectCaptionCoverage, visiblePackedHostWindows, } from './compositionRender.js';
|
|
15
15
|
export { bookendFrames, resolveBookendTimeline, CARD_BOOKEND_DEFAULT_MS, VIDEO_BOOKEND_DEFAULT_MS, } from './bookends.js';
|
|
16
16
|
export type { BookendTimeline } from './bookends.js';
|
|
17
|
-
export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
|
|
17
|
+
export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, EXPORT_QUALITIES, EXPORT_RESOLUTIONS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
|
|
18
18
|
export type { ExportFormat, ExportQuality, ExportResolution, FormatPreset, RenderSettings, } from './exportSettings.js';
|
|
19
19
|
export { faceArea, resolveSubjectFaces, selectedFaceCenter, isJump, emaSmooth, clip01, captionBandReserve, aspectWhRatio, nearestKpValue, activeWindowsFor, perSubjectSeries, calibrateShotScale, deriveSegment, deriveTrajectory, buildEasedZooms, buildPannedCenters, easeOutCubic, JUMP_THRESHOLD, MIN_SUBJECT_RESOLUTION, } from './deriveTrajectory.js';
|
|
20
20
|
export type { Subject, Center, TrajectorySubject, TrajectorySegment, TrajectoryData, Face, FaceBox, SubjectTrack, ReframeSegment, } from './deriveTrajectory.js';
|
|
@@ -9,6 +9,5 @@ export declare function padBox(box: NormBox, pad?: number): RequiredRegion;
|
|
|
9
9
|
export declare function pointRegion(c: Center, pad?: number): RequiredRegion;
|
|
10
10
|
export declare function centerRegion(): RequiredRegion;
|
|
11
11
|
export declare function regionsFromBoxes(boxes: Array<NormBox | null>, pad?: number): Array<RequiredRegion | null>;
|
|
12
|
-
export declare function regionsFromCenters(centers: Array<Center | null>, pad?: number): Array<RequiredRegion | null>;
|
|
13
12
|
export declare function medianFilterRegions(regions: Array<RequiredRegion | null>, r: number, shotStart: number, shotEnd: number): Array<RequiredRegion | null>;
|
|
14
13
|
export declare function buildRequiredRegions(boxes: Array<NormBox | null>, fps: number, interiorCuts: Iterable<number>, pad?: number): Array<RequiredRegion | null>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type Envelope } from "../../errors/index.js";
|
|
3
|
-
export declare const ConversationId: z.core.$ZodBranded<z.ZodString, "Id<conversation>", "out">;
|
|
4
|
-
export type ConversationId = z.infer<typeof ConversationId>;
|
|
5
|
-
export declare const DirectorRunId: z.core.$ZodBranded<z.ZodString, "Id<directorRun>", "out">;
|
|
6
|
-
export type DirectorRunId = z.infer<typeof DirectorRunId>;
|
|
7
3
|
export declare const ProjectRef: z.ZodObject<{
|
|
8
4
|
id: z.ZodString;
|
|
9
5
|
home: z.ZodEnum<{
|
|
@@ -49,7 +45,6 @@ export declare const ChatErrorView: z.ZodObject<{
|
|
|
49
45
|
source: z.ZodOptional<z.ZodEnum<{
|
|
50
46
|
provider: "provider";
|
|
51
47
|
generation: "generation";
|
|
52
|
-
materialisation: "materialisation";
|
|
53
48
|
agent: "agent";
|
|
54
49
|
transport: "transport";
|
|
55
50
|
}>>;
|
|
@@ -59,76 +54,3 @@ export declare const ChatErrorView: z.ZodObject<{
|
|
|
59
54
|
export type ChatErrorView = z.infer<typeof ChatErrorView>;
|
|
60
55
|
export declare function chatErrorViewFromEnvelope(envelope: Envelope, source?: ChatErrorView["source"]): ChatErrorView;
|
|
61
56
|
export declare function chatErrorViewFromUnknown(error: unknown, source?: ChatErrorView["source"]): ChatErrorView;
|
|
62
|
-
export declare const DirectorEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
|
-
type: z.ZodLiteral<"text-delta">;
|
|
64
|
-
text: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
type: z.ZodLiteral<"reasoning-delta">;
|
|
67
|
-
text: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
type: z.ZodLiteral<"phase">;
|
|
70
|
-
phase: z.ZodString;
|
|
71
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
type: z.ZodLiteral<"generation">;
|
|
74
|
-
artifact: z.ZodObject<{
|
|
75
|
-
artifactVersion: z.ZodLiteral<1>;
|
|
76
|
-
clientRequestId: z.core.$ZodBranded<z.ZodString, "Id<generationRequest>", "out">;
|
|
77
|
-
generationId: z.core.$ZodBranded<z.ZodString, "Id<generation>", "out">;
|
|
78
|
-
mediaId: z.core.$ZodBranded<z.ZodString, "Id<media>", "out">;
|
|
79
|
-
generationGroupId: z.core.$ZodBranded<z.ZodString, "Id<generationGroup>", "out">;
|
|
80
|
-
version: z.ZodNumber;
|
|
81
|
-
kind: z.ZodEnum<{
|
|
82
|
-
video: "video";
|
|
83
|
-
audio: "audio";
|
|
84
|
-
image: "image";
|
|
85
|
-
}>;
|
|
86
|
-
requestSummary: z.ZodString;
|
|
87
|
-
status: z.ZodEnum<{
|
|
88
|
-
generating: "generating";
|
|
89
|
-
processing: "processing";
|
|
90
|
-
cancelled: "cancelled";
|
|
91
|
-
ready: "ready";
|
|
92
|
-
failed: "failed";
|
|
93
|
-
draft: "draft";
|
|
94
|
-
submitting: "submitting";
|
|
95
|
-
queued: "queued";
|
|
96
|
-
provider_complete: "provider_complete";
|
|
97
|
-
materialising: "materialising";
|
|
98
|
-
cancelling: "cancelling";
|
|
99
|
-
}>;
|
|
100
|
-
progress: z.ZodOptional<z.ZodNumber>;
|
|
101
|
-
placementReady: z.ZodDefault<z.ZodBoolean>;
|
|
102
|
-
parentMediaId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Id<media>", "out">>;
|
|
103
|
-
estimateUsd: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
failure: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
code: z.ZodString;
|
|
106
|
-
title: z.ZodString;
|
|
107
|
-
recovery: z.ZodOptional<z.ZodString>;
|
|
108
|
-
retryable: z.ZodBoolean;
|
|
109
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip>>;
|
|
111
|
-
createdAt: z.ZodNumber;
|
|
112
|
-
updatedAt: z.ZodNumber;
|
|
113
|
-
}, z.core.$strip>;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
-
type: z.ZodLiteral<"error">;
|
|
116
|
-
error: z.ZodObject<{
|
|
117
|
-
code: z.ZodString;
|
|
118
|
-
title: z.ZodString;
|
|
119
|
-
recovery: z.ZodOptional<z.ZodString>;
|
|
120
|
-
retryable: z.ZodBoolean;
|
|
121
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
provider: "provider";
|
|
123
|
-
generation: "generation";
|
|
124
|
-
materialisation: "materialisation";
|
|
125
|
-
agent: "agent";
|
|
126
|
-
transport: "transport";
|
|
127
|
-
}>>;
|
|
128
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
129
|
-
details: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
-
type: z.ZodLiteral<"finish">;
|
|
133
|
-
}, z.core.$strip>], "type">;
|
|
134
|
-
export type DirectorEvent = z.infer<typeof DirectorEvent>;
|
|
@@ -1137,6 +1137,12 @@ export declare const ERROR_CODES: {
|
|
|
1137
1137
|
readonly retryable: false;
|
|
1138
1138
|
readonly httpStatus: 422;
|
|
1139
1139
|
};
|
|
1140
|
+
readonly component_api_mismatch: {
|
|
1141
|
+
readonly stage: "validate";
|
|
1142
|
+
readonly category: "authoring";
|
|
1143
|
+
readonly retryable: false;
|
|
1144
|
+
readonly httpStatus: 422;
|
|
1145
|
+
};
|
|
1140
1146
|
readonly component_graphics_unavailable: {
|
|
1141
1147
|
readonly stage: "render";
|
|
1142
1148
|
readonly category: "authoring";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical JSON: sorted keys, `undefined` fields dropped (`null` inside an
|
|
3
|
+
* array, as `JSON.stringify` does), everything else as `JSON.stringify` writes
|
|
4
|
+
* it. Composition etags are this string's SHA-256, and they are stored
|
|
5
|
+
* (`compositionVersions.etag`, `restorePoints.etag`) and compared across
|
|
6
|
+
* processes for If-Match, so these bytes never change.
|
|
7
|
+
*
|
|
8
|
+
* It is not the component source identity (`@cueframe/component-runtime`
|
|
9
|
+
* `canonicalIdentity`), which normalizes text and refuses what it cannot
|
|
10
|
+
* hash exactly, nor the scene capture JSON (`@cueframe/core/render`
|
|
11
|
+
* `canonicalSceneJsonV1`). Their bytes are persisted too, and differ on
|
|
12
|
+
* edge inputs, so the three are kept apart on purpose.
|
|
13
|
+
*/
|
|
14
|
+
export declare function canonicalJson(value: unknown): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./primitives/index.js";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./canonical/index.js";
|
|
@@ -5,5 +5,3 @@ export declare const ISODateTime: z.ZodString;
|
|
|
5
5
|
export type ISODateTime = z.infer<typeof ISODateTime>;
|
|
6
6
|
export declare const EntityId: <T extends string>(_table: T) => PropertyKey extends `Id<${T}>` ? z.ZodString : z.core.$ZodBranded<z.ZodString, `Id<${T}>`, "out">;
|
|
7
7
|
export type EntityId<T extends string> = z.infer<ReturnType<typeof EntityId<T>>>;
|
|
8
|
-
export declare const ParamsBag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
export type ParamsBag = z.infer<typeof ParamsBag>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { contractFacts, type KnownRed } from "./knownRed.js";
|