File size: 562 Bytes
4416d83 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
/**
* Interface for user authentication credentials
*/
export interface LoginCredentials {
username: string;
password: string;
}
/**
* Interface for authentication response
*/
export interface AuthResponse {
success: boolean;
message: string;
user?: {
id: string;
username: string;
email: string;
};
}
/**
* Interface for error response
*/
export interface AuthError {
message: string;
status: number;
}
/**
* Google authentication credential response
*/
export interface GoogleCredentialResponse {
credential: string;
}
|