OpStorage Class
Signature
export declare class OpStorage extends ReadDocumentStorageServiceBase
Extends: ReadDocumentStorageServiceBase
Methods
Method | Return Type | Description |
---|---|---|
getSnapshotTree(version) | Promise<ISnapshotTree | null> | |
getVersions(versionId, count) | Promise<IVersion[]> | |
readBlob(blobId) | Promise<ArrayBufferLike> |
Method Details
getSnapshotTree
Signature
getSnapshotTree(version?: IVersion): Promise<ISnapshotTree | null>;
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
version | optional | IVersion |
Returns
Return type: Promise<ISnapshotTree | null>
getVersions
Signature
getVersions(versionId: string | null, count: number): Promise<IVersion[]>;
Parameters
Parameter | Type | Description |
---|---|---|
versionId | string | null | |
count | number |
Returns
Return type: Promise<IVersion[]>
readBlob
Signature
readBlob(blobId: string): Promise<ArrayBufferLike>;
Parameters
Parameter | Type | Description |
---|---|---|
blobId | string |
Returns
Return type: Promise<ArrayBufferLike>