aboutsummaryrefslogtreecommitdiff
path: root/src/types/history.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-20 12:00:57 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-20 12:00:57 +0100
commitb837fd7f53d885601a8c5f668da233b240387638 (patch)
treea3719210835316a947530aabc70bcc95261594ff /src/types/history.ts
parentc5906abf106d22cc35b8facdda4313b6125160b9 (diff)
downloadwallet-core-b837fd7f53d885601a8c5f668da233b240387638.tar.xz
be verbose for refreshes too
Diffstat (limited to 'src/types/history.ts')
-rw-r--r--src/types/history.ts20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/types/history.ts b/src/types/history.ts
index 7acf84dc5..ad7d98df0 100644
--- a/src/types/history.ts
+++ b/src/types/history.ts
@@ -466,12 +466,11 @@ export interface HistoryPaymentAbortedEvent {
}
export interface VerbosePayCoinDetails {
- coins:
- {
- value: string,
- contribution: string;
- denomPub: string;
- }[],
+ coins: {
+ value: string;
+ contribution: string;
+ denomPub: string;
+ }[];
}
/**
@@ -549,6 +548,13 @@ export interface HistoryRefunded {
amountRefundedEffective: string;
}
+export interface VerboseRefreshDetails {
+ outputCoins: {
+ denomPub: string;
+ value: string;
+ }[];
+}
+
/**
* Event to indicate that a group of refresh sessions has completed.
*/
@@ -583,6 +589,8 @@ export interface HistoryRefreshedEvent {
* more refresh session IDs.
*/
refreshGroupId: string;
+
+ verboseDetails: VerboseRefreshDetails;
}
export interface VerboseWithdrawDetails {