View as Markdown

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.

WirePivotValueField members (5)
NameSignatureDescription
fieldreadonly field: string;
captionoptionalreadonly caption?: string;
aggregatereadonly aggregate: string;
customIdoptionalreadonly customId?: string;
showAsoptionalreadonly showAs?: unknown;