Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb9bb4342f |
@@ -173,6 +173,47 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "todo-done-row",
|
||||||
|
"label": "完成本行",
|
||||||
|
"description": "将当前待办标记为已完成。",
|
||||||
|
"placements": [
|
||||||
|
"row"
|
||||||
|
],
|
||||||
|
"executionProfile": "sync",
|
||||||
|
"interaction": "direct",
|
||||||
|
"bind": {
|
||||||
|
"tables": [
|
||||||
|
"todos"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"inputSchema": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"id"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number",
|
||||||
|
"title": "编号",
|
||||||
|
"readOnly": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hostEffects": {
|
||||||
|
"onSuccess": [
|
||||||
|
"reloadTable"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"entrypoint": {
|
||||||
|
"type": "cli",
|
||||||
|
"command": "todo",
|
||||||
|
"args": [
|
||||||
|
"done",
|
||||||
|
"{{id}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "todo-delete",
|
"id": "todo-delete",
|
||||||
"label": "删除记录",
|
"label": "删除记录",
|
||||||
|
|||||||
Reference in New Issue
Block a user