mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
19 lines
414 B
TypeScript
19 lines
414 B
TypeScript
export const IGeocodingRepository = 'IGeocodingRepository';
|
|
|
|
export interface GeoPoint {
|
|
latitude: number;
|
|
longitude: number;
|
|
}
|
|
|
|
export interface ReverseGeocodeResult {
|
|
country: string | null;
|
|
state: string | null;
|
|
city: string | null;
|
|
}
|
|
|
|
export interface IGeocodingRepository {
|
|
init(): Promise<void>;
|
|
reverseGeocode(point: GeoPoint): Promise<ReverseGeocodeResult>;
|
|
deleteCache(): Promise<void>;
|
|
}
|