feat: modules

This commit is contained in:
archer
2023-08-04 10:39:39 +08:00
parent eb28bfb27b
commit 94a241bbb1
10 changed files with 42 additions and 27 deletions

View File

@@ -407,13 +407,7 @@ export const ContextExtractModule: FlowModuleTemplateType = {
type: FlowInputItemTypeEnum.custom,
label: '目标字段',
description: "由 '描述' 和 'key' 组成一个目标字段,可提取多个目标字段",
value: [
{
key: 'key',
desc: '目标字段',
required: true
}
]
value: []
}
],
outputs: [
@@ -438,13 +432,6 @@ export const ContextExtractModule: FlowModuleTemplateType = {
valueType: FlowValueTypeEnum.string,
type: FlowOutputItemTypeEnum.source,
targets: []
},
{
key: 'key',
label: '提取结果-目标字段',
valueType: FlowValueTypeEnum.string,
type: FlowOutputItemTypeEnum.source,
targets: []
}
]
};