chore: snapshot before HartOMat rebrand

This commit is contained in:
2026-04-06 12:41:44 +02:00
parent 7d27ffc116
commit fa7093307a
25 changed files with 247 additions and 92 deletions
+9
View File
@@ -65,6 +65,15 @@ export async function reprocessCadFile(cad_file_id: string): Promise<void> {
await api.post(`/worker/activity/${cad_file_id}/reprocess`)
}
export async function dismissAllFailed(): Promise<{ dismissed_renders: number; dismissed_cad: number }> {
const res = await api.post<{ dismissed_renders: number; dismissed_cad: number }>('/worker/activity/dismiss-failed')
return res.data
}
export async function dismissSingleRender(orderLineId: string): Promise<void> {
await api.post(`/worker/activity/dismiss-render/${orderLineId}`)
}
export interface RenderLogEntry {
ts: number
t: string