Interface SupaworkerClientOptions

Shared connection options for Supaworker clients.

interface SupaworkerClientOptions {
    supabase_options?: SupabaseClientOptions<"supaworker">;
    supabase_service_role_key: string;
    supabase_url: string;
}

Properties

supabase_options?: SupabaseClientOptions<"supaworker">

Supabase client options to pass to the Supabase client.

supabase_service_role_key: string

The Supabase service role key. Supaworker jobs should not be accessible by the typical anon or authenticated roles. See: https://supabase.com/docs/guides/api/api-keys#the-servicerole-key

supabase_url: string

The Supabase URL.