import { clientFetch } from '@/lib/api/client'; import type { AuthTokens, LoginDto, User } from '../types'; export const AuthClientApi = { login: (dto: LoginDto) => clientFetch('/auth/login', { method: 'POST', body: JSON.stringify(dto), }), logout: () => clientFetch('/auth/logout', { method: 'POST' }), getCurrentUser: () => clientFetch('/auth/me'), };