[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / UploadedFileLike

# Interface: UploadedFileLike

Defined in: [admin/src/media.ts:199](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/media.ts#L199)

A file as it arrives from a bound file input.

This is the shape of the temporary upload the framework hands a component
once the browser has POSTed the bytes: the file is already on the temp disk,
and `store()` moves it where it belongs.

## Properties

### originalName

> **originalName**: `string`

Defined in: [admin/src/media.ts:200](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/media.ts#L200)

***

### mime

> **mime**: `string`

Defined in: [admin/src/media.ts:201](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/media.ts#L201)

***

### size

> **size**: `number`

Defined in: [admin/src/media.ts:202](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/media.ts#L202)

## Methods

### store()

> **store**(`directory`, `disk?`, `filename?`): `Promise`\<`string`\>

Defined in: [admin/src/media.ts:203](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/media.ts#L203)

#### Parameters

##### directory

`string`

##### disk?

`string`

##### filename?

`string`

#### Returns

`Promise`\<`string`\>
