import type { GameCommand, GameStatus } from '../types/online.js' export const gameStatuses = { draft: { label: 'Черновик', type: 'info' }, run: { label: 'Идёт', type: 'success' }, pause: { label: 'Пауза', type: 'warning' }, finish: { label: 'Завершена', type: 'info' }, } as const export const gameCommands: Record = { draft: ['start', 'finish'], run: ['pause', 'finish', 'reset'], pause: ['play', 'finish', 'reset'], finish: ['reset'], }