---
title: "UploadConfig | Upload js | Api client"
description: "Documentation for Upload JS"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias UploadConfig

type UploadConfig \= {  
    [autoUpload](#autoupload): boolean;  
    [cancelURI](#canceluri): string;  
    [file](#file): File;  
    [id](#id): string;  
    [parts](#parts): [Part](https://docs.maptiler.com/upload-js/api/types/Part/)\[\];  
    [partSize](#partsize): number;  
    [processURI](#processuri): string;  
}

-   Defined in [client/types.ts:23](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L23)

##### Index

### Properties[](#properties)

[autoUpload](#autoupload) [cancelURI](#canceluri) [file](#file) [id](#id) [parts](#parts) [partSize](#partsize) [processURI](#processuri)

## Properties[](#properties-1)

### autoUpload[](#autoupload)

autoUpload: boolean

-   Defined in [client/types.ts:30](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L30)

### cancelURI[](#canceluri)

cancelURI: string

-   Defined in [client/types.ts:29](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L29)

### file[](#file)

file: File

-   Defined in [client/types.ts:25](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L25)

### id[](#id)

id: string

-   Defined in [client/types.ts:24](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L24)

### parts[](#parts)

parts: [Part](https://docs.maptiler.com/upload-js/api/types/Part/)\[\]

-   Defined in [client/types.ts:27](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L27)

### partSize[](#partsize)

partSize: number

-   Defined in [client/types.ts:26](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L26)

### processURI[](#processuri)

processURI: string

-   Defined in [client/types.ts:28](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L28)
