mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
67 lines
2.8 KiB
TypeScript
67 lines
2.8 KiB
TypeScript
import { IEta } from "../../../entities/ShuttleRepositoryEntities";
|
|
import { ETARepositoryEventName, ETARepositoryEventListener } from "./ETAGetterRepository";
|
|
import { ExternalSourceETARepository } from "./ExternalSourceETARepository";
|
|
|
|
export class RedisExternalSourceETARepository implements ExternalSourceETARepository {
|
|
addOrUpdateEtaFromExternalSource(eta: IEta): Promise<void> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
removeEtaIfExists(shuttleId: string, stopId: string): Promise<IEta | null> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
on<T extends ETARepositoryEventName>(event: T, listener: ETARepositoryEventListener<T>): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
once<T extends ETARepositoryEventName>(event: T, listener: ETARepositoryEventListener<T>): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
off<T extends ETARepositoryEventName>(event: T, listener: ETARepositoryEventListener<T>): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
addListener<T extends ETARepositoryEventName>(event: T, listener: ETARepositoryEventListener<T>): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
removeListener<T extends ETARepositoryEventName>(event: T, listener: ETARepositoryEventListener<T>): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
getEtasForShuttleId(shuttleId: string): Promise<IEta[]> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
getEtasForStopId(stopId: string): Promise<IEta[]> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
getEtaForShuttleAndStopId(shuttleId: string, stopId: string): Promise<IEta | null> {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
removeAllListeners(eventName?: string | symbol | undefined): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
setMaxListeners(n: number): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
getMaxListeners(): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
listeners<K>(eventName: string | symbol): Function[] {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
rawListeners<K>(eventName: string | symbol): Function[] {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
emit<K>(eventName: string | symbol, ...args: any[]): boolean {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
listenerCount<K>(eventName: string | symbol, listener?: Function | undefined): number {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
prependListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
prependOnceListener<K>(eventName: string | symbol, listener: (...args: any[]) => void): this {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
eventNames(): (string | symbol)[] {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
}
|