定时发布目录(ops_scheduled_publications),并加固 catalog 生成器。 Co-authored-by: Cursor <cursoragent@cursor.com>
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"ecr": "036",
|
|
"slug": "rhythm-config",
|
|
"concept": "RhythmConfig",
|
|
"list_method": "RhythmConfigs",
|
|
"get_method": "RhythmConfig",
|
|
"table": "rhythm_configs",
|
|
"migration": "000037",
|
|
"route_group": "/explore",
|
|
"route_resource": "rhythm-configs",
|
|
"perm_const": "PermExploreRead",
|
|
"perm_code": "admin.explore.read",
|
|
"new_perm": false,
|
|
"seed_code": "default_rhythm",
|
|
"register_fn": "registerRhythmConfigs",
|
|
"test_name": "TestExploreRhythmConfigs",
|
|
"row_type": "RhythmConfigRow",
|
|
"err_name": "ErrRhythmConfigNotFound",
|
|
"capability": "ExploreConfig",
|
|
"bc": "Explore_Reports",
|
|
"predecessor": "ECR-035",
|
|
"title": "ExploreConfig · RhythmConfig(只读薄切片)",
|
|
"non_goals": "配置写发布 · UGC · 真支付",
|
|
"columns": [
|
|
{
|
|
"name": "code",
|
|
"sql": "varchar(64) NOT NULL UNIQUE",
|
|
"go_name": "Code",
|
|
"go_type": "string",
|
|
"json": "code",
|
|
"seed": "default_rhythm"
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
}
|