@commodo/fields
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.0.3](https://github.com/webiny/commodo/compare/@commodo/fields@0.0.2...@commodo/fields@0.0.3) (2019-04-23) | ||
### Bug Fixes | ||
* add missing README.md files ([7228d9c](https://github.com/webiny/commodo/commit/7228d9c)) | ||
## [0.0.2](https://github.com/webiny/commodo/compare/@commodo/fields@0.0.1...@commodo/fields@0.0.2) (2019-04-23) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@commodo/fields", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "index.js", | ||
@@ -28,3 +28,3 @@ "repository": { | ||
], | ||
"gitHead": "afbbca83bb106684d11842373a5daeae36cb136a" | ||
"gitHead": "29c7049771f2ec8f09049955d9820c60176ecbce" | ||
} |
@@ -1,19 +0,3 @@ | ||
![alt text](docs/assets/logo.png "Logo Title Text 1") | ||
# @commodo/fields | ||
``` | ||
import { string, number, boolean } from "@commodo/fields/fields"; | ||
import { withFields } from "@commodo/fields"; | ||
import { withProps } from "repropose"; | ||
import { compose } from "ramda"; | ||
const User = compose( | ||
withFields({ | ||
firstName: string(), | ||
lastName: string(), | ||
email: string(), | ||
age: string(), | ||
enabled: string() | ||
}) | ||
)(function() {}); | ||
const user = new User(); | ||
✍️ |
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
87444
3