ISnapshot Interface
A "Full" container Snapshot, including ISnapshotTree, blobs and outstanding ops (and other metadata)
To use, import via @fluidframework/driver-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface ISnapshot
Properties
Property | Alerts | Type | Description |
---|---|---|---|
blobContents | Alpha |
Map<string, ArrayBuffer> | |
latestSequenceNumber | Alpha |
number | undefined | Sequence number for the latest op/snapshot for the file in ODSP |
ops | Alpha |
ISequencedDocumentMessage[] | |
sequenceNumber | Alpha |
number | undefined | Sequence number of the snapshot |
snapshotFormatV | Alpha |
1 | |
snapshotTree | Alpha |
ISnapshotTree |
Property Details
blobContents
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
blobContents: Map<string, ArrayBuffer>;
Type: Map<string, ArrayBuffer>
latestSequenceNumber
Sequence number for the latest op/snapshot for the file in ODSP
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
latestSequenceNumber: number | undefined;
Type: number | undefined
ops
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
ops: ISequencedDocumentMessage[];
Type: ISequencedDocumentMessage[]
sequenceNumber
Sequence number of the snapshot
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
sequenceNumber: number | undefined;
Type: number | undefined
snapshotFormatV
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
snapshotFormatV: 1;
Type: 1
snapshotTree
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
snapshotTree: ISnapshotTree;
Type: ISnapshotTree