namespace SOR.Versioning;
// ── Request types (client → server) ──────────────────────────────────────────
///
/// Check whether the client is on the latest version.
/// Platform values: "android", "ios", "pc", "web".
///
public sealed record CheckVersionRequest(string ClientVersion, string Platform);
// ── Response / DTO types (server → client) ────────────────────────────────────
///
/// Status values:
/// Ok — client is up to date.
/// UpdateAvailable — a newer version exists but is not required to play.
/// UpdateRequired — client must update before proceeding.
///
public sealed record CheckVersionResponse(
string Status,
string LatestVersion,
string? DownloadUrl,
string? ReleaseNotes);