add chat basics

This commit is contained in:
2026-07-28 20:45:30 +03:00
parent 1f90bf67ab
commit 644bcf9895
72 changed files with 323 additions and 14 deletions
@@ -0,0 +1,9 @@
package ru.shadowsparky.updater.domain
interface UpdateFetcher {
suspend fun fetch(versionCode: Long): UpdateInfo
companion object {
const val ARG_VERSION_CODE = "versionCode"
}
}
@@ -0,0 +1,12 @@
package ru.shadowsparky.updater.domain
import kotlinx.serialization.Serializable
@Serializable
data class UpdateInfo(
val versionCode: Long? = null,
val versionName: String? = null,
val url: String? = null,
val changelog: String? = null,
val force: Boolean = false
)