Commit Graph
16 Commits
Author SHA1 Message Date
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Jinesh ShahandSheetal Nandi 01b1d90bc2 Added Boomify as per the new API [types/boom/index.d.ts] (#18363)
* Update index.d.ts

* Update index.d.ts

* added boomify test
2017-07-31 14:11:28 -07:00
Niklas WulfandAndy 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
Alexander James PhillipsandAndy 7ea548f1fa [Boom] Add data type to BoomError #16956 (#17022)
* [Boom] Add data type to BoomError #16956

* [Boom] Update TypeScript version to 2.3 in packages that import Boom
2017-06-07 09:37:40 -07:00
ChristianandMohamed Hegazy ea7b301f5d boom: add missing internal() alias (#16696) 2017-06-01 09:52:13 -07: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 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 PhillipsandAndy 4340843152 Boom, add test and allow for payload to be extended (#15961)
* Boom, add test and allow for payload to be extended

* Do not use I prefix for interface names
2017-04-21 07:32:06 -07:00
Alexander James Phillips 2dc626ee56 Temporarily remove tslint 2017-04-04 15:05:40 +01:00
Alexander James Phillips 18be1bfdb3 Add tslint.json 2017-04-04 14:50:00 +01:00
Alexander James Phillips 74939cd275 Update type of header object values 2017-04-04 14:17:17 +01:00
Alexander James Phillips d245364d9b Update to boom v4.3
BoomError subclasses Error
Include typing of BoomError.output.headers and .payload
Add missing error types
Better typing of 401 unauthorized error
Add more tests
Add content from docs and links back to docs
2017-04-03 19:52:44 +01:00
Alexander James Phillips 9bd7ce5b7d Add boom version of v3.2 2017-04-03 19:48:08 +01:00
Alexander James Phillips ea837b8626 Fix boom v3 tsconfig 2017-04-03 19:41:46 +01:00
Alexander James Phillips 1e1de92c55 Move current boom definitions to v3 2017-04-03 19:41:14 +01:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00