summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/types/talerTypes.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/types/talerTypes.ts
parent4452984a24334e3b7afb60e3db9dc12db02d65ba (diff)
downloadwallet-core-5ff5a686e4f15dea839b18fda9275687557d23a7.tar.gz
wallet-core-5ff5a686e4f15dea839b18fda9275687557d23a7.tar.bz2
wallet-core-5ff5a686e4f15dea839b18fda9275687557d23a7.zip
organize imports
Diffstat (limited to 'packages/taler-wallet-core/src/types/talerTypes.ts')
-rw-r--r--packages/taler-wallet-core/src/types/talerTypes.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/taler-wallet-core/src/types/talerTypes.ts b/packages/taler-wallet-core/src/types/talerTypes.ts
index f3749afe7..fe1370cb7 100644
--- a/packages/taler-wallet-core/src/types/talerTypes.ts
+++ b/packages/taler-wallet-core/src/types/talerTypes.ts
@@ -47,7 +47,6 @@ import {
Duration,
codecForDuration,
} from "../util/time";
-import { ExchangeListItem, codecForExchangeListItem } from "./walletTypes";
import { codecForAmountString } from "../util/amounts";
/**
@@ -983,21 +982,6 @@ export interface MerchantOrderStatusUnpaid {
already_paid_order_id?: string;
}
-export interface WithdrawUriInfoResponse {
- amount: AmountString;
- defaultExchangeBaseUrl?: string;
- possibleExchanges: ExchangeListItem[];
-}
-
-export const codecForWithdrawUriInfoResponse = (): Codec<
- WithdrawUriInfoResponse
-> =>
- buildCodecForObject<WithdrawUriInfoResponse>()
- .property("amount", codecForAmountString())
- .property("defaultExchangeBaseUrl", codecOptional(codecForString()))
- .property("possibleExchanges", codecForList(codecForExchangeListItem()))
- .build("WithdrawUriInfoResponse");
-
/**
* Response body for the following endpoint:
*