Type Alias TDirectionInstructionAction

TDirectionInstructionAction: {
    bearing?: TBearingType;
    connection?: Connection;
    connectionType?: TConnectionType;
    direction?: "up" | "down" | "none";
    fromFloor?: Floor;
    toFloor?: Floor;
    type: TActionType;
}

Represents an action within a direction instruction.

Type declaration

  • Optionalbearing?: TBearingType

    Bearing direction for this action (e.g., 'Straight', 'Right', 'Left').

  • Optionalconnection?: Connection

    Connection object related to the action. This represents the specific connection (e.g., elevator, stairs) involved in the current direction step.

  • OptionalconnectionType?: TConnectionType

    The type of the connection (e.g., 'elevator', 'escalator').

    in favor of connection.type

  • Optionaldirection?: "up" | "down" | "none"

    The direction of the connection (e.g., 'up', 'down').

  • OptionalfromFloor?: Floor

    The Floor from which this action starts.

  • OptionaltoFloor?: Floor

    The target Floor for this action.

  • type: TActionType

    Type of action required at this step (e.g., 'Departure', 'Arrival', 'Turn').