@golemio/parkings
Version:
Golemio Parkings Module
12 lines (11 loc) • 666 B
TypeScript
import { IModel, PostgresModel } from "@golemio/core/dist/integration-engine/models";
import { IParking } from "../ParkingInterface";
import { IParkingLocation } from "../../schema-definitions/models/interfaces/IParkingLocation";
export declare class ParkingsLocationRepository extends PostgresModel implements IModel {
constructor();
GetOne: (id: string) => Promise<IParking | null>;
saveWithoutAddress: (parkings: IParkingLocation[]) => Promise<void>;
findWithOutdatedAddress(batchSize: number, updateInterval: number): Promise<IParkingLocation[]>;
findWithoutAddress(): Promise<IParkingLocation[]>;
private getParkingAttributesToUpdate;
}