diff --git a/src/repository.ts b/src/repository.ts index f42ef55..30bca16 100644 --- a/src/repository.ts +++ b/src/repository.ts @@ -68,6 +68,7 @@ export interface Repository { getEtasForShuttleId(shuttleId: string): Promise; getEtasForStopId(stopId: string): Promise; + getEtaForShuttleAndStopId(shuttleId: string, stopId: string): Promise; getOrderedStopByRouteAndStopId(routeId: string, stopId: string): Promise; @@ -86,9 +87,6 @@ export interface Repository { */ getOrderedStopsByRouteId(routeId: string): Promise; - getNextOrderedStopFromOrderedStopId(stopId: string): Promise; - getPreviousOrderedStopFromOrderedStopId(stopId: string): Promise; - // Setter methods addOrUpdateSystem(system: ISystem): Promise; addOrUpdateRoute(route: IRoute): Promise;