MCPcopy
hub / github.com/Koenkk/zigbee2mqtt / UpdatePayload

Interface UpdatePayload

lib/extension/otaUpdate.ts:18–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16type UpdateState = "updating" | "idle" | "available" | "scheduled";
17
18export interface UpdatePayload {
19 update: {
20 progress?: number;
21 remaining?: number;
22 state: UpdateState;
23 installed_version: number | null;
24 latest_version: number | null;
25 latest_source: string | null;
26 latest_release_notes: string | null;
27 };
28}
29
30/**
31 * Write to `dataDir` and return created path

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected