pbl_compiler/json/compiler_pbl_game_definition.json
2026-09-19 09:00:57 +08:00

256 lines
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"tblname": "pbl_game_definition",
"alias": "pbl_compiler",
"_comment": "M3b 整改(QC #13):主键/外键类字段在 models/pbl_game_definition.json 中为 str(32)CRUD 渲染类型必须为 text原 number 会按数字输入框渲染 32 位字符串主键,排序/校验错位);同时补齐 M3b 规则导出四字段 rules_json/rules_hash/rule_count/rules_manifest 与 compile_status/error_message移除模型中不存在的幽灵字段 entity_count/event_count。",
"browserfields": {
"id": {
"label": "ID",
"list": true,
"type": "text"
},
"tenant_id": {
"label": "租户ID",
"list": true,
"type": "text"
},
"blueprint_id": {
"label": "来源蓝图",
"type": "text",
"list": true
},
"blueprint_version_no": {
"label": "蓝图版本",
"type": "number",
"list": true
},
"compiler_version_id": {
"label": "编译版本",
"type": "text",
"list": true
},
"content_fingerprint": {
"label": "SHA-256 指纹",
"type": "text",
"list": true
},
"rules_hash": {
"label": "规则集合指纹",
"type": "text",
"list": true
},
"rule_count": {
"label": "规则条数",
"type": "number",
"list": true
},
"compile_status": {
"label": "编译结果状态",
"type": "select",
"list": true
},
"quality_state": {
"label": "编译时质量状态",
"type": "select",
"list": true
},
"world_id": {
"label": "落库 world",
"type": "text",
"list": true
},
"scene_id": {
"label": "落库 scene",
"type": "text",
"list": true
},
"duration_ms": {
"label": "耗时",
"type": "number",
"list": true
},
"definition_json": {
"label": "Game Definition 正文",
"type": "text",
"list": false
},
"rules_json": {
"label": "规则映射产物(script_type=1)",
"type": "text",
"list": false
},
"rules_manifest": {
"label": "规则溯源清单",
"type": "text",
"list": false
},
"error_message": {
"label": "失败原因",
"type": "text",
"list": false
},
"created_at": {
"label": "创建时间",
"type": "text",
"list": true
}
},
"params": {
"browserfields": {
"id": {
"label": "ID",
"list": true,
"type": "text"
},
"tenant_id": {
"label": "租户ID",
"list": true,
"type": "text"
},
"blueprint_id": {
"label": "来源蓝图",
"type": "text",
"list": true
},
"blueprint_version_no": {
"label": "蓝图版本",
"type": "number",
"list": true
},
"compiler_version_id": {
"label": "编译版本",
"type": "text",
"list": true
},
"content_fingerprint": {
"label": "SHA-256 指纹",
"type": "text",
"list": true
},
"rules_hash": {
"label": "规则集合指纹",
"type": "text",
"list": true
},
"rule_count": {
"label": "规则条数",
"type": "number",
"list": true
},
"compile_status": {
"label": "编译结果状态",
"type": "select",
"list": true
},
"quality_state": {
"label": "编译时质量状态",
"type": "select",
"list": true
},
"world_id": {
"label": "落库 world",
"type": "text",
"list": true
},
"scene_id": {
"label": "落库 scene",
"type": "text",
"list": true
},
"duration_ms": {
"label": "耗时",
"type": "number",
"list": true
},
"definition_json": {
"label": "Game Definition 正文",
"type": "text",
"list": false
},
"rules_json": {
"label": "规则映射产物(script_type=1)",
"type": "text",
"list": false
},
"rules_manifest": {
"label": "规则溯源清单",
"type": "text",
"list": false
},
"error_message": {
"label": "失败原因",
"type": "text",
"list": false
},
"created_at": {
"label": "创建时间",
"type": "text",
"list": true
}
},
"editable": {
"blueprint_id": {
"label": "来源蓝图",
"type": "text"
},
"blueprint_version_no": {
"label": "蓝图版本",
"type": "number"
},
"compiler_version_id": {
"label": "编译版本",
"type": "text"
},
"content_fingerprint": {
"label": "SHA-256 指纹",
"type": "text"
},
"definition_json": {
"label": "Game Definition 正文",
"type": "text"
},
"rules_json": {
"label": "规则映射产物(script_type=1)",
"type": "text"
},
"rules_hash": {
"label": "规则集合指纹",
"type": "text"
},
"rule_count": {
"label": "规则条数",
"type": "number"
},
"rules_manifest": {
"label": "规则溯源清单",
"type": "text"
},
"world_id": {
"label": "落库 world",
"type": "text"
},
"scene_id": {
"label": "落库 scene",
"type": "text"
},
"compile_status": {
"label": "编译结果状态",
"type": "select"
},
"quality_state": {
"label": "编译时质量状态",
"type": "select"
},
"duration_ms": {
"label": "耗时",
"type": "number"
},
"error_message": {
"label": "失败原因",
"type": "text"
}
},
"_crud_note": "pbl_game_definition 是编译产物表(只读,写入由 pbl_compiler_compile 主流程完成),故本定义刻意不提供 new_data_url/update_data_url/delete_data_url —— 不开放手工增删改,避免绕过 29.6 确定性指纹与 rules_hash 收口逻辑。",
"order_by": "id DESC",
"page_size": 20
}
}