udpate monitor model

This commit is contained in:
Alex Holliday committed 2025-08-18 13:40:22 -07:00
1 parent 155adf549e
commit 74e80f086a
1 file changed
+12
+12
View File
@@ -28,6 +28,18 @@ const MonitorSchema = mongoose.Schema(
type: Boolean,
default: undefined,
},
statusWindow: {
type: [Boolean],
default: [],
},
statusWindowSize: {
type: Number,
default: 5,
},
statusWindowThreshold: {
type: Number,
default: 0.6,
},
type: {
type: String,
required: true,