feat: Added workflowInteractiveResponse field in FlowNodeItemType to enhance responsiveness
This commit is contained in:
2
packages/global/core/workflow/type/node.d.ts
vendored
2
packages/global/core/workflow/type/node.d.ts
vendored
@@ -23,6 +23,7 @@ import { NextApiResponse } from 'next';
|
|||||||
import { AppDetailType, AppSchema } from '../../app/type';
|
import { AppDetailType, AppSchema } from '../../app/type';
|
||||||
import { ParentIdType } from 'common/parentFolder/type';
|
import { ParentIdType } from 'common/parentFolder/type';
|
||||||
import { AppTypeEnum } from 'core/app/constants';
|
import { AppTypeEnum } from 'core/app/constants';
|
||||||
|
import { WorkflowInteractiveResponseType } from '../template/system/interactive/type';
|
||||||
|
|
||||||
export type FlowNodeCommonType = {
|
export type FlowNodeCommonType = {
|
||||||
parentNodeId?: string;
|
parentNodeId?: string;
|
||||||
@@ -120,6 +121,7 @@ export type FlowNodeItemType = FlowNodeTemplateType & {
|
|||||||
showResult?: boolean; // show and hide result modal
|
showResult?: boolean; // show and hide result modal
|
||||||
response?: ChatHistoryItemResType;
|
response?: ChatHistoryItemResType;
|
||||||
isExpired?: boolean;
|
isExpired?: boolean;
|
||||||
|
workflowInteractiveResponse?: WorkflowInteractiveResponseType;
|
||||||
};
|
};
|
||||||
isFolded?: boolean;
|
isFolded?: boolean;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user