aboutsummaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-28 00:18:25 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-28 00:18:25 +0530
commitc9012cbd4ce9ba1037807ec1b00a6c9c5e1b0d14 (patch)
treee83c60c67562b1425434aa0b4d81b4838b15ecde /src/types
parent131d2b34d9d1f84782d749c9943a7da5ab9dab8a (diff)
downloadwallet-core-c9012cbd4ce9ba1037807ec1b00a6c9c5e1b0d14.tar.xz
add --extra-debug option to history
Diffstat (limited to 'src/types')
-rw-r--r--src/types/history.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/types/history.ts b/src/types/history.ts
index b1ac0ef9d..976788fc3 100644
--- a/src/types/history.ts
+++ b/src/types/history.ts
@@ -18,6 +18,9 @@
* Type and schema definitions for the wallet's history.
*/
+ /**
+ * Imports.
+ */
import { RefreshReason } from "./walletTypes";
import { ReserveTransaction } from "./ReserveTransaction";
import { WithdrawalSource } from "./dbTypes";
@@ -647,6 +650,11 @@ export interface HistoryEventBase {
* on the event (e.g. hiding it from the history).
*/
eventId: string;
+
+ /**
+ * Extra details for debugging.
+ */
+ verboseDetails?: any;
}
/**
@@ -685,5 +693,5 @@ export interface HistoryQuery {
* Output extra verbose details, intended for debugging
* and not for end users.
*/
- verboseDetails?: boolean;
+ extraDebug?: boolean;
}