Cao Jiannan
43449c604f
Mongoose - fix post callback ( #9850 )
...
* fix post function
* fix tests
2016-06-29 10:46:09 +09:00
frogcjn
fc9c554c1e
fix orders
2016-06-24 11:22:37 +08:00
frogcjn
a57dc40225
fix HookNext/HookDone
2016-06-24 11:20:22 +08:00
frogcjn
54b329f9da
fix to mark HookNextFunction/HookDoneFunction
2016-06-24 11:14:49 +08:00
frogcjn
cb77aeaff2
merge overloads for errorCb
2016-06-24 11:09:55 +08:00
frogcjn
8d88700601
fix errors in tests
2016-06-24 10:56:29 +08:00
frogcjn
46098950dd
add methods and statics
2016-06-24 10:45:53 +08:00
frogcjn
e0cd8c1609
add details for hook methods
2016-06-24 10:29:13 +08:00
Christian Hotz
79e405f082
add ordered and unordered bulk operations to mongoose Collections interface ( #9596 )
2016-06-14 18:07:25 +09:00
Luca Roverellli
1be72cdce3
Added find method with no args ( #9484 )
2016-06-06 00:13:47 +09:00
Thomas Puttkamer
5e1ca2b9ef
fixing a Promise bug in type definition ( #9334 )
...
* fixing a Promise bug in type definition
* add Promise to Mongoose object
2016-05-17 12:39:07 +09:00
Michael Seemann
402d392c68
add static method isValid to type ObjectId. see https://github.com/mongodb/js-bson/blob/master/lib/bson/objectid.js ( #9213 )
2016-05-06 03:55:35 +09: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
mainnika
cebde64b3a
mongoose -- fix ctor
2016-02-09 17:37:16 +05:00
John Hasselkus
97ec10cb6c
mongoose.d.ts Document interface should define _id as any
...
In the Document interface definition of mongoose.d.ts, the _id field
definition of _id: Types.ObjectId was wrong, as it can be any type. This
commit changes the definition to _id: any to allow interfaces that
extend Document to refine the definition of _id as appropriate to match
the schema of the model/collection.
2016-01-12 10:14:33 -06:00
grkuntzmd
8783a67ef1
Corrected signature for mongoose.geoNear
2016-01-04 09:33:21 -05:00
Daniel Rosenwasser
e4484309b0
Add 'mongos' property to interface in 'mongoose'.
2015-08-13 12:05:30 -07:00
Gary Hamilton
fdc6193b12
doc for Model constructor (new) should be optional
2015-07-01 15:00:14 +01:00
Lazutkin Dmitry
7776946d2f
Fixes borisyankov/DefinitelyTyped#4742 ctor definition of mongoose::Types::ObjectId
2015-06-26 14:13:51 +03:00
Radosław Eichler
c8d056a361
added test for fixed create method
2015-05-18 14:53:28 +02:00
Radosław Eichler
708a29cbf5
fixed Model<T>.create method returned Promise type
2015-05-18 14:49:55 +02:00
Radosław Eichler
36e72c193f
added missing ObjectId methods, changed Document _id property from string to ObjectId
2015-05-16 16:31:13 +02:00
Michael Hohl
775c2cbc24
Model<T> extends NodeJS.EventEmitter - see #3968
2015-03-26 10:26:58 +01:00
doronbrikman
d4b07c491e
Update mongoose.d.ts
...
Adjust model's function signature to be able to get one argument
2015-01-13 17:39:27 +02:00
psnider
114d68a072
Added mongoose.Types.ObjectId.toHexString()
2014-12-14 21:47:05 +00:00
Quenio dos Santos
b23ce3c58a
Setting optional value
2014-09-27 21:26:18 -03:00
Horiuchi_H
0a86e76890
add mongoose type file
2014-05-01 19:41:46 +09:00