Add hidden property documentation

This commit is contained in:
Ritchie Martori 2014-03-21 13:01:53 -07:00
parent 5b50a99eb3
commit a08b047fab
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,8 @@ app.disuse = function (route) {
* @options {Object} config The model's configuration
* @property {String|DataSource} dataSource The `DataSource` to attach the model to
* @property {Object} [options] an object containing `Model` options
* @property {ACL[]} [options.acls] an array of `ACL` definitions
* @property {String[]} [options.hidden] **experimental** an array of properties to hide when accessed remotely
* @property {Object} [properties] object defining the `Model` properties in [LoopBack Definition Language](http://docs.strongloop.com/loopback-datasource-juggler/#loopback-definition-language)
* @end
* @returns {ModelConstructor} the model class