status pages
This commit is contained in:
1 parent
602597abe2
commit
e5ef14215f
14 files changed
+77
-60
No files matched your search
@@ -155,6 +155,7 @@ export interface GroupedCheck {
|
||||
downChecks?: number;
|
||||
avgResponseTimeUp?: number | null;
|
||||
avgResponseTimeDown?: number | null;
|
||||
runningContainersSnapshot?: IDockerContainerSummary[];
|
||||
}
|
||||
|
||||
export interface LatestCheck {
|
||||
|
||||
@@ -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[]>;
|
||||
}
|
||||
Reference in new issue
Block a user