diff options
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 46 |
1 files changed, 2 insertions, 44 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 92187d82f..51c99e805 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -60,6 +60,8 @@ import { ExchangeHandle, ExchangeRecord, ExchangeWireFeesRecord, + HistoryLevel, + HistoryRecord, Notifier, OfferRecord, PayCoinInfo, @@ -270,38 +272,6 @@ export class ConfirmReserveRequest { } -/** - * Activity history record. - */ -export interface HistoryRecord { - /** - * Type of the history event. - */ - type: string; - - /** - * Time when the activity was recorded. - */ - timestamp: number; - - /** - * Subject of the entry. Used to group multiple history records together. - * Only the latest history record with the same subjectId will be shown. - */ - subjectId?: string; - - /** - * Details used when rendering the history record. - */ - detail: any; - - /** - * Level of detail of the history entry. - */ - level: HistoryLevel; -} - - interface PayReq { coins: CoinPaySig[]; merchant_pub: string; @@ -324,18 +294,6 @@ interface TransactionRecord { /** - * Level of detail at which a history - * entry should be shown. - */ -export enum HistoryLevel { - Trace = 1, - Developer = 2, - Expert = 3, - User = 4, -} - - -/** * Badge that shows activity for the wallet. */ export interface Badge { |