import type { Game, GameType } from '../../game';

export interface SocketWebAppClientToServerEventsParams {
  'karts:authenticate': { authToken: string };
  'karts:list': undefined;
  'karts:tracking:subscribe': { kartGuid: string };
  'karts:tracking:unsubscribe': { kartGuid: string };
  'game-changed:subscribe': { gameId: Game['id']; gameType: GameType };
  'game-changed:unsubscribe': { gameId: Game['id']; gameType: GameType };
  'game-tracks:list': undefined;
}
