{ "tblname": "pbl_capability_registry", "alias": "pbl_capability_registry_list", "title": "能力注册表(第11章缺口)", "_comment": "M3b 整改(QC #3):删除根级冗余 browserfields(规范只允许 params.browserfields),根键统一为 tblname/alias/title/params;alias 由 pbl_compiler(与模块同名、生成目录会与模块 wwwroot 冲突)改为 pbl_capability_registry_list;params.editable 补齐 new/update/delete_data_url 对象,三写 URL 指向显式拒绝直写的端点(唯一写入口是契约 pbl_capability_register)。", "params": { "browserfields": { "id": {"label": "ID", "type": "number", "list": true}, "tenant_id": {"label": "租户ID", "type": "text", "list": true}, "capability_key": {"label": "能力键", "type": "text", "list": true}, "category": {"label": "分类", "type": "text", "list": true}, "args_schema_json": {"label": "参数JSON Schema", "type": "text", "list": true}, "permission_required": {"label": "所需权限", "type": "text", "list": true}, "is_enabled": {"label": "启用", "type": "checkbox", "list": true}, "version_no": {"label": "版本", "type": "number", "list": true}, "description": {"label": "说明", "type": "text", "list": true} }, "editable": { "get_data_url": { "url": "{{entire_url('/pbl_compiler/api/pbl_capability_list.dspy')}}" }, "new_data_url": { "url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_create.dspy')}}" }, "update_data_url": { "url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_update.dspy')}}" }, "delete_data_url": { "url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_delete.dspy')}}" } }, "new_data_url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_create.dspy')}}", "update_data_url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_update.dspy')}}", "delete_data_url": "{{entire_url('/pbl_compiler/api/pbl_capability_registry_delete.dspy')}}", "editexclouded": ["id", "tenant_id", "created_at", "updated_at"], "_crud_note": "能力注册表只读列表:注册/更新一律走契约 pbl_capability_register(做 capability_key 规范化、args_schema JSON 校验与租户归属校验),物理删除一律禁止(历史蓝图引用会造成产物不可复现),下线用 is_enabled=0 软标记。三个写端点仅用于满足 editable 格式硬要求并封死 xls2ui 默认写包装,均返回 widgettype=Error。", "order_by": "id DESC", "page_size": 20 } }