From 074d5986c5ba2d0fd181046f27ba0f2ffce5840f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 23 Nov 2023 14:15:24 +0100 Subject: -deprecate field --- packages/taler-util/src/wallet-types.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'packages/taler-util') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index ba6f53cca..8d44fd1c5 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -380,6 +380,7 @@ export enum BalanceFlag { IncomingConfirmation = "incoming-confirmation", OutgoingKyc = "outgoing-kyc", } + export interface WalletBalance { scopeInfo: ScopeInfo; available: AmountString; @@ -390,12 +391,15 @@ export interface WalletBalance { * Does the balance for this currency have a pending * transaction? * - * FIXME: Represent as a flag! + * @deprecated use flags and pendingIncoming/pendingOutgoing instead */ hasPendingTransactions: boolean; - // Is there a pending transaction that would affect the balance - // and requires user input? + /** + * Is there a transaction that requires user input? + * + * @deprecated use flags instead + */ requiresUserInput: boolean; flags: BalanceFlag[]; -- cgit v1.2.3