diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-11-19 16:16:12 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-11-19 16:16:12 +0100 |
commit | d9297f3dfddd5c7b072b46dee984251e3202ad75 (patch) | |
tree | 09e6f9e9e169e554d966b8a805f9fdf6a77ca2f3 /src/walletTypes.ts | |
parent | 87aa0f65c358773392d0c33c82fa040d466845a9 (diff) | |
download | wallet-core-d9297f3dfddd5c7b072b46dee984251e3202ad75.tar.xz |
work on CLI
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r-- | src/walletTypes.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts index fddf05680..e632cd38b 100644 --- a/src/walletTypes.ts +++ b/src/walletTypes.ts @@ -515,3 +515,30 @@ export interface WalletDiagnostics { firefoxIdbProblem: boolean; dbOutdated: boolean; } + +export interface PendingWithdrawOperation { + type: "withdraw" +} + +export interface PendingRefreshOperation { + type: "refresh" +} + +export interface PendingPayOperation { + type: "pay" +} + +export type PendingOperationInfo = PendingWithdrawOperation + +export interface PendingOperationsResponse { + pendingOperations: PendingOperationInfo[]; +} + +export interface HistoryQuery { + /** + * Verbosity of history events. + * Level 0: Only withdraw, pay, tip and refund events. + * Level 1: All events. + */ + level: number; +}
\ No newline at end of file |