• Type Parameters

    • Database = any

    • SchemaName extends string = "public" extends keyof Database
          ? "public"
          : string & keyof Database

    • Schema extends GenericSchema = Database[SchemaName] extends GenericSchema
          ? any[any]
          : any

    Parameters

    • context: {
          cookies: (() => ReadonlyRequestCookies);
      }
      • cookies: (() => ReadonlyRequestCookies)
          • (): ReadonlyRequestCookies
          • Returns ReadonlyRequestCookies

    • __namedParameters: {
          cookieOptions?: CookieOptionsWithName;
          options?: SupabaseClientOptionsWithoutAuth<SchemaName>;
          supabaseKey?: string;
          supabaseUrl?: string;
      } = {}
      • Optional cookieOptions?: CookieOptionsWithName
      • Optional options?: SupabaseClientOptionsWithoutAuth<SchemaName>
      • Optional supabaseKey?: string
      • Optional supabaseUrl?: string

    Returns SupabaseClient<Database, SchemaName, Schema>