MCPcopy
hub / github.com/koala73/worldmonitor / GeoResult

Interface GeoResult

src/utils/reverse-geocode.ts:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 */
5
6export interface GeoResult {
7 country: string;
8 code: string; // ISO 3166-1 alpha-2 (e.g. "IR", "US")
9 displayName: string;
10}
11
12const cache = new Map<string, GeoResult | null>();
13let lastRequestTime = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected