Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb9bb4342f | |||
| 21242cdd6d | |||
| 05a71cff9b | |||
| f7290d5563 | |||
| 848bd537ed | |||
| 1e623e5c0f |
@@ -111,7 +111,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "todo-create",
|
||||
"id": "item-create",
|
||||
"label": "新增记录",
|
||||
"description": "添加待办事项。",
|
||||
"replaces": "create",
|
||||
@@ -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",
|
||||
"label": "删除记录",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
| 主能力(Action id / CLI) | 对话 | 数据管理 | 定时 | 不挂理由(若不挂) |
|
||||
|---------------------------|------|----------|------|--------------------|
|
||||
| `todo add` | 挂 | toolbar(新增按钮) | 不挂 | 定时无意义 |
|
||||
| `todo list` | 挂 | 仅展示表 | 不挂 | 定时无意义 |
|
||||
| `todo list` | 挂 | row | 不挂 | 定时无意义 |
|
||||
| `todo done` | 挂 | row + batch(标记完成) | 不挂 | 定时无意义 |
|
||||
| `todo delete` | 挂 | row + batch(删除) | 不挂 | 定时无意义 |
|
||||
| `todo stats` | 挂 | toolbar(统计) | 不挂 | 定时无意义 |
|
||||
|
||||
Reference in New Issue
Block a user