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:
https://github.com/hapijs/hapi/blob/4144f9397cf639e22379699cdfc967d2c84e8509/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 |
|
rafaelsouzaf
|
88a3292c9d
|
Added some test files.
|
2017-12-06 00:11:51 -03:00 |
|
rafaelsouzaf
|
5334e6bf7e
|
Reviewed some server types.
|
2017-12-04 20:22:31 -03:00 |
|
rsouza
|
c0337babb6
|
Revert "examples replacing any with object"
This reverts commit cb083b4
It was my mistake. The example code is outside of v17 folder.
|
2017-12-04 15:53:37 -03:00 |
|
BorntraegerMarc
|
cb5d8da22f
|
Added first hapi TS tests
|
2017-12-04 09:34:47 +01:00 |
|
Rafael S. Fijalkowski
|
8a7380e075
|
Merge pull request #3 from ctaggart/hapi-17-object
Replacing any with object
|
2017-12-03 20:23:15 -03:00 |
|
Cameron Taggart
|
cb083b4d69
|
examples replacing any with object
|
2017-12-03 18:26:13 -03:00 |
|
rafaelsouzaf
|
4b5b1390fd
|
Refactored Json and Util namespaces.
|
2017-12-03 16:09:52 -03:00 |
|
rafaelsouzaf
|
f7e3fc1e8d
|
Reviewed some server types.
|
2017-12-03 15:57:40 -03:00 |
|
rafaelsouzaf
|
c424efdbe7
|
Reviewed and added sonme Function Overloading to follow best practices: http://definitelytyped.org/guides/best-practices.html
|
2017-12-03 10:27:26 -03:00 |
|
rafaelsouzaf
|
4d8024908f
|
Added more Server types.
|
2017-11-30 20:28:35 -03:00 |
|
rafaelsouzaf
|
84cd35512e
|
Fix in JsDocs.
|
2017-11-30 20:26:37 -03:00 |
|
rafaelsouzaf
|
6bc0699906
|
Solved TODO about plugin,
|
2017-11-30 20:26:11 -03:00 |
|
rafaelsouzaf
|
b5a3441be2
|
Fix in JsDocs.
|
2017-11-30 20:25:27 -03:00 |
|
rafaelsouzaf
|
7d6c575686
|
Reviewed Request declarations.
|
2017-11-30 15:15:14 -03:00 |
|
rafaelsouzaf
|
304bf7ff45
|
Reviewed Response declarations.
|
2017-11-30 11:26:55 -03:00 |
|
rsouza
|
3eb657d030
|
Fix. Each lifecycle method must return a value or a promise.
|
2017-11-29 16:37:04 -03:00 |
|
rsouza
|
12d64487d4
|
Added some Lifecycle definitions.
|
2017-11-29 16:33:59 -03:00 |
|
rsouza
|
c8874b4a15
|
Reviewing Routes type implementation.
|
2017-11-29 15:23:43 -03:00 |
|
rafaelsouzaf
|
9a5c7a3104
|
Renamed Lifecycle methods for better understanding.
|
2017-11-28 21:57:18 -03:00 |
|
rafaelsouzaf
|
4098227016
|
Updated with new types.
|
2017-11-28 21:50:00 -03:00 |
|
rafaelsouzaf
|
81b7abd1d4
|
Solved some TODO's
|
2017-11-28 21:49:37 -03:00 |
|
rafaelsouzaf
|
d75c57e480
|
Using new Lifecycle namespace.
|
2017-11-28 21:49:02 -03:00 |
|
rafaelsouzaf
|
00b0f483af
|
Added Json namespace. Cloned to v16 types.
|
2017-11-28 21:48:32 -03:00 |
|
rafaelsouzaf
|
c26417bb59
|
Reviewing Route types and getting better. Not finished yet.
|
2017-11-28 21:46:35 -03:00 |
|
rafaelsouzaf
|
55e66bcf7d
|
Creating namespace Lifecycle and moving FailAction to inside.
|
2017-11-28 21:44:54 -03:00 |
|
rafaelsouzaf
|
3907d25ab7
|
Added more Server types
|
2017-11-27 20:58:46 -03:00 |
|
rsouza
|
6799c6506d
|
Added more Server definitions.
|
2017-11-27 13:12:09 -03:00 |
|
rafaelsouzaf
|
c4d48d6542
|
Updated index with last file definitions.
|
2017-11-26 23:21:04 -03:00 |
|
rafaelsouzaf
|
1d687c3144
|
Added Server Auth definitions.
|
2017-11-26 23:19:58 -03:00 |
|
rafaelsouzaf
|
544cf39a2d
|
Added generic LifeCycle interfaces.
|
2017-11-26 23:18:12 -03:00 |
|
rafaelsouzaf
|
a03205797e
|
Updated index with last file definitions.
|
2017-11-26 19:04:41 -03:00 |
|
rafaelsouzaf
|
6a2a84d017
|
Replaced "any" type to "RouteCompressionEncoderSettings" type to better understanding because is shared with other interface.
|
2017-11-26 18:56:34 -03:00 |
|
rafaelsouzaf
|
0e0de0dc95
|
Added more Server definitions: ServerExt, ServerInject and others.
|
2017-11-26 18:55:26 -03:00 |
|
rafaelsouzaf
|
0f1dbd0f9d
|
Separating request auth, server and route in different files to better understanding.
|
2017-11-26 18:52:44 -03:00 |
|
rafaelsouzaf
|
42fbf80a21
|
Replaced enum HttpMethod to types like v16. Not very elegant solution but works easily with lower/upper case :)
|
2017-11-26 18:50:39 -03:00 |
|
rafaelsouzaf
|
c6edf56209
|
Removed legacy definitions.
|
2017-11-26 18:10:44 -03:00 |
|
rafaelsouzaf
|
b00083ac43
|
Added more Server definitions. Moved the events from ServerEvents.d.ts to Server.d.ts.
|
2017-11-26 12:52:56 -03:00 |
|
rsouza
|
f863e0c6cf
|
Removing unused param from JSDoc.
|
2017-11-24 16:54:29 -03:00 |
|
rsouza
|
5e3bbdfd3a
|
Added some events in ServerEvents interface. Not ready yet.
|
2017-11-24 16:51:53 -03:00 |
|
rafaelsouzaf
|
a2503ea3dc
|
Added ResponseToolkit def.
|
2017-11-23 17:22:08 -03:00 |
|