-organize imports
This commit is contained in:
parent
6e13fce8a9
commit
557dcec30d
@ -42,43 +42,39 @@ import {
|
||||
WithdrawalType,
|
||||
} from "@gnu-taler/taler-util";
|
||||
import {
|
||||
DepositElementStatus,
|
||||
DepositGroupRecord,
|
||||
ExchangeDetailsRecord,
|
||||
OperationRetryRecord,
|
||||
PeerPullPaymentIncomingRecord,
|
||||
PeerPushPaymentInitiationRecord,
|
||||
PurchaseStatus,
|
||||
PurchaseRecord,
|
||||
TipRecord,
|
||||
WithdrawalGroupRecord,
|
||||
WithdrawalRecordType,
|
||||
WalletContractData,
|
||||
PeerPullPaymentIncomingStatus,
|
||||
DepositElementStatus,
|
||||
WithdrawalGroupStatus,
|
||||
RefreshGroupRecord,
|
||||
RefreshOperationStatus,
|
||||
PeerPullPaymentInitiationRecord,
|
||||
PeerPushPaymentIncomingRecord,
|
||||
PeerPushPaymentIncomingStatus,
|
||||
PeerPullPaymentInitiationRecord,
|
||||
PeerPushPaymentInitiationRecord,
|
||||
PurchaseRecord,
|
||||
PurchaseStatus,
|
||||
RefreshGroupRecord,
|
||||
RefreshOperationStatus,
|
||||
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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user