Refactor supabase client file
Refactor the supabase client file into smaller modules.
This commit is contained in:
@@ -2,11 +2,18 @@
|
||||
import { supabase, isValidUrl } from './client';
|
||||
import { testSupabaseConnection } from './tests';
|
||||
import { createRequiredTables, checkTablesStatus } from './setup';
|
||||
import { customFetch } from './customFetch';
|
||||
import { modifyStorageApiRequest, getStorageApiHeaders } from './storageUtils';
|
||||
import { testConnection } from './connectionTest';
|
||||
|
||||
export {
|
||||
supabase,
|
||||
isValidUrl,
|
||||
testSupabaseConnection,
|
||||
createRequiredTables,
|
||||
checkTablesStatus
|
||||
checkTablesStatus,
|
||||
customFetch,
|
||||
modifyStorageApiRequest,
|
||||
getStorageApiHeaders,
|
||||
testConnection
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user