mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added JSDoc to notifications service's constructor
refs https://github.com/TryGhost/Team/issues/564 refs https://github.com/TryGhost/Ghost/issues/10236
This commit is contained in:
parent
e00f8633ef
commit
265026d73d
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ const errors = require('@tryghost/errors');
|
|||
const ObjectId = require('bson-objectid');
|
||||
|
||||
class Notifications {
|
||||
/**
|
||||
*
|
||||
* @param {Object} options
|
||||
* @param {Object} options.settingsCache - settings cache instance
|
||||
* @param {Object} options.i18n - i18n instance
|
||||
* @param {Object} options.ghostVersion
|
||||
* @param {String} options.ghostVersion.full - Ghost instance version in "full" format - major.minor.patch
|
||||
*/
|
||||
constructor({settingsCache, i18n, ghostVersion}) {
|
||||
this.settingsCache = settingsCache;
|
||||
this.i18n = i18n;
|
||||
|
|
Loading…
Add table
Reference in a new issue