wallet-core: add byStatus indices for peer payment object stores

This commit is contained in:
Florian Dold 2022-11-02 18:31:05 +01:00
parent ae818df3bf
commit 566248aec4
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -2089,6 +2089,7 @@ export const WalletStoresV1 = {
"exchangeBaseUrl",
"pursePub",
]),
byStatus: describeIndex("byStatus", "status"),
},
),
peerPullPaymentIncoming: describeStore(
@ -2101,6 +2102,7 @@ export const WalletStoresV1 = {
"exchangeBaseUrl",
"pursePub",
]),
byStatus: describeIndex("byStatus", "status"),
},
),
peerPullPaymentInitiations: describeStore(
@ -2108,14 +2110,18 @@ export const WalletStoresV1 = {
describeContents<PeerPullPaymentInitiationRecord>({
keyPath: "pursePub",
}),
{},
{
byStatus: describeIndex("byStatus", "status"),
},
),
peerPushPaymentInitiations: describeStore(
"peerPushPaymentInitiations",
describeContents<PeerPushPaymentInitiationRecord>({
keyPath: "pursePub",
}),
{},
{
byStatus: describeIndex("byStatus", "status"),
},
),
bankAccounts: describeStore(
"bankAccounts",