Torrent actions UI fully working (backend not yet)
This commit is contained in:
parent
c2dd367794
commit
0b8580dacd
3 changed files with 145 additions and 6 deletions
|
|
@ -69,8 +69,13 @@ export interface LiveTorrentStats {
|
|||
} | null;
|
||||
}
|
||||
|
||||
export const STATE_INITIALIZING = 'initializing';
|
||||
export const STATE_PAUSED = 'paused';
|
||||
export const STATE_LIVE = 'live';
|
||||
export const STATE_ERROR = 'error';
|
||||
|
||||
export interface TorrentStats {
|
||||
state: string,
|
||||
state: 'initializing' | 'paused' | 'live' | 'error',
|
||||
error: string | null,
|
||||
progress_bytes: number,
|
||||
finished: boolean,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue