wallet-core: add byStatus indices for peer payment object stores
This commit is contained in:
parent
ae818df3bf
commit
566248aec4
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user