Commit Graph
35 Commits
Author SHA1 Message Date
Youngrok Kim 7f4df57e11 Merge branch 'master' into patch-joi 2017-09-08 01:19:18 +09:00
Drew Pirrone-Brusse 61409c12df Add missing Joi.string().uuid()
As per the [Joi API docs](https://github.com/hapijs/joi/blob/v10.5.0/API.md#stringguid---aliases-uuid) `uuid()` is an alias for `guid()`, so this is essentially a one-liner.
2017-08-29 12:39:23 -04:00
Young Rok Kim c21edc7017 joi: add version constant 2017-08-21 07:43:58 +09:00
Young Rok Kim b3efa241ea joi: correct Reference type, seperate JoiObject 2017-08-21 07:41:21 +09:00
Young Rok Kim 8220481ec1 joi: add missing api .exist() 2017-08-21 07:19:02 +09:00
Young Rok Kim 3b95aa6cce joi: unify return values as this 2017-08-21 03:22:31 +09:00
Young Rok Kim b716113a05 joi: remove generic type parameter of AnySchema 2017-08-21 02:54:53 +09:00
Young Rok Kim 3fd52b2d31 joi: fix test failures 2017-08-21 02:11:59 +09:00
Young Rok Kim 966e11027d joi: rename LanguageOptions interfaces 2017-08-21 02:10:43 +09:00
Young Rok Kim e4f26b2d93 joi: update file header 2017-08-21 01:50:12 +09:00
Young Rok Kim a46ae186d8 joi: update ValidationOptions 2017-08-21 01:39:50 +09:00
Young Rok Kim 4f1d8ddc52 joi: correct argument of Joi.object() 2017-08-21 01:30:17 +09:00
Young Rok Kim c6330cf431 joi: add test for Joi.describe() 2017-08-21 01:25:55 +09:00
Young Rok Kim 38de7bf080 joi: correct Extension interfaces 2017-08-21 01:19:36 +09:00
Young Rok Kim 6a0e625e68 joi: amend Joi.alternatives() 2017-08-21 01:14:42 +09:00
Young Rok Kim 1dbad1fa87 joi: add Joi.describe() 2017-08-21 01:12:26 +09:00
Young Rok Kim f59617bd9a joi: cleanup non-existent functions 2017-08-21 01:02:15 +09:00
Young Rok Kim 6fe24b2dba joi: extract compilable schema as SchemaLike 2017-08-21 00:56:23 +09:00
Young Rok Kim 100bdfd79c joi: add LanguageOptions 2017-08-20 23:39:09 +09:00
Young Rok Kim 88ebedb61f joi: extract context as type interface 2017-08-20 23:21:40 +09:00
Young Rok Kim 4863017f0f joi: correct State interface 2017-08-20 22:56:09 +09:00
Young Rok Kim cbe5daa214 joi: simplify ValidationOptions 2017-08-20 22:43:33 +09:00
Young Rok Kim 4396c38ea4 joi: make SchemaMap to allow plain objects 2017-08-20 22:42:55 +09:00
Andy 3b31f6b181 joi: Remove unnecessary parentheses (#18799) 2017-08-09 13:03:47 -07:00
Simon Schick 135ed17a23 joi: Improve extend typings (#18760)
* joi: Improve `extend` typings

* fixup! joi: Improve `extend` typings

* fixup! joi: Improve `extend` typings

* use TS 2.4
2017-08-09 10:56:27 -07:00
Andy 1ee9a51f35 Avoid unnecessary /// <reference types="node" /> in tests (#17226) 2017-06-15 14:53:16 -07:00
Evgeny 09e220a9e8 [joi] add interface for AnySchema.error() overriding (#16448)
* [joi] add interface for AnySchema.error() overriding

* [joi] increase version to 10.4.0
2017-06-01 09:06:49 -07:00
Youngrok Kim dd4e450240 [joi] Add missing AnySchema.validate() method (#16291)
* [joi] Add missing AnySchema.validate() method

* [joi] convert indent of joi-tests.ts file to space
2017-05-03 11:46:57 -07:00
Pasi Eronen 0aa77fc2b3 joi: add support for array.unique(comparator) (#16200)
Add an optional extended description…
2017-04-28 10:56:46 -07:00
Pavel Ivanov 22f1881cb1 Bump version 2017-04-19 11:46:31 +03:00
Pavel Ivanov 52d30d8cf9 Update type definition for ValidationOptions interface
- According to the docs it can be an object as well
2017-04-19 11:37:41 +03:00
Ryan Cavanaugh 23b5a1cbe6 Merge pull request #15839 from ralekna/joi/boolean_schema_methods
Joi: added truthy, falsy, insensitive method definitions to BooleanSchema
2017-04-17 15:20:27 -07:00
Youngrok Kim 68d5991c62 joi: Update SchemaMap interface (#15533) 2017-04-17 08:13:40 -07:00
Rytis Alekna 3fdb2d9328 Joi: added truthy, falsy, insensitive method definitions to BooleanSchema 2017-04-13 12:45:43 +03:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00