Skip to main content

Interface: UpdateStatusEventData

Defined in: shared/types/events.ts:719

Payload for update status change events.

Remarksโ€‹

Used to communicate the current status of application updates, including errors.

  • status: The current update status.

Exampleโ€‹

const event: UpdateStatusEventData = {
status: "downloaded",
};

Propertiesโ€‹

error?โ€‹

readonly optional error: string

Defined in: shared/types/events.ts:723

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message if status is 'error'.


statusโ€‹

readonly status: UpdateStatus

Defined in: shared/types/events.ts:730

The current update status.

Remarksโ€‹

See UPDATE_STATUS for the complete list.