package com.tomhempel.rbarometer.network

/** User-facing sync step — no counts; shown as friendly status text only. */
enum class SyncPhase {
    PREPARING,
    DOWNLOADING_QUESTIONNAIRES,
    DOWNLOADING_CLIENT_INFO,
    DOWNLOADING_ANSWERS,
    PROCESSING,
    SECURELY_SAVING,
    FINISHED,
}

data class SyncProgress(
    val phase: SyncPhase,
)

typealias SyncProgressCallback = (SyncProgress) -> Unit
