Commit Graph

14 Commits

Author SHA1 Message Date
Timon van Spronsen
3bcf6f3ab2 Change Boom version for dependents 2018-01-02 09:27:33 +01:00
Andy
8b10461a43 Revert "Merge pull request #22107 from rafaelsouzaf/master" (#22417)
This reverts commit fb68b21bea, reversing
changes made to ae47b3c7d0.
2017-12-21 07:23:39 -08:00
rafaelsouzaf
39d8d03a0f Move v16 types to ./v16 folder. 2017-12-13 22:27:07 -03:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
mailto1587
94f1d2c48e Add the test file for request.query to tsconfig.json 2017-06-22 19:43:15 +08:00
Niklas Wulf
046b7d5ff9 [Boom, Hapi] Add default generic type to all error creation functions (#17048)
* [Boom] Add default generic type to all error creation functions

* [Boom] Change default generic Data type to any instead of null

* [Boom] Add tests for error creation without custom data

* [Boom, Hapi] Move tests for passing Boom errors to Hapi continuation functions into hapi package

* [boom] add wrap and unauthorized return BoomError with data as null
2017-06-08 06:33:24 -07:00
Arthur Ozga
cb4bcbe4fb Merge pull request #16595 from AJamesPhillips/FixJoiValidationObject
[hapi] Correct JoiValidationObject for route validate option.  Correct inject result.
2017-05-18 16:58:24 -07:00
Alexander James Phillips
678cc80ff5 Attempt to fix correct JoiValidationObject for hapi route validate option 2017-05-17 23:50:18 +01:00
Simon Schick
ac46bea13a address comments 2017-05-16 13:47:24 +02:00
Alexander James Phillips
dc6224ad1c Follow instructions from failed test to set tsconfig types to empty array 2017-05-07 19:11:13 +01:00
Alexander James Phillips
cacacaa38a Update tsconfig files to reflect new location of tests 2017-05-07 15:13:09 +01:00
Alexander James Phillips
ae60b8ca46 Move hapi dependencies to own modules
catbox, h2o2, mime-db, mimos, podium, shot, vision
Add tests where possible.
Add note regarding apparent failure of some nested object literals to enforce typings
2017-05-07 15:04:37 +01:00
Alexander James Phillips
f20d1e1c2c Update definition for hapi 16.1
Use Object not object. app and plugins optional in server.inject options
Fix merge conlict with master
Type IPluginFunction. Simplify Plugin. Add backwards incompatibility note.
  Thanks mmc41 and jasonswearingen.
Remove Promise.
  Thanks mmc41.
Fix merge conflict with master
Renaming of all interfaces to remove preceding I in preparation of dtslint
Fix http links in docs and remove old I interface names
2e119e63a  Add example tests of server.decorate on server and request
2e119e63a  Improve comments regarding server.decorate
0d6b28656  Allow response.state to accept object
0d6b28656  request.response should also be responase or null.
0d6b28656  Allow some cookie config fields to be nullable.
Fix merge conflict with master again
2017-05-05 12:43:13 +01:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00