// Legacy compatibility layer for the new consolidated database service // This file maintains backward compatibility while migrating to the new architecture import { databaseService } from './database'; // Re-export the consolidated service as dbService for existing code export const dbService = databaseService; // Re-export the error class for backward compatibility export { DatabaseError as CouchDBError } from './database'; // Legacy warning for developers console.error( '⚠️ Using legacy couchdb.factory.ts - Consider migrating to services/database directly' );