Skip to main content
server.PrepareUploadOptions

Type parameters

Properties

complete

• complete: Completion The mutation that attaches the file, in this component.

args

• args: Omit<FunctionArgs<Completion>, "file"> Its arguments other than file.

maxBytes

• maxBytes: number The most bytes the upload may carry, at most 1 GiB.

contentType

• Optional contentType: string The Content-Type the upload must be sent with.

sha256

• Optional sha256: string The base64 SHA-256 the uploaded bytes must have.