Type alias TDirectionInstructionAction

TDirectionInstructionAction: {
    bearing?: "Straight" | "Right" | "SlightRight" | "Left" | "SlightLeft";
    connection?: Connection;
    connectionType?: string;
    direction?: "up" | "down";
    fromFloor?: Floor;
    toFloor?: Floor;
    type: "Departure" | "TakeConnection" | "ExitConnection" | "Turn" | "Arrival";
}

Represents an action within a direction instruction.

Type declaration

  • Optional bearing?: "Straight" | "Right" | "SlightRight" | "Left" | "SlightLeft"

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

  • Optional connection?: Connection
  • Optional connectionType?: string

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

  • Optional direction?: "up" | "down"

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

  • Optional fromFloor?: Floor

    The Floor from which this action starts.

  • Optional toFloor?: Floor

    The target Floor for this action.

  • type: "Departure" | "TakeConnection" | "ExitConnection" | "Turn" | "Arrival"

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