Interface EntitySelectFieldDescription<EntityTypeIDs>

A field representing a select type (has multiple options)

interface EntitySelectFieldDescription<EntityTypeIDs extends number> {
    derived: boolean;
    kind: SELECT;
    offset?: number;
    optional: boolean;
    options: (
        (
            | EntityReferenceFieldDescription<EntityTypeIDs>
            | EntityEnumFieldDescription<EntityTypeIDs>
        ) & EntityFieldDescriptionRequired<EntityTypeIDs>
    )[];
    rank?: number;
}

Type Parameters

  • EntityTypeIDs extends number

Hierarchy (View Summary)

Properties

derived: boolean

Is this field derived? i.e. generated from a function.

kind: SELECT

The kind of this field.

offset?: number

For non derived fields, this is the ordinal position of the field within a positional serialization.

optional: boolean

Is this field optional? Note, logical fields will be treated as boolean optionals.

The various options that can be selected from.

rank?: number

Defined if this is an array, with the rank (how many nested arrays/dimensions are there)