mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding cloud sync
This commit is contained in:
parent
d88e06e289
commit
e64a414309
33 changed files with 1352 additions and 84 deletions
|
@ -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>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue