Typescript issue with joins - Supabase