File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,23 @@ import { URLSearchParams } from 'url';
3
3
4
4
import { File , FormData } from 'formdata-node' ;
5
5
import { fileFromPathSync } from 'formdata-node/file-from-path' ;
6
- import got , { OptionsOfTextResponseBody , Response } from 'got' ;
6
+ import type { OptionsOfTextResponseBody , Response } from 'got' ;
7
+ import got from 'got' ;
7
8
import { Cookie } from 'tough-cookie' ;
8
9
9
10
import { magnetDecode } from '@ctrl/magnet-link' ;
10
- import {
11
+ import type {
11
12
AddTorrentOptions as NormalizedAddTorrentOptions ,
12
13
AllClientData ,
13
14
NormalizedTorrent ,
14
15
TorrentClient ,
15
16
TorrentSettings ,
16
- TorrentState ,
17
17
} from '@ctrl/shared-torrent' ;
18
+ import { TorrentState } from '@ctrl/shared-torrent' ;
18
19
import { hash } from '@ctrl/torrent-file' ;
19
20
import { urlJoin } from '@ctrl/url-join' ;
20
21
21
- import {
22
+ import type {
22
23
BaseResponse ,
23
24
RssUpdateResponse ,
24
25
SettingsResponse ,
You can’t perform that action at this time.
0 commit comments