Package-level declarations

Types

Link copied to clipboard

一時ファイル経由で「壊れないこと」を最優先にファイルを書き換えるユーティリティ

Link copied to clipboard
data class SchemaMigrationStep<T>(val from: Int, val to: Int, val transform: (T) -> T)

スキーマ版数を1段階だけ引き上げる変換ステップ

Link copied to clipboard
class SchemaMigratorImpl : SchemaMigrator, KoinComponent

設定ファイルのスキーママイグレーションを行う実装クラス

Link copied to clipboard

「現行版数より新しいファイルを、通常の保存処理で巻き戻さない」ためのガード

Link copied to clipboard
@Serializable
data class SchemaVersionProbe(val schemaVersion: Int = SchemaVersions.LEGACY)

ファイルから schemaVersion だけを先読み(probe)するための最小 DTO