Added JSDocs to the version notification service

refs https://github.com/TryGhost/Toolbox/issues/292
This commit is contained in:
Naz 2022-05-09 18:15:46 +08:00
parent 35031b8f2e
commit a730b63ee0

View File

@ -3,6 +3,11 @@ const internalContext = {
}; };
class VersionNotificationsDataService { class VersionNotificationsDataService {
/**
* @param {Object} options
* @param {Object} options.UserModel - ghost user model
* @param {Object} options.settingsService - ghost settings service
*/
constructor({UserModel, settingsService}) { constructor({UserModel, settingsService}) {
this.UserModel = UserModel; this.UserModel = UserModel;
this.settingsService = settingsService; this.settingsService = settingsService;