@sanity/migrate
Version:
Tooling for running data migrations on Sanity.io projects
20 lines • 562 B
TypeScript
import { Migration } from '../../types.js';
/**
* A resolved migration, where you are guaranteed that the migration file exists
*
* @internal
*/
interface ResolvedMigration {
id: string;
migration: Migration;
}
/**
* Resolves all migrations in the studio working directory
*
* @param workDir - The studio working directory
* @returns Array of migrations and their respective paths
* @internal
*/
export declare function resolveMigrations(workDir: string): Promise<ResolvedMigration[]>;
export {};
//# sourceMappingURL=resolveMigrations.d.ts.map