Commit Graph
8 Commits
Author SHA1 Message Date
Federico Caselli 84e265d13a [mongodb] First update to bring the mongodb to version 3 (#22626)
* First update to bring the mongodb typings to version 3

* Updated tsconfig of the older v2 version

* Set mongodb version to 2 in packages with errors

* MongoClient extends form EventEmitter
2018-01-10 14:14:05 -08:00
Mariano A. Cortesi 6b6db76b81 [mongodb] Include bufferMaxEntries as a MongoClientOption 2017-11-13 13:20:23 -03:00
Jason Dreyzehner 5fa93bc778 [mongodb] complete CollStats interface, add WiredTigerData interface 2017-08-25 01:27:30 -04:00
King.W 141e4d6a7b Update mongodb-tests.ts
mongodb-tests.ts
2017-06-15 19:36:15 +08: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
hinell aa3d118ed7 [Mongodb] MongoClient.connection() options v2.2. (#16932)
* Mongodb client.connect options v2.2

* Mongodb::dt-header typescript v2.0 -> v2.3

Read more on typescript ``object`` [type](https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/release%20notes/TypeScript%202.2.md#object-type)

* Fix trailing ' mark

* Ttravis errors,mongodb: downgrade TS version to 2.2

* Merge SocketOptions into MongoClientOptions

* Urgent fix MongoDB.connect() options

Most common SSL options now gathered in one
place in SSLOptions interface.

SSLOptions and newly added HighAvailabilityOptions interface
are shared by ServerOptions, MongosOptions
and ReplSetOptions interfaces respectively

SocketOptions extends SSLOptions.
Updates ReadPreference interface to v2.2

Updates docs links.

* Restore formatting style

* SocketOptions, ServerOptions & ReplSetOptions

SocketOptions
	Removes extension of SSL- and HighAvailability- Options

ServerOptions
	Adds missing options

ReplSetOptions
	Adds missing extensions of SSL- and HighAvailability- Options
2017-06-05 06:31:55 -07:00
Jakub Sedlacek fc7212862d mongodb: add partialFilterExpression to indexOptions (#16109)
Add an optional extended description…
2017-04-26 10:03:41 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00