@golemio/pid
Version:
Golemio PID Module
47 lines (46 loc) • 2 kB
TypeScript
import { GtfsStopWheelchairBoardingEnum, GtfsTripWheelchairAccessEnum } from "../../../helpers/AccessibilityEnums";
import { GTFSRouteTypeEnum } from "../../../helpers/RouteTypeEnums";
import { DeparturesDirectionsEnum } from "../../../schema-definitions/ropid-departures-directions";
export interface IPIDDeparture {
stop_sequence: number;
stop_headsign: string | null;
arrival_datetime: Date | null;
departure_datetime: Date | null;
stop_id: string;
platform_code: string | null;
wheelchair_boarding: GtfsStopWheelchairBoardingEnum | null;
min_stop_sequence: number | null;
max_stop_sequence: number | null;
trip_id: string;
trip_headsign: string;
trip_short_name: string | null;
wheelchair_accessible: GtfsTripWheelchairAccessEnum | null;
route_short_name: string | null;
route_type: GTFSRouteTypeEnum;
route_id: string | null;
is_night: string | null;
is_regional: string | null;
is_substitute_transport: string | null;
next_stop_id: string | null;
direction: DeparturesDirectionsEnum | null;
delay_seconds: number | null;
delay_minutes: number | null;
is_delay_available: boolean;
arrival_datetime_real: Date | null;
departure_datetime_real: Date | null;
real_wheelchair_accessible: boolean | null;
is_canceled: boolean;
run_number: number | null;
"trip.start_timestamp": string | null;
"trip.last_position.last_stop_id": string | null;
"trip.last_position.last_stop_sequence": number | null;
"trip.last_position.last_stop_name": string | null;
"trip.last_position.this_stop_sequence": number | null;
"trip.cis_stop_platform_code": string | null;
"trip.vehicle_descriptor.is_air_conditioned"?: boolean | null;
"trip.last_position.state_position"?: string | null;
planned_start_timestamp: string | null;
next_route_short_name?: string | null;
next_trip_headsign?: string | null;
max_stop_sequence_with_stop_headsign?: number | null;
}