UNPKG

@golemio/pid

Version:
15 lines (14 loc) 633 B
import { GTFSRouteTypeEnum } from "../../../../helpers/RouteTypeEnums"; import { ICommonRunsMessagesModel } from "./ICommonRunsMessagesModel"; import { ICommonRunsModel } from "./ICommonRunsModel"; export interface ICommonRunWithMessageDto { run: ICommonRunsModel; run_message: ICommonRunsMessagesModel; /** * Flag set by message filters to indicate this is a not-public vehicle * (replacement bus/tram without schedule) * Used by processor to determine if missing timestamp is acceptable */ isNotPublic?: boolean; notPublicVehicleRouteType?: GTFSRouteTypeEnum.TRAM | GTFSRouteTypeEnum.BUS; }