client.storage. Uploaded files are served from a public CDN — no extra configuration required.
upload
Upload a file to storage.
Returns (
UploadResponse)
Store the
path alongside the url in your database. You need it to delete the file.deleteFile
Delete a previously uploaded file by its storage path.Limits
Uploads that exceed 10 MB are rejected with a
StorageError.