0.9.1 Fix Restart

This commit is contained in:
2026-03-14 08:57:25 +00:00
parent 5580d3be98
commit e140a9fa8c
11 changed files with 218 additions and 10 deletions

View File

@@ -435,6 +435,14 @@ export const api = {
afterMutationInvalidate(['/history']);
return result;
},
async assignJobCdMetadata(jobId, payload = {}) {
const result = await request(`/history/${jobId}/cd/assign`, {
method: 'POST',
body: JSON.stringify(payload || {})
});
afterMutationInvalidate(['/history']);
return result;
},
async deleteJobFiles(jobId, target = 'both') {
const result = await request(`/history/${jobId}/delete-files`, {
method: 'POST',