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
|
62ae76a50e
|
Add Iron typings, wrote by @SimonSchick
|
2017-12-17 19:48:08 -03:00 |
|
rafaelsouzaf
|
065b0707d4
|
Create a consumer extensible interface. Following suggestion of @SimonSchick
|
2017-12-17 16:51:20 -03:00 |
|
rafaelsouzaf
|
3fe936dace
|
Remove old, and not more useful, comments in test files.
|
2017-12-16 22:32:23 -03:00 |
|
rafaelsouzaf
|
b923c71fdc
|
Replace "interface ServerMethod" with "type ServerMethod". Suggestion of @SimonSchick
|
2017-12-16 22:30:30 -03:00 |
|
rafaelsouzaf
|
244e1eea17
|
Add more specific types in ReturnValueTypes used in Lifecycle.Method().
|
2017-12-16 22:28:07 -03:00 |
|
rafaelsouzaf
|
3e29b6e832
|
Move v17 definitions and tests to "types/hapi" root folder and delete v17 temp folder.
|
2017-12-13 22:32:28 -03:00 |
|
rafaelsouzaf
|
39d8d03a0f
|
Move v16 types to ./v16 folder.
|
2017-12-13 22:27:07 -03:00 |
|
rafaelsouzaf
|
51e0b2b92b
|
Add references to test files in "tsconfig.json". Delete "hapi-test.ts"
|
2017-12-11 19:46:25 -03:00 |
|
rsouza
|
f7facb5846
|
Unnecessarily references, which is already referenced in the type definition.
|
2017-12-11 18:10:12 -03:00 |
|
rsouza
|
e02a3fa4da
|
Rename to hapi-tests.ts file.
|
2017-12-11 18:05:29 -03:00 |
|
rsouza
|
4162d09347
|
Update author name.
|
2017-12-11 17:21:40 -03:00 |
|
rsouza
|
1811eadb30
|
Update author name.
|
2017-12-11 17:07:57 -03:00 |
|
rsouza
|
a1c8fc8f93
|
Add RouteOptions test file with complete available options.
|
2017-12-11 16:18:57 -03:00 |
|
rsouza
|
d780053e7f
|
Following best practices of Function Overloading: https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html
|
2017-12-11 15:06:56 -03:00 |
|
rafaelsouzaf
|
6a92487939
|
Add more options in "server-options.ts" test file.
|
2017-12-10 18:50:21 -03:00 |
|
rafaelsouzaf
|
cb280b5ccf
|
Add type object to compression property. It is not only boolean.
|
2017-12-10 18:49:38 -03:00 |
|
rafaelsouzaf
|
9f0b8755af
|
Add "server-options.ts" test file containing all possible options.
|
2017-12-10 18:20:19 -03:00 |
|
rafaelsouzaf
|
1a5f4f5894
|
Replace all "function" with arrow function "() =>".
|
2017-12-10 17:36:53 -03:00 |
|
rafaelsouzaf
|
3d6b18467e
|
Remove asserts. It's not necessary here.
|
2017-12-10 17:08:40 -03:00 |
|
rafaelsouzaf
|
6a11db62bd
|
Delete comments.
|
2017-12-10 17:08:15 -03:00 |
|
rafaelsouzaf
|
b1ca20cc48
|
Add more tests.
|
2017-12-09 21:29:43 -03:00 |
|
rafaelsouzaf
|
1b597e080a
|
More fix based in test cases.
|
2017-12-09 21:26:13 -03:00 |
|
rafaelsouzaf
|
0e389ba4e7
|
Add new type ServerCache in index.
|
2017-12-09 20:25:57 -03:00 |
|
rafaelsouzaf
|
d91c350ad5
|
Add more new test files, mainly Server test files.
|
2017-12-09 20:25:18 -03:00 |
|
rafaelsouzaf
|
b65a79ab8b
|
Many fix discovered with the tests cases.
|
2017-12-09 19:55:35 -03:00 |
|
rafaelsouzaf
|
a476fcedc1
|
Many fix discovered with the tests.
|
2017-12-09 18:46:52 -03:00 |
|
rafaelsouzaf
|
4d97af115e
|
Fix mime property. It must be "any" like v16.
|
2017-12-09 17:36:15 -03:00 |
|
rafaelsouzaf
|
6e56e7d014
|
Fix decorate() param. It must support the "toolkit" option.
|
2017-12-09 17:34:00 -03:00 |
|
rafaelsouzaf
|
2cbd2d48e8
|
Add more test files.
|
2017-12-09 16:41:54 -03:00 |
|
rafaelsouzaf
|
6fd4625f82
|
Add more tests files.
|
2017-12-09 12:03:06 -03:00 |
|
rafaelsouzaf
|
b453000bc5
|
Going back with Dictionary. It didn't work as expected :-/
|
2017-12-09 12:00:10 -03:00 |
|
rafaelsouzaf
|
aff418b46d
|
Optimize imports.
|
2017-12-08 21:07:53 -03:00 |
|
rafaelsouzaf
|
32bfe6b288
|
Add "Function" support param in server.events.emit()
|
2017-12-08 20:51:40 -03:00 |
|
rafaelsouzaf
|
baeccd245e
|
Add request.route.auth.access() method
|
2017-12-08 20:49:42 -03:00 |
|
rafaelsouzaf
|
b74e40249b
|
Add ResponseEvent types.
|
2017-12-08 20:48:07 -03:00 |
|
rafaelsouzaf
|
81e58330cc
|
Add h.redirect() without param to work with hapijs official tests.
|
2017-12-08 19:52:20 -03:00 |
|
rafaelsouzaf
|
9fb4ab18b3
|
Replace Dictionary<T> by Map<T, T> supported in es6
|
2017-12-08 19:44:37 -03:00 |
|
Rafael S. Fijalkowski
|
e189cf6b5e
|
Replacing any with object. Following the idea of @ctaggart (#4)
Review of TS types using 'object' and 'any' mainly.
|
2017-12-08 19:10:47 -03:00 |
|
rafaelsouzaf
|
bbfeda585b
|
Add events (server and request) test files.
|
2017-12-08 12:22:32 -03:00 |
|
rafaelsouzaf
|
81a8109fed
|
Separate ServerEvents in a new file. Fixed method overriding from Podium interface. I hope.
|
2017-12-08 12:19:12 -03:00 |
|
rafaelsouzaf
|
eebddd8c14
|
Add RequestEvents type in index.d.ts
|
2017-12-08 11:47:33 -03:00 |
|
rafaelsouzaf
|
43152aaabd
|
Add new RequestEvents type.
|
2017-12-08 11:46:45 -03:00 |
|
rafaelsouzaf
|
fddcaebffa
|
Add object arguments (...args) instead of Function. Is it good idea? TODO created.
|
2017-12-08 11:43:06 -03:00 |
|
rafaelsouzaf
|
c739273012
|
Add overloaded function "response(value: object)" to work with hapijs test:
4144f9397c/test/response.js (L220)
Following suggestion of @gitawego
|
2017-12-07 21:36:04 -03:00 |
|
rafaelsouzaf
|
18e4f83a24
|
Added "continue.ts" test file.
|
2017-12-06 22:54:33 -03:00 |
|
rafaelsouzaf
|
fd6f26dcd0
|
RequestExtPointFunction should inherit from Lifecycle.Method
|
2017-12-06 22:52:47 -03:00 |
|
rafaelsouzaf
|
c159a74456
|
Added more tests files.
|
2017-12-06 22:19:33 -03:00 |
|
rafaelsouzaf
|
ffad3c7f82
|
Changed state() method param from string to object.
|
2017-12-06 22:18:06 -03:00 |
|