package com.fabledsword.minstrel.models.wire

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
 * Wire shape for `GET /api/client/version`. Defaults match Flutter:
 * apk_url falls back to `/api/client/apk` if the server omits it.
 */
@Serializable
data class UpdateInfoWire(
    val version: String = "",
    @SerialName("apk_url") val apkUrl: String = "/api/client/apk",
    @SerialName("size_bytes") val sizeBytes: Long = 0,
)
