From 6f5328d581170b162519c49c7748681f7fc9f8c9 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Thu, 12 Mar 2026 00:18:42 +1300 Subject: [PATCH] fix: add outputDuration to easeCurve type in workflowStore Co-Authored-By: Claude Opus 4.6 --- src/store/workflowStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/workflowStore.ts b/src/store/workflowStore.ts index c0a74cc9..3391afde 100644 --- a/src/store/workflowStore.ts +++ b/src/store/workflowStore.ts @@ -95,7 +95,7 @@ export { CONCURRENCY_SETTINGS_KEY } from "./utils/executionUtils"; async function evaluateAndExecuteConditionalSwitch( node: WorkflowNode, executionCtx: NodeExecutionContext, - getConnectedInputs: (nodeId: string) => { text: string | null; images: string[]; videos: string[]; audio: string[]; model3d: string | null; dynamicInputs: Record; easeCurve: { bezierHandles: [number, number, number, number]; easingPreset: string | null } | null }, + getConnectedInputs: (nodeId: string) => { text: string | null; images: string[]; videos: string[]; audio: string[]; model3d: string | null; dynamicInputs: Record; easeCurve: { bezierHandles: [number, number, number, number]; easingPreset: string | null; outputDuration: number } | null }, updateNodeData: (nodeId: string, data: Partial) => void, ): Promise { const condInputs = getConnectedInputs(node.id); @@ -269,7 +269,7 @@ interface WorkflowStore { // Helpers getNodeById: (id: string) => WorkflowNode | undefined; - getConnectedInputs: (nodeId: string) => { images: string[]; videos: string[]; audio: string[]; model3d: string | null; text: string | null; dynamicInputs: Record; easeCurve: { bezierHandles: [number, number, number, number]; easingPreset: string | null } | null }; + getConnectedInputs: (nodeId: string) => { images: string[]; videos: string[]; audio: string[]; model3d: string | null; text: string | null; dynamicInputs: Record; easeCurve: { bezierHandles: [number, number, number, number]; easingPreset: string | null; outputDuration: number } | null }; validateWorkflow: () => { valid: boolean; errors: string[] }; // Global Image History