@golemio/pid
Version:
Golemio PID Module
16 lines (15 loc) • 684 B
TypeScript
import { IGtfsRtAlert } from "../../vehicle-positions/workers/gtfs-rt/interfaces/AlertsInterfaces";
import { IJISEvent as IJISEventModel } from "../../../schema-definitions/jis/models/interfaces";
import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation";
type TransformIn = IJISEventModel & {
routes: Array<{
route_id: string;
}>;
};
type TransformOut = IGtfsRtAlert;
export declare class JISEventsGtfsRtTransformation extends AbstractTransformation<TransformIn, TransformOut> {
name: string;
private static PID_WEB_EVENTS_URL;
protected transformInternal: (data: TransformIn) => TransformOut;
}
export {};