@webitel/api-services
    Preparing search index...

    Field of the struct.

    interface DataField {
        always?: unknown;
        binary?: TypeBinary;
        bool?: TypeBool;
        datetime?: TypeDatetime;
        default?: unknown;
        disabled?: boolean;
        duration?: TypeDuration;
        float?: TypeFloat;
        float32?: TypeFloat;
        float64?: TypeFloat;
        hidden?: boolean;
        hint?: string;
        id?: string;
        int?: TypeInt;
        int32?: TypeInt;
        int64?: TypeInt;
        kind?: TypeKind;
        lookup?: DataTypeLookup;
        name?: string;
        readonly?: boolean;
        required?: boolean;
        richtext?: TypeText;
        string?: TypeText;
        uint?: TypeUint;
        uint32?: TypeUint;
        uint64?: TypeUint;
    }
    Index

    Properties

    always?: unknown

    Always signifies that the field value will be computed on any write (INSERT OR UPDATE) operations. The field cannot be written to, and when read the result of the last generated expression will be returned.

    The generation expression can refer to other columns in the table, but not other generated columns. Any functions and operators used must be immutable. References to other tables are not allowed.

    binary?: TypeBinary
    bool?: TypeBool
    datetime?: TypeDatetime
    default?: unknown

    The default expression will be used in INSERT operation that does not specify a value for the field.

    If there is no default for a field, then the default is null.

    disabled?: boolean
    duration?: TypeDuration
    float?: TypeFloat
    float32?: TypeFloat
    float64?: TypeFloat
    hidden?: boolean
    hint?: string

    Short description. Default: {name}.

    id?: string

    Field [code] name.

    code

    int?: TypeInt
    int32?: TypeInt
    int64?: TypeInt
    kind?: TypeKind

    Required. The field type.

    name?: string

    Title of the field. Lang specific.

    title

    readonly?: boolean

    Optional. Disable any write (INSERT OR UPDATE) operations. READONLY signifies that the field value will be always computed on any write (INSERT OR UPDATE) operations. If selected, the default value MUST be specified.

    FIXME: Is base field ? [ id, created_, updated_ ]

    required?: boolean
    richtext?: TypeText
    string?: TypeText
    uint?: TypeUint
    uint32?: TypeUint
    uint64?: TypeUint