feat(web): add list-operator node & support file type variables

This commit is contained in:
zhaoying
2026-04-03 18:52:06 +08:00
parent 1732fc7af5
commit b20a65ce29
27 changed files with 1347 additions and 350 deletions

View File

@@ -2179,6 +2179,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
unknown: 'Unknown Node',
notes: 'Sticky Note',
'document-extractor': 'Document Extractor',
'list-operator': 'List Operator',
clickToConfigure: 'Click to configure node parameters',
nodeProperties: 'Node Properties',
@@ -2252,6 +2253,8 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
'string': 'String',
'number': 'Number',
'boolean': 'Boolean',
'file': 'File',
'array[file]': 'Array[File]',
'array[string]': 'Array[String]',
'array[number]': 'Array[Number]',
'array[boolean]': 'Array[Boolean]',
@@ -2380,6 +2383,20 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
'document-extractor': {
file_selector: 'Input Variable',
},
'list-operator': {
variable: 'Input Variable',
filter_by: 'Filter Conditions',
addCondition: 'Add Filter Condition',
order_by: 'Sort',
asc: 'asc',
desc: 'desc',
extract_by: 'Extract Nth Item',
limit: 'Take First N Items',
type: {
eq: 'In',
ne: 'Not In',
}
},
name: 'Key',
type: 'Type',
value: 'Value',

View File

@@ -2175,6 +2175,7 @@ export const zh = {
unknown: '未知节点',
notes: '便签',
'document-extractor': '文档提取器',
'list-operator': '列表操作',
clickToConfigure: '点击配置节点参数',
nodeProperties: '节点属性',
@@ -2248,6 +2249,8 @@ export const zh = {
'string': 'String',
'number': 'Number',
'boolean': 'Boolean',
'file': 'File',
'array[file]': 'Array[File]',
'array[string]': 'Array[String]',
'array[number]': 'Array[Number]',
'array[boolean]': 'Array[Boolean]',
@@ -2379,6 +2382,20 @@ export const zh = {
'document-extractor': {
file_selector: '输入变量',
},
'list-operator': {
variable: '输入变量',
filter_by: '过滤条件',
addCondition: '添加过滤条件',
order_by: '排序',
asc: 'asc',
desc: 'desc',
extract_by: '取第 N 项',
limit: '取前 N 项',
type: {
eq: '在',
ne: '不在',
}
},
name: '键',
type: '类型',
value: '值',