From 92e30e70bad3388ff4ac4a89130c11153018e6f7 Mon Sep 17 00:00:00 2001 From: sd0ric4 <1286518974@qq.com> Date: Thu, 27 Mar 2025 10:43:07 +0800 Subject: [PATCH] feat: Added workflowInteractiveResponse field in FlowNodeItemType to enhance responsiveness --- packages/global/core/workflow/type/node.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/global/core/workflow/type/node.d.ts b/packages/global/core/workflow/type/node.d.ts index deb5b24f2..de7e88a1a 100644 --- a/packages/global/core/workflow/type/node.d.ts +++ b/packages/global/core/workflow/type/node.d.ts @@ -23,6 +23,7 @@ import { NextApiResponse } from 'next'; import { AppDetailType, AppSchema } from '../../app/type'; import { ParentIdType } from 'common/parentFolder/type'; import { AppTypeEnum } from 'core/app/constants'; +import { WorkflowInteractiveResponseType } from '../template/system/interactive/type'; export type FlowNodeCommonType = { parentNodeId?: string; @@ -120,6 +121,7 @@ export type FlowNodeItemType = FlowNodeTemplateType & { showResult?: boolean; // show and hide result modal response?: ChatHistoryItemResType; isExpired?: boolean; + workflowInteractiveResponse?: WorkflowInteractiveResponseType; }; isFolded?: boolean; };