Compare commits
No commits in common. "93fe5b3f7fef0f02f829e1dc5cbef480f1b76b84" and "d2456c2844ee80ab94370cbc2001d7bc3480e5a8" have entirely different histories.
93fe5b3f7f
...
d2456c2844
@ -12,9 +12,5 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest": "^26.0.1",
|
"jest": "^26.0.1",
|
||||||
"standard": "^12.0.1"
|
"standard": "^12.0.1"
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.trj.tw/nodejs/validator.git"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,15 @@
|
|||||||
const types = {}
|
const Base = require('./base.js')
|
||||||
module.exports = types
|
const StringType = require('./string.js')
|
||||||
types.Base = require('./base.js')
|
const NumberType = require('./number.js')
|
||||||
types.StringType = require('./string.js')
|
const BooleanType = require('./boolean.js')
|
||||||
types.NumberType = require('./number.js')
|
const ObjectType = require('./object.js')
|
||||||
types.BooleanType = require('./boolean.js')
|
const ArrayType = require('./array.js')
|
||||||
types.ObjectType = require('./object.js')
|
|
||||||
types.ArrayType = require('./array.js')
|
module.exports = {
|
||||||
|
Base,
|
||||||
|
StringType,
|
||||||
|
NumberType,
|
||||||
|
BooleanType,
|
||||||
|
ObjectType,
|
||||||
|
ArrayType
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user