Skip to main content

Interface: StorageSource

Methods

getDownloadURL

โ–ธ getDownloadURL(path): Promise<string>

Convert a storage path into a download url

Parameters

NameType
pathstring

Returns

Promise<string>

Defined in

models/storage.ts:43


uploadFile

โ–ธ uploadFile(__namedParameters): Promise<UploadFileResult>

Upload a file, specifying a name and a path

Parameters

NameType
__namedParametersUploadFileProps

Returns

Promise<UploadFileResult>

Defined in

models/storage.ts:32