diff options
author | Florian Dold <florian@dold.me> | 2023-04-05 17:38:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-05 17:38:41 +0200 |
commit | 2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5 (patch) | |
tree | 9d6fe1e025f89cea0e044f8bba53f67e7d04a77f /packages/taler-wallet-core/src/db.ts | |
parent | 8eee38d55936c194637ecead302dde69ec0b9897 (diff) | |
download | wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.tar.gz wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.tar.bz2 wallet-core-2823b1cdf4b6e9a6c4dbdb752c7c7259775e18f5.zip |
wallet-core: towards DD37 for deposits
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 0ec2e31c8..4e9228c6d 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -858,6 +858,13 @@ export enum RefreshOperationStatus { FinishedWithError = 51 /* DORMANT_START + 1 */, } +export enum DepositGroupOperationStatus { + Finished = 50 /* DORMANT_START */, + Failed = 51 /* DORMANT_START + 1 */, + Pending = 10 /* ACTIVE_START */, + AbortingWithRefresh = 11 /* ACTIVE_START + 1 */, +} + export enum TransactionStatus { Unknown = 10, Accepted = 20, @@ -1662,6 +1669,11 @@ export interface DepositGroupRecord { totalPayCost: AmountString; + /** + * The counterparty effective deposit amount. + * + * FIXME: If possible, rename to counterpartyEffectiveDepositAmount. + */ effectiveDepositAmount: AmountString; depositedPerCoin: boolean[]; |