perf(monitor): aggregate realtime workspace
This commit is contained in:
@@ -32,6 +32,12 @@ type MonitorMapResponse struct {
|
||||
AsOf string `json:"asOf"`
|
||||
}
|
||||
|
||||
type MonitorWorkspaceResponse struct {
|
||||
Summary MonitorSummary `json:"summary"`
|
||||
Vehicles Page[VehicleRealtimeRow] `json:"vehicles"`
|
||||
Map MonitorMapResponse `json:"map"`
|
||||
}
|
||||
|
||||
type MonitorMapPoint struct {
|
||||
VIN string `json:"vin"`
|
||||
Plate string `json:"plate"`
|
||||
|
||||
Reference in New Issue
Block a user