Interface StepEntityConstructorAbstract<EntityTypeIDs, BaseEntity>

Represents abstract and non-abstract Entity types constructors, allowing them to be used for type-safe computation and querying.

interface StepEntityConstructorAbstract<
    EntityTypeIDs extends number,
    BaseEntity extends default<EntityTypeIDs> = default<EntityTypeIDs>,
> {
    new StepEntityConstructorAbstract(
        localID: number,
        internalReference: default<EntityTypeIDs>,
        model: default<EntityTypeIDs, BaseEntity>,
    ): BaseEntity;
    expectedType: EntityTypeIDs;
    query: EntityTypeIDs[];
}

Type Parameters

Hierarchy

Constructors

Properties

Constructors

Properties

expectedType: EntityTypeIDs

The most concrete entity ID of this.

query: EntityTypeIDs[]

The query for this type (includes the sub-types related to build the query from the inverted type index).