mirror of
https://github.com/HugoAura/Seewo-HugoAura.git
synced 2026-06-29 21:44:26 +08:00
[Fix] Minor UX tweaks: freezeOverride components
This commit is contained in:
42
src/aura/types/main/ipc/fs.d.ts
vendored
Normal file → Executable file
42
src/aura/types/main/ipc/fs.d.ts
vendored
Normal file → Executable file
@@ -1,21 +1,21 @@
|
||||
type DownloadTaskID = string;
|
||||
type DownloadTaskStatus = "waiting" | "progressing" | "done" | "failed" | "cancelled";
|
||||
|
||||
interface DownloadTask {
|
||||
id: DownloadTaskID;
|
||||
progress: float;
|
||||
curBytes?: number;
|
||||
totalBytes?: number;
|
||||
status: DownloadTaskStatus;
|
||||
dlUrl: string | null;
|
||||
savePath: string | null;
|
||||
message?: string;
|
||||
errorObj?: Error;
|
||||
}
|
||||
|
||||
interface FSTasks {
|
||||
downloadTasks: Map<
|
||||
DownloadTaskID,
|
||||
{ status: DownloadTaskStatus; cancelReq: any }
|
||||
>;
|
||||
}
|
||||
type DownloadTaskID = string;
|
||||
type DownloadTaskStatus = "waiting" | "progressing" | "done" | "failed" | "cancelled";
|
||||
|
||||
interface DownloadTask {
|
||||
id: DownloadTaskID;
|
||||
progress: float;
|
||||
curBytes?: number;
|
||||
totalBytes?: number;
|
||||
status: DownloadTaskStatus;
|
||||
dlUrl: string | null;
|
||||
savePath: string | null;
|
||||
message?: string;
|
||||
errorObj?: Error;
|
||||
}
|
||||
|
||||
interface FSTasks {
|
||||
downloadTasks: Map<
|
||||
DownloadTaskID,
|
||||
{ status: DownloadTaskStatus; cancelReq: any }
|
||||
>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user