feat(FN-1348): export HeartbeatMonitor and HeartbeatTriggerScheduler from @fusion/engine

This commit is contained in:
gsxdsm
2026-04-09 09:42:21 -07:00
parent 32798c0e88
commit ac07be790b
8 changed files with 578 additions and 20 deletions

View File

@@ -3074,6 +3074,11 @@ export function fetchMissionHealth(missionId: string, projectId?: string): Promi
return api<MissionHealth>(withProjectId(`/missions/${encodeURIComponent(missionId)}/health`, projectId));
}
/** Fetch health metrics for all missions in a single batched request. */
export function fetchMissionsHealth(projectId?: string): Promise<Record<string, MissionHealth>> {
return api<Record<string, MissionHealth>>(withProjectId("/missions/health", projectId));
}
/** Add milestone to mission */
export function createMilestone(
missionId: string,