diff options
author | Florian Dold <florian@dold.me> | 2023-12-13 07:53:18 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-13 07:53:18 +0100 |
commit | 81878c8cb8484e60cd153af377d30f462b0a69e8 (patch) | |
tree | 40353eb84c0010d2b2e2fc13a901f4537e39fc4e /packages/taler-util/src | |
parent | 272868277415383dc80671657f158c5c08c7c6d5 (diff) | |
download | wallet-core-81878c8cb8484e60cd153af377d30f462b0a69e8.tar.xz |
-re-add field that's still in use
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 b25b3e406..409aa07a6 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1656,11 +1656,20 @@ export type GetExchangeEntryByUrlResponse = ExchangeListItem; export interface AddExchangeRequest { exchangeBaseUrl: string; + + /** + * @deprecated use a separate API call to start a forced exchange update instead + */ + forceUpdate?: boolean; + + masterPub?: string; } export const codecForAddExchangeRequest = (): Codec<AddExchangeRequest> => buildCodecForObject<AddExchangeRequest>() .property("exchangeBaseUrl", codecForString()) + .property("forceUpdate", codecOptional(codecForBoolean())) + .property("masterPub", codecOptional(codecForString())) .build("AddExchangeRequest"); export interface UpdateExchangeEntryRequest { |