Interface EntityFieldDescription<EntityTypeIDs>

Base field type for an entity described via reflection.

interface EntityFieldDescription<EntityTypeIDs extends number> {
    derived: boolean;
    kind: FieldDescriptionKind;
    offset?: number;
    optional: boolean;
    rank?: number;
}

Type Parameters

  • EntityTypeIDs extends number

Hierarchy (View Summary)

Properties

derived: boolean

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

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.

rank?: number

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