export interface LoginRequest { username: string; password: string; } export interface RegisterRequest { username: string; password: string; email?: string; } export interface RegisterResponse { id: string; username: string; rating: number; createdAt: string; } export interface LoginResponse { token: string; } export interface CurrentUser { id: string; username: string; rating: number; createdAt: string; }