status pages

This commit is contained in:
Alex Holliday committed 2026-01-03 20:32:16 +00:00
1 parent 602597abe2
commit e5ef14215f
14 files changed
+77 -60

No files matched your search

+1
View File
@@ -155,6 +155,7 @@ export interface GroupedCheck {
downChecks?: number;
avgResponseTimeUp?: number | null;
avgResponseTimeDown?: number | null;
runningContainersSnapshot?: IDockerContainerSummary[];
}
export interface LatestCheck {
+12 -9
View File
@@ -1,15 +1,6 @@
import type { IMonitor } from "@/types/monitor";
export interface IStatusPage {
_id: string;
name: string;
description: string;
url: string;
isPublished: boolean;
monitors: string[];
}
export interface IStatusPageWithMonitors {
_id: string;
name: string;
description: string;
@@ -17,3 +8,15 @@ export interface IStatusPageWithMonitors {
isPublished: boolean;
monitors: IMonitor[];
}
export interface IStatusPageWithChecksMap {
statusPage: {
_id: string;
name: string;
description: string;
url: string;
isPublished: boolean;
monitors: IMonitor[];
};
checksMap: Record<string, any[]>;
}