Files
wtr/types/location.ts

19 lines
356 B
TypeScript

export interface LocationSearchResult {
id: number;
name: string;
latitude: number;
longitude: number;
province: string | null;
district: string | null;
}
export interface SelectedLocation {
name: string;
province: string | null;
latitude: number;
longitude: number;
stationId: string;
stationName: string;
distanceKm: number;
}