API Referencetype-aliasesGetuploadurlresponse

upload-with-progress


GetUploadUrlResponse<TMeta> = object

Defined in: src/browser/types.ts:4

Structure of the response expected from the backend getUploadUrl function.

Type Parameters

TMeta

TMeta

Properties

fields?

optional fields: Record<string, string>

Defined in: src/browser/types.ts:12

Cryptographic fields required by AWS for secure POST uploads. If omitted, the engine will safely fall back to a standard PUT request.


meta

meta: TMeta

Defined in: src/browser/types.ts:15

Custom metadata returned from the backend


presignedUrl

presignedUrl: string

Defined in: src/browser/types.ts:6

The presigned URL used to perform the PUT request