@sanity/migrate
Version:
Tooling for running data migrations on Sanity.io projects
18 lines (17 loc) • 970 B
text/typescript
export * from '../defineMigration.js'
export type {FetchOptions} from '../fetch-utils/fetchStream.js'
export * from '../it-utils/index.js'
export * from '../mutations/index.js'
export type * from '../mutations/typeUtils.js'
export * from '../runner/collectMigrationMutations.js'
export {DEFAULT_MUTATION_CONCURRENCY, MAX_MUTATION_CONCURRENCY} from '../runner/constants.js'
export * from '../runner/dryRun.js'
export * from '../runner/run.js'
export {ALLOWED_PROPERTIES} from '../runner/utils/createContextClient.js'
export type {AllowedMethods, RestrictedClient} from '../runner/utils/createContextClient.js'
export type {TransactionPayload} from '../runner/utils/toSanityMutations.js'
export {fromDocuments} from '../sources/fromDocuments.js'
export {fromExportArchive} from '../sources/fromExportArchive.js'
export {fromExportEndpoint} from '../sources/fromExportEndpoint.js'
export {safeJsonParser} from '../sources/fromExportEndpoint.js'
export * from '../types.js'