add good looking lobby ui with websocket support with claude sonnet 3.7

This commit is contained in:
Pablu23
2025-10-07 14:55:30 +02:00
parent 81ad47960a
commit eb6e85a099
19 changed files with 1477 additions and 86 deletions

33
src/app.d.ts vendored
View File

@@ -18,4 +18,35 @@ declare global {
}
}
export { };
export interface Player {
id: number;
name: string;
isHost: boolean;
}
export interface GameMode {
id: string;
name: string;
}
export interface Playlist {
id: number;
name: string;
imageUrl: string;
songCount: number;
}
export interface GameSettings {
maxPlayers: number;
gameMode: string;
selectedPlaylist: number;
}
export type WebSocketMessage = {
type: string;
[key: string]: any;
}
export {
};