UNPKG

@golemio/pid

Version:
24 lines (23 loc) 894 B
import { ITransferDeparture } from "../../interfaces/ITransferDeparture"; import { ITransferOutputDto } from "../../interfaces/ITransferOutputDto"; import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation"; export declare class TransferDepartureTransformation extends AbstractTransformation<ITransferDeparture, ITransferOutputDto> { name: string; protected transformInternal: (departure: ITransferDeparture) => { departure_timestamp: { minutes: string | null; }; route: { short_name: string | null; type: import("../../../../helpers/RouteTypeEnums").GTFSRouteTypeEnum; }; stop: { platform_code: string | null; }; trip: { headsign: string; id: string; }; }; private calculateDepartureMinutes; }