Commit 0cee5946 by Finley Ge Committed by GitHub

chore: compatitivity for v4.16 (#7399)

parent 6cc391e0
...@@ -35,7 +35,9 @@ export enum FlowNodeInputTypeEnum { ...@@ -35,7 +35,9 @@ export enum FlowNodeInputTypeEnum {
fileSelect = 'fileSelect', fileSelect = 'fileSelect',
timePointSelect = 'timePointSelect', timePointSelect = 'timePointSelect',
timeRangeSelect = 'timeRangeSelect', timeRangeSelect = 'timeRangeSelect',
password = 'password' password = 'password',
agentGenerated = 'agentGenerated' // for compatibility for >= v4.16.0
} }
export const FlowNodeInputMap: Record< export const FlowNodeInputMap: Record<
FlowNodeInputTypeEnum, FlowNodeInputTypeEnum,
...@@ -114,6 +116,9 @@ export const FlowNodeInputMap: Record< ...@@ -114,6 +116,9 @@ export const FlowNodeInputMap: Record<
}, },
[FlowNodeInputTypeEnum.password]: { [FlowNodeInputTypeEnum.password]: {
icon: 'core/workflow/inputType/password' icon: 'core/workflow/inputType/password'
},
[FlowNodeInputTypeEnum.agentGenerated]: {
icon: 'core/workflow/inputType/agentGenerated'
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment