Simon Schick
a43e86a3a8
Merge branch 'master' into feat/joi-14.0
2018-10-28 00:23:02 +02:00
Janari
71d9251b13
Add initial changes
2018-10-23 01:39:33 +03:00
Simon Schick
99ec493700
feat(joi): add v14.0
2018-10-18 14:49:11 +02:00
Farzad Soltani
96f165b6d0
misc(joi): fix typo in Joi.object() definition ( #29648 )
2018-10-12 10:09:38 -07:00
Simon Schick
7de95ee5d5
hapi(17.6): update docs, also update joi ecosys
2018-09-25 21:57:14 +02:00
Will Garcia
5099333846
@types/joi add dataUri type definition ( #28727 )
2018-09-14 10:40:52 -07:00
k7sleeper
1036d5b719
fixed indention
2018-08-20 08:45:22 +02:00
k7sleeper
65e6511a27
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into fix-joi
2018-08-20 08:40:47 +02:00
Andy Hanson
ee84ef5f4f
joi: lint more
2018-08-18 13:33:03 -07:00
k7sleeper
2ff13d5fd1
Added missing attributes in UriOptions
2018-08-16 16:35:44 +02:00
Ron Buckton
03ebb86dd4
Merge pull request #27991 from maderwin/master
...
[@types/joi] Add missing type to ArraySchema::pattern()
2018-08-09 17:19:41 -07:00
Artyom Zakharov
99ff860a66
added missing type to ArraySchema::pattern()
2018-08-09 14:16:08 +03:00
Simon
8dc75d71b5
fix(joi): add global exist function
2018-08-07 01:07:33 +02:00
Klaus Sevensleeper
5fe390b1fa
[joi] Add missing type to ObjectSchema::pattern() ( #27152 )
...
* added missing type to ObjectSchema::pattern()
* changed version as requested by reviewer
2018-07-12 00:44:11 -07:00
Mine Starks
cd0b70f50c
Merge pull request #26244 from SimonSchick/fix/joi-custom-schema
...
fix(joi): remove incorrect usage of generic
2018-06-15 16:27:54 -07:00
Simon Schick
5a39b90d74
fixup! fix(joi): remove incorrect usage of generic
2018-06-15 11:14:58 +02:00
Peter Thorson
24b31d8563
[joi] Update joi definitions to match current version (13.0.1 -> 13.3.0)
...
* Add optional options package for string.hex
* Add number.port option
* Add object.append method
* Add Joi.reach overloads with path argument having an array of strings
* Update documentation strings for reach, keys
2018-06-03 15:43:51 -05:00
Simon
4df3c049d1
fix(joi): remove incorrect usage of generic
2018-06-03 21:33:12 +02:00
Conan
9bb37f0327
[Joi] - add schema option to .when in v13.0.1 ( #25175 )
...
* add schema option to .when
* move changes to v13
* fix
* add name
2018-04-25 12:18:31 -07:00
Conan
ee2f1b215e
[Joi] - add schema option to .when ( #25136 )
2018-04-20 11:42:37 +12:00
Mine Starks
16708d2dd8
Merge pull request #24315 from b-galazka/master
...
[@types/joi] Add an alternative type of a param in regex method.
2018-03-21 09:04:25 -07:00
b-galazka
f44d70afae
add an alternative type of a param in Joi's method
2018-03-15 15:52:04 +01:00
Rafael Kallis
721ef0978b
Joi: ?error() -> error()
2018-03-10 14:55:00 +00:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
wanganjun
de30db8071
[joi] make the return type of validate() as promise like ( #22741 )
...
* [joi] make return type of validate() as promise like
* [joi] update "Definitions by" section of the package header.
* [joi] test promise functionality of valdate()
2018-01-09 11:32:10 -08:00
Ozum Eldogan
66dc9ac93f
forbiddenKeys for ObjectSchema ( #21906 )
2018-01-03 00:03:51 -08:00
Matthew Bull
5ee6ff2ab5
Applied changes from feedback
2017-12-11 23:54:17 +00:00
Matthew Bull
166d1a8b35
Joi.extend can be called with arrays
2017-12-06 20:38:10 +00:00
Young Rok Kim
d688e9c604
[joi] add missing tslint.json to v10
2017-12-05 11:31:14 +09:00
Young Rok Kim
584a55ece0
[joi] fix guid test failures
2017-12-05 11:26:32 +09:00
Young Rok Kim
ea099f6c3a
[joi] fix TS compile error with LanguageOptions
2017-12-05 11:26:23 +09:00
Dan Kraus
0c20cfdcd9
Casts GuidVersions to pass linter
2017-11-28 18:33:14 -05:00
Dan Kraus
3f594941b0
Converts var to let
2017-11-28 17:49:32 -05:00
Dan Kraus
aa615ebb7e
Adds string base64 typings
2017-11-15 18:42:32 -05:00
Daniel Rosenwasser
2224b0c11f
Merge pull request #19976 from rokoroku/patch-joi-11
...
[joi] Update to v13
2017-11-10 13:48:06 -08:00
Young Rok Kim
03f74c2c5c
joi v10: suppress strictFunctionTypes options
2017-11-01 11:09:18 +09:00
Young Rok Kim
e062226510
joi: add optional key and label property to the Context
2017-11-01 10:55:32 +09:00
Young Rok Kim
e764326427
joi: add missing 'truncate' and 'normalize' to StringSchema
2017-11-01 10:54:02 +09:00
Young Rok Kim
165b07ef72
joi: seperate v10
2017-11-01 10:48:12 +09:00
Andy
19f89399e4
Ensure every package has a tslint.json ( #21009 )
...
* Ensure every package has a tslint.json
* Fixes
2017-10-25 11:13:50 -07:00
Richard Silverton
fa63fd564a
fix ReferenceOptions interface for Joi to include Hoek.reach options ( #20635 )
2017-10-17 09:15:45 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Young Rok Kim
67356265a4
joi: updated to v11.0.3
2017-09-24 04:00:00 +09:00
Young Rok Kim
d90627cfa9
joi: revert f59617
2017-09-24 02:44:12 +09:00
Young Rok Kim
d3a7b32ced
joi: add missing 'alt' method
2017-09-24 02:44:11 +09:00
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