Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

@reactor/storage — storageclient

@reactor/storage


@reactor/storage / StorageClient

Defined in: index.ts:148

new StorageClient(ctx): StorageClient

Defined in: index.ts:149

RequestContext

StorageClient

createBucket(id, options?): Promise<Result<Bucket>>

Defined in: index.ts:155

string

boolean

Promise<Result<Bucket>>


deleteBucket(id): Promise<Result<void>>

Defined in: index.ts:162

string

Promise<Result<void>>


from(bucketId): StorageBucketClient

Defined in: index.ts:151

string

StorageBucketClient


getBucket(id): Promise<Result<Bucket>>

Defined in: index.ts:170

string

Promise<Result<Bucket>>


listBuckets(): Promise<Result<Bucket[]>>

Defined in: index.ts:166

Promise<Result<Bucket[]>>