// Database Service - Consolidated database access layer // This module provides a unified interface for database operations // using the strategy pattern to switch between mock and production implementations export { DatabaseService, databaseService, DatabaseError, } from './DatabaseService'; export type { DatabaseStrategy } from './types'; export { MockDatabaseStrategy } from './MockDatabaseStrategy'; export { ProductionDatabaseStrategy } from './ProductionDatabaseStrategy'; // Legacy compatibility - re-export as dbService for existing code import { databaseService } from './DatabaseService'; export { databaseService as dbService }; // Re-export CouchDBError for backward compatibility import { DatabaseError } from './types'; export { DatabaseError as CouchDBError };