Simplify game files to automatic T5 and T6 uploads
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
export type GameLibraryGame = 't5' | 't6';
|
||||
export const GAME_FILE_GAMES = [
|
||||
{ id: 't5', name: 'Black Ops I (T5)' },
|
||||
{ id: 't6', name: 'Black Ops II (T6)' }
|
||||
] as const;
|
||||
export type GameLibraryState = 'importing' | 'ready' | 'failed';
|
||||
export type LibraryCacheState = 'missing' | 'downloading' | 'verifying' | 'ready' | 'failed' | 'outdated';
|
||||
|
||||
@@ -18,7 +22,7 @@ export interface GameLibraryVersion {
|
||||
}
|
||||
export interface GameLibrary {
|
||||
id: string; name: string; game: GameLibraryGame; description: string;
|
||||
createdAt: string; versions: GameLibraryVersion[];
|
||||
createdAt: string; latestVersionId: string | null; versions: GameLibraryVersion[];
|
||||
}
|
||||
|
||||
export function formatGameBytes(bytes: number): string {
|
||||
|
||||
Reference in New Issue
Block a user