diff options
author | Florian Dold <florian@dold.me> | 2021-01-18 23:35:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-18 23:35:41 +0100 |
commit | 5f3c02d31a223add55a32b20f4a289210cbb4f15 (patch) | |
tree | d91ded55692aea1294c0565328515f120559ab6a /packages/taler-wallet-core/src/types/pendingTypes.ts | |
parent | f884193b1adf0861f710c6ab1bb94ea2073ade65 (diff) | |
download | wallet-core-5f3c02d31a223add55a32b20f4a289210cbb4f15.tar.xz |
implement deposits
Diffstat (limited to 'packages/taler-wallet-core/src/types/pendingTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/pendingTypes.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/types/pendingTypes.ts b/packages/taler-wallet-core/src/types/pendingTypes.ts index 18d9a2fa4..d41d2a977 100644 --- a/packages/taler-wallet-core/src/types/pendingTypes.ts +++ b/packages/taler-wallet-core/src/types/pendingTypes.ts @@ -40,6 +40,7 @@ export enum PendingOperationType { TipChoice = "tip-choice", TipPickup = "tip-pickup", Withdraw = "withdraw", + Deposit = "deposit", } /** @@ -60,6 +61,7 @@ export type PendingOperationInfo = PendingOperationInfoCommon & | PendingTipPickupOperation | PendingWithdrawOperation | PendingRecoupOperation + | PendingDepositOperation ); /** @@ -228,6 +230,16 @@ export interface PendingWithdrawOperation { } /** + * Status of an ongoing deposit operation. + */ +export interface PendingDepositOperation { + type: PendingOperationType.Deposit; + lastError: TalerErrorDetails | undefined; + retryInfo: RetryInfo; + depositGroupId: string; +} + +/** * Fields that are present in every pending operation. */ export interface PendingOperationInfoCommon { |