mirror of
https://github.com/zoriya/flood.git
synced 2026-06-04 19:36:42 +00:00
API: torrents: calculate the Duration object in frontend
This commit is contained in:
@@ -36,7 +36,8 @@ export interface TorrentProperties {
|
||||
directory: string;
|
||||
downRate: number;
|
||||
downTotal: number;
|
||||
eta: -1 | Duration;
|
||||
// Torrent ETA (seconds), -1 means infinity
|
||||
eta: number;
|
||||
hash: string;
|
||||
isMultiFile: boolean;
|
||||
isPrivate: boolean;
|
||||
|
||||
Reference in New Issue
Block a user