import type { LobbyMember, Post } from "../db/schema";

export type LobbyMemberLeaveEventData = { playerId: string; kicked?: boolean };

export type PubSubEvents = {
  "lobby:update": Lobby;
  "lobby:member:update": LobbyMember;
  "lobby:member:join": LobbyMember;
  "lobby:member:leave": LobbyMemberLeaveEventData;
};
