aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/recoup.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-02-08 15:38:34 +0100
committerFlorian Dold <florian@dold.me>2021-02-08 15:38:34 +0100
commit5ff5a686e4f15dea839b18fda9275687557d23a7 (patch)
treeeb4579f451a70fae627b403e273e73033fa5e88c /packages/taler-wallet-core/src/operations/recoup.ts
parent4452984a24334e3b7afb60e3db9dc12db02d65ba (diff)
downloadwallet-core-5ff5a686e4f15dea839b18fda9275687557d23a7.tar.xz
organize imports
Diffstat (limited to 'packages/taler-wallet-core/src/operations/recoup.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/recoup.ts32
1 files changed, 15 insertions, 17 deletions
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");