feat: status-page infrastructure section BE

This commit is contained in:
mannilakash committed 2026-03-16 17:14:28 -04:00
1 parent 45618a2ab0
commit 3a9f9f0ce5
6 files changed
+59 -6

No files matched your search

+6 -2
View File
@@ -43,9 +43,9 @@ const StatusPageSchema = new Schema<StatusPageDocument>(
required: true,
},
type: {
type: String,
type: [String],
required: true,
default: "uptime",
default: [],
enum: StatusPageTypes,
},
companyName: {
@@ -100,6 +100,10 @@ const StatusPageSchema = new Schema<StatusPageDocument>(
type: Boolean,
default: false,
},
showInfrastructure: {
type: Boolean,
default: false,
},
customCSS: {
type: String,
default: "",