-comments

This commit is contained in:
Florian Dold 2023-02-16 22:29:53 +01:00
parent 88e5634c97
commit 99f27aaecd
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 12 additions and 2 deletions

View File

@ -2031,7 +2031,16 @@ export interface PayCoinSelection {
} }
export interface PreparePeerPushPaymentRequest { export interface PreparePeerPushPaymentRequest {
/**
* Preferred exchange to use for the p2p payment.
*/
exchangeBaseUrl?: string; exchangeBaseUrl?: string;
/**
* Instructed amount.
*
* FIXME: Allow specifying the instructed amount type.
*/
amount: AmountString; amount: AmountString;
} }

View File

@ -77,7 +77,6 @@ import {
PeerPushPaymentIncomingRecord, PeerPushPaymentIncomingRecord,
PeerPushPaymentInitiationStatus, PeerPushPaymentInitiationStatus,
ReserveRecord, ReserveRecord,
WalletStoresV1,
WithdrawalGroupStatus, WithdrawalGroupStatus,
WithdrawalRecordType, WithdrawalRecordType,
} from "../db.js"; } from "../db.js";

View File

@ -591,7 +591,9 @@ export type ExportBackupPlainOp = {
// group: Peer Payments // group: Peer Payments
/** /**
* Initiate an outgoing peer push payment. * Check if initiating a peer push payment is possible.
*
* FIXME: Rename to CheckPeerPushPaymentInitiation
*/ */
export type PreparePeerPushPaymentOp = { export type PreparePeerPushPaymentOp = {
op: WalletApiOperation.PreparePeerPushPayment; op: WalletApiOperation.PreparePeerPushPayment;