diff options
author | Florian Dold <florian@dold.me> | 2021-06-25 13:27:06 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-25 13:27:06 +0200 |
commit | 42fe57632002e8f6dbf175b4e984b2fa1013bbe9 (patch) | |
tree | bb672ac371e5c448b12bbf287f62dfff00495596 /packages/taler-util/src | |
parent | 3603a6866977600e9cb16f5e94488fde9cfb02a5 (diff) | |
download | wallet-core-42fe57632002e8f6dbf175b4e984b2fa1013bbe9.tar.xz |
implement backup scheduling, other tweaks
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/notifications.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-util/src/notifications.ts b/packages/taler-util/src/notifications.ts index ade538d04..289dcb689 100644 --- a/packages/taler-util/src/notifications.ts +++ b/packages/taler-util/src/notifications.ts @@ -50,6 +50,7 @@ export enum NotificationType { RefundApplyOperationError = "refund-apply-error", RefundStatusOperationError = "refund-status-error", ProposalOperationError = "proposal-error", + BackupOperationError = "backup-error", TipOperationError = "tip-error", PayOperationError = "pay-error", PayOperationSuccess = "pay-operation-success", @@ -159,6 +160,11 @@ export interface RefreshOperationErrorNotification { error: TalerErrorDetails; } +export interface BackupOperationErrorNotification { + type: NotificationType.BackupOperationError; + error: TalerErrorDetails; +} + export interface RefundStatusOperationErrorNotification { type: NotificationType.RefundStatusOperationError; error: TalerErrorDetails; @@ -234,6 +240,7 @@ export interface PayOperationSuccessNotification { } export type WalletNotification = + | BackupOperationErrorNotification | WithdrawOperationErrorNotification | ReserveOperationErrorNotification | ExchangeOperationErrorNotification |