From 37f79ee5d170bb12158ab6c524a44caec19b0151 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Wed, 22 Apr 2026 07:39:22 +0800 Subject: [PATCH] Extend human input runtime data types --- web/types/workflow.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/types/workflow.ts b/web/types/workflow.ts index 9e7dfd7e7a..57f7c0a560 100644 --- a/web/types/workflow.ts +++ b/web/types/workflow.ts @@ -331,7 +331,7 @@ export type HumanInputFormData = { inputs: FormInputItem[] actions: UserAction[] form_token: string - resolved_default_values: Record + resolved_default_values: Record display_in_ui: boolean expiration_time: number } @@ -343,12 +343,17 @@ export type HumanInputRequiredResponse = { data: HumanInputFormData } +export type HumanInputFormValue = string | FileResponse | FileResponse[] + +export type HumanInputResolvedValue = string | FileResponse | FileResponse[] + export type HumanInputFilledFormData = { node_id: string node_title: string rendered_content: string action_id: string action_text: string + form_data?: Record } export type HumanInputFormFilledResponse = {