20 lines
359 B
JavaScript
20 lines
359 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Manages the API methods of a data model.
|
|
* @abstract
|
|
*/
|
|
class BaseManager {
|
|
constructor(client) {
|
|
/**
|
|
* The client that instantiated this Manager
|
|
* @name BaseManager#client
|
|
* @type {Client}
|
|
* @readonly
|
|
*/
|
|
Object.defineProperty(this, 'client', { value: client });
|
|
}
|
|
}
|
|
|
|
module.exports = BaseManager;
|