@golemio/pid
Version:
Golemio PID Module
14 lines (13 loc) • 845 B
TypeScript
import { ICommonRunWithMessageDto } from "../../../../../schema-definitions/vehicle-positions/models/interfaces/ICommonRunWithMessageDto";
import { BaseTransformation, ITransformation } from "@golemio/core/dist/integration-engine/transformations";
import { ICommonRunsInputData, ICommonRunsInputElement } from "../interfaces/CommonRunsMessageInterfaces";
export declare class CommonRunsMessagesTransformation extends BaseTransformation implements ITransformation {
name: string;
private readonly commonRunHelper;
constructor();
/**
* Overrides BaseTransformation::transform
*/
transform: ({ data, timestamp }: ICommonRunsInputData, isTram?: boolean) => Promise<ICommonRunWithMessageDto[]>;
protected transformElement: (element: ICommonRunsInputElement, isTram?: boolean) => Promise<ICommonRunWithMessageDto>;
}