fix: keep track of local download progress

This commit is contained in:
Fredrik Burmester
2024-09-30 20:48:39 +02:00
parent 7ce2c90376
commit 5f91712126
3 changed files with 155 additions and 94 deletions

View File

@@ -10,7 +10,13 @@ interface IJobInput {
export interface JobStatus {
id: string;
status: "queued" | "running" | "completed" | "failed" | "cancelled";
status:
| "queued"
| "optimizing"
| "completed"
| "failed"
| "cancelled"
| "downloading";
progress: number;
outputPath: string;
inputUrl: string;