File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11import { PostgrestClient } from '@supabase/postgrest-js'
22import { createClient , SupabaseClient } from '../../src/index'
33import { Database } from '../types'
4- import type { GenericSchema } from '../../src/lib/types'
54import type { AuthChangeEvent } from '@supabase/auth-js'
65
76// Testable subclass to expose protected methods/properties for testing
8- class TestableSupabaseClient <
9- DB = any ,
10- SN extends string & keyof DB = 'public' extends keyof DB ? 'public' : string & keyof DB ,
11- S extends GenericSchema = DB [ SN ] extends GenericSchema ? DB [ SN ] : any
12- > extends SupabaseClient < DB , SN , S > {
7+ class TestableSupabaseClient extends SupabaseClient {
138 public getAccessToken = this . _getAccessToken . bind ( this )
149 public listenForAuthEvents = this . _listenForAuthEvents . bind ( this )
1510 public get changedAccessTokenPublic ( ) {
You can’t perform that action at this time.
0 commit comments