docs: add docs for all new storage packages

This commit is contained in:
Elliot DeNolf
2024-04-25 13:08:32 -04:00
parent 18ee6e8867
commit 30afe81462
7 changed files with 227 additions and 10 deletions

View File

@@ -14,14 +14,15 @@ import { getStaticHandler } from './staticHandler.js'
export type VercelBlobStorageOptions = {
/**
* Access control level
* Access control level. Currently, only 'public' is supported.
* Vercel plans on adding support for private blobs in the future.
*
* @default 'public'
*/
access?: 'public'
/**
* Add a random suffix to the uploaded file name
* Add a random suffix to the uploaded file name in Vercel Blob storage
*
* @default false
*/
@@ -30,7 +31,7 @@ export type VercelBlobStorageOptions = {
/**
* Cache-Control max-age in seconds
*
* @default 31536000 (1 year)
* @defaultvalue 365 * 24 * 60 * 60 (1 Year)
*/
cacheControlMaxAge?: number