Files
digital-psychology/docs/WAVE0/slice-specs/ecr-035.json
T
jackyu66gitandCursor b91806ba80 feat(ECR-026): OpsCMS ScheduledPublication 只读并 Closed
定时发布目录(ops_scheduled_publications),并加固 catalog 生成器。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 03:13:36 +08:00

59 lines
1.5 KiB
JSON

{
"ecr": "035",
"slug": "star-config",
"concept": "StarConfig",
"list_method": "StarConfigs",
"get_method": "StarConfig",
"table": "star_configs",
"migration": "000036",
"route_group": "/explore",
"route_resource": "star-configs",
"perm_const": "PermExploreRead",
"perm_code": "admin.explore.read",
"new_perm": true,
"seed_code": "default_star",
"register_fn": "registerStarConfigs",
"test_name": "TestExploreStarConfigs",
"row_type": "StarConfigRow",
"err_name": "ErrStarConfigNotFound",
"capability": "ExploreConfig",
"bc": "Explore_Reports",
"predecessor": "ECR-034",
"title": "ExploreConfig · StarConfig(只读薄切片)",
"non_goals": "配置写发布 · 引擎改分层 · UGC · 真支付",
"columns": [
{
"name": "code",
"sql": "varchar(64) NOT NULL UNIQUE",
"go_name": "Code",
"go_type": "string",
"json": "code",
"seed": "default_star"
},
{
"name": "title",
"sql": "varchar(128) NOT NULL",
"go_name": "Title",
"go_type": "string",
"json": "title",
"seed": "默认星座配置"
},
{
"name": "active",
"sql": "boolean NOT NULL DEFAULT true",
"go_name": "Active",
"go_type": "bool",
"json": "active",
"seed": true
},
{
"name": "system",
"sql": "boolean NOT NULL DEFAULT false",
"go_name": "System",
"go_type": "bool",
"json": "system",
"seed": true
}
]
}