diff options
author | Florian Dold <florian@dold.me> | 2024-03-25 20:31:56 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-25 20:31:56 +0100 |
commit | bd70ccfddfb9f993a5951a31be5bdc982fe1a58f (patch) | |
tree | bc631a948ec7ce5e52619c850622e8f91df4d7e7 /packages/taler-util/src/transactions-types.ts | |
parent | 31b7ce31a3d34149d2397f999a86c14100bd72ac (diff) | |
download | wallet-core-bd70ccfddfb9f993a5951a31be5bdc982fe1a58f.tar.xz |
wallet-core: re-denomination of withdrawal groups
Diffstat (limited to 'packages/taler-util/src/transactions-types.ts')
-rw-r--r-- | packages/taler-util/src/transactions-types.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index c5d838809..8c4c2c7ed 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -77,8 +77,13 @@ export interface TransactionsRequest { * Sort order of the transaction items. * By default, items are sorted ascending by their * main timestamp. + * + * ascending: ascending by timestamp, but pending transactions first + * descending: ascending by timestamp, but pending transactions first + * stable-ascending: ascending by timestamp, with pending transactions amidst other transactions + * (stable in the sense of: pending transactions don't jump around) */ - sort?: "ascending" | "descending"; + sort?: "ascending" | "descending" | "stable-ascending"; /** * If true, include all refreshes in the transactions list. @@ -747,6 +752,7 @@ export const codecForTransactionsRequest = (): Codec<TransactionsRequest> => codecForEither( codecForConstString("ascending"), codecForConstString("descending"), + codecForConstString("stable-ascending"), ), ), ) |