@golemio/pid
Version:
Golemio PID Module
23 lines (22 loc) • 810 B
TypeScript
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;
}