diff options
Diffstat (limited to 'src/types/notifications.ts')
-rw-r--r-- | src/types/notifications.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/types/notifications.ts b/src/types/notifications.ts index c64d33bfb..30ede151c 100644 --- a/src/types/notifications.ts +++ b/src/types/notifications.ts @@ -1,3 +1,5 @@ +import { OperationError } from "./walletTypes"; + /* This file is part of GNU Taler (C) 2019 GNUnet e.V. @@ -29,7 +31,7 @@ export const enum NotificationType { RefreshRevealed = "refresh-revealed", RefreshMelted = "refresh-melted", RefreshStarted = "refresh-started", - RefreshRefused = "refresh-refused", + RefreshUnwarranted = "refresh-unwarranted", ReserveUpdated = "reserve-updated", ReserveConfirmed = "reserve-confirmed", ReserveDepleted = "reserve-depleted", @@ -100,7 +102,7 @@ export interface RefreshStartedNotification { } export interface RefreshRefusedNotification { - type: NotificationType.RefreshRefused; + type: NotificationType.RefreshUnwarranted; } export interface ReserveUpdatedNotification { @@ -170,6 +172,7 @@ export interface WithdrawOperationErrorNotification { export interface ReserveOperationErrorNotification { type: NotificationType.ReserveOperationError; + operationError: OperationError; } export interface ReserveCreatedNotification { |