Skip to main content

Classes & Interfaces

StorageSettings

Configuration for object lifecycle and storage behavior.

Properties

StorageClient

File support for the client. This interface establishes the contract for uploading files to the server and transforming the input to replace file objects with URLs.

Properties


Functions

getExpirationDurationSeconds

Converts an StorageSettings to the expiration duration in seconds. Returns: number | undefined

buildObjectLifecycleHeaders

Builds the headers for the Object Lifecycle preference to be used in API requests. This is used by the queue and run APIs to control the lifecycle of generated objects. Returns: Record<string, string>

createStorageClient

Returns: StorageClient

Types

UploadOptions

Options for uploading a file.