Files
wtr/types/location.ts

27 lines
527 B
TypeScript

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