basalt / storage/src / TemporaryUploadUrlDriverOptions
Interface: TemporaryUploadUrlDriverOptions
Defined in: storage/src/driver.ts:139
What a driver binds into a pre-signed upload URL. Validated by the Disk layer.
Properties
checksumSha256?
> optional checksumSha256?: string
Defined in: storage/src/driver.ts:145
Base64 SHA-256 of the body, signed where the backend supports it.
contentLength?
> optional contentLength?: number
Defined in: storage/src/driver.ts:143
Exact body size in bytes, signed where the backend supports it.
contentType
> contentType: string
Defined in: storage/src/driver.ts:141
Always present: the only Content-Type the upload may declare.
endpoint?
> optional endpoint?: string
Defined in: storage/src/driver.ts:151
Sign for this base endpoint instead of the driver's own — see TemporaryUrlOptions.endpoint. A driver that cannot MUST refuse it with STORAGE_UPLOAD_URL_UNSUPPORTED rather than ignore it.