import { apiRequest } from '@/services/apiClient'; type LoginResponse = { authenticated: boolean; }; export const loginApi = { login(username: string, password: string) { return apiRequest('/api/login', { method: 'POST', body: JSON.stringify({ username, password, }), }); }, };