Optional
bearing?: Bearing direction for this action (e.g., 'Straight', 'Right', 'Left').
Optional
connection?: ConnectionOptional
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.