Field information in the store's metadata to describe a single field available in the store.

interface FieldData {
    identifier?: boolean;
    name: string;
    precision?:
        | "single"
        | "double"
        | "long"
        | "float"
        | "smallinteger"
        | "biginteger"
        | "integer";
    title?: string;
    type: string;
}

Properties

identifier?: boolean

Marks a field as identity field. Should correlate with 'store.idProperty'

name: string

Name of the field.

precision?:
    | "single"
    | "double"
    | "long"
    | "float"
    | "smallinteger"
    | "biginteger"
    | "integer"

If 'type' of the field is 'number', the 'precision' property indicates the kind of the number.

title?: string

Title of the field.

type: string

Type of the field's value.