initial commit

This commit is contained in:
Alex Holliday committed 2026-01-19 23:41:24 +00:00
1 parent 33dfedb4d3
commit e91a54b75c
12 files changed
+295 -242

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// export type IncidentResolutionType = "automatic" | "manual" | null;
export const IncidentResolutionTypes = ["automatic", "manual", null] as const;
export type IncidentResolutionType = (typeof IncidentResolutionTypes)[number];
export interface Incident {
id: string;
monitorId: string;
teamId: string;
startTime: string;
endTime: string | null;
status: boolean;
message?: string | null;
statusCode?: number | null;
resolutionType: IncidentResolutionType;
resolvedBy?: string | null;
comment?: string | null;
createdAt: string;
updatedAt: string;
}
+1
View File
@@ -9,3 +9,4 @@ export * from "@/types/recoveryToken.js";
export * from "@/types/settings.js";
export * from "@/types/notification.js";
export * from "@/types/alert.js";
export * from "@/types/incident.js";