File tree Expand file tree Collapse file tree
server/typescript/packages/migrate-ts/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export {
2424 parseSnapshot ,
2525 SNAPSHOT_FORMAT_VERSION ,
2626} from "./snapshot/serialize.js" ;
27+ export { snapshotChecksum } from "./snapshot/checksum.js" ;
2728export { snapshotPath , readSnapshot , writeSnapshot } from "./snapshot/store.js" ;
2829export { planOffline , baselineFromMetadata } from "./snapshot/plan.js" ;
2930export type { PlanOfflineArgs , PlanOfflineResult } from "./snapshot/plan.js" ;
@@ -81,6 +82,9 @@ export {
8182 deleteApplied ,
8283 appliedNames ,
8384 appliedRecords ,
85+ recordBaseline ,
86+ baselineRecord ,
87+ BASELINE_NAME ,
8488 MIGRATIONS_TABLE ,
8589 DEFAULT_LEDGER_SCHEMA ,
8690 type LedgerRow ,
@@ -96,6 +100,10 @@ export {
96100 type RollbackToResult ,
97101} from "./apply/apply.js" ;
98102
103+ // Snapshot-integrity: replay migrations and assert == committed snapshot.
104+ export { verifyReplay } from "./verify/replay.js" ;
105+ export type { VerifyReplayArgs , VerifyReplayResult } from "./verify/replay.js" ;
106+
99107// Wrangler config helpers
100108export {
101109 findWranglerConfig ,
You can’t perform that action at this time.
0 commit comments