mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Add Somewhat working logic
This commit is contained in:
parent
2a4221e787
commit
5e9aa2b0ea
13 changed files with 461 additions and 54 deletions
|
@ -182,3 +182,30 @@ export interface AllDebridUser {
|
|||
isPremium: boolean;
|
||||
premiumUntil: string;
|
||||
}
|
||||
|
||||
export enum Downloader {
|
||||
Gofile = "gofile",
|
||||
PixelDrain = "pixeldrain",
|
||||
Qiwi = "qiwi",
|
||||
Datanodes = "datanodes",
|
||||
Mediafire = "mediafire",
|
||||
Torrent = "torrent",
|
||||
RealDebrid = "realdebrid",
|
||||
AllDebrid = "alldebrid",
|
||||
TorBox = "torbox",
|
||||
}
|
||||
|
||||
export enum DownloadError {
|
||||
NotCachedInRealDebrid = "not_cached_in_realdebrid",
|
||||
NotCachedInAllDebrid = "not_cached_in_alldebrid",
|
||||
// ... alte erori existente
|
||||
}
|
||||
|
||||
export interface GamePayload {
|
||||
action: string;
|
||||
game_id: string;
|
||||
url: string | string[]; // Modificăm pentru a accepta și array de URL-uri
|
||||
save_path: string;
|
||||
header?: string;
|
||||
out?: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue