2 Commits

Author SHA1 Message Date
e14cb97232 chore: auto release commit (2026-09-10 23:15:15)
All checks were successful
技能自动化发布 / release (push) Successful in 7s
2026-09-10 23:15:15 +08:00
2c7b23ac77 chore: auto release commit (2026-09-10 23:12:07)
All checks were successful
技能自动化发布 / release (push) Successful in 5s
2026-09-10 23:12:07 +08:00

View File

@@ -115,7 +115,7 @@
"label": "新增记录", "label": "新增记录",
"description": "添加待办事项。", "description": "添加待办事项。",
"replaces": "create", "replaces": "create",
"placements": [], "placements": ["toolbar"],
"executionProfile": "sync", "executionProfile": "sync",
"interaction": "form", "interaction": "form",
"bind": { "bind": {
@@ -172,6 +172,51 @@
"{{due-at}}" "{{due-at}}"
] ]
} }
},
{
"id": "todo-delete",
"label": "删除记录",
"description": "删除待办事项。",
"replaces": "delete",
"placements": ["row"],
"executionProfile": "sync",
"interaction": "confirm",
"confirmation": {
"message": "确定删除该记录?关联数据将一并清理。"
},
"bind": {
"tables": [
"todos"
]
},
"hostEffects": {
"onSuccess": [
"reloadTable",
"clearSelection"
]
},
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "number",
"title": "编号",
"readOnly": true
}
}
},
"entrypoint": {
"type": "cli",
"command": "todo",
"args": [
"delete",
"ids",
"{{id}}"
]
}
} }
] ]
} }