Commit 0cee5946 by Finley Ge Committed by GitHub

chore: compatitivity for v4.16 (#7399)

parent 6cc391e0
......@@ -35,7 +35,9 @@ export enum FlowNodeInputTypeEnum {
fileSelect = 'fileSelect',
timePointSelect = 'timePointSelect',
timeRangeSelect = 'timeRangeSelect',
password = 'password'
password = 'password',
agentGenerated = 'agentGenerated' // for compatibility for >= v4.16.0
}
export const FlowNodeInputMap: Record<
FlowNodeInputTypeEnum,
......@@ -114,6 +116,9 @@ export const FlowNodeInputMap: Record<
},
[FlowNodeInputTypeEnum.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