update openapi docs
This commit is contained in:
1 parent
c1f0bf3dd4
commit
ab7f2cd8f4
6 files changed
+429
-24
No files matched your search
@@ -250,5 +250,5 @@ export type DailyCheckBucket = {
|
||||
totalChecks: number;
|
||||
upChecks: number;
|
||||
downChecks: number;
|
||||
avgResponseTime: number;
|
||||
avgResponseTime: number | null;
|
||||
};
|
||||
@@ -5,7 +5,6 @@ import mongoose from "mongoose";
|
||||
import { AppError } from "@/utils/AppError.js";
|
||||
import { normalizeStatusPageDomain } from "@/utils/statusPageDomain.js";
|
||||
import { toStringId, toDateString } from "@/utils/mongoMappers.js";
|
||||
import CheckModel from "@/domain/checks/check.model.js";
|
||||
// Type for update data that can include document-level fields (Buffer for logo)
|
||||
type StatusPageUpdateData = Partial<Omit<StatusPage, "id" | "userId" | "teamId" | "logo" | "createdAt" | "updatedAt">> & {
|
||||
logo?: StatusPageLogoDocument | null;
|
||||
|
||||
Reference in new issue
Block a user