Commit Graph

54 Commits

Author SHA1 Message Date
Dave Templin
b97c0d5a22 mongodb.d.ts fixes to enable Promise and async-await (#9064)
* mongodb.d.ts fixes to enable Promise and async-await

* Update mongodb.d.ts
2016-04-25 23:44:19 +09:00
Timothy Soehnlin
04a46a81d9 Update mongodb.d.ts
Making initializedUnordered return UnorderedBulkOperation
2016-03-28 10:14:49 -05:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Ramon Ising
3cf5221c92 remove duplicate semicolon 2016-02-15 16:13:19 +01:00
vvakame
9027703c0b pass npm run all in new definition-tester 2016-02-10 00:16:03 +09:00
CaselIT
a80a024f79 Changed internal types from class to interface
Thanks to  @pfzero
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7021#issuecomment-179439322
2016-02-03 21:50:31 +01:00
Federico Caselli
9e2b6c0c0c Fixed copy paste typo 2016-02-01 16:51:40 +01:00
Federico Caselli
8f03a21035 Direction argument of cursor.sort is optional 2016-01-13 11:29:14 +01:00
CaselIT
a546e99a72 Changed reference to the correct file version 2016-01-11 15:19:05 +01:00
CaselIT
307572b0ba Updated mongodb to version 2.1 2016-01-11 15:07:25 +01:00
Federico Caselli
361804fca9 Rename mongodb-tests.ts to mongodb-1.4.9-tests.ts 2016-01-11 15:06:09 +01:00
Federico Caselli
798fe08f86 Rename mongodb.d.ts to mongodb-1.4.9.d.ts 2016-01-11 15:05:54 +01:00
pyoungon
bb185bb119 Run 'npm test' and fix file to pass tests. (Change the definition order) 2015-12-30 12:55:45 +09:00
pyoungon
a3ff0859bf changed callback parameters as optional. 2015-12-28 11:11:00 +09:00
Krueger, Brandon
8bf5ea7eb0 generate is not supposed to be a static function 2015-10-21 08:06:27 -05:00
Krueger, Brandon
394deb7d9a Updating ObjectID to match current spec 2015-10-21 08:02:06 -05:00
Chris Pearce
12758ceb91 Added missing strict property to MongoCollectionOptions type of mongodb.d.ts 2015-09-07 19:05:22 +01:00
Lenilson Nascimento
1957c7eb73 Correct insertOne method 2015-08-02 19:35:27 -03:00
lnlwd
db52e392fa Correct param types, for parse build 2015-07-15 11:04:10 -03:00
lnlwd
9916fab22d Update collection to support new crud operations 2015-07-14 22:53:55 -03:00
Panu Horsmalahti
1b8c6b6cf4 Add MongoDB stats type 2015-02-10 15:55:31 +02:00
vvakame
875f270112 fix mongodb/mongodb.d.ts 2014-10-07 14:46:14 +09:00
Arkadiusz Filipczak
3cc0a3ec6b fixed typo readPreference(s) 2014-09-26 06:43:54 +02:00
Arkadiusz Filipczak
9f319d3c5b DbCreateOptions' w property should accept numbers 2014-09-26 06:43:14 +02:00
Lior Mualem
150bb126d3 Added createIndex and ensureIndex overloads to mongodb.Collection. 2014-07-03 10:04:28 +03:00
Lior Mualem
423febb7d5 Added Binary class to mongodb. 2014-07-03 10:04:28 +03:00
Václav Oborník
39daafa17e mongodb.ObjectID has optional constructor string 2014-02-25 09:44:01 +01:00
Bartvds
5d95684e19 added/fixed headers k-n
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:19:01 +01:00
vvakame
6ab4ffae2b Remove not required tscparams 2014-01-02 16:34:52 +09:00
Václav Oborník
836c64de8f mongodb - support for --noImplicitAny flag 2013-12-27 12:31:49 +01:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
nikeee13
2b81fbd73f Update selector to type Object (not any) 2013-09-01 01:21:03 +02:00
nikeee13
b668ec8e07 Add CursorStream 2013-08-29 00:29:03 +02:00
nikeee13
4bbd0c202a Remove Cursor constructor - 'INTERNAL TYPE' 2013-08-29 00:26:47 +02:00
nikeee13
50bfbea725 Update Cursor constants 2013-08-29 00:20:51 +02:00
nikeee13
046d387081 Update Cursor 2013-08-29 00:19:54 +02:00
nikeee13
28ea779c1d Rename DBOptions -> DbCreateOptions 2013-08-29 00:10:12 +02:00
nikeee13
4f4de5f25f Update CollectionCreateOptions 2013-08-29 00:09:31 +02:00
nikeee13
ffac14f3a3 Update ObjectID class 2013-08-28 23:40:38 +02:00
nikeee13
79808dd87f Update Collection constructor 2013-08-28 23:30:26 +02:00
nikeee13
1aef8d9bb3 Add ReadPreference class 2013-08-28 23:28:16 +02:00
nikeee13
2a85e74df1 Remove reaper from DBOptions 2013-08-28 23:17:04 +02:00
nikeee13
994417b277 Update DBOptions 2013-08-28 23:16:31 +02:00
nikeee13
20dcd7154d Add connect to Server 2013-08-28 23:02:18 +02:00
nikeee13
6f67cf5391 Fix indentation 2013-08-28 22:54:59 +02:00
nikeee13
65567e417c Add class documentation links 2013-08-28 22:53:33 +02:00
basarat
198283a74c minor mongoclient class fix + added tests 2013-08-27 22:46:05 +10:00
nikeee13
bc564b3abd Remove generics from findOne... lol 2013-08-27 11:52:17 +02:00
nikeee13
d96d0a21ea Change db.findOne to be generic 2013-08-27 10:39:37 +02:00