diff options
author | Florian Dold <florian@dold.me> | 2020-12-21 13:23:07 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-21 13:23:07 +0100 |
commit | 95568395ce5817028046a96d95bd3399995154d5 (patch) | |
tree | 16f8c9cc6170df74cf490e31b9e1dc95c263fedc /packages/taler-wallet-core/src/types/dbTypes.ts | |
parent | 84d5b5e5ef34f7289256c6fd301206cda19be694 (diff) | |
download | wallet-core-95568395ce5817028046a96d95bd3399995154d5.tar.gz wallet-core-95568395ce5817028046a96d95bd3399995154d5.tar.bz2 wallet-core-95568395ce5817028046a96d95bd3399995154d5.zip |
backup import WIP
Diffstat (limited to 'packages/taler-wallet-core/src/types/dbTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/dbTypes.ts | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts b/packages/taler-wallet-core/src/types/dbTypes.ts index 7ba3b8604..5b05e2874 100644 --- a/packages/taler-wallet-core/src/types/dbTypes.ts +++ b/packages/taler-wallet-core/src/types/dbTypes.ts @@ -753,7 +753,7 @@ export interface ProposalDownload { /** * The contract that was offered by the merchant. */ - contractTermsRaw: string; + contractTermsRaw: any; contractData: WalletContractData; } @@ -1200,14 +1200,9 @@ export interface PurchaseRecord { noncePub: string; /** - * Contract terms we got from the merchant. + * Downloaded and parsed proposal data. */ - contractTermsRaw: string; - - /** - * Parsed contract terms. - */ - contractData: WalletContractData; + download: ProposalDownload; /** * Deposit permissions, available once the user has accepted the payment. @@ -1291,6 +1286,9 @@ export interface ConfigRecord<T> { value: T; } +/** + * FIXME: Eliminate this in favor of DenomSelectionState. + */ export interface DenominationSelectionInfo { totalCoinValue: AmountJson; totalWithdrawCost: AmountJson; @@ -1303,6 +1301,9 @@ export interface DenominationSelectionInfo { }[]; } +/** + * Selected denominations withn some extra info. + */ export interface DenomSelectionState { totalCoinValue: AmountJson; totalWithdrawCost: AmountJson; |