UNPKG

@sanity/diff-patch

Version:

Generates a set of Sanity patches needed to change an item (usually a document) from one shape to another

9 lines (5 loc) 299 B
export {diffPatch, diffValue} from './diffPatch.js' export {DiffError} from './diffError.js' export type {SanityPatch, SanityPatchMutation, SanityPatchOperations} from './patches.js' export type {DocumentStub, PatchOptions} from './diffPatch.js' export type {Path, PathSegment} from './paths.js'