@golemio/pid
Version:
Golemio PID Module
26 lines (25 loc) • 796 B
TypeScript
import { GtfsStopWheelchairBoardingEnum } from "../../../helpers/AccessibilityEnums";
export interface IStopDto {
stop_id: string;
level_id: string;
location_type: number;
parent_station: string;
platform_code: string;
stop_code: string;
stop_desc: string;
stop_lat: number;
stop_lon: number;
stop_name: string;
stop_timezone: string;
stop_url: string;
wheelchair_boarding: GtfsStopWheelchairBoardingEnum | null;
zone_id: string;
asw_node_id: number;
asw_stop_id: number;
}
export interface IStopComputedDto {
computed_cis_stop_id: string | null;
}
export type IStopCacheDto = Pick<IStopDto, "stop_id" | "asw_node_id" | "platform_code" | "stop_name" | "wheelchair_boarding" | "zone_id"> & {
computed_cis_stop_id: string;
};