aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/wallet-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-11 10:45:02 +0100
committerFlorian Dold <florian@dold.me>2023-12-11 10:45:02 +0100
commitce139cd061f0d592804232d72aaf8904bbaf0caf (patch)
treee592a9d97d697956ff6616ea6c3a5fe5b4c7cfa1 /packages/taler-util/src/wallet-types.ts
parent3c2e2aeba979dbafaed6c4ed749175da0ef93426 (diff)
downloadwallet-core-ce139cd061f0d592804232d72aaf8904bbaf0caf.tar.xz
wallet-core: add scopeInfo to exchange list entry items
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r--packages/taler-util/src/wallet-types.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index 77800857c..82c58246a 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -1317,6 +1317,8 @@ export interface ExchangeListItem {
exchangeUpdateStatus: ExchangeUpdateStatus;
ageRestrictionOptions: number[];
+ scopeInfo: ScopeInfo | undefined;
+
/**
* Information about the last error that occurred when trying
* to update the exchange info.
@@ -1388,6 +1390,7 @@ export const codecForExchangeListItem = (): Codec<ExchangeListItem> =>
.property("exchangeEntryStatus", codecForAny())
.property("exchangeUpdateStatus", codecForAny())
.property("ageRestrictionOptions", codecForList(codecForNumber()))
+ .property("scopeInfo", codecForScopeInfo())
.build("ExchangeListItem");
export const codecForExchangesListResponse = (): Codec<ExchangesListResponse> =>