Skip to content

js-bao-wss-client


js-bao-wss-client / BlobUploadSourceOptions

Interface: BlobUploadSourceOptions ​

Options for uploading a blob. All fields are optional: the filename and content type default to the source File's values, the SHA-256 hash is computed automatically when omitted, and retainLocal (default true) controls whether the bytes stay in the local cache after upload.

Properties ​

contentType? ​

optional contentType?: string


disposition? ​

optional disposition?: BlobDisposition


filename? ​

optional filename?: string


retainLocal? ​

optional retainLocal?: boolean


sha256Base64? ​

optional sha256Base64?: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30