feat(smartmigration): add initial smartmigration package with MongoDB and S3 migration runner

This commit is contained in:
2026-04-07 17:35:05 +00:00
commit d96c6bcee8
33 changed files with 11443 additions and 0 deletions

21
ts/index.ts Normal file
View File

@@ -0,0 +1,21 @@
/**
* @push.rocks/smartmigration — unified migration runner for MongoDB and S3.
*/
export { SmartMigration, SmartMigrationError } from './classes.smartmigration.js';
export { MigrationStepBuilder } from './classes.migrationstep.js';
export { VersionResolver } from './classes.versionresolver.js';
export type {
ISmartMigrationOptions,
IMigrationContext,
IMigrationCheckpoint,
IMigrationStepInfo,
IMigrationStepDefinition,
IMigrationStepResult,
IMigrationLedgerEntry,
IMigrationRunResult,
ISmartMigrationLedgerData,
} from './interfaces.js';
export type { TMigrationStatus, TLedgerBackend } from './types.js';