Skip to main content
Version: 1.0.0

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