Skip to content

BlockSuite API Documentation / @blocksuite/store / Y / Snapshot

Class: Snapshot

Constructors

new Snapshot(ds, sv)

new Snapshot(ds, sv): Snapshot

Parameters

ds: DeleteSet

sv: Map<number, number>

state map

Returns

Snapshot

Source

node_modules/.pnpm/yjs@13.6.11/node_modules/yjs/dist/src/utils/Snapshot.d.ts:6

Properties

ds

ds: DeleteSet

Source

node_modules/.pnpm/yjs@13.6.11/node_modules/yjs/dist/src/utils/Snapshot.d.ts:10


sv

sv: Map<number, number>

State Map

Source

node_modules/.pnpm/yjs@13.6.11/node_modules/yjs/dist/src/utils/Snapshot.d.ts:15


Generated using TypeDoc and typedoc-plugin-markdown.