summaryrefslogtreecommitdiff
path: root/src/types/history.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-22 12:22:57 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-22 12:22:57 +0100
commit14103aa0750fd2874480a564b2f0be0932c13e21 (patch)
treeb88cda4f36bdd563849aacafc220b794afce64f7 /src/types/history.ts
parent21194fa78137ca0a60487968e32ee9c3941ad812 (diff)
downloadwallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.tar.gz
wallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.tar.bz2
wallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.zip
make verbose details an option
Diffstat (limited to 'src/types/history.ts')
-rw-r--r--src/types/history.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/types/history.ts b/src/types/history.ts
index ad7d98df0..52148cb04 100644
--- a/src/types/history.ts
+++ b/src/types/history.ts
@@ -509,7 +509,7 @@ export interface HistoryPaymentSent {
*/
sessionId: string | undefined;
- verboseDetails: VerbosePayCoinDetails;
+ verboseDetails?: VerbosePayCoinDetails;
}
/**
@@ -590,7 +590,7 @@ export interface HistoryRefreshedEvent {
*/
refreshGroupId: string;
- verboseDetails: VerboseRefreshDetails;
+ verboseDetails?: VerboseRefreshDetails;
}
export interface VerboseWithdrawDetails {
@@ -630,7 +630,10 @@ export interface HistoryWithdrawnEvent {
*/
amountWithdrawnEffective: string;
- verboseDetails: VerboseWithdrawDetails;
+ /**
+ * Verbose details of the operations, only generated when requested.
+ */
+ verboseDetails?: VerboseWithdrawDetails;
}
/**
@@ -684,5 +687,9 @@ export type HistoryEvent = HistoryEventBase &
);
export interface HistoryQuery {
- // TBD
+ /**
+ * Output extra verbose details, intended for debugging
+ * and not for end users.
+ */
+ verboseDetails?: boolean;
}