// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. export type UpdateInfo = { replyEventId: string; version: string; downloaded: boolean; /** * How this update gets applied. Anything but `Integrated` means the app can't do it * itself and the user is told how to update instead. */ install: UpdateInstall; }; /** * How an update can be applied to this install. */ export type UpdateInstall = "integrated" | "flatpak" | "manual"; export type UpdateResponse = { type: "ack" } | { type: "action"; action: UpdateResponseAction }; export type UpdateResponseAction = "install" | "skip"; /** * Where this process's update stands. */ export type UpdateState = | { state: "idle" } | { state: "checking" } | { state: "offered"; version: string } | { state: "downloading"; version: string } | { state: "installing"; version: string } | { state: "installed"; version: string };