feat: adding cloud sync

This commit is contained in:
Chubby Granny Chaser 2024-09-25 19:37:28 +01:00
parent d88e06e289
commit e64a414309
No known key found for this signature in database
33 changed files with 1352 additions and 84 deletions

View file

@ -266,5 +266,15 @@ export interface UserStats {
friendsCount: number;
}
export interface GameArtifact {
id: string;
artifactLengthInBytes: number;
createdAt: string;
updatedAt: string;
hostname: string;
downloadCount: number;
}
export * from "./steam.types";
export * from "./real-debrid.types";
export * from "./ludusavi.types";

View file

@ -0,0 +1,23 @@
export interface LudusaviScanChange {
change: "New" | "Different" | "Removed" | "Same" | "Unknown";
decision: "Processed" | "Cancelled" | "Ignore";
}
export interface LudusaviBackup {
overall: {
totalGames: number;
totalBytes: number;
processedGames: number;
processedBytes: number;
changedGames: {
new: number;
different: number;
same: number;
};
};
games: Record<string, LudusaviScanChange>;
}
export interface LudusaviFindResult {
games: Record<string, unknown>;
}