Skip to content

Commit 63461e5

Browse files
chore: update pipeline schema files from MaaFramework
Triggered by bbcf93f [skip changelog]
1 parent bbcf93f commit 63461e5

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

deps/tools/pipeline.schema.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,23 @@
307307
],
308308
"default": []
309309
},
310+
"jsonStringOrListOrMap": {
311+
"anyOf": [
312+
{
313+
"type": "string"
314+
},
315+
{
316+
"$ref": "#/$defs/jsonStringList"
317+
},
318+
{
319+
"type": "object",
320+
"additionalProperties": {
321+
"type": "string"
322+
}
323+
}
324+
],
325+
"default": {}
326+
},
310327
"NodeAttr": {
311328
"type": "object",
312329
"properties": {
@@ -4095,8 +4112,8 @@
40954112
"anchor": {
40964113
"title": "Anchor Property",
40974114
"description": "锚点名称。可选,默认空。",
4098-
"$ref": "#/$defs/jsonStringOrList",
4099-
"markdownDescription": "*string* | *list<string, >*\n\n锚点名称。可选,默认空。\n\n当节点执行成功后,会将该锚点名设置为当前节点。多个节点可设置同一个锚点名,后执行的会覆盖先执行的。\n\n在 `next` 或 `on_error` 中可通过 `[Anchor]` 属性引用该锚点,运行时会解析为最后设置该锚点的节点。\n\n详见文档中的「节点属性」章节。"
4115+
"$ref": "#/$defs/jsonStringOrListOrMap",
4116+
"markdownDescription": "*string* | *list<string, >* | *object*\n\n锚点名称。可选,默认空。\n\n当节点执行成功后,会将该锚点名设置为对应的节点。多个节点可设置同一个锚点名,后执行的会覆盖先执行的。\n\n支持三种格式:\n- 字符串:`\"anchor\": \"MyAnchor\"` - 将锚点设置为当前节点\n- 字符串数组:`\"anchor\": [\"A\", \"B\"]` - 将多个锚点都设置为当前节点\n- 对象:`\"anchor\": {\"A\": \"TargetNode\", \"B\": \"\"}` - 将锚点 A 设置为 TargetNode,清除锚点 B(空字符串表示清除该锚点)\n\n在 `next` 或 `on_error` 中可通过 `[Anchor]` 属性引用该锚点,运行时会解析为最后设置该锚点的节点。\n\n详见文档中的「节点属性」章节。"
41004117
},
41014118
"inverse": {
41024119
"title": "Inverse Property",

0 commit comments

Comments
 (0)