@golemio/pid
Version:
Golemio PID Module
16 lines (15 loc) • 800 B
TypeScript
import { IPublicApiGtfsTripScopeInfo } from "../../../domain/PublicApiGtfsTripLookupInterfaces";
import { ITripWithDefinedRouteDto } from "../../../../../schema-definitions/ropid-gtfs/interfaces/ITripWithOptionalAssociationsDto";
import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
export declare class PublicGtfsTripInfoTransformation extends AbstractTransformation<ITripWithDefinedRouteDto, IPublicApiGtfsTripScopeInfo> {
name: string;
protected transformInternal: (gtfsTrip: ITripWithDefinedRouteDto) => {
gtfs_trip_id: string;
route_type: string;
route_short_name: string;
shape_id: string;
origin_route_name: string;
run_number: number | null;
trip_headsign: string;
};
}