mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 09:13:57 +00:00
feat: adding cloud sync
This commit is contained in:
@@ -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";
|
||||
|
||||
23
src/types/ludusavi.types.ts
Normal file
23
src/types/ludusavi.types.ts
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user