This commit is contained in:
Alex Holliday committed 2025-11-27 19:39:26 +00:00
1 parent ee04ac2b98
commit 686b96d4b3
5 files changed
+50 -6

No files matched your search

@@ -17,6 +17,7 @@ export interface IMonitorStats extends mongoose.Document {
currentStreakStartedAt: number;
createdAt: Date;
updatedAt: Date;
certificateExpiry?: Date | null;
}
const MonitorStatsSchema = new Schema<IMonitorStats>(
@@ -70,6 +71,7 @@ const MonitorStatsSchema = new Schema<IMonitorStats>(
enum: MonitorStatuses,
},
currentStreakStartedAt: { type: Number, required: false },
certificateExpiry: { type: Date, required: false },
},
{ timestamps: true }
);