> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt.

# Interface: ApiUploadWarnings

Defined in: [core/upload.ts:100](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/upload.ts#L100)

In-band upload warnings (values are strings, string arrays, or objects).

## Indexable

> \[`warning`: `string`]: `unknown`

Per-warning detail (bad-filetype, others, …).

## Properties

### duplicate?

> `optional` **duplicate?**: `string`\[]

Defined in: [core/upload.ts:102](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/upload.ts#L102)

Files sharing the same sha1.

***

### duplicate-archive?

> `optional` **duplicate-archive?**: `string`

Defined in: [core/upload.ts:104](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/upload.ts#L104)

Name of a previously deleted file with the same sha1 (`""` when its content is hidden).

***

### exists?

> `optional` **exists?**: `string`

Defined in: [core/upload.ts:106](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/upload.ts#L106)

The target exists; the upload was applied anyway when `ignorewarnings` set.
