feat(monitor): aggregate nationwide fleet by province
This commit is contained in:
@@ -123,13 +123,20 @@ export interface MonitorMapCluster {
|
||||
unknown: number;
|
||||
}
|
||||
|
||||
export interface MonitorMapProvincePoint {
|
||||
longitude: number;
|
||||
latitude: number;
|
||||
status: 'driving' | 'idle' | 'offline' | 'unknown';
|
||||
}
|
||||
|
||||
export interface MonitorMapResponse {
|
||||
mode: 'clusters' | 'mixed' | 'points';
|
||||
mode: 'provinces' | 'clusters' | 'mixed' | 'points';
|
||||
zoom: number;
|
||||
total: number;
|
||||
truncated: boolean;
|
||||
points: MonitorMapPoint[];
|
||||
clusters: MonitorMapCluster[];
|
||||
provincePoints?: MonitorMapProvincePoint[];
|
||||
asOf: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user