import type { paths } from '@/shared/api/schema'; import { api } from '@/shared/api/client'; type LogoutSuccessResponse = paths['/auth/logout']['post']['responses']['200']['content']['application/json']; export async function logout() { const { data: result } = await api.post('/auth/logout'); return result; }