UNPKG

@golemio/pid

Version:
11 lines (10 loc) 568 B
import { IStopCisDto } from "../../../../../../../schema-definitions/ropid-gtfs/interfaces/IStopCisDto"; import { IStopCacheDto } from "../../../../../../../schema-definitions/ropid-gtfs/interfaces/IStopDto"; import { RedisModel } from "@golemio/core/dist/integration-engine"; export declare class GtfsStopsRedisRepository extends RedisModel { static NAMESPACE_PREFIX: string; constructor(); refreshData(cisStops: Array<Pick<IStopCisDto, "id" | "cis">>, gtfsStops: IStopCacheDto[]): Promise<void>; private createNewCache; private deleteOldCache; }