Skip to main content
Version: 2.0.0-alpha

Interface: StorageSource

Methods

getDownloadURL

getDownloadURL(path): Promise<DownloadConfig>

Convert a storage path into a download url

Parameters

NameType
pathstring

Returns

Promise<DownloadConfig>

Defined in

lib/src/models/storage.ts:86


uploadFile

uploadFile(__namedParameters): Promise<UploadFileResult>

Upload a file, specifying a name and a path

Parameters

NameType
__namedParametersUploadFileProps

Returns

Promise<UploadFileResult>

Defined in

lib/src/models/storage.ts:75