feat: redesign dashboard around place search
This commit is contained in:
16
types/location.ts
Normal file
16
types/location.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
stationId: string;
|
||||
stationName: string;
|
||||
distanceKm: number;
|
||||
}
|
||||
Reference in New Issue
Block a user