Files
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": "039",
"slug": "funnel-definition",
"concept": "FunnelDefinition",
"list_method": "FunnelDefinitions",
"get_method": "FunnelDefinition",
"table": "funnel_definitions",
"migration": "000040",
"route_group": "/analytics",
"route_resource": "funnel-definitions",
"perm_const": "PermAnalyticsRead",
"perm_code": "admin.analytics.read",
"new_perm": false,
"seed_code": "signup_to_ask",
"register_fn": "registerFunnelDefinitions",
"test_name": "TestGrowthFunnelDefinitions",
"row_type": "FunnelDefinitionRow",
"err_name": "ErrFunnelDefinitionNotFound",
"capability": "GrowthInsights",
"bc": "Analytics_OpsB",
"predecessor": "ECR-038",
"title": "GrowthInsights · FunnelDefinition(只读薄切片)",
"non_goals": "漏斗写配置 · UGC · 真支付",
"columns": [
{
"name": "code",
"sql": "varchar(64) NOT NULL UNIQUE",
"go_name": "Code",
"go_type": "string",
"json": "code",
"seed": "signup_to_ask"
},
{
"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
}
]
}