feat: migrating user preferences

This commit is contained in:
Chubby Granny Chaser 2025-01-21 03:48:46 +00:00
parent d760d0139d
commit f1e0ba4dd6
No known key found for this signature in database
53 changed files with 737 additions and 790 deletions

View file

@ -1,5 +1,13 @@
import type { GameStatus } from "./game.types";
import { Game } from "./level.types";
import type { Download } from "./level.types";
export type DownloadStatus =
| "active"
| "waiting"
| "paused"
| "error"
| "complete"
| "seeding"
| "removed";
export interface DownloadProgress {
downloadSpeed: number;
@ -9,8 +17,8 @@ export interface DownloadProgress {
isDownloadingMetadata: boolean;
isCheckingFiles: boolean;
progress: number;
gameId: number;
game: Game;
gameId: string;
download: Download;
}
/* Torbox */
@ -162,7 +170,7 @@ export interface RealDebridUser {
/* Torrent */
export interface SeedingStatus {
gameId: number;
status: GameStatus;
gameId: string;
status: DownloadStatus;
uploadSpeed: number;
}