Commit Graph
26 Commits
Author SHA1 Message Date
Masahiro Wakame 3c355e2cf4 Merge pull request #5576 from BrandonCKrueger/hapi-route-auth-correction
IRouteAdditionalConfigurationOptions.auth can have either property st…
2015-09-03 02:29:59 +09:00
Holly Leary 9c6860963e Update hapi.d.ts
Add 'isBoom: boolean' in order to know whether the response has an error or not.
2015-08-28 13:48:21 -07:00
Krueger, Brandon 57e0d06f65 IRouteAdditionalConfigurationOptions.auth can have either property strategies or strategy -- both are optional 2015-08-27 15:00:20 -05:00
Oskar Karlsson 475e8b51dc All methods on Response class return itself
This makes it possible to chain the methods
2015-07-28 09:50:20 +02:00
Oskar Karlsson 7661b23edc Add test case for chained notation 2015-07-28 09:49:03 +02:00
Oskar Karlsson 22ade6d066 Add missing method on Response class
Added missing method (type) for setting content-type
2015-07-28 09:37:47 +02:00
Masahiro Wakame 18caf56b0b Merge pull request #4853 from Kilix/fix-hapi-tls-type
Add Object type for tls in server.connection options
2015-07-15 01:59:13 +09:00
Loc Nguyen ab710e1ba0 Fix typo in server connection object interface name. Changed ISeverConnectionOptions to IServerConnectionOptions and used the type in test file to prove it is working 2015-07-13 01:44:13 -07:00
Alexandre BODIN e850267d12 Add Object type for tls in server.connection options 2015-07-07 18:13:58 +02:00
Rene Eichhorn 92d2e42c07 added continue for hapi IReply 2015-06-22 19:57:04 +02:00
Adam Carr 1a364df8db Adding test for optional hapi config.validate parameters 2015-04-09 12:01:48 -04:00
Adam Carr f3205f05f4 making IRouteAdditionalConfigurationOptions validate properties optional 2015-04-09 11:57:46 -04:00
Adam Carr e322423379 updating IServerOptions for optional properties 2015-03-30 18:43:43 -04:00
Adam Carr 25ab55fa3c making IRouteHandlerConfig parameters optional 2015-03-30 18:33:01 -04:00
Adam Carr 48de82851f Updating hapi.d.ts to support optional parameters when registering a plugin 2015-03-30 16:19:10 -04:00
JasonS 487ec8eff1 remove old hapi definition because of export bug. 2015-03-10 13:31:05 -07:00
JasonS 5a0ae186de add typing for bluebird Promise.promisify, and new typing for hapi v8.2.0. old hapi definition renamed to "hapi-pre-8.2.d.ts" as what version it targets is unknown. 2015-03-10 13:24:16 -07:00
Victor Martinez 68a89b091e Update hapi.d.ts
Made connection options optional.
2014-12-25 18:52:43 -04:00
Victor Martinez 884f9a34fc Update hapi.d.ts correction
A correction to the previous commit
2014-12-24 08:25:42 -04:00
Victor Martinez dfea00fd45 Update hapi.d.ts
Add definition for connection method on the Server object.
2014-12-24 05:30:38 -04:00
Shinya Ohira 6d9f08eda8 Fix server.method 2014-11-07 23:31:02 +09:00
Shinya Ohira d37305a75c Add register definition to hapi 2014-10-26 23:53:24 +09:00
Jakub Olek 70292d6a64 Object is too restrictive 2014-09-09 11:11:14 +02:00
Jakub Olek cc4e279c37 Fixes for createServer 2014-08-25 14:24:01 +02:00
Jakub Olek 60bc96cefb I have no idea how to do union types for properties
and how to use node modules
2014-08-25 14:23:53 +02:00
Jakub Olek 5d61f02af8 Working on hapi.d.ts 2014-08-25 14:23:42 +02:00