Files
smartmigration/ts/types.ts
T

15 lines
364 B
TypeScript
Raw Normal View History

/**
* Status of a migration step in a run result.
*/
export type TMigrationStatus = 'applied' | 'skipped' | 'failed';
/**
* Backend used to persist the migration ledger.
*/
export type TLedgerBackend = 'mongo' | 's3';
/**
* How strictly the registered migration chain must end at targetVersion.
*/
export type TTargetVersionStrategy = 'strict' | 'bridge';