Commit Graph
32 Commits
Author SHA1 Message Date
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Weeco 0cbf897a5d Added eachAsync options for concurrency (#20541)
* Added eachAsync options for concurrency

* Added overload function definition for eachAsync
2017-10-19 07:39:30 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Kanibal e30f58fda5 done-callback supports a optional error parameter 2017-09-22 02:55:02 +02:00
Benjamin Lichtman dc587128da Merge pull request #19944 from wy193777/master
[mongoose] fix some missing semicolon
2017-09-21 16:06:32 -07:00
Shenghan Gao ca30f9b4fa fix some missing semicolon 2017-09-21 11:39:14 -07:00
Khalid Saifullah e06a7cc6e4 Missing options for ModelFindByIdAndUpdateOptions
@see http://mongoosejs.com/docs/api.html#model_Model.findByIdAndUpdate
2017-09-20 20:20:11 +10:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy Hanson c601b75e4b mongoose: Fix compile errors 2017-08-17 14:37:49 -07:00
Roman Jurkov c2ca879dca changed capped property in SchemaOptions to match mongoose 4 document… (#18901)
* changed capped property in SchemaOptions to match mongoose 4 documentation http://mongoosejs.com/docs/guide.html#capped

* added boolean type as an option to capped
2017-08-14 11:17:04 -07:00
Andy af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
Lukasz Zak a3819eec07 [mongoose] Add missing property for >=4.1.1 version
DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use
`openUri()` instead, or set the `useMongoClient` option if using
`connect()` or `createConnection()`. See
http://mongoosejs.com/docs/connections.html#use-mongo-client
2017-07-18 13:04:48 +02:00
SkyAo 6711c77b2f [mongoose] add useMongoClient in ConnectOpenOptionsBase Interface 2017-06-26 18:22:52 +08:00
steven d534d3a622 Add callback param to Model's findOneAndUpdate method 2017-06-16 15:50:07 -07:00
steven 4de9f521d9 findOneAndUpdate: Add new parameter to callback 2017-06-16 10:54:05 -07:00
Yui 4ec4088feb Merge pull request #17019 from nicolashenry/mongoose
[mongoose] set strictNullChecks to true
2017-06-07 16:33:08 -07:00
Federico Caselli 7fc1644080 [mongodb] Added support for default generic types (#16198)
* Added support for ts2.3 default generic types

* Updated find and findOne

* Capitalized TypeScript Version

* Added missing TypeScript Version: 2.3

* Added TypeScript Version: 2.3 to express-brute-mongo; removed easy-jsend test dependency on mongoose
2017-06-07 10:41:33 -07:00
E020873 62c91567aa [mongoose] set strictNullChecks to true 2017-06-07 14:04:49 +02:00
Nathan Shively-Sanders 163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Simon Xiong c85fe6ae3f Add new collation methods for mongoose (#16897)
* Add collation methods for query and aggregation

* Add tests for collation
2017-06-01 10:22:14 -07:00
Dani Gámez Franco d7ea6529f6 Add discriminatorKey to SchemaOptions interface. 2017-05-18 03:56:44 +02:00
Andrii Nasinnyk e377be5ad1 made pathsToValidate in mongoose::validateSync optional 2017-05-11 14:25:47 +03:00
Ryan Cavanaugh 082f61c87f Merge pull request #15719 from fabiob/mongoose-save-options
@types/mongoose: added save options
2017-04-17 18:08:44 -07:00
Fábio Batista ac1a97d16b @types/mongoose: changed save overloads order 2017-04-17 15:21:23 -03:00
Ryan Cavanaugh 10cf902414 Merge pull request #15718 from fabiob/mongoose-docs-fix
@types/mongoose: better docs
2017-04-17 11:06:09 -07:00
Fábio Batista f44a1808a5 @types/mongoose: testing type inference on callbacks 2017-04-07 22:57:08 -03:00
Fábio Batista c6ff176b82 @types/mongoose: following @simonxca advice and adding more tests 2017-04-07 21:29:22 -03:00
Fábio Batista 55051ca1b7 @types/mongoose: following @simonxca advice and separating overloads 2017-04-07 21:24:42 -03:00
Fábio Batista 16be2fcb11 @types/{bson,mongodb,mongoose}: added Decimal128 type 2017-04-07 21:18:51 -03:00
Fábio Batista 0903e768fe @types/mongoose: added save options 2017-04-07 19:51:54 -03:00
Fábio Batista b5a573efa0 @types/mongoose: better docs 2017-04-07 19:43:25 -03:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00