export type ApiResponse = { data: Awaited; error?: undefined; } | { data?: undefined; error: Error; };