@crewdle/web-sdk-types 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,4 +53,10 @@ export interface IObjectStoreBucket extends IDataStream {
|
|
|
53
53
|
* @returns The list of objects and folders.
|
|
54
54
|
*/
|
|
55
55
|
list(path: string, options?: IObjectStoreListOptions): Promise<ObjectDescriptor[]>;
|
|
56
|
+
/**
|
|
57
|
+
* Get the storage size of the bucket.
|
|
58
|
+
* @param path Optionnally takes a path to get the size of a specific object or folder.
|
|
59
|
+
* @returns The storage size.
|
|
60
|
+
*/
|
|
61
|
+
getSize(path?: string): Promise<number>;
|
|
56
62
|
}
|