feat: status-page infra section FE

This commit is contained in:
mannilakash committed 2026-03-16 17:46:13 -04:00
1 parent 45618a2ab0
commit 894b6a7a7d
11 files changed
+438 -60

No files matched your search

+4 -1
View File
@@ -1,10 +1,11 @@
import type { Monitor } from "@/Types/Monitor";
export type MonitorDisplayType = "uptime" | "infrastructure";
export interface StatusPage {
id: string;
userId: string;
teamId: string;
type: string;
type: MonitorDisplayType[];
companyName: string;
url: string;
timezone?: string;
@@ -20,6 +21,7 @@ export interface StatusPage {
showCharts: boolean;
showUptimePercentage: boolean;
showAdminLoginLink: boolean;
showInfrastructure: boolean;
customCSS: string;
createdAt: string;
updatedAt: string;
@@ -28,4 +30,5 @@ export interface StatusPage {
export interface StatusPageResponse {
statusPage: StatusPage;
monitors: Monitor[];
infrastructureMonitors: Monitor[];
}