API reference: @salmonui/data/json
WirePivotValueFieldinterface
import type { WirePivotValueField } from '@salmonui/data/json';Also exported from @salmonui/data.
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.
| Name | Signature | Description |
|---|---|---|
field | readonly field: string; | |
captionoptional | readonly caption?: string; | |
aggregate | readonly aggregate: string; | |
customIdoptional | readonly customId?: string; | |
showAsoptional | readonly showAs?: unknown; |