Files
Webklar.com/node_modules/@supabase/storage-js/dist/module/StorageClient.js
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

16 lines
507 B
JavaScript

import StorageFileApi from './packages/StorageFileApi';
import StorageBucketApi from './packages/StorageBucketApi';
export class StorageClient extends StorageBucketApi {
constructor(url, headers = {}, fetch) {
super(url, headers, fetch);
}
/**
* Perform file operation in a bucket.
*
* @param id The bucket id to operate on.
*/
from(id) {
return new StorageFileApi(this.url, this.headers, id, this.fetch);
}
}
//# sourceMappingURL=StorageClient.js.map