Refactor supabase client file

Refactor the supabase client file into smaller modules.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 15:44:11 +00:00
parent 1c3c4f37e0
commit f25d55690d
5 changed files with 212 additions and 145 deletions

View File

@@ -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
};