This commit is contained in:
Alex Holliday committed 2026-01-22 18:12:56 +00:00
1 parent eee3caf021
commit b074f2401f
1 file changed
+1 -4
+1 -4
View File
@@ -1,10 +1,7 @@
import { Schema, model, type Types } from "mongoose";
import type { MaintenanceWindow } from "@/types/maintenanceWindow.js";
type MaintenanceWindowDocumentBase = Omit<
MaintenanceWindow,
"id" | "monitorId" | "teamId" | "start" | "end" | "createdAt" | "updatedAt"
> & {
type MaintenanceWindowDocumentBase = Omit<MaintenanceWindow, "id" | "monitorId" | "teamId" | "start" | "end" | "createdAt" | "updatedAt"> & {
monitorId: Types.ObjectId;
teamId: Types.ObjectId;
start: Date;