mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
clarify functionality gap by to-do
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
import { GetterRepository } from "./GetterRepository";
|
import { GetterRepository } from "./GetterRepository";
|
||||||
import { IEta, IOrderedStop, IRoute } from "../entities/entities";
|
import { IEta, IOrderedStop, IRoute } from "../entities/entities";
|
||||||
|
|
||||||
// TODO: implement
|
|
||||||
|
|
||||||
interface ApiBasedRepositoryCache {
|
interface ApiBasedRepositoryCache {
|
||||||
etasForShuttleId: {
|
etasForShuttleId: {
|
||||||
[shuttleId: string]: IEta[],
|
[shuttleId: string]: IEta[],
|
||||||
@@ -39,6 +37,7 @@ export class ApiBasedRepository implements GetterRepository {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: migrate rest of logic over to this class
|
||||||
public async getOrderedStopByRouteAndStopId(routeId: string, stopId: string): Promise<| null> {
|
public async getOrderedStopByRouteAndStopId(routeId: string, stopId: string): Promise<| null> {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user