Commit Graph
60 Commits
Author SHA1 Message Date
Ryan Cavanaugh a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal 395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Raghav Katyal c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
Ryan Cavanaugh bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh 50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh 49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh 69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh dc851736af Delete unused tscparams 2016-04-27 20:42:33 -07:00
Ryan Cavanaugh e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh 541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
James TrinkleinandMasahiro Wakame 58e16ecbc3 Update restify types add route spec (#9082)
* restify: fix compile errors in test file

did not compile without error when compiling with:
`tsc --noImplicitAny restify/restify-tests.ts`

* restify: add RouteSpec interface
2016-04-25 23:10:54 +09:00
Ryan Cavanaugh 4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame 4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Masahiro Wakame 7f2626d4e5 Merge pull request #7537 from SamuelMarks/patch-2
Next.ifError
2016-01-11 22:55:03 +09:00
Samuel Marks 4dd5bea6f4 Next.ifError => https://github.com/restify/node-restify/commit/070725fa3e2b1d7b5e0ec7824b2d1f2d5a713964 2016-01-08 23:53:19 +11:00
James O'Cull d2443f6855 Proper returns on server use/route 2016-01-06 14:22:14 -05:00
James O'Cull 1140e9393f Added Restify Router render function 2016-01-06 13:53:52 -05:00
James O'Cull b7e9564fdd Add router /routes support to Restify 2016-01-06 13:34:44 -05:00
James O'Cull 9e4b7a31d5 Changes to support authorizationParser 2015-12-30 12:24:56 -05:00
James O'Cull aeb8fefd8b Add definition for request files 2015-12-29 14:44:13 -05:00
James O'Cull 6ae08bfbab Support optional headers in response send / json calls 2015-12-29 14:30:24 -05:00
Max Shmelev 6b0270532c Add 'opts' function definition 2015-12-14 10:32:03 -05:00
Vladimir b65f3c4365 handleUpgrades option support in ServerOptions interface
http://restify.com/#creating-a-server

In restify docs createServer method supports handleUpgrades parameter in ServerOptions object, but it's not present in the type's interface.
2015-11-25 17:52:21 +01:00
Moritz Schmidt 08f99d437b fix restify error classes
* add missing restify error classes
	* overloaded constructor
	* more constructor tests
2015-03-31 20:54:00 +02:00
Eric Lu 188590dce9 Expose isSecure function through request interface 2015-02-09 12:29:46 -08:00
Eric Lu 938122b49b Expose raw http server 2015-02-03 10:07:56 -08:00
Eric Lu a3a941b342 Expose two more error types. 2015-01-26 19:27:38 -08:00
Eric Lu ff0c34bc71 Add typing for bunyan logger associated with Request 2015-01-09 15:47:05 -08:00
Niklas Mollenhauer 3abe86c6fe Fixes #2810 2014-09-12 02:44:31 +02:00
Mohamed Hegazy 2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Santi Albo d50f5e11ef Add restify pre example of use on the tests 2014-03-18 09:34:39 +00:00
Santi Albo 8b0c6cab78 Add restify pre module 2014-03-18 09:32:20 +00:00
Masahiro Wakame 2e5ad83aee Merge pull request #1829 from santialbo/patch-4
Fix typo on restify type definition
2014-03-15 21:53:06 +09:00
Santi Albo 418438f064 Fix typo on test 2014-03-15 13:12:19 +01:00
Santi Albo 90dd6ead84 Fix typo on restify type definition
InvalidArgu**e**mentError => InvalidArgumentError
2014-03-12 11:49:04 +00:00
Santi Albo 071788e345 Add CORS method on restify module 2014-03-10 16:44:30 +00:00
Václav Oborník f788ac6ca4 renamed 'next' intarface to 'Next' 2014-03-09 06:23:11 +01:00
Václav Oborník 5eaf82aa6a method Server.use can accept arrays of RequestHandlers 2014-03-08 15:50:08 +01:00
Václav Oborník ac22449387 added 'next' interface, route binding methods can have multiple request handlers and accepts arrays of handlers 2014-03-08 15:38:17 +01:00
Václav Oborník 1f92231282 Request.query is any 2014-03-07 22:43:01 +01:00
Santi Albo 7a521a2f56 Fix typo on restify type definition 2014-03-07 14:05:23 +00:00
Václav Oborník dd908b1f72 Removed 'on' method from Server - it is inherited now. Added body property to request definition 2014-03-02 14:19:37 +01:00
Václav Oborník 4dbe22c267 Moved definitions from global (evil) context to 'restify' module/namespace, added inheritance of Server, Request and Response from nodejs 'http' module 2014-03-02 13:52:38 +01:00
vvakame 6ab4ffae2b Remove not required tscparams 2014-01-02 16:34:52 +09:00
Václav Oborník ee212d0ece Restify: updated plugin defintions, allowed --noImplicitAny compile flag 2013-12-14 00:06:24 +01:00