refactor: unify restart gating and update availability sync

This commit is contained in:
Peter Steinberger
2026-02-19 10:00:27 +01:00
parent 18179fc2c1
commit b4dbe03298
25 changed files with 288 additions and 41 deletions

7
src/gateway/events.ts Normal file
View File

@@ -0,0 +1,7 @@
import type { UpdateAvailable } from "../infra/update-startup.js";
export const GATEWAY_EVENT_UPDATE_AVAILABLE = "update.available" as const;
export type GatewayUpdateAvailableEventPayload = {
updateAvailable: UpdateAvailable | null;
};