histoire
Version:
A fast story book powered by Vite
12 lines • 791 B
TypeScript
import type { ChangeRequest, MigrationOp } from '@histoire/shared';
import type { Context } from '../../context.js';
import type { createPlanStore, PlannerOptions } from '../changes/plan-store.js';
/** Resolve migration input without executing package code or mutating project files. */
export declare function planMigrations(ctx: Pick<Context, 'root'>, request: ChangeRequest, resolvePlugin?: PlannerOptions['resolvePlugin']): Promise<{
from: string;
to: string;
ops: MigrationOp[];
}>;
/** Add migrations to existing review capabilities while retaining their expiry and disk guards. */
export declare function withMigrations(ctx: Context, base: ReturnType<typeof createPlanStore>, options: PlannerOptions): ReturnType<typeof createPlanStore>;
//# sourceMappingURL=plan.d.ts.map