Merge branch 'feature/cloud-sync' into feature/game-achievements

This commit is contained in:
Zamitto 2024-10-19 11:53:03 -03:00
commit 614c840aac
26 changed files with 423 additions and 130 deletions

View file

@ -116,6 +116,7 @@ export interface Game {
bytesDownloaded: number;
playTimeInMilliseconds: number;
downloader: Downloader;
winePrefixPath: string | null;
executablePath: string | null;
lastTimePlayed: Date | null;
uri: string | null;
@ -334,6 +335,7 @@ export type GameAchievementFiles = {
export interface GameArtifact {
id: string;
artifactLengthInBytes: number;
downloadOptionTitle: string | null;
createdAt: string;
updatedAt: string;
hostname: string;

View file

@ -25,3 +25,18 @@ export interface LudusaviBackup {
export interface LudusaviFindResult {
games: Record<string, unknown>;
}
export interface LudusaviConfig {
manifest: {
enable: boolean;
secondary: {
url: string;
enable: boolean;
}[];
};
customGames: {
name: string;
files: string[];
registry: [];
}[];
}