add good looking lobby ui with websocket support with claude sonnet 3.7
This commit is contained in:
33
src/app.d.ts
vendored
33
src/app.d.ts
vendored
@@ -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 {
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user