UNPKG

@golemio/pid

Version:
25 lines (24 loc) 1.04 kB
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; repeat: { time_start: string | null; time_end: string | null; }; id: string; }; }