mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: moving visibility update to settings
This commit is contained in:
parent
383578bca2
commit
2b2b5afd79
51 changed files with 1096 additions and 10511 deletions
66
src/types/real-debrid.types.ts
Normal file
66
src/types/real-debrid.types.ts
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
export interface RealDebridUnrestrictLink {
|
||||
id: string;
|
||||
filename: string;
|
||||
mimeType: string;
|
||||
filesize: number;
|
||||
link: string;
|
||||
host: string;
|
||||
host_icon: string;
|
||||
chunks: number;
|
||||
crc: number;
|
||||
download: string;
|
||||
streamable: number;
|
||||
}
|
||||
|
||||
export interface RealDebridAddMagnet {
|
||||
id: string;
|
||||
// URL of the created resource
|
||||
uri: string;
|
||||
}
|
||||
|
||||
export interface RealDebridTorrentInfo {
|
||||
id: string;
|
||||
filename: string;
|
||||
original_filename: string;
|
||||
hash: string;
|
||||
bytes: number;
|
||||
original_bytes: number;
|
||||
host: string;
|
||||
split: number;
|
||||
progress: number;
|
||||
status:
|
||||
| "magnet_error"
|
||||
| "magnet_conversion"
|
||||
| "waiting_files_selection"
|
||||
| "queued"
|
||||
| "downloading"
|
||||
| "downloaded"
|
||||
| "error"
|
||||
| "virus"
|
||||
| "compressing"
|
||||
| "uploading"
|
||||
| "dead";
|
||||
added: string;
|
||||
files: {
|
||||
id: number;
|
||||
path: string;
|
||||
bytes: number;
|
||||
selected: number;
|
||||
}[];
|
||||
links: string[];
|
||||
ended: string;
|
||||
speed: number;
|
||||
seeders: number;
|
||||
}
|
||||
|
||||
export interface RealDebridUser {
|
||||
id: number;
|
||||
username: string;
|
||||
email: string;
|
||||
points: number;
|
||||
locale: string;
|
||||
avatar: string;
|
||||
type: string;
|
||||
premium: number;
|
||||
expiration: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue