feat(platform): summarize vehicle service status
This commit is contained in:
@@ -70,6 +70,7 @@ export interface VehicleDetail {
|
||||
resolution?: VehicleIdentityResolution;
|
||||
identity?: VehicleRow;
|
||||
realtimeSummary?: VehicleRealtimeRow;
|
||||
serviceStatus?: VehicleServiceStatus;
|
||||
sources: string[];
|
||||
sourceStatus: VehicleSourceStatus[];
|
||||
realtime: RealtimeLocationRow[];
|
||||
@@ -79,6 +80,15 @@ export interface VehicleDetail {
|
||||
quality: Page<QualityIssueRow>;
|
||||
}
|
||||
|
||||
export interface VehicleServiceStatus {
|
||||
status: string;
|
||||
severity: string;
|
||||
title: string;
|
||||
detail: string;
|
||||
sourceCount: number;
|
||||
onlineSourceCount: number;
|
||||
}
|
||||
|
||||
export interface VehicleSourceStatus {
|
||||
protocol: string;
|
||||
online: boolean;
|
||||
|
||||
Reference in New Issue
Block a user