UNPKG

@golemio/pid

Version:
28 lines (27 loc) 880 B
import { GTFSRouteTypeEnum } from "../../../../../helpers/RouteTypeEnums"; import { IBoundingBox } from "../../../domain/IBoudingBox"; import { DetailedTripScope } from "../../../routers/v2/helpers/DetailedTripScopeEnum"; export interface IVehiclePositionsParams { boundingBox: IBoundingBox; routeShortName: string | string[] | undefined; type: GTFSRouteTypeEnum[] | undefined; } export interface IDetailedInfoParams { vehicleId: string; tripId?: string; scopes: DetailedTripScope[]; } export interface IGtfsTripLookupParams { gtfsTripId: string; scopes: DetailedTripScope[]; } export interface IDepartureBoardsStopIdGroups { priority: number; stopIds: string[]; } export interface IDepartureBoardsParams { stopIds: Set<IDepartureBoardsStopIdGroups>; limit: number; routeShortNames: string[] | null; minutesAfter: number; }