Files
homarr/packages/integrations/src/interfaces/timetable/timetable-integration.ts
T

7 lines
248 B
TypeScript

import type { Station, Timetable, TimetableOptions } from "./timetable-types";
export interface TimetableIntegration {
searchStationsAsync(query: string): Promise<Station[]>;
getTimetableAsync(options: TimetableOptions): Promise<Timetable>;
}