ConvertToTemplateAPI.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2019, 2020
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class ConvertToTemplateAPI
  10. * @hideconstructor
  11. * @classdesc A utility feature to convert dashboard specs into dashboard templates
  12. */
  13. define([], function () {
  14. var ConvertToTemplateAPI = function () {
  15. function ConvertToTemplateAPI() {
  16. _classCallCheck(this, ConvertToTemplateAPI);
  17. }
  18. /**
  19. * @description Converts a given dashboard spec into a dashboard template spec
  20. * @param {object} dashboardSpec The dashboard spec to be converted into a dashboard template spec
  21. * @returns {Promise} Resolves to the converted dashboard template spec
  22. */
  23. ConvertToTemplateAPI.prototype.convertToTemplate = function convertToTemplate() {};
  24. return ConvertToTemplateAPI;
  25. }();
  26. return ConvertToTemplateAPI;
  27. });
  28. //# sourceMappingURL=ConvertToTemplateAPI.js.map