format
This commit is contained in:
1 parent
68559741ba
commit
ec953ff262
1 file changed
+4
-1
@@ -2,7 +2,10 @@ import { Schema, model, type Types } from "mongoose";
|
|||||||
import type { StatusPage, StatusPageLogo } from "@/types/statusPage.js";
|
import type { StatusPage, StatusPageLogo } from "@/types/statusPage.js";
|
||||||
import { StatusPageTypes } from "@/types/statusPage.js";
|
import { StatusPageTypes } from "@/types/statusPage.js";
|
||||||
|
|
||||||
type StatusPageDocumentBase = Omit<StatusPage, "id" | "userId" | "teamId" | "monitors" | "subMonitors" | "originalMonitors" | "createdAt" | "updatedAt"> & {
|
type StatusPageDocumentBase = Omit<
|
||||||
|
StatusPage,
|
||||||
|
"id" | "userId" | "teamId" | "monitors" | "subMonitors" | "originalMonitors" | "createdAt" | "updatedAt"
|
||||||
|
> & {
|
||||||
monitors: Types.ObjectId[];
|
monitors: Types.ObjectId[];
|
||||||
subMonitors: Types.ObjectId[];
|
subMonitors: Types.ObjectId[];
|
||||||
originalMonitors?: Types.ObjectId[];
|
originalMonitors?: Types.ObjectId[];
|
||||||
|
|||||||
Reference in new issue
Block a user