Commit Graph

105 Commits

Author SHA1 Message Date
Umed Khudoiberdiev
f69f754e8d changed command and aggregation cursors to class too 2017-02-12 10:25:46 +05:00
Umed Khudoiberdiev
6c4157684a changes interface Cursor to class Cursor to allow inheritance 2017-02-11 13:48:22 +05:00
Arthur Ozga
97442332b5 Merge pull request #14453 from hinell/master
[mongodb] collection.findOne is coming back Closes #14444
2017-02-10 14:20:32 -08:00
Hinell
bea40de37e [mongodb] Removal of unnecessary comments 2017-02-08 00:24:44 +03:00
Hinell
01536df168 [mongodb] collection.findOne is coming back Closes #14444
Quick fix according to docs and mongodb issue tracker:
http://mongodb.github.io/node-mongodb-native/2.2/api/Collection.html#findOne
https://jira.mongodb.org/browse/NODE-890
2017-02-06 00:02:44 +03:00
Hinell
8c493766e4 [mongodb] Cursor & AggregationCursor methods now return generic type T
Also have removed an extra `extends any` declaration
2017-02-04 23:31:14 +03:00
Hinell
73e263dc4b Merge remote-tracking branch 'upstream/master' into mongodb.collection.generics 2017-02-04 23:26:55 +03:00
Hinell
406893715e [bufferstream] upd, upstream fix 2017-01-19 13:37:46 +03:00
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Hinell
a443b9c286 [mongodb] Tetsts updated 2017-01-15 02:16:43 +03:00
Hinell
39f79329e5 [mongodb] Doc listing fix 2017-01-14 02:27:49 +03:00
Hinell
1f65c0665d [mongodb] Cusros.toArray() generic override 2017-01-14 02:13:58 +03:00
Hinell
a411c9ee5d [mongodb] Cursor.forEach<T> generic type 2017-01-14 01:51:34 +03:00
Hinell
22faaeb4bf [mongodb] Generics test, Cursor.methods() test 2017-01-14 01:39:14 +03:00
Hinell
f0a7695c9a [mongodb] Collection.aggregate<T>() generic type 2017-01-14 01:27:27 +03:00
Hinell
e671c82e06 [mongodb] Collection.find<T>() generic type 2017-01-14 00:45:53 +03:00
Hinell
6751a3d259 [mongodb] Cursor<T> generic type 2017-01-14 00:42:26 +03:00
Hinell
1a6d70c54a Merge branch 'master' of github.com:hinell/DefinitelyTyped 2017-01-08 03:10:26 +03:00
Hinell
1e18f44d5c mongodb/ methods duplication removal 2017-01-08 03:09:50 +03:00
hinell
9d254fa5f5 Merge branch 'master' into master 2017-01-08 02:58:12 +03:00
Hinell
03e2e599c5 node/node-test.ts Console testing update, mongodb reconciliation with node api 2017-01-08 02:33:25 +03:00
Hinell
bbc7449794 Mongodb-node reconciliation 2017-01-07 19:57:33 +03:00
Federico Caselli
deb4e610b7 Changed type in ObjectID.isValid (#13827) 2017-01-07 05:44:26 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
656c4736ca Merge pull request #12811 from CaselIT/types-2.0
Added GridFS
2016-11-23 16:10:22 -08:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
CaselIT
0da5208e59 Added GridFS 2016-11-19 18:33:06 +01:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
More4ever
df8674b001 Add length property for UnorderedBulkOperation 2016-11-10 17:09:02 +02:00
Martin Helmich
3abf7a7bd4 Cursor.map returns Cursor, not void (#12560) 2016-11-09 00:21:26 +09:00
TonyYang
f555feb4fc Add "toString()" for ObjectID (#12463) 2016-11-07 23:35:21 +09:00
TonyYang
3231685087 Add a method (#12430) 2016-11-02 23:39:31 +09:00
Ryan Cavanaugh
5d004be8ba Merge commit 'upstream/master~600' into merge_7_25 2016-07-26 00:22:12 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -07:00
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
Federico Caselli
8daa4ef04a Added missing deprecated method Collection remove (#9476) 2016-06-02 23:29:41 +09:00
Cristian Traistaru
b0684b27a4 Update listCollections to use filter objects (#9283) 2016-05-12 13:57:21 +09:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -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
81862d240d More fixes 2016-05-04 22:50:05 -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
7906b3d3bd Update ACL + dependents 2016-04-27 21:13:23 -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