import Foundation
import SwiftUI

enum ConnectionStatus: Equatable {
    case disconnected
    case connecting
    case connected
}

@Observable
final class AppState {
    var isLoggedIn = false
    var currentUser: User?
    var connectionStatus: ConnectionStatus = .disconnected
    var email: String = ""

    let chatClient = ChatClient()
}
