Poor mans desktop (UI) widgets for ratelimits
This commit is contained in:
parent
06b50d65ab
commit
69a638fb81
2 changed files with 37 additions and 0 deletions
|
|
@ -39,6 +39,11 @@ interface RqbitDesktopConfigUpnp {
|
|||
server_friendly_name: string;
|
||||
}
|
||||
|
||||
export interface LimitsConfig {
|
||||
upload_bps?: number | null;
|
||||
download_bps?: number | null;
|
||||
}
|
||||
|
||||
export interface RqbitDesktopConfig {
|
||||
default_download_location: PathLike;
|
||||
disable_upload?: boolean;
|
||||
|
|
@ -48,6 +53,7 @@ export interface RqbitDesktopConfig {
|
|||
persistence: RqbitDesktopConfigPersistence;
|
||||
peer_opts: RqbitDesktopConfigPeerOpts;
|
||||
http_api: RqbitDesktopConfigHttpApi;
|
||||
ratelimits: LimitsConfig;
|
||||
}
|
||||
|
||||
export interface CurrentDesktopState {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue