RenderStepProviderAPI.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class RenderStepProvideAPI
  10. * Use by feature to register their own rendering step into the {@link RenderSequenceAPI}
  11. * @hideconstructor
  12. * @classdesc
  13. */
  14. define([], function () {
  15. var RenderStepProvideAPI = function () {
  16. function RenderStepProvideAPI() {
  17. _classCallCheck(this, RenderStepProvideAPI);
  18. }
  19. /**
  20. * Render step definition
  21. * @typedef {Object} RenderStepProvideAPI.RenderStepDefinition
  22. * @property {String} id Render step id
  23. * @property {String[]} dependencies Array of steps ids that this step depends on
  24. * @property {String} modulePath module path to be used for the rendering step
  25. * @property {Class} module module class to be used for the rendering step
  26. * @property {Object} moduleOptions options to be passed in the constructor to the step when the instance is created
  27. *
  28. */
  29. /**
  30. * @public
  31. * @function RenderStepProvideAPI#getRenderStepList
  32. * @description Return a list of additional render steps that will be part of the visualization rendering sequence
  33. * @return {RenderStepProvideAPI.RenderStepDefinition[]} steps - steps to register
  34. *
  35. */
  36. RenderStepProvideAPI.prototype.getRenderStepList = function getRenderStepList() {};
  37. return RenderStepProvideAPI;
  38. }();
  39. return RenderStepProvideAPI;
  40. });
  41. //# sourceMappingURL=RenderStepProviderAPI.js.map