summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/walletTypes.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-01-13 01:33:24 -0300
committerSebastian <sebasjm@gmail.com>2022-01-13 01:34:17 -0300
commitcea0ac02b64c2a575a5788552e813d315e3f3096 (patch)
tree79c398a39610ac07c45c9ab7da30a64177fc6332 /packages/taler-util/src/walletTypes.ts
parent4b289cde5d362c863bee84dc3aa8fbe06b747b41 (diff)
downloadwallet-core-cea0ac02b64c2a575a5788552e813d315e3f3096.tar.gz
wallet-core-cea0ac02b64c2a575a5788552e813d315e3f3096.tar.bz2
wallet-core-cea0ac02b64c2a575a5788552e813d315e3f3096.zip
import db from the wallet web extension
Diffstat (limited to 'packages/taler-util/src/walletTypes.ts')
-rw-r--r--packages/taler-util/src/walletTypes.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 4158dde9..4a871e74 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -1088,3 +1088,11 @@ export const codecForWithdrawFakebankRequest = (): Codec<WithdrawFakebankRequest
.property("bank", codecForString())
.property("exchange", codecForString())
.build("WithdrawFakebankRequest");
+
+export interface ImportDb {
+ dump: any;
+}
+export const codecForImportDbRequest = (): Codec<ImportDb> =>
+ buildCodecForObject<ImportDb>()
+ .property("dump", codecForAny())
+ .build("ImportDbRequest")