diff options
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/shared/app-upgrade.ts | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/desktop/packages/mullvad-vpn/src/shared/app-upgrade.ts b/desktop/packages/mullvad-vpn/src/shared/app-upgrade.ts index 7b108e4c59..e3f070853d 100644 --- a/desktop/packages/mullvad-vpn/src/shared/app-upgrade.ts +++ b/desktop/packages/mullvad-vpn/src/shared/app-upgrade.ts @@ -1,26 +1,36 @@ import { DaemonAppUpgradeError, DaemonAppUpgradeEventStatus } from './daemon-rpc-types'; -export type AppUpgradeEventStatusStartingInstaller = { - type: 'APP_UPGRADE_STATUS_STARTING_INSTALLER'; +export type AppUpgradeEventStatusAutomaticStartingInstaller = { + type: 'APP_UPGRADE_STATUS_AUTOMATIC_STARTING_INSTALLER'; }; export type AppUpgradeEventStatusStartedInstaller = { type: 'APP_UPGRADE_STATUS_STARTED_INSTALLER'; }; -export type AppUpgradeEventStatusExitedInstaller = { - type: 'APP_UPGRADE_STATUS_EXITED_INSTALLER'; -}; - export type AppUpgradeEventStatusDownloadInitiated = { type: 'APP_UPGRADE_STATUS_DOWNLOAD_INITIATED'; }; +export type AppUpgradeEventStatusManualStartInstaller = { + type: 'APP_UPGRADE_STATUS_MANUAL_START_INSTALLER'; +}; + +export type AppUpgradeEventStatusManualStartingInstaller = { + type: 'APP_UPGRADE_STATUS_MANUAL_STARTING_INSTALLER'; +}; + +export type AppUpgradeEventStatusExitedInstaller = { + type: 'APP_UPGRADE_STATUS_EXITED_INSTALLER'; +}; + export type AppUpgradeEventStatus = + | AppUpgradeEventStatusStartedInstaller + | AppUpgradeEventStatusAutomaticStartingInstaller | AppUpgradeEventStatusDownloadInitiated | AppUpgradeEventStatusExitedInstaller - | AppUpgradeEventStatusStartingInstaller - | AppUpgradeEventStatusStartedInstaller; + | AppUpgradeEventStatusManualStartingInstaller + | AppUpgradeEventStatusManualStartInstaller; export type AppUpgradeEvent = DaemonAppUpgradeEventStatus | AppUpgradeEventStatus; |
