OptionalgetOptional. Given { type, userId, data }, returns the S3 object key for the upload. If omitted, a UUID is generated.
Required. Called after each successful upload with { url, type, userId, data }.
The return value is included in the API response as onUploadResponse (e.g. save metadata to your database and return it).
Options for setting up file upload via setupFileUpload.