aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/query.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-23 03:12:56 +0200
committerFlorian Dold <florian@dold.me>2024-04-23 03:12:56 +0200
commit0308290a128d29792225d7b2f4d2e22cb5d42f72 (patch)
tree74ef805f445d61d905e169d56f11b57d03ef8000 /packages/taler-wallet-core/src/query.ts
parent1edc144b3595ae1ab6b8af7a43d26b811b2c2623 (diff)
downloadwallet-core-0308290a128d29792225d7b2f4d2e22cb5d42f72.tar.xz
wallet-core: allow labeling transactions
Diffstat (limited to 'packages/taler-wallet-core/src/query.ts')
-rw-r--r--packages/taler-wallet-core/src/query.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/query.ts b/packages/taler-wallet-core/src/query.ts
index eb5752fbe..dc15bbdd1 100644
--- a/packages/taler-wallet-core/src/query.ts
+++ b/packages/taler-wallet-core/src/query.ts
@@ -821,6 +821,7 @@ export interface DbAccess<StoreMap> {
runReadWriteTx<T, StoreNameArray extends Array<StoreNames<StoreMap>>>(
opts: {
storeNames: StoreNameArray;
+ label?: string;
},
txf: (tx: DbReadWriteTransaction<StoreMap, StoreNameArray>) => Promise<T>,
): Promise<T>;
@@ -828,6 +829,7 @@ export interface DbAccess<StoreMap> {
runReadOnlyTx<T, StoreNameArray extends Array<StoreNames<StoreMap>>>(
opts: {
storeNames: StoreNameArray;
+ label?: string;
},
txf: (tx: DbReadOnlyTransaction<StoreMap, StoreNameArray>) => Promise<T>,
): Promise<T>;