update check and monitor domains
This commit is contained in:
1 parent
9c8bf4bb05
commit
686ded2137
7 files changed
+87
-2
No files matched your search
@@ -9,6 +9,7 @@ import type {
|
||||
SnapshotHostInfo,
|
||||
SnapshotMemoryInfo,
|
||||
} from "@/domain/checks/check.type.js";
|
||||
import { containerSummarySchema } from "@/domain/checks/check.model.js";
|
||||
|
||||
type CheckSnapshotDocument = Omit<CheckSnapshot, "createdAt"> & { createdAt: Date };
|
||||
|
||||
@@ -113,6 +114,7 @@ const checkSnapshotSchema = new Schema<CheckSnapshotDocument>(
|
||||
seo: { type: Number },
|
||||
performance: { type: Number },
|
||||
audits: { type: snapshotAuditsSchema },
|
||||
containerSummary: { type: containerSummarySchema },
|
||||
createdAt: { type: Date, required: true },
|
||||
},
|
||||
{ _id: false, suppressReservedKeysWarning: true }
|
||||
|
||||
Reference in new issue
Block a user