Type Alias TDirectionInstructionAction

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

Represents an action within a direction instruction.

Type declaration

  • Optionalbearing?:
        | "Straight"
        | "Right"
        | "SlightRight"
        | "Left"
        | "SlightLeft"

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

  • Optionalconnection?: Connection
  • OptionalconnectionType?: string

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

  • 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:
        | "Departure"
        | "TakeConnection"
        | "ExitConnection"
        | "Turn"
        | "Arrival"

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