mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 06:10:47 +08:00
Use schedule checkbox for biz-state; add compare job delete action.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
108c9da00f
commit
e9b8042ca7
5 changed files with 109 additions and 60 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue