diff options
author | Florian Dold <florian@dold.me> | 2023-05-26 11:13:54 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-26 11:13:54 +0200 |
commit | 557dcec30db6573c5d11ca26432008ac6621642e (patch) | |
tree | da15abcd1db1871fbc1410c6002207477c195d18 /packages/taler-wallet-core/src | |
parent | 6e13fce8a9c0037ce5fb8a9c2a9e5028e1ef1f5d (diff) | |
download | wallet-core-557dcec30db6573c5d11ca26432008ac6621642e.tar.xz |
-organize imports
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 41 |
1 files changed, 15 insertions, 26 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index ac502fc08..894becca7 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -42,43 +42,39 @@ import { WithdrawalType, } from "@gnu-taler/taler-util"; import { + DepositElementStatus, DepositGroupRecord, ExchangeDetailsRecord, OperationRetryRecord, PeerPullPaymentIncomingRecord, + PeerPullPaymentIncomingStatus, + PeerPullPaymentInitiationRecord, + PeerPushPaymentIncomingRecord, + PeerPushPaymentIncomingStatus, PeerPushPaymentInitiationRecord, - PurchaseStatus, PurchaseRecord, - TipRecord, - WithdrawalGroupRecord, - WithdrawalRecordType, - WalletContractData, - PeerPullPaymentIncomingStatus, - DepositElementStatus, - WithdrawalGroupStatus, + PurchaseStatus, RefreshGroupRecord, RefreshOperationStatus, - PeerPushPaymentIncomingRecord, - PeerPushPaymentIncomingStatus, - PeerPullPaymentInitiationRecord, RefundGroupRecord, + TipRecord, + WalletContractData, + WithdrawalGroupRecord, + WithdrawalGroupStatus, + WithdrawalRecordType, } from "../db.js"; +import { GetReadOnlyAccess, WalletStoresV1 } from "../index.js"; import { InternalWalletState } from "../internal-wallet-state.js"; import { PendingTaskType } from "../pending-types.js"; import { assertUnreachable } from "../util/assertUnreachable.js"; import { checkDbInvariant, checkLogicInvariant } from "../util/invariants.js"; import { constructTaskIdentifier, TaskIdentifiers } from "../util/retries.js"; -import { - resetOperationTimeout, - runOperationWithErrorReporting, - TombstoneTag, -} from "./common.js"; +import { resetOperationTimeout, TombstoneTag } from "./common.js"; import { abortDepositGroup, cancelAbortingDepositGroup, computeDepositTransactionStatus, deleteDepositGroup, - processDepositGroup, resumeDepositGroup, suspendDepositGroup, } from "./deposits.js"; @@ -89,28 +85,21 @@ import { computeRefundTransactionState, expectProposalDownload, extractContractData, - processPurchasePay, } from "./pay-merchant.js"; import { computePeerPullCreditTransactionState, computePeerPullDebitTransactionState, computePeerPushCreditTransactionState, computePeerPushDebitTransactionState, - processPeerPullCredit, } from "./pay-peer.js"; -import { - computeRefreshTransactionState, - processRefreshGroup, -} from "./refresh.js"; -import { computeTipTransactionStatus, processTip } from "./tip.js"; +import { computeRefreshTransactionState } from "./refresh.js"; +import { computeTipTransactionStatus } from "./tip.js"; import { abortWithdrawalTransaction, augmentPaytoUrisForWithdrawal, cancelAbortingWithdrawalTransaction, computeWithdrawalTransactionStatus, - processWithdrawalGroup, } from "./withdraw.js"; -import { GetReadOnlyAccess, WalletStoresV1 } from "../index.js"; const logger = new Logger("taler-wallet-core:transactions.ts"); |