From 72349e9acc10c194f70f0d0eb4b6754d149252f5 Mon Sep 17 00:00:00 2001 From: zhujiruo Date: Tue, 10 Jun 2025 14:47:28 +0800 Subject: [PATCH] fix(web): correct `InputVar` type definition - Change the `hide` field in the `InputVar` type from required to optional to fix the editor's type error --- web/app/components/workflow/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/types.ts b/web/app/components/workflow/types.ts index 5218c23084..2a0a10629b 100644 --- a/web/app/components/workflow/types.ts +++ b/web/app/components/workflow/types.ts @@ -198,7 +198,7 @@ export type InputVar = { hint?: string options?: string[] value_selector?: ValueSelector - hide: boolean + hide?: boolean } & Partial export type ModelConfig = {