API > @blocksuite/store > Y > Snapshot
Class: Snapshot ​
Constructors ​
constructor ​
new Snapshot(
ds
,sv
):Snapshot
Parameters ​
Parameter | Type | Description |
---|---|---|
ds | DeleteSet | - |
sv | Map < number , number > | state map |
Returns ​
Defined In ​
node_modules/.pnpm/yjs@13.6.8/node_modules/yjs/dist/src/utils/Snapshot.d.ts:6
Properties ​
ds ​
ds:
DeleteSet
Defined In ​
node_modules/.pnpm/yjs@13.6.8/node_modules/yjs/dist/src/utils/Snapshot.d.ts:10
sv ​
sv:
Map
<number
,number
>
State Map
Defined In ​
node_modules/.pnpm/yjs@13.6.8/node_modules/yjs/dist/src/utils/Snapshot.d.ts:15