@norskvideo/norsk-studio-built-ins 1.27.0-2026-01-14-d7f304fc → 1.27.0-2026-01-15-ecb87e67
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/client/info.js +1104 -314
- package/lib/processor.videoCompose/presets.d.ts +8 -3
- package/lib/processor.videoCompose/presets.js +1215 -346
- package/lib/processor.videoCompose/presets.js.map +1 -1
- package/lib/processor.videoCompose/runtime.js +16 -2
- package/lib/processor.videoCompose/runtime.js.map +1 -1
- package/package.json +3 -3
|
@@ -20,10 +20,15 @@ export type OrchestrationSequence = {
|
|
|
20
20
|
steps: RuntimeOrchestrationStep[];
|
|
21
21
|
currentStepIndex: number;
|
|
22
22
|
};
|
|
23
|
+
export type TransitionContext = {
|
|
24
|
+
targetPreset: string;
|
|
25
|
+
targetSources: string[];
|
|
26
|
+
targetConfig: Record<string, unknown>;
|
|
27
|
+
};
|
|
23
28
|
export type PresetDefinitionGenerator = (sources: string[], config: Record<string, unknown>, res: {
|
|
24
29
|
width: number;
|
|
25
30
|
height: number;
|
|
26
|
-
}) => PresetDefinition;
|
|
31
|
+
}, transitionContext?: TransitionContext) => PresetDefinition;
|
|
27
32
|
export declare const PRESETS: Record<string, PresetDefinitionGenerator>;
|
|
28
33
|
export declare function createFullscreenPresetDefinition(sources: string[], res: {
|
|
29
34
|
width: number;
|
|
@@ -41,7 +46,7 @@ export declare function createLBarPresetDefinition(sources: string[], config: {
|
|
|
41
46
|
}, res: {
|
|
42
47
|
width: number;
|
|
43
48
|
height: number;
|
|
44
|
-
}): PresetDefinition;
|
|
49
|
+
}, transitionContext?: TransitionContext): PresetDefinition;
|
|
45
50
|
export declare function createQrLBarPresetDefinition(sources: string[], config: {
|
|
46
51
|
qrDurationMs: number;
|
|
47
52
|
qrCorner: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
@@ -55,4 +60,4 @@ export declare function createQrLBarPresetDefinition(sources: string[], config:
|
|
|
55
60
|
}, res: {
|
|
56
61
|
width: number;
|
|
57
62
|
height: number;
|
|
58
|
-
}): PresetDefinition;
|
|
63
|
+
}, transitionContext?: TransitionContext): PresetDefinition;
|