I am using the openapi lib to generate the types for the db. when i want to select from specific table, i provide the generic in the FROM function. but that is apparently incorrect. i followed this example. https://supabase.com/docs/guides/api/generating-types but when i pass the generic in the same way as the example, i get the following error: No overload expects 1 type arguments, but overloads do exist that expect either 0 or 2 type arguments.
my code: const data = supabaseAdmin.from<definitions['account']>('account').select('')
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.