feat(migration): add safe legacy import preview

This commit is contained in:
chick
2026-07-16 13:51:11 +08:00
parent ef9a634a02
commit 8a307781c6
4 changed files with 693 additions and 1 deletions
+11
View File
@@ -10,5 +10,16 @@ export { startApi } from './start.js';
export type { StartApiOptions } from './start.js';
export { backupDatabase, restoreDatabase } from './infrastructure/database/backup.js';
export { openDatabase } from './infrastructure/database/database.js';
export {
LegacyImportError,
confirmLegacyImport,
previewLegacyImport,
} from './application/legacy-import/legacy-import.js';
export type {
LegacyImportInstancePreview,
LegacyImportPreview,
LegacyImportResult,
LegacyImportStatus,
} from './application/legacy-import/legacy-import.js';
export { MIGRATIONS, migrateDatabase } from './infrastructure/database/migrations.js';
export * as databaseSchema from './infrastructure/database/schema.js';