Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SupabaseClientOptions

type SupabaseClientOptions<SchemaName> = {
db?: {
schema?: SchemaName;
}
;
auth?: {
autoRefreshToken?: boolean;
storageKey?: string;
persistSession?: boolean;
detectSessionInUrl?: boolean;
storage?: SupabaseAuthClientOptions["storage"];
flowType?: SupabaseAuthClientOptions["flowType"];
debug?: SupabaseAuthClientOptions["debug"];
lock?: SupabaseAuthClientOptions["lock"];
}
;
global?: {
fetch?: Fetch;
headers?: Record<string, string>;
}
;
accessToken?: () => Promise<string>;
}
;

§Type Parameters

§
SchemaName
[src]

§Type

§
{
db?: {
schema?: SchemaName;
}
;
auth?: {
autoRefreshToken?: boolean;
storageKey?: string;
persistSession?: boolean;
detectSessionInUrl?: boolean;
storage?: SupabaseAuthClientOptions["storage"];
flowType?: SupabaseAuthClientOptions["flowType"];
debug?: SupabaseAuthClientOptions["debug"];
lock?: SupabaseAuthClientOptions["lock"];
}
;
global?: {
fetch?: Fetch;
headers?: Record<string, string>;
}
;
accessToken?: () => Promise<string>;
}
[src]