Use schedule checkbox for biz-state; add compare job delete action.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-17 19:11:50 +08:00
parent 108c9da00f
commit e9b8042ca7
5 changed files with 109 additions and 60 deletions

View file

@ -1895,6 +1895,9 @@ export const bizCompareUpdateJob = (jobId: string, body: Record<string, unknown>
body,
);
export const bizCompareDeleteJob = (jobId: string) =>
apiDelete<{ ok: boolean }>(`/v1/biz-state/compare/jobs/${encodeURIComponent(jobId)}`);
export const bizCompareRunJob = (jobId: string) =>
apiPost<Record<string, unknown>>(
`/v1/biz-state/compare/jobs/${encodeURIComponent(jobId)}/run`,