fix: removing all indices from flexsearch index

This commit is contained in:
Chubby Granny Chaser 2024-06-03 16:43:49 +01:00
parent 4b1248b865
commit 467ea29ec2
No known key found for this signature in database
7 changed files with 24 additions and 19 deletions

View file

@ -87,7 +87,7 @@ export interface CatalogueEntry {
}
/* Used by the library */
export interface Game extends Omit<CatalogueEntry, "cover"> {
export interface Game {
id: number;
title: string;
iconUrl: string;
@ -102,17 +102,21 @@ export interface Game extends Omit<CatalogueEntry, "cover"> {
executablePath: string | null;
lastTimePlayed: Date | null;
fileSize: number;
objectID: string;
shop: GameShop;
createdAt: Date;
updatedAt: Date;
}
export type LibraryGame = Omit<Game, "repacks">;
export interface DownloadProgress {
downloadSpeed: number;
timeRemaining: number;
numPeers: number;
numSeeds: number;
isDownloadingMetadata: boolean;
game: Omit<Game, "repacks">;
game: LibraryGame;
}
export interface UserPreferences {