@ausgaben/models
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -44,2 +44,3 @@ 'use strict'; | ||
name = fields.name, | ||
currency = fields.currency, | ||
monthly = fields.monthly, | ||
@@ -50,2 +51,3 @@ savings = fields.savings; | ||
_this.name = NonEmptyStringType(name, ['CheckingAccount', 'name:String']); | ||
_this.currency = NonEmptyStringType(currency, ['CheckingAccount', 'currency:String']); | ||
_this.monthly = (0, _tcomb.Boolean)(monthly, ['CheckingAccount', 'monthly:Boolean']); | ||
@@ -62,2 +64,3 @@ _this.savings = (0, _tcomb.Boolean)(savings, ['CheckingAccount', 'monthly:savings']); | ||
name: this.name, | ||
currency: this.currency, | ||
monthly: this.monthly, | ||
@@ -74,2 +77,3 @@ savings: this.savings | ||
name: data.name, | ||
currency: data.currency, | ||
monthly: data.monthly, | ||
@@ -103,2 +107,3 @@ savings: data.savings | ||
name: NonEmptyStringType, | ||
currency: NonEmptyStringType, | ||
monthly: _tcomb.Boolean, | ||
@@ -105,0 +110,0 @@ savings: _tcomb.Boolean |
{ | ||
"name": "@ausgaben/models", | ||
"description": "A collection of models", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"main": "dist/index.js", | ||
@@ -38,4 +38,4 @@ "scripts": { | ||
"husky": "^0.14.3", | ||
"semantic-release": "^11.0.2", | ||
"standard": "^10.0.2", | ||
"semantic-release": "^12.4.1", | ||
"standard": "^11.0.0", | ||
"validate-commit-msg": "^2.11.2" | ||
@@ -42,0 +42,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32576
524