Skip to content

Commit

Permalink
Update new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
talyssonoc committed Feb 22, 2019
1 parent 8398237 commit 79269fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions new-docs/validation/string-validations.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
- `lowerCase`: all characters must be lower cased
- `upperCase`: all characters must be upper cased
- `email`: is a valid email (default: `false`)
- `uuid`: is a valid uuid (default: `false`)

```javascript
const User = attributes({
id: {
type: String,
uuid: true
},
initials: {
type: String,
upperCase: true,
Expand Down

0 comments on commit 79269fe

Please sign in to comment.