2.8 KiB
2.8 KiB
示例 JSON
data-sources.mysql.example.json:MySQL 云库data-sources.json形状参考(复制到用户数据目录并配.env中MYSQL_DSN;见references/DATA_SOURCES.md)。version-response.json:python main.py version成功时 stdout 单行对象的形状参考。skill-policy-snapshot.*.example.json:Data Policy Snapshot 形状参考(见references/POLICY.md)。skill-cell-presentation.example.json:数据管理单元格呈现文档形状参考(见references/CELL_PRESENTATION.md)。skill-grid-presentation.example.json:数据管理整行 / 整列 / 区域呈现文档形状参考(见references/CELL_PRESENTATION.md)。render-html.action.example.json:HTML 报告「重新生成」Action 形状参考(固定 idrender-html;见references/ACTIONS.md)。lookup-action.example.json:Action 内联 Lookup(local_sql)形状参考(单选 +multiple: true;同库跨表勿填编号;见references/ACTIONS.md「跨表引用:Lookup」)。lookup-skill-cli.action.example.json:Action Lookupskill_cli形状参考(打开表单时宿主调兄弟技能 CLI 抽 JSON 选项;跨技能账号列表勿再造本库缓存表;见同节)。lookup-paged-table.action.example.json:Lookup 分页勾选小表presentation: "paged_table"形状参考(仍是display_type: lookup;见references/ACTIONS.md「分页勾选小表」)。year-month-action.example.json:Action / CRUD 账期月份字段display_type: year_month形状参考(见references/ACTIONS.md「表单字段类型对照」)。visible-when-action.example.json:Action 参数字段条件显隐visibleWhen形状参考(互斥模式联动;见references/ACTIONS.md「字段条件显隐」;≠bind.visibleWhen,≠ Policy L3)。bind-visible-when-row.action.example.json:行菜单显隐bind.visibleWhen形状参考(按当前行状态显示/隐藏行按钮;见references/ACTIONS.md「行菜单显隐」)。selection-label-column.action.example.json:选择摘要bind.labelColumn形状参考(见references/ACTIONS.md「选择摘要」)。selection-mode-optional.action.example.json:bind.selectionMode: "optional"智能勾选/按数量合并形状参考(含cron:配置页按无勾选分支,只见数量字段);用户可见文案为口语中文(见references/ACTIONS.md「勾选驱动模式」「用户可见文案」)。replaces-create.action.example.json/replaces-update.action.example.json/replaces-delete.action.example.json/replaces-import.action.example.json:数据管理默认按钮接管(replaces)形状参考;import 时 UI 仍用宿主「导入数据」面板,确认后调技能写库(见references/ACTIONS.md「replaces」)。