> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: PrepareUploadOptions<Completion>

> Reference for the PrepareUploadOptions interface in bijection/server.

[server](/api/modules/server).PrepareUploadOptions

## Type parameters

| Name | Type |
| :- | :- |
| `Completion` | extends [`UploadCompletionReference`](/api/modules/server#uploadcompletionreference) |

## Properties

### complete

• **complete**: `Completion`

The mutation that attaches the file, in this component.

***

### args

• **args**: `Omit`\<[`FunctionArgs`](/api/modules/server#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.
