feat: utilisation des bar de telechargement par fichier dans le torrent plutot que celui du torrent
This commit is contained in:
1 parent
4955a730b7
commit
7e53bab0fc
6 files changed
+87
-26
No files matched your search
@@ -34,6 +34,11 @@ export interface SavedClient {
|
||||
config: Record<string, string | number>
|
||||
}
|
||||
|
||||
export interface TorrentFileProgress {
|
||||
index : number
|
||||
progress: number // 0–100
|
||||
}
|
||||
|
||||
export interface TorrentInfo {
|
||||
hash : string
|
||||
name : string
|
||||
@@ -48,6 +53,7 @@ export interface TorrentInfo {
|
||||
eta : number
|
||||
save_path : string
|
||||
category : string
|
||||
files ?: TorrentFileProgress[]
|
||||
}
|
||||
|
||||
export interface DownloadOptions {
|
||||
|
||||
Reference in new issue
Block a user