-organize imports
This commit is contained in:
parent
6e13fce8a9
commit
557dcec30d
@ -42,43 +42,39 @@ import {
|
|||||||
WithdrawalType,
|
WithdrawalType,
|
||||||
} from "@gnu-taler/taler-util";
|
} from "@gnu-taler/taler-util";
|
||||||
import {
|
import {
|
||||||
|
DepositElementStatus,
|
||||||
DepositGroupRecord,
|
DepositGroupRecord,
|
||||||
ExchangeDetailsRecord,
|
ExchangeDetailsRecord,
|
||||||
OperationRetryRecord,
|
OperationRetryRecord,
|
||||||
PeerPullPaymentIncomingRecord,
|
PeerPullPaymentIncomingRecord,
|
||||||
PeerPushPaymentInitiationRecord,
|
|
||||||
PurchaseStatus,
|
|
||||||
PurchaseRecord,
|
|
||||||
TipRecord,
|
|
||||||
WithdrawalGroupRecord,
|
|
||||||
WithdrawalRecordType,
|
|
||||||
WalletContractData,
|
|
||||||
PeerPullPaymentIncomingStatus,
|
PeerPullPaymentIncomingStatus,
|
||||||
DepositElementStatus,
|
PeerPullPaymentInitiationRecord,
|
||||||
WithdrawalGroupStatus,
|
|
||||||
RefreshGroupRecord,
|
|
||||||
RefreshOperationStatus,
|
|
||||||
PeerPushPaymentIncomingRecord,
|
PeerPushPaymentIncomingRecord,
|
||||||
PeerPushPaymentIncomingStatus,
|
PeerPushPaymentIncomingStatus,
|
||||||
PeerPullPaymentInitiationRecord,
|
PeerPushPaymentInitiationRecord,
|
||||||
|
PurchaseRecord,
|
||||||
|
PurchaseStatus,
|
||||||
|
RefreshGroupRecord,
|
||||||
|
RefreshOperationStatus,
|
||||||
RefundGroupRecord,
|
RefundGroupRecord,
|
||||||
|
TipRecord,
|
||||||
|
WalletContractData,
|
||||||
|
WithdrawalGroupRecord,
|
||||||
|
WithdrawalGroupStatus,
|
||||||
|
WithdrawalRecordType,
|
||||||
} from "../db.js";
|
} from "../db.js";
|
||||||
|
import { GetReadOnlyAccess, WalletStoresV1 } from "../index.js";
|
||||||
import { InternalWalletState } from "../internal-wallet-state.js";
|
import { InternalWalletState } from "../internal-wallet-state.js";
|
||||||
import { PendingTaskType } from "../pending-types.js";
|
import { PendingTaskType } from "../pending-types.js";
|
||||||
import { assertUnreachable } from "../util/assertUnreachable.js";
|
import { assertUnreachable } from "../util/assertUnreachable.js";
|
||||||
import { checkDbInvariant, checkLogicInvariant } from "../util/invariants.js";
|
import { checkDbInvariant, checkLogicInvariant } from "../util/invariants.js";
|
||||||
import { constructTaskIdentifier, TaskIdentifiers } from "../util/retries.js";
|
import { constructTaskIdentifier, TaskIdentifiers } from "../util/retries.js";
|
||||||
import {
|
import { resetOperationTimeout, TombstoneTag } from "./common.js";
|
||||||
resetOperationTimeout,
|
|
||||||
runOperationWithErrorReporting,
|
|
||||||
TombstoneTag,
|
|
||||||
} from "./common.js";
|
|
||||||
import {
|
import {
|
||||||
abortDepositGroup,
|
abortDepositGroup,
|
||||||
cancelAbortingDepositGroup,
|
cancelAbortingDepositGroup,
|
||||||
computeDepositTransactionStatus,
|
computeDepositTransactionStatus,
|
||||||
deleteDepositGroup,
|
deleteDepositGroup,
|
||||||
processDepositGroup,
|
|
||||||
resumeDepositGroup,
|
resumeDepositGroup,
|
||||||
suspendDepositGroup,
|
suspendDepositGroup,
|
||||||
} from "./deposits.js";
|
} from "./deposits.js";
|
||||||
@ -89,28 +85,21 @@ import {
|
|||||||
computeRefundTransactionState,
|
computeRefundTransactionState,
|
||||||
expectProposalDownload,
|
expectProposalDownload,
|
||||||
extractContractData,
|
extractContractData,
|
||||||
processPurchasePay,
|
|
||||||
} from "./pay-merchant.js";
|
} from "./pay-merchant.js";
|
||||||
import {
|
import {
|
||||||
computePeerPullCreditTransactionState,
|
computePeerPullCreditTransactionState,
|
||||||
computePeerPullDebitTransactionState,
|
computePeerPullDebitTransactionState,
|
||||||
computePeerPushCreditTransactionState,
|
computePeerPushCreditTransactionState,
|
||||||
computePeerPushDebitTransactionState,
|
computePeerPushDebitTransactionState,
|
||||||
processPeerPullCredit,
|
|
||||||
} from "./pay-peer.js";
|
} from "./pay-peer.js";
|
||||||
import {
|
import { computeRefreshTransactionState } from "./refresh.js";
|
||||||
computeRefreshTransactionState,
|
import { computeTipTransactionStatus } from "./tip.js";
|
||||||
processRefreshGroup,
|
|
||||||
} from "./refresh.js";
|
|
||||||
import { computeTipTransactionStatus, processTip } from "./tip.js";
|
|
||||||
import {
|
import {
|
||||||
abortWithdrawalTransaction,
|
abortWithdrawalTransaction,
|
||||||
augmentPaytoUrisForWithdrawal,
|
augmentPaytoUrisForWithdrawal,
|
||||||
cancelAbortingWithdrawalTransaction,
|
cancelAbortingWithdrawalTransaction,
|
||||||
computeWithdrawalTransactionStatus,
|
computeWithdrawalTransactionStatus,
|
||||||
processWithdrawalGroup,
|
|
||||||
} from "./withdraw.js";
|
} from "./withdraw.js";
|
||||||
import { GetReadOnlyAccess, WalletStoresV1 } from "../index.js";
|
|
||||||
|
|
||||||
const logger = new Logger("taler-wallet-core:transactions.ts");
|
const logger = new Logger("taler-wallet-core:transactions.ts");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user