Update JSDoc

This commit is contained in:
sghung@ca.ibm.com 2016-04-01 14:00:01 -04:00
parent 3302391ac7
commit d69ab1e411
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ module.exports = function(registry) {
/**
* Create new instance of Model, and save to database.
*
* @param {Object|Array.<Object>} [data] Optional data argument. Can be either a single model instance or an array of instances.
* @param {Object|Object[]} [data] Optional data argument. Can be either a single model instance or an array of instances.
*
* @callback {Function} callback Callback function called with `cb(err, obj)` signature.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
@ -924,7 +924,7 @@ module.exports = function(registry) {
* @param {Object} [options.filter] Replicate models that match this filter
* @callback {Function} [callback] Callback function called with `(err, conflicts)` arguments.
* @param {Error} err Error object; see [Error object](http://docs.strongloop.com/display/LB/Error+object).
* @param {Array.<Conflict>} conflicts A list of changes that could not be replicated due to conflicts.
* @param {Conflict[]} conflicts A list of changes that could not be replicated due to conflicts.
* @param {Object} checkpoints The new checkpoints to use as the "since"
* argument for the next replication.
*/