UNPKG

@golemio/pid

Version:
21 lines (20 loc) 940 B
import { IInfotextOverviewOutputDto } from "../../domain/InfotextInterfaces"; import { JISInfotextsModel } from "../../../../schema-definitions/jis/models/JISInfotextsModel"; import { AbstractTransformation } from "@golemio/core/dist/helpers/transformation/AbstractTransformation"; export declare class JISInfotextOverviewTransformation extends AbstractTransformation<JISInfotextsModel, IInfotextOverviewOutputDto> { name: string; protected transformInternal: (inputDto: JISInfotextsModel) => { priority: import("../../domain/InfotextPriorityEnum").InfotextPriority; display_type: import("../../domain/InfotextDisplayTypeEnum").InfotextDisplayType; text: string; text_en: string | null; related_stops: { id: string; name: string; platform_code: string; }[]; valid_from: string; valid_to: string | null; id: string; }; }