Interface CloudStorageProvider

Generic interface for cloud storage providers.

Implement this interface to support custom storage backends beyond S3-compatible services.

interface CloudStorageProvider {
    upload(key: string, data: string | Buffer<ArrayBufferLike>): Promise<void>;
    download(key: string): Promise<string | Buffer<ArrayBufferLike>>;
    list(prefix?: string): Promise<string[]>;
    delete(key: string): Promise<void>;
}

Implemented by

Methods