fix(realdebrid): persist web status and report relevant provider errors

Check Real-Debrid API and browser sessions through the account status flow, retain the service status across settings updates, and refresh the account row when a browser login is detected. Exclude unavailable providers that were never attempted from conversion failures and prevent aggregated fallback text from being mislabeled as a Debrid-Link terminal error. Bump the development version to 2.0.37 and add focused regression coverage.
This commit is contained in:
Sucukdeluxe
2026-08-14 21:02:30 +02:00
parent c2d5dbaeb3
commit b80209a10f
20 changed files with 556 additions and 81 deletions
+4 -4
View File
@@ -55,9 +55,9 @@ export interface DownloadStats {
runtimeMeasuredAt: number;
}
export interface DebridAccountStatus {
accountId: string;
provider: "megadebrid" | "debridlink";
export interface DebridAccountStatus {
accountId: string;
provider: DebridProvider;
label: string;
maskedLogin: string;
valid: boolean;
@@ -337,7 +337,7 @@ export interface AccountCommandResult {
}
export interface AccountCredentialCheckInput {
kind: "megadebrid-api" | "megadebrid-web" | "debridlink-api";
kind: "realdebrid-api" | "realdebrid-web" | "megadebrid-api" | "megadebrid-web" | "debridlink-api";
accountId?: string;
identity?: string;
secret?: string;