mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 00:41:25 +00:00
refactor: unify restart gating and update availability sync
This commit is contained in:
7
src/gateway/events.ts
Normal file
7
src/gateway/events.ts
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user