aboutsummaryrefslogtreecommitdiff
path: root/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-20 17:58:01 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-20 17:58:01 +0200
commit106bc6ad9a78c199e6b0e89bef854174d9014c28 (patch)
treedbb1579c29fca6cd133f2c2bd67ff36150a5cd7b /src/walletTypes.ts
parent0f2fbf20ed3a74c3a73619f59ae8fe17bd2a883f (diff)
downloadwallet-core-106bc6ad9a78c199e6b0e89bef854174d9014c28.tar.xz
implement pay-url and disable broken wallet GC
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r--src/walletTypes.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts
index f9d753f28..e6564b91b 100644
--- a/src/walletTypes.ts
+++ b/src/walletTypes.ts
@@ -472,3 +472,10 @@ export interface NextUrlResult {
nextUrl: string;
lastSessionId: string | undefined;
}
+
+export interface PreparePayResult {
+ status: "paid" | "insufficient-balance" | "payment-possible" | "error";
+ contractTerms?: ContractTerms;
+ error?: string;
+ proposalId?: number;
+} \ No newline at end of file