taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 2f57643e2ec04af0e8be8a5c2b4110b544946cfc
parent d1291f67551c58168af43698a359cb5ddfd266b0
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu,  3 Nov 2016 01:53:53 +0100

add new fields to contract

Diffstat:
Mlib/wallet/types.ts | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/lib/wallet/types.ts b/lib/wallet/types.ts @@ -347,9 +347,15 @@ export class Contract { @Checkable.List(Checkable.AnyObject) auditors: any[]; - @Checkable.String + /** + * DEPRECATED alias for pay_deadline. + */ + @Checkable.Optional(Checkable.String) expiry: string; + @Checkable.Optional(Checkable.String) + pay_deadline: string; + @Checkable.Any locations: any; @@ -383,9 +389,15 @@ export class Contract { @Checkable.Optional(Checkable.String) repurchase_correlation_id: string; + /** + * DEPRECATED alias for instance + */ @Checkable.Optional(Checkable.String) receiver: string; + @Checkable.Optional(Checkable.String) + instance: string; + static checked: (obj: any) => Contract; }