remove docs from monorepo

This commit is contained in:
PxlLoewe
2025-07-14 14:13:40 -07:00
parent 879e9d1e89
commit 1cb2ddc5bb
106 changed files with 13 additions and 3447 deletions

View File

@@ -22,13 +22,14 @@ const removeClosedMissions = async () => {
});
if (
!aircraftsInMission ||
!aircraftsInMission.some((a) => ["1", "2", "6"].includes(a.fmsStatus))
aircraftsInMission.length > 0 && // Check if any aircraft is still active
!aircraftsInMission.some((a) => ["1", "2", "6"].includes(a.fmsStatus)) // Check if any aircraft is in a status that indicates it's not inactive
)
return;
const now = new Date();
if (!lastAlertTime) return;
// change State to closed if last alert was more than 180 minutes ago
if (now.getTime() - lastAlertTime.getTime() < 30 * 60 * 1000) return;
const log: MissionLog = {