export interface LoginFailure { error: string; // Wrong email or password: both fields are marked, without saying which one was wrong invalidCredentials: boolean; }