Openstatus www.openstatus.dev
at main 28 lines 804 B view raw
1const today = new Date(); 2const week = new Date(today); 3week.setDate(week.getDate() + 7); 4const hour = new Date(week); 5hour.setHours(hour.getHours() + 1); 6 7export const maintenances = [ 8 { 9 id: 1, 10 title: "DB Migration", 11 message: 12 "We are performing a db migration on our system and will be down for a an hour.", 13 startDate: week, 14 endDate: hour, 15 affected: ["OpenStatus API"], 16 }, 17 { 18 id: 2, 19 title: "System Upgrade", 20 message: 21 "We will be upgrading our core infrastructure to improve performance and reliability. Service interruptions may occur.", 22 startDate: new Date("2025-03-01 11:00:00"), 23 endDate: new Date("2025-03-01 15:30:00"), 24 affected: ["OpenStatus API", "OpenStatus Web"], 25 }, 26]; 27 28export type Maintenance = (typeof maintenances)[number];