Skip to main content

ISnapshotTreeWithBlobContents Interface

This is used when we rehydrate a container from the snapshot. Here we put the blob contents in separate property: blobsContents.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-definitions/legacy.

For more information about our API support guarantees, see here.

Signature

export interface ISnapshotTreeWithBlobContents extends ISnapshotTree

Extends: ISnapshotTree

Remarks

This is used as the ContainerContext's base snapshot when attaching.

Properties

Property Alerts Modifiers Type Description
blobsContents Alpha optional { [path: string]: ArrayBufferLike; }
trees Alpha { [path: string]: ISnapshotTreeWithBlobContents; }

Property Details

blobsContents

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-definitions/alpha.

For more information about our API support guarantees, see here.

Signature

blobsContents?: {
[path: string]: ArrayBufferLike;
};

Type: { [path: string]: ArrayBufferLike; }

trees

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/container-definitions/alpha.

For more information about our API support guarantees, see here.

Signature

trees: {
[path: string]: ISnapshotTreeWithBlobContents;
};

Type: { [path: string]: ISnapshotTreeWithBlobContents; }