Release v1.6.69

This commit is contained in:
Sucukdeluxe
2026-03-06 04:17:22 +01:00
parent 18e4b6cd58
commit e4a60a033b
16 changed files with 960 additions and 14 deletions
+2
View File
@@ -34,6 +34,8 @@ export const IPC_CHANNELS = {
IMPORT_BACKUP: "app:import-backup",
OPEN_LOG: "app:open-log",
OPEN_SESSION_LOG: "app:open-session-log",
OPEN_ALLDEBRID_LOGIN: "app:open-alldebrid-login",
GET_ALLDEBRID_HOST_INFO: "app:get-alldebrid-host-info",
RETRY_EXTRACTION: "queue:retry-extraction",
EXTRACT_NOW: "queue:extract-now",
RESET_PACKAGE: "queue:reset-package",
+3
View File
@@ -1,5 +1,6 @@
import type {
AddLinksPayload,
AllDebridHostInfo,
AppSettings,
DuplicatePolicy,
HistoryEntry,
@@ -46,6 +47,8 @@ export interface ElectronApi {
importBackup: () => Promise<{ restored: boolean; message: string }>;
openLog: () => Promise<void>;
openSessionLog: () => Promise<void>;
openAllDebridLogin: () => Promise<void>;
getAllDebridHostInfo: () => Promise<AllDebridHostInfo>;
retryExtraction: (packageId: string) => Promise<void>;
extractNow: (packageId: string) => Promise<void>;
resetPackage: (packageId: string) => Promise<void>;
+18
View File
@@ -42,6 +42,7 @@ export interface AppSettings {
megaPassword: string;
bestToken: string;
allDebridToken: string;
allDebridUseWebLogin: boolean;
ddownloadLogin: string;
ddownloadPassword: string;
oneFichierApiKey: string;
@@ -240,6 +241,23 @@ export interface UpdateInstallProgress {
message: string;
}
export type AllDebridHostState = "up" | "down" | "not_tracked" | "unknown";
export type AllDebridHostInfoSource = "api" | "web";
export interface AllDebridHostInfo {
host: string;
source: AllDebridHostInfoSource;
state: AllDebridHostState;
statusLabel: string;
fetchedAt: number;
lastCheckedAt: number | null;
quota: number | null;
quotaMax: number | null;
quotaType: string;
limitSimuDl: number | null;
note: string;
}
export interface ParsedHashEntry {
fileName: string;
algorithm: "crc32" | "md5" | "sha1";