package com.doctate.watch.settings

import com.doctate.watch.BuildConfig

/**
 * Read-only access to runtime configuration. Future implementations (e.g. DataStore-backed
 * for a user-facing settings screen) can replace [BuildConfigSettings] without touching consumers.
 */
interface Settings {
    val serverUrl: String
    val apiKey: String
}

class BuildConfigSettings : Settings {
    override val serverUrl: String = BuildConfig.SERVER_URL
    override val apiKey: String = BuildConfig.API_KEY
}
