FieldDefinition type alias

Module @runic-artifex/views in @runic-artifex/views 0.23.0

type FieldDefinition<TClient, TState, TValue> = Pick<BridgeField<TClient, TState, TValue>, "read" | "write"> & Partial<Omit<BridgeField<TClient, TState, TValue>, "read" | "write" | "kind">> & {
    readonly kind?: BridgeFieldKind;
};

What a field controller needs of a member: a generated BridgeField, or read and write with any of the other members. Without kind the text form is the value itself, as for text.