| 16 | type UpdateState = "updating" | "idle" | "available" | "scheduled"; |
| 17 | |
| 18 | export 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 |
nothing calls this directly
no outgoing calls
no test coverage detected