mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added jsdoc to MembersStats class
no issue
This commit is contained in:
parent
4e497fb9d1
commit
105bc6cff3
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@ const Promise = require('bluebird');
|
||||||
|
|
||||||
const dateFormat = 'YYYY-MM-DD HH:mm:ss';
|
const dateFormat = 'YYYY-MM-DD HH:mm:ss';
|
||||||
class MembersStats {
|
class MembersStats {
|
||||||
|
/**
|
||||||
|
* @param {Object} config
|
||||||
|
* @param {Object} config.db - an instance holding knex connection to the database
|
||||||
|
* @param {Object} config.settingsCache - an instance of the Ghost Settings Cache
|
||||||
|
* @param {Boolean} config.isSQLite - flag identifying if storage is connected to SQLite
|
||||||
|
*/
|
||||||
constructor({db, settingsCache, isSQLite}) {
|
constructor({db, settingsCache, isSQLite}) {
|
||||||
this._db = db;
|
this._db = db;
|
||||||
this._settingsCache = settingsCache;
|
this._settingsCache = settingsCache;
|
||||||
|
|
Loading…
Add table
Reference in a new issue