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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!