import type { Client } from 'board-game-engine' export type GameserverConnection = Client & ReturnType /** Bagel / board entity passed through the React tree */ export interface GameEntity { attributes: { entityType?: string type?: string player?: string | number width?: number height?: number spaces?: GameEntity[] entities?: GameEntity[] entityId?: unknown name?: string [key: string]: unknown } rule: { displayProperties?: string[] } entityId?: unknown abstract?: boolean value?: unknown }