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
Source
node_modules/.pnpm/yjs@13.6.14/node_modules/yjs/dist/src/utils/Snapshot.d.ts:6
Properties
ds
ds:
DeleteSet
Source
node_modules/.pnpm/yjs@13.6.14/node_modules/yjs/dist/src/utils/Snapshot.d.ts:10
sv
sv:
Map
<number
,number
>
State Map
Source
node_modules/.pnpm/yjs@13.6.14/node_modules/yjs/dist/src/utils/Snapshot.d.ts:15