diff options
author | Florian Dold <florian@dold.me> | 2024-05-10 18:23:37 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-05-10 18:24:00 +0200 |
commit | 2339438e4892dd3afc11538f45442a714ab5732f (patch) | |
tree | 250c7a76337450fff86766058e97af5d44a79997 /packages/taler-util/src/wallet-types.ts | |
parent | 224bbb1d99a7f12a95322a4abb6a5e8f05fca68b (diff) | |
download | wallet-core-2339438e4892dd3afc11538f45442a714ab5732f.tar.xz |
wallet-core: testing request for reserve history
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index ec6cb6f58..b9fd24754 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -3010,6 +3010,18 @@ export interface TestingWaitTransactionRequest { txState: TransactionState; } +export interface TestingGetReserveHistoryRequest { + reservePub: string; + exchangeBaseUrl: string; +} + +export const codecForTestingGetReserveHistoryRequest = + (): Codec<TestingGetReserveHistoryRequest> => + buildCodecForObject<TestingGetReserveHistoryRequest>() + .property("reservePub", codecForString()) + .property("exchangeBaseUrl", codecForString()) + .build("TestingGetReserveHistoryRequest"); + export interface TestingGetDenomStatsRequest { exchangeBaseUrl: string; } |