Optionalbearing?: TBearingTypeBearing direction for this action (e.g., 'Straight', 'Right', 'Left').
Optionalconnection?: ConnectionConnection object related to the action. This represents the specific connection (e.g., elevator, stairs) involved in the current direction step.
OptionalconnectionType?: TConnectionTypeThe type of the connection (e.g., 'elevator', 'escalator').
Optionaldirection?: "up" | "down" | "none"The direction of the connection (e.g., 'up', 'down').
OptionalfromFloor?: FloorThe Floor from which this action starts.
OptionaltoFloor?: FloorThe target Floor for this action.
Type of action required at this step (e.g., 'Departure', 'Arrival', 'Turn').
Represents an action within a direction instruction.