mancala/packages/core/src/models/UserConnectionInfo.ts
Halit Aksoy 20359b7a8f feat(frontend): show the game clocks in live games
Both clocks sit next to the players' names and count down in server time; the running one is highlighted and turns red under 30 seconds. They replace the offline countdown, so core drops TURN_TIMEOUT_MS, INACTIVE_TIMEOUT_MS, offlineSince and its text. Long info texts wrap on phones.
2026-10-16 01:39:36 +03:00

8 lines
206 B
TypeScript

export interface UserConnectionInfo {
userId: string;
isOnline: boolean;
// Sent by servers with Keycloak auth; undefined for legacy userKey players.
name?: string;
isGuest?: boolean;
}