InternalModelsAPI.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. define([], function () {
  9. /**
  10. * @interface InternalModelsAPI
  11. * @hideconstructor
  12. * @classdesc API class that is used to retrieve the widgetModel and
  13. * layoutModel from a content
  14. */
  15. var InternalModelsAPI = function () {
  16. function InternalModelsAPI() {
  17. _classCallCheck(this, InternalModelsAPI);
  18. }
  19. /**
  20. * @returns {object} the content's WidgetModel object
  21. */
  22. InternalModelsAPI.prototype.getWidgetModel = function getWidgetModel() {};
  23. /**
  24. * @returns {object} The content's LayoutModel object
  25. */
  26. InternalModelsAPI.prototype.getLayoutModel = function getLayoutModel() {};
  27. /**
  28. * @returns {object} A JS object representing the WidgetModel
  29. */
  30. InternalModelsAPI.prototype.toJSON = function toJSON() {};
  31. return InternalModelsAPI;
  32. }();
  33. return InternalModelsAPI;
  34. });
  35. //# sourceMappingURL=InternalModelsAPI.js.map