diff options
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index f3ef3aea5..7f114df78 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -849,6 +849,13 @@ export enum RefreshOperationStatus { } /** + * Additional information about the reason of a refresh. + */ +export interface RefreshReasonDetails { + proposalId?: string; +} + +/** * Group of refresh operations. The refreshed coins do not * have to belong to the same exchange, but must have the same * currency. @@ -880,6 +887,11 @@ export interface RefreshGroupRecord { */ reason: RefreshReason; + /** + * Extra information depending on the reason. + */ + reasonDetails?: RefreshReasonDetails; + oldCoinPubs: string[]; // FIXME: Should this go into a separate @@ -2006,7 +2018,7 @@ export const WalletStoresV1 = { ), }, ), - exchangeSignkeys: describeStore( + exchangeSignKeys: describeStore( "exchangeSignKeys", describeContents<ExchangeSignkeysRecord>({ keyPath: ["exchangeDetailsRowId", "signkeyPub"], |