SmartsRecommenderAPI.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. 2018, 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class SmartRecommenderAPI
  10. * @hideconstructor
  11. *
  12. * @classdesc
  13. */
  14. define([], function () {
  15. var SmartsRecommenderAPI = function () {
  16. function SmartsRecommenderAPI() {
  17. _classCallCheck(this, SmartsRecommenderAPI);
  18. }
  19. /**
  20. * @function SmartsRecommenderAPI#recommendAlternateContent
  21. * @description Recommend alternate contents
  22. * @public
  23. *
  24. * @param {ContentAPI} content
  25. * @return {ContentAPI[]} list of alternate content
  26. *
  27. */
  28. SmartsRecommenderAPI.prototype.recommendAlternateContent = function recommendAlternateContent() {};
  29. /**
  30. * @function SmartsRecommenderAPI#recommendRelatedContent
  31. * @description Recommend related contents
  32. * @public
  33. *
  34. * @param {ContentAPI} content
  35. * @return {ContentAPI[]} list of related content
  36. *
  37. */
  38. SmartsRecommenderAPI.prototype.recommendRelatedContent = function recommendRelatedContent() {};
  39. return SmartsRecommenderAPI;
  40. }();
  41. return SmartsRecommenderAPI;
  42. });
  43. //# sourceMappingURL=SmartsRecommenderAPI.js.map