Optional
bearing?: Bearing direction for this action (e.g., 'Straight', 'Right', 'Left').
Optional
connection?: ConnectionConnection object related to the action. This represents the specific connection (e.g., elevator, stairs) involved in the current direction step.
Optional
connectionThe type of the connection (e.g., 'elevator', 'escalator').
Optional
direction?: "up" | "down" | "none"The direction of the connection (e.g., 'up', 'down').
Optional
fromThe Floor from which this action starts.
Optional
toThe target Floor for this action.
Type of action required at this step (e.g., 'Departure', 'Arrival', 'Turn').
Represents an action within a direction instruction.