export interface User { username: string; email?: string; avatar?: string; accent_color: string; show_edit_date?: number; colored_icons?: number; floating_toolbar_enabled?: number; } export interface AuthResponse { authenticated: boolean; userId?: number; username?: string; } export interface AiSettings { openai_api_key: string; openai_base_url: string; openai_model: string; ai_enabled: 0 | 1; }