Add SchemaVersion
type
This commit is contained in:
parent
add4b11df3
commit
e9e46464c2
2 changed files with 30 additions and 0 deletions
5
js/modules/types/schema_version.js
Normal file
5
js/modules/types/schema_version.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
const isNumber = require('lodash/isNumber');
|
||||
|
||||
|
||||
exports.isValid = value =>
|
||||
isNumber(value) && value >= 0;
|
Loading…
Add table
Add a link
Reference in a new issue