# Interface: FileRef

Defined in: [packages/core/src/node/types.ts:556](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L556)

A file a body refers to, as `records.addFile` gives it. Put it anywhere in a
body: when the body is written, every file in it is named on the record, at most 16.

## Properties

| Property | Modifier | Type | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-hash"></a> `hash` | `readonly` | `string` | [packages/core/src/node/types.ts:557](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L557) |
| <a id="property-key"></a> `key` | `readonly` | `string` | [packages/core/src/node/types.ts:559](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L559) |
| <a id="property-mime"></a> `mime` | `readonly` | `string` | [packages/core/src/node/types.ts:561](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L561) |
| <a id="property-name"></a> `name?` | `readonly` | `string` | [packages/core/src/node/types.ts:562](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L562) |
| <a id="property-salt"></a> `salt` | `readonly` | `string` | [packages/core/src/node/types.ts:560](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L560) |
| <a id="property-size"></a> `size` | `readonly` | `number` | [packages/core/src/node/types.ts:558](https://github.com/leifriksheim/minca/blob/main/core/src/node/types.ts#L558) |
