UNPKG

uma-sp

Version:

Utility functions to interact with SharePoint Online that builds on top of PnP-JS-Core.

28 lines (27 loc) 950 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var EmailConfiguration = (function () { function EmailConfiguration() { this._templatesListName = ""; } EmailConfiguration.prototype.set = function (config) { if (config.hasOwnProperty("templatesListName")) { this._templatesListName = config.templatesListName; } }; EmailConfiguration.prototype.getTemplatesListName = function () { return this._templatesListName; }; return EmailConfiguration; }()); exports.EmailConfiguration = EmailConfiguration; var _emailConfig = new EmailConfiguration(); exports.EmailConfig = _emailConfig; function setEmailConfig(config) { _emailConfig.set(config); } exports.setEmailConfig = setEmailConfig; function getTemplatesListName() { return _emailConfig.getTemplatesListName(); } exports.getTemplatesListName = getTemplatesListName;