/**
 * Forge 数据库统一入口。对外唯一门面。
 *
 * 消费方应优先从 repositories 子路径 import，例如：
 *   import { repos } from '@/lib/database'  // P1 启用
 *
 * P0 阶段，只为兼容期保留 getDb 和 schema 导出。
 */

export { getDb, getSqliteInstance } from './client'
export { getDialect, isSqlite, isPg, isMysql, type Dialect } from './dialect'
export { schema } from './schema'

// 全部表对象与类型（方言透明）
export * from './schema'
