Document private props in Client

This commit is contained in:
Amish Shah
2016-08-18 23:51:05 +01:00
parent 3c5a227ea0
commit a52b46fab4
2 changed files with 31 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -20,11 +20,41 @@ class Client extends EventEmitter {
constructor(options) {
super();
this.options = mergeDefault(Constants.DefaultOptions, options);
/**
* The REST manager of the client
* @type {RESTManager}
* @private
*/
this.rest = new RESTManager(this);
/**
* The data store of the Client
* @type {ClientDataStore}
* @private
*/
this.store = new ClientDataStore(this);
/**
* The manager of the Client
* @type {ClientManager}
* @private
*/
this.manager = new ClientManager(this);
/**
* The WebSocket Manager of the Client
* @type {WebSocketManager}
* @private
*/
this.ws = new WebSocketManager(this);
/**
* The Data Resolver of the Client
* @type {ClientDataResolver}
* @private
*/
this.resolver = new ClientDataResolver(this);
/**
* The Action Manager of the Client
* @type {ActionsManager}
* @private
*/
this.actions = new ActionsManager(this);
}