@skenora/document
v0.1.3
Published
Immutable SceneDocument patches, conflict checks, and document state for Skenora.
Readme
@skenora/document
Immutable SceneDocument state, patches, and conflict checks for Skenora.
pnpm add @skenora/documentSceneDocumentStore publishes revisioned DocumentChange records. Patch
helpers clone, apply, invert, and validate expected previous values without
mutating the input document.
import { applyPatchesChecked } from "@skenora/document";
const next = applyPatchesChecked(document, patches);Use @skenora/editor when you also need commands, transactions, history,
selection, undo, and redo.
See the architecture guide.
