mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
remove next/previous ordered stop methods from repository interface
This commit is contained in:
@@ -68,6 +68,7 @@ export interface Repository {
|
||||
|
||||
getEtasForShuttleId(shuttleId: string): Promise<IEta[]>;
|
||||
getEtasForStopId(stopId: string): Promise<IEta[]>;
|
||||
|
||||
getEtaForShuttleAndStopId(shuttleId: string, stopId: string): Promise<IEta | null>;
|
||||
|
||||
getOrderedStopByRouteAndStopId(routeId: string, stopId: string): Promise<IOrderedStop | null>;
|
||||
@@ -86,9 +87,6 @@ export interface Repository {
|
||||
*/
|
||||
getOrderedStopsByRouteId(routeId: string): Promise<IOrderedStop[]>;
|
||||
|
||||
getNextOrderedStopFromOrderedStopId(stopId: string): Promise<IOrderedStop | null>;
|
||||
getPreviousOrderedStopFromOrderedStopId(stopId: string): Promise<IOrderedStop | null>;
|
||||
|
||||
// Setter methods
|
||||
addOrUpdateSystem(system: ISystem): Promise<void>;
|
||||
addOrUpdateRoute(route: IRoute): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user