import { refreshAndRetryIfExpired } from "https://deno.land/x/windmill_helpers@v1.1.1/supabase.ts";
Executes a Supabase query. If possible and needed, refreshes the session and retries once.
Parameters
auth: Resource<"supabase">
Windmill resource representing Supabase credentials (project URL and API key).
fn: (client: SupabaseClient) => Promise<{ data: any; error?: any; }>
A function that returns a Supabase query.