aboutsummaryrefslogtreecommitdiff
path: root/src/types/notifications.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-16 21:10:57 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-16 21:10:57 +0100
commitfb6508de9d71600dbca59cb0e6a4c77e4f3f3ee5 (patch)
tree8f1e9e50574ee6d9f561cb93d2ea29663943672d /src/types/notifications.ts
parentc2ee8fd9ab6754275d7423152681236a46cf36a9 (diff)
downloadwallet-core-fb6508de9d71600dbca59cb0e6a4c77e4f3f3ee5.tar.xz
finish refresh correctly, display fees correctly
Diffstat (limited to 'src/types/notifications.ts')
-rw-r--r--src/types/notifications.ts7
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 {