incidents repo and data reversal

This commit is contained in:
Alex Holliday committed 2026-01-06 20:49:06 +00:00
1 parent 605b4713af
commit 51081a6a0e
32 files changed
+537 -241

No files matched your search

+3 -4
View File
@@ -1,7 +1,6 @@
import mongoose, { Schema, Document, Types } from "mongoose";
export const ResolutionTypes = ["auto", "manual"] as const;
export type ResolutionType = (typeof ResolutionTypes)[number];
import mongoose, { Schema, Types } from "mongoose";
import type { ResolutionType } from "@/types/domain/index.js";
import { ResolutionTypes } from "@/types/domain/index.js";
export interface IIncident {
_id: Types.ObjectId;
+2 -2
View File
@@ -48,8 +48,8 @@ export type { IStatusPage } from "./status-page/StatusPage.js";
export { RecoveryToken } from "./recovery/RecoveryToken.js";
export type { IRecoveryToken } from "./recovery/RecoveryToken.js";
export { Incident, ResolutionTypes } from "./incidents/Incident.js";
export type { IIncident, ResolutionType } from "./incidents/Incident.js";
export { Incident } from "./incidents/Incident.js";
export type { IIncident } from "./incidents/Incident.js";
export { SystemSettings } from "./system/SystemSettings.js";
export type { ISystemSettings } from "./system/SystemSettings.js";