This commit is contained in:
Alex Holliday committed 2026-01-20 18:56:06 +00:00
1 parent adb2a383cf
commit 3cf7243c93
9 files changed
+237 -53

No files matched your search

+29
View File
@@ -18,3 +18,32 @@ export interface Incident {
createdAt: string;
updatedAt: string;
}
export interface IncidentSummaryTopMonitor {
monitorId: string;
monitorName: string | null;
incidentCount: number;
}
export interface IncidentSummaryItem {
id: string;
monitorId: string;
monitorName: string | null;
status: boolean;
startTime: string;
endTime: string | null;
resolutionType: IncidentResolutionType;
message: string | null;
statusCode: number | null;
createdAt: string;
}
export interface IncidentSummary {
total: number;
totalActive: number;
totalManualResolutions: number;
totalAutomaticResolutions: number;
avgResolutionTimeHours: number;
topMonitor: IncidentSummaryTopMonitor | null;
latestIncidents: IncidentSummaryItem[];
}