├── .eslintignore ├── .github ├── CONTRIBUTING.md └── ISSUE_TEMPLATE.md ├── .gitignore ├── .travis.yml ├── API.md ├── LICENSE ├── README.md ├── examples ├── conditionalRequire.js ├── customMessage.js ├── multipleWhen.js └── timestamps.js ├── generate-readme-toc.js ├── images ├── joi.png └── validation.png ├── lib ├── alternatives.js ├── any.js ├── array.js ├── binary.js ├── boolean.js ├── cast.js ├── date.js ├── errors.js ├── escape.js ├── index.js ├── language.js ├── number.js ├── object.js ├── patch.js ├── ref.js ├── string.js ├── string │ ├── ip.js │ ├── rfc3986.js │ └── uri.js └── topo.js ├── package.json └── test ├── alternatives.js ├── any.js ├── array.js ├── binary.js ├── boolean.js ├── date.js ├── errors.js ├── function.js ├── helper.js ├── index.js ├── number.js ├── object.js ├── ref.js └── string.js /.eslintignore: -------------------------------------------------------------------------------- 1 | examples 2 | sandbox.js 3 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/.travis.yml -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/API.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/README.md -------------------------------------------------------------------------------- /examples/conditionalRequire.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/examples/conditionalRequire.js -------------------------------------------------------------------------------- /examples/customMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/examples/customMessage.js -------------------------------------------------------------------------------- /examples/multipleWhen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/examples/multipleWhen.js -------------------------------------------------------------------------------- /examples/timestamps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/examples/timestamps.js -------------------------------------------------------------------------------- /generate-readme-toc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/generate-readme-toc.js -------------------------------------------------------------------------------- /images/joi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/images/joi.png -------------------------------------------------------------------------------- /images/validation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/images/validation.png -------------------------------------------------------------------------------- /lib/alternatives.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/alternatives.js -------------------------------------------------------------------------------- /lib/any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/any.js -------------------------------------------------------------------------------- /lib/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/array.js -------------------------------------------------------------------------------- /lib/binary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/binary.js -------------------------------------------------------------------------------- /lib/boolean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/boolean.js -------------------------------------------------------------------------------- /lib/cast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/cast.js -------------------------------------------------------------------------------- /lib/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/date.js -------------------------------------------------------------------------------- /lib/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/errors.js -------------------------------------------------------------------------------- /lib/escape.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/escape.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/language.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/language.js -------------------------------------------------------------------------------- /lib/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/number.js -------------------------------------------------------------------------------- /lib/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/object.js -------------------------------------------------------------------------------- /lib/patch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/patch.js -------------------------------------------------------------------------------- /lib/ref.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/ref.js -------------------------------------------------------------------------------- /lib/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/string.js -------------------------------------------------------------------------------- /lib/string/ip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/string/ip.js -------------------------------------------------------------------------------- /lib/string/rfc3986.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/string/rfc3986.js -------------------------------------------------------------------------------- /lib/string/uri.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/string/uri.js -------------------------------------------------------------------------------- /lib/topo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/lib/topo.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/package.json -------------------------------------------------------------------------------- /test/alternatives.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/alternatives.js -------------------------------------------------------------------------------- /test/any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/any.js -------------------------------------------------------------------------------- /test/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/array.js -------------------------------------------------------------------------------- /test/binary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/binary.js -------------------------------------------------------------------------------- /test/boolean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/boolean.js -------------------------------------------------------------------------------- /test/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/date.js -------------------------------------------------------------------------------- /test/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/errors.js -------------------------------------------------------------------------------- /test/function.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/function.js -------------------------------------------------------------------------------- /test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/helper.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/index.js -------------------------------------------------------------------------------- /test/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/number.js -------------------------------------------------------------------------------- /test/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/object.js -------------------------------------------------------------------------------- /test/ref.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/ref.js -------------------------------------------------------------------------------- /test/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thethanghn/react-native-joi/HEAD/test/string.js --------------------------------------------------------------------------------