package adminconsole // GameRow is one line in the games list table. type GameRow struct { GameID string GameName string Visibility string Status string Owner string Players string TurnSchedule string CreatedAt string } // GamesListData is the view model for the paginated games list. type GamesListData struct { Items []GameRow Page int PageSize int Total int HasPrev bool HasNext bool PrevPage int NextPage int } // GameDetailData is the view model for a single game, combining the lobby // record with the runtime snapshot and the available actions. type GameDetailData struct { GameID string GameName string Description string Visibility string Status string Owner string MinPlayers int32 MaxPlayers int32 StartGapHours int32 StartGapPlayers int32 TurnSchedule string TargetEngineVersion string EnrollmentEndsAt string CreatedAt string StartedAt string FinishedAt string HasRuntime bool RuntimeStatus string CurrentEngineVersion string EngineHealth string CurrentTurn int32 NextGenerationAt string Paused bool } // EngineVersionRow is one line in the engine-version registry table. type EngineVersionRow struct { Version string ImageRef string Enabled bool CreatedAt string } // EngineVersionsData is the view model for the engine-version registry page. type EngineVersionsData struct { Items []EngineVersionRow }