diff options
author | Florian Dold <florian@dold.me> | 2023-11-23 14:15:24 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-11-23 14:15:24 +0100 |
commit | 074d5986c5ba2d0fd181046f27ba0f2ffce5840f (patch) | |
tree | 5fb2aa054416c9d2b87d917a1ac176c64dd4bdc0 /packages/taler-util | |
parent | a0d746ad8d80490f9c2f1e017ff0c6a56b7d435c (diff) |
-deprecate field
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 10 |
1 files changed, 7 insertions, 3 deletions
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[]; |