export interface LoginCredentials {
    auth: string;
    password: string;
    package_name: string;
}

export interface LoginResponse {
    token: string;
    user?: User;
    message?: string;
}

export interface User {
    id: string;
    email: string;
    name?: string;
    role?: string;
    is_admin?: String;
}

export interface AuthState {
    user: User | null;
    token: string | null;
    isLoading: boolean;
    error: string | null;
}