From 42fe57632002e8f6dbf175b4e984b2fa1013bbe9 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 25 Jun 2021 13:27:06 +0200 Subject: implement backup scheduling, other tweaks --- packages/taler-util/src/notifications.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-util/src') 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 -- cgit v1.2.3