@supabase/storage-js
Version:
Isomorphic storage client for Supabase.
15 lines • 505 B
TypeScript
import StorageFileApi from './packages/StorageFileApi';
import StorageBucketApi from './packages/StorageBucketApi';
import { Fetch } from './lib/fetch';
export declare class StorageClient extends StorageBucketApi {
constructor(url: string, headers?: {
[key: string]: string;
}, fetch?: Fetch);
/**
* Perform file operation in a bucket.
*
* @param id The bucket id to operate on.
*/
from(id: string): StorageFileApi;
}
//# sourceMappingURL=StorageClient.d.ts.map