UNPKG

@sanity/migrate

Version:

Tooling for running data migrations on Sanity.io projects

10 lines 467 B
import { type APIConfig } from '../../types.js'; type ApiVersion = APIConfig['apiVersion']; /** * Ensures that the provided API version string is in the correct format. * If the version does not start with 'v', it will be prefixed with 'v'. * If the version does not match the expected pattern, an error will be thrown. */ export declare function ensureApiVersionFormat(version: string): ApiVersion; export {}; //# sourceMappingURL=ensureApiVersionFormat.d.ts.map