From 5ff5a686e4f15dea839b18fda9275687557d23a7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 8 Feb 2021 15:38:34 +0100 Subject: organize imports --- .../taler-wallet-core/src/operations/recoup.ts | 32 ++++++++++------------ 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/recoup.ts') diff --git a/packages/taler-wallet-core/src/operations/recoup.ts b/packages/taler-wallet-core/src/operations/recoup.ts index f6b29536b..a2c7cb6f5 100644 --- a/packages/taler-wallet-core/src/operations/recoup.ts +++ b/packages/taler-wallet-core/src/operations/recoup.ts @@ -24,33 +24,31 @@ /** * Imports. */ -import { InternalWalletState } from "./state"; +import { encodeCrock, getRandomBytes } from "../crypto/talerCrypto"; import { - Stores, - CoinStatus, - CoinSourceType, CoinRecord, - WithdrawCoinSource, + CoinSourceType, + CoinStatus, + RecoupGroupRecord, RefreshCoinSource, ReserveRecordStatus, - RecoupGroupRecord, + Stores, + WithdrawCoinSource, } from "../types/dbTypes"; - -import { codecForRecoupConfirmation } from "../types/talerTypes"; import { NotificationType } from "../types/notifications"; -import { getReserveRequestTimeout, processReserve } from "./reserves"; - -import { Amounts } from "../util/amounts"; -import { createRefreshGroup, processRefreshGroup } from "./refresh"; +import { codecForRecoupConfirmation } from "../types/talerTypes"; import { RefreshReason, TalerErrorDetails } from "../types/walletTypes"; -import { Store, StoreParams, TransactionHandle } from "../util/query"; -import { encodeCrock, getRandomBytes } from "../crypto/talerCrypto"; -import { getTimestampNow } from "../util/time"; -import { guardOperationException } from "./errors"; +import { Amounts } from "../util/amounts"; import { readSuccessResponseJsonOrThrow } from "../util/http"; -import { URL } from "../util/url"; import { Logger } from "../util/logging"; +import { TransactionHandle } from "../util/query"; import { initRetryInfo, updateRetryInfoTimeout } from "../util/retries"; +import { getTimestampNow } from "../util/time"; +import { URL } from "../util/url"; +import { guardOperationException } from "./errors"; +import { createRefreshGroup, processRefreshGroup } from "./refresh"; +import { getReserveRequestTimeout, processReserve } from "./reserves"; +import { InternalWalletState } from "./state"; const logger = new Logger("operations/recoup.ts"); -- cgit v1.2.3