@golemio/pid
Version:
Golemio PID Module
29 lines (28 loc) • 907 B
TypeScript
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;
minutesBefore: number;
}