UNPKG

@golemio/pid

Version:
20 lines (19 loc) 1.71 kB
import { JISInfotextRepository } from "../../data-access/JISInfotextRepository"; import { IInfotextDepartureOutputDto, IInfotextOverviewOutputDto, IInfotextTransferOutputDto } from "../../domain/InfotextInterfaces"; import { JISInfotextStopSuppressionFilter } from "../../helpers/JISInfotextStopSuppressionFilter"; import { IGetDeparturesOptions } from "../../models/interfaces/IGetDeparturesOptions"; import { Moment } from "@golemio/core/dist/shared/moment-timezone"; import { JISInfotextDepartureTransformation } from "../transformations/JISInfotextDepartureTransformation"; import { JISInfotextOverviewTransformation } from "../transformations/JISInfotextOverviewTransformation"; import { JISInfotextTransferTransformation } from "../transformations/JISInfotextTransferTransformation"; export declare class InfotextFacade { private infotextRepository; private infotextDepartureTransformation; private infotextTransferTransformation; private infotextOverviewTransformation; private infotextStopFilter; constructor(infotextRepository: JISInfotextRepository, infotextDepartureTransformation: JISInfotextDepartureTransformation, infotextTransferTransformation: JISInfotextTransferTransformation, infotextOverviewTransformation: JISInfotextOverviewTransformation, infotextStopFilter: JISInfotextStopSuppressionFilter); getInfotextsForDepartureBoards(stopIds: string[], currentMoment: Moment, options: IGetDeparturesOptions): Promise<IInfotextDepartureOutputDto[]>; getInfotextsForTransferBoards(stopIds: string[], currentMoment: Moment, timeFrom: Moment | null): Promise<IInfotextTransferOutputDto[]>; getInfotextsForOverview(): Promise<IInfotextOverviewOutputDto[]>; }