diff options
Diffstat (limited to 'packages/taler-wallet-core/src/types/pending.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/pending.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/types/pending.ts b/packages/taler-wallet-core/src/types/pending.ts index 69613becb..d07754fe9 100644 --- a/packages/taler-wallet-core/src/types/pending.ts +++ b/packages/taler-wallet-core/src/types/pending.ts @@ -28,6 +28,7 @@ import { Timestamp, Duration } from "../util/time"; export enum PendingOperationType { Bug = "bug", ExchangeUpdate = "exchange-update", + ExchangeCheckRefresh = "exchange-check-refresh", Pay = "pay", ProposalChoice = "proposal-choice", ProposalDownload = "proposal-download", @@ -47,6 +48,7 @@ export type PendingOperationInfo = PendingOperationInfoCommon & ( | PendingBugOperation | PendingExchangeUpdateOperation + | PendingExchangeCheckRefreshOperation | PendingPayOperation | PendingProposalChoiceOperation | PendingProposalDownloadOperation @@ -71,6 +73,15 @@ export interface PendingExchangeUpdateOperation { } /** + * The wallet should check whether coins from this exchange + * need to be auto-refreshed. + */ +export interface PendingExchangeCheckRefreshOperation { + type: PendingOperationType.ExchangeCheckRefresh; + exchangeBaseUrl: string; +} + +/** * Some interal error happened in the wallet. This pending operation * should *only* be reported for problems in the wallet, not when * a problem with a merchant/exchange/etc. occurs. |