Typescript migration:
* validation/validator.js
This commit is contained in:
parent
9e29eb924e
commit
5c0b5abf73
4 changed files with 123 additions and 98 deletions
shared/validation
|
@ -4,7 +4,7 @@
|
|||
var constraints = {
|
||||
id:{
|
||||
type: 'string',
|
||||
regex: /^[1-9][0-9]*/,
|
||||
regex: /^[1-9][0-9]*$/,
|
||||
optional: false
|
||||
},
|
||||
token:{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue