feat: implement reset game achievements functionality

This commit is contained in:
Hachi-R
2024-12-17 13:15:55 -03:00
parent 47a5f4d327
commit ac6eb247df
6 changed files with 65 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ declare global {
) => void
) => () => Electron.IpcRenderer;
onLibraryBatchComplete: (cb: () => void) => () => Electron.IpcRenderer;
resetGameAchievements: (gameId: number) => Promise<void>;
/* User preferences */
getUserPreferences: () => Promise<UserPreferences | null>;
updateUserPreferences: (