# WirePivotValueField (@salmonui/data/json)

> The WirePivotValueField interface of @salmonui/data/json: A value field of a wire pivot model; aggregate: 'custom' (a client function) cannot travel.

Canonical: https://salmonui.dev/docs/reference/data/json/WirePivotValueField

```ts
import type { WirePivotValueField } from '@salmonui/data/json';
```

Also exported from `@salmonui/data`.

Entry index: https://salmonui.dev/docs/reference/data/json (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data/json.md).

## Reference

Kind: interface

```ts
interface WirePivotValueField {
    readonly field: string;
    readonly caption?: string;
    readonly aggregate: string;
    readonly customId?: string;
    readonly showAs?: unknown;
}
```

A value field of a wire pivot model; `aggregate: 'custom'` (a client function) cannot travel.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `field` | `readonly field: string;` |  |  |
| `caption` | `readonly caption?: string;` | optional |  |
| `aggregate` | `readonly aggregate: string;` |  |  |
| `customId` | `readonly customId?: string;` | optional |  |
| `showAs` | `readonly showAs?: unknown;` | optional |  |
