File tree 4 files changed +11
-1
lines changed
4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -15,5 +15,6 @@ module.exports = {
15
15
'no-await-in-loop' : 0 ,
16
16
'@typescript-eslint/camelcase' : 0 ,
17
17
'@typescript-eslint/promise-function-async' : 0 ,
18
+ '@typescript-eslint/unified-signatures' : 0 ,
18
19
} ,
19
20
} ;
Original file line number Diff line number Diff line change @@ -337,6 +337,8 @@ export class Deluge implements TorrentClient {
337
337
'total_payload_upload' ,
338
338
'next_announce' ,
339
339
'tracker_status' ,
340
+ 'tracker' ,
341
+ 'comment' ,
340
342
'num_pieces' ,
341
343
'piece_length' ,
342
344
'is_auto_managed' ,
@@ -361,6 +363,8 @@ export class Deluge implements TorrentClient {
361
363
'time_added' ,
362
364
'tracker_host' ,
363
365
'save_path' ,
366
+ 'total_size' ,
367
+ 'num_files' ,
364
368
'total_done' ,
365
369
'total_uploaded' ,
366
370
'max_download_speed' ,
@@ -542,6 +546,7 @@ export class Deluge implements TorrentClient {
542
546
totalPeers : torrent . total_peers ,
543
547
totalSeeds : torrent . total_seeds ,
544
548
totalSelected : torrent . total_wanted ,
549
+ totalSize : torrent . total_size ,
545
550
totalUploaded : torrent . total_uploaded ,
546
551
totalDownloaded : torrent . total_done ,
547
552
} ;
Original file line number Diff line number Diff line change @@ -137,9 +137,13 @@ export interface Torrent {
137
137
max_upload_speed : number ;
138
138
eta : number ;
139
139
save_path : string ;
140
+ comment : string ;
141
+ num_files : number ;
142
+ total_size : number ;
140
143
progress : number ;
141
144
time_added : number ;
142
145
tracker_host : string ;
146
+ tracker : string ;
143
147
total_uploaded : number ;
144
148
total_done : number ;
145
149
total_wanted : number ;
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ describe('Deluge', () => {
97
97
} ) ;
98
98
it ( 'should logout' , async ( ) => {
99
99
const deluge = new Deluge ( { baseUrl } ) ;
100
- await deluge . logout ( ) ;
100
+ await deluge . login ( ) ;
101
101
const success = await deluge . logout ( ) ;
102
102
expect ( success ) . toBe ( true ) ;
103
103
} ) ;
You can’t perform that action at this time.
0 commit comments