All checks were successful
技能自动化发布 / release (push) Successful in 15s
基于 skill-template 脚手架开发,包含: - 5 张业务表(教职工、请假政策、考勤日历、请假记录、假期余额) - 请假核算引擎(扣薪计算、审批层级判定、年假抵扣) - CLI 入口(import-employees / calculate-leave / render-html) - HTML 审批与扣薪报告生成 - 示例数据与完整测试套件(295 tests passed)
34 lines
758 B
JSON
34 lines
758 B
JSON
{
|
|
"id": "item-delete",
|
|
"label": "删除记录",
|
|
"description": "删除业务记录并清理关联副作用。",
|
|
"replaces": "delete",
|
|
"placements": [],
|
|
"executionProfile": "sync",
|
|
"interaction": "confirm",
|
|
"confirmation": {
|
|
"message": "确定删除该记录?关联数据将一并清理。"
|
|
},
|
|
"bind": {
|
|
"tables": ["items"],
|
|
"inputMapping": {
|
|
"id": "$row.$pk"
|
|
}
|
|
},
|
|
"hostEffects": {
|
|
"onSuccess": ["reloadTable", "clearSelection"]
|
|
},
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"required": ["id"],
|
|
"properties": {
|
|
"id": { "type": "number", "title": "编号", "readOnly": true }
|
|
}
|
|
},
|
|
"entrypoint": {
|
|
"type": "cli",
|
|
"command": "item",
|
|
"args": ["delete", "--id", "{{id}}"]
|
|
}
|
|
}
|