How to type a response from Next.js NextResponse.json() using useQuery and Supabase - TanStack