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 = {