Skip to content

@camera.ui/sdk / manager / CreateDownloadOptions

Interface: CreateDownloadOptions

Defined in: manager/index.ts:203

Options for creating a download.

Extended by

Properties

cleanup?

optional cleanup?: DownloadCleanup

Defined in: manager/index.ts:217

When the file on disk gets cleaned up. Defaults to 'never' (caller manages lifecycle). Use 'on-expiry' for multi-recipient notification images, 'on-download' for one-shot exports.


filename?

optional filename?: string

Defined in: manager/index.ts:207

Filename for Content-Disposition header (defaults to basename of filePath)


filePath

filePath: string

Defined in: manager/index.ts:205

Absolute path to the file on disk


mimeType?

optional mimeType?: string

Defined in: manager/index.ts:209

MIME type for Content-Type header (defaults to application/octet-stream)


ttlMs?

optional ttlMs?: number

Defined in: manager/index.ts:211

Time-to-live in milliseconds (defaults to 10 minutes)