Commit Graph
15 Commits
Author SHA1 Message Date
AKFishandMasahiro Wakame 3929fe1b67 [HAPI] Add IStrictSessionHandler (#11523)
* Fix #11519
2016-09-28 22:41:30 +09:00
akfish cb07439a3a Add IStrictReply to Hapi 2016-08-04 04:28:11 +08:00
Robin JosephandMasahiro Wakame ccb4c316dc allow objects for hapi's request.log (#9353) 2016-05-21 08:26:37 -07:00
Ben HerilaandMasahiro Wakame 7bf9ee34c6 Fixed IReply definition (#8960)
* Fixed IReply definition

* Fix a lot of inconsistent whitespace which caused merge issues

* [Hapi] Add support for IReply::state and IReply::unstate

* Add support for IReply::header(name, value, options)

* Reply functions should be returning Response objects

* Specify IHeaderOptions

* [Hapi] Got tests passing locally, also made the other hapi files consistent with the v8.2.0 ts
Sorry about any attribution clobbering but there wasn't much in the git blame view anyways.
2016-04-17 23:48:56 +09:00
Jean-Philipe Pellerin 78b5a657f9 Optional callback is different definition + writing tests 2016-02-24 15:49:42 -05:00
Kuba Jagoda c54072093a Update hapi.d.ts 2016-02-19 18:49:19 +01:00
Oskar Karlsson 7661b23edc Add test case for chained notation 2015-07-28 09:49:03 +02: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
Adam Carr 1a364df8db Adding test for optional hapi config.validate parameters 2015-04-09 12:01:48 -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 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
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 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