diff options
author | Florian Dold <florian@dold.me> | 2024-01-09 16:23:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-09 16:23:26 +0100 |
commit | f8cde03f0cb6a7584fb92885f8979a01916a917d (patch) | |
tree | 6f120387f8f5297f436e2d2bd2d4d7b5c1814146 /packages/taler-wallet-core/src/db.ts | |
parent | de39d432374a3ecd1bddd788b1ac1585461af8c1 (diff) | |
download | wallet-core-f8cde03f0cb6a7584fb92885f8979a01916a917d.tar.gz wallet-core-f8cde03f0cb6a7584fb92885f8979a01916a917d.tar.bz2 wallet-core-f8cde03f0cb6a7584fb92885f8979a01916a917d.zip |
wallet-core: refactor peer-pull-debit and test aborting
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 76bb2e393..549bc7517 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -63,7 +63,9 @@ import { DbRetryInfo, TaskIdentifiers } from "./operations/common.js"; import { DbAccess, DbReadOnlyTransaction, + DbReadOnlyTransactionArr, DbReadWriteTransaction, + DbReadWriteTransactionArr, GetReadWriteAccess, IndexDescriptor, StoreDescriptor, @@ -2639,6 +2641,8 @@ export const WalletStoresV1 = { ), }; +type WalletStoreNames = StoreNames<typeof WalletStoresV1>; + export type WalletDbReadOnlyTransaction< Stores extends StoreNames<typeof WalletStoresV1> & string, > = DbReadOnlyTransaction<typeof WalletStoresV1, Stores>; |