test(contracts): ScheduledJob.agentRuns is API-only in db-sync (INT-3)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-29 18:15:57 +08:00
1 parent de2694cace
commit 481a97fb81
1 file changed
+2 -1
+2 -1
View File
@@ -111,10 +111,11 @@ const ROWS: Record<string, { row: Obj; dbOnly?: string[]; apiOnly?: string[] }>
SlotUnit: { row: C.SlotUnit },
SubscriptionHistory: { row: C.SubscriptionHistory },
// W7-C 定时任务(0028):board_group 在 API 里叫 group;default_enabled 只用于"恢复默认";config_customized(0045)只供启动同步
// agentRuns(INT-3)是看板列表按 agent_run 汇总出来的,不是列
ScheduledJob: {
row: C.ScheduledJob,
dbOnly: ["boardGroup", "defaultEnabled", "configCustomized"],
apiOnly: ["group"],
apiOnly: ["group", "agentRuns"],
},
ScheduledJobRun: { row: C.ScheduledJobRun },
// W7-A Pi 上游(0027):secret_ref 不出 API