Skip to content

Commit

Permalink
fix: update incorrect GetHostStatusResponse and GetHostsResponse (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbasPL authored Aug 22, 2022
1 parent ca46ca2 commit 866b103
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface GetHostsResponse extends DefaultResponse {
/**
* host id - ddf084f5f3d7945597991008949ea7b51e6b3d93
* ip address - 127.0.0.1
* not sure? - 58846
* port - 58846
* status - "Online"
*/
result: Array<[string, string, number, string]>;
Expand All @@ -49,12 +49,10 @@ export type HostStatus = 'Online' | 'Offline' | 'Connected';
export interface GetHostStatusResponse extends DefaultResponse {
/**
* host id - ddf084f5f3d7945597991008949ea7b51e6b3d93
* ip address - 127.0.0.1
* not sure? - 58846
* status - "Online"
* version - "1.3.15"
*/
result: [string, string, number, HostStatus, string];
result: [string, HostStatus, string];
}

export interface TorrentContentFile {
Expand Down

0 comments on commit 866b103

Please sign in to comment.