- SOR.Versioning: version.check handler, ClientRelease entity + admin UI - SOR.Content: incremental card sync (DefinitionVersion cursor via Postgres trigger), content.sync / content.sets / content.card handlers - Chat: presence (account_presence) + notifications with unread count and mark-read - CardDefinition: DefinitionVersion bigint (trigger-assigned) + IsRetired soft-delete - 3 migrations applied to pg-forge-01 (Identity, Chat, Catalog) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
24 lines
958 B
C#
24 lines
958 B
C#
namespace SOR.Versioning;
|
|
|
|
// ── Request types (client → server) ──────────────────────────────────────────
|
|
|
|
/// <summary>
|
|
/// Check whether the client is on the latest version.
|
|
/// Platform values: "android", "ios", "pc", "web".
|
|
/// </summary>
|
|
public sealed record CheckVersionRequest(string ClientVersion, string Platform);
|
|
|
|
// ── Response / DTO types (server → client) ────────────────────────────────────
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public sealed record CheckVersionResponse(
|
|
string Status,
|
|
string LatestVersion,
|
|
string? DownloadUrl,
|
|
string? ReleaseNotes);
|