The PR introduces new options to internal uploadData API and implementation to disable the upload caching for StorageBrowser. It does not affect the functionality or interface of the public API. Here's the details:
Add a new resumableUploadsCache option to uploadData internal API. By default it's not set, indicating the internal API does NOT cache in-progress multipart uploads.
Hoist the cache instance(defaultStorage from core package) to the public client-side uploadData API. And set it to resumableUploadsCache option of internal API. It indicates the client-side public APIs continue to support the upload cache.
Description of changes
The PR introduces new options to internal
uploadData
API and implementation to disable the upload caching for StorageBrowser. It does not affect the functionality or interface of the public API. Here's the details:resumableUploadsCache
option touploadData
internal API. By default it's not set, indicating the internal API does NOT cache in-progress multipart uploads.defaultStorage
from core package) to the public client-sideuploadData
API. And set it toresumableUploadsCache
option of internal API. It indicates the client-side public APIs continue to support the upload cache.Description of how you validated changes
Unit test
Checklist
yarn test
passesChecklist for repo maintainers
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.