Function createClientComponentClient

  • 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

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

    Returns SupabaseClient<Database, SchemaName, Schema>