diff options
author | Florian Dold <florian@dold.me> | 2021-06-14 19:37:35 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-14 19:37:35 +0200 |
commit | ef636c022bb6f8017ef237a5e6468f5c449665ad (patch) | |
tree | 7c7f0fa083a4c02f8d3fb0711b2bd7781cd80879 /packages/taler-util | |
parent | b4f97f4592cbab6632aff4f1ea4bedccdbf00d3a (diff) |
implement force-retrying transactions
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/walletTypes.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 10dbf75eb..6a0c57139 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -949,7 +949,16 @@ export interface DeleteTransactionRequest { transactionId: string; } +export interface RetryTransactionRequest { + transactionId: string; +} + export const codecForDeleteTransactionRequest = (): Codec<DeleteTransactionRequest> => buildCodecForObject<DeleteTransactionRequest>() .property("transactionId", codecForString()) .build("DeleteTransactionRequest"); + +export const codecForRetryTransactionRequest = (): Codec<RetryTransactionRequest> => + buildCodecForObject<RetryTransactionRequest>() + .property("transactionId", codecForString()) + .build("RetryTransactionRequest"); |