diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-08 21:03:10 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-08 21:03:10 +0530 |
commit | aae06c680f7d31d0a2f2a2059b57a8d7c575d3c7 (patch) | |
tree | 25653034f74b5e043edd58702a24cad9acdc6fdd /packages/taler-wallet-core/src/types/dbTypes.ts | |
parent | ddbb09b1403214cff3e5a598dc51bdf37df72971 (diff) | |
download | wallet-core-aae06c680f7d31d0a2f2a2059b57a8d7c575d3c7.tar.xz |
DB tweaks
Diffstat (limited to 'packages/taler-wallet-core/src/types/dbTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/dbTypes.ts | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts b/packages/taler-wallet-core/src/types/dbTypes.ts index 62eadc78b..12a89a43e 100644 --- a/packages/taler-wallet-core/src/types/dbTypes.ts +++ b/packages/taler-wallet-core/src/types/dbTypes.ts @@ -1384,13 +1384,6 @@ export interface PurchaseRecord { } /** - * Information about wire information for bank accounts we withdrew coins from. - */ -export interface SenderWireRecord { - paytoUri: string; -} - -/** * Configuration key/value entries to configure * the wallet. */ @@ -1589,25 +1582,14 @@ class DenominationsStore extends Store<DenominationRecord> { constructor() { // cast needed because of bug in type annotations super("denominations", { - keyPath: (["exchangeBaseUrl", "denomPub"] as any) as IDBKeyPath, + keyPath: (["exchangeBaseUrl", "denomPubHash"] as any) as IDBKeyPath, }); } - - denomPubHashIndex = new Index<string, DenominationRecord>( - this, - "denomPubHashIndex", - "denomPubHash", - ); exchangeBaseUrlIndex = new Index<string, DenominationRecord>( this, "exchangeBaseUrlIndex", "exchangeBaseUrl", ); - denomPubIndex = new Index<string, DenominationRecord>( - this, - "denomPubIndex", - "denomPub", - ); } class CurrenciesStore extends Store<CurrencyRecord> { @@ -1640,12 +1622,6 @@ class TipsStore extends Store<TipRecord> { } } -class SenderWiresStore extends Store<SenderWireRecord> { - constructor() { - super("senderWires", { keyPath: "paytoUri" }); - } -} - class WithdrawalGroupsStore extends Store<WithdrawalGroupRecord> { constructor() { super("withdrawals", { keyPath: "withdrawalGroupId" }); @@ -1698,7 +1674,6 @@ export const Stores = { reserveHistory: new ReserveHistoryStore(), purchases: new PurchasesStore(), tips: new TipsStore(), - senderWires: new SenderWiresStore(), withdrawalGroups: new WithdrawalGroupsStore(), planchets: new PlanchetsStore(), bankWithdrawUris: new BankWithdrawUrisStore(), |