diff options
author | Florian Dold <florian@dold.me> | 2023-10-02 22:48:29 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-02 22:48:44 +0200 |
commit | 671bbf29548e2ec078b29e75e368d77ee7bdb81f (patch) | |
tree | f4434f9e561d92fe98cc4f3e27dc5dc73a4c5aed /packages/taler-util/src | |
parent | e54df1f167333de654a9a98545bae8ef495d6e52 (diff) | |
download | wallet-core-671bbf29548e2ec078b29e75e368d77ee7bdb81f.tar.xz |
wallet-core: implement explicit updateExchangeEntry request
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index c5c2c375c..8fff8ae55 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1601,6 +1601,15 @@ export const codecForAddExchangeRequest = (): Codec<AddExchangeRequest> => .property("masterPub", codecOptional(codecForString())) .build("AddExchangeRequest"); +export interface UpdateExchangeEntryRequest { + exchangeBaseUrl: string; +} + +export const codecForUpdateExchangeEntryRequest = (): Codec<UpdateExchangeEntryRequest> => + buildCodecForObject<UpdateExchangeEntryRequest>() + .property("exchangeBaseUrl", codecForString()) + .build("UpdateExchangeEntryRequest"); + export interface ForceExchangeUpdateRequest { exchangeBaseUrl: string; } |