UNPKG

@golemio/pid

Version:
23 lines (22 loc) 810 B
import { ITransferDeparture, ITransferOutputDto } from "../.."; 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; }