format
This commit is contained in:
1 parent
eee3caf021
commit
b074f2401f
1 file changed
+1
-4
@@ -1,10 +1,7 @@
|
|||||||
import { Schema, model, type Types } from "mongoose";
|
import { Schema, model, type Types } from "mongoose";
|
||||||
import type { MaintenanceWindow } from "@/types/maintenanceWindow.js";
|
import type { MaintenanceWindow } from "@/types/maintenanceWindow.js";
|
||||||
|
|
||||||
type MaintenanceWindowDocumentBase = Omit<
|
type MaintenanceWindowDocumentBase = Omit<MaintenanceWindow, "id" | "monitorId" | "teamId" | "start" | "end" | "createdAt" | "updatedAt"> & {
|
||||||
MaintenanceWindow,
|
|
||||||
"id" | "monitorId" | "teamId" | "start" | "end" | "createdAt" | "updatedAt"
|
|
||||||
> & {
|
|
||||||
monitorId: Types.ObjectId;
|
monitorId: Types.ObjectId;
|
||||||
teamId: Types.ObjectId;
|
teamId: Types.ObjectId;
|
||||||
start: Date;
|
start: Date;
|
||||||
|
|||||||
Reference in new issue
Block a user