musora-content-services 1.6.5 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/.github/workflows/conventional-commits.yaml +16 -0
  2. package/.github/workflows/docs.js.yml +58 -0
  3. package/.github/workflows/node.js.yml +0 -0
  4. package/.prettierignore +0 -0
  5. package/.prettierrc +0 -0
  6. package/.yarnrc.yml +1 -0
  7. package/CHANGELOG.md +9 -0
  8. package/README.md +1 -2
  9. package/babel.config.cjs +0 -0
  10. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  11. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  14. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  18. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  28. package/docs/scripts/collapse.js +0 -0
  29. package/docs/scripts/commonNav.js +0 -0
  30. package/docs/scripts/linenumber.js +0 -0
  31. package/docs/scripts/nav.js +0 -0
  32. package/docs/scripts/polyfill.js +0 -0
  33. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  34. package/docs/scripts/prettify/lang-css.js +0 -0
  35. package/docs/scripts/prettify/prettify.js +0 -0
  36. package/docs/scripts/search.js +0 -0
  37. package/docs/styles/jsdoc.css +0 -0
  38. package/docs/styles/prettify.css +0 -0
  39. package/docs/v2/Content-Organization.html +245 -0
  40. package/docs/v2/ContentOrganization.html +245 -0
  41. package/docs/v2/Gamification.html +245 -0
  42. package/docs/v2/UserManagement.html +269 -0
  43. package/docs/v2/UserManagementSystem.html +317 -0
  44. package/docs/v2/api_types.js.html +97 -0
  45. package/docs/v2/config.js.html +143 -0
  46. package/docs/v2/content-org_content-org.js.html +76 -0
  47. package/docs/v2/content-org_playlists-types.js.html +116 -0
  48. package/docs/v2/content-org_playlists.js.html +418 -0
  49. package/docs/v2/content.js.html +466 -0
  50. package/docs/v2/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  51. package/docs/v2/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  52. package/docs/v2/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  53. package/docs/v2/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  54. package/docs/v2/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  55. package/docs/v2/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  56. package/docs/v2/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  57. package/docs/v2/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  58. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  59. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  60. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  61. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  62. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  63. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  64. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  65. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  66. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  67. package/docs/v2/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  68. package/docs/v2/gamification_awards.js.html +664 -0
  69. package/docs/v2/gamification_gamification.js.html +76 -0
  70. package/docs/v2/gamification_types.js.html +98 -0
  71. package/docs/v2/global.html +5812 -0
  72. package/docs/v2/global.html#User +293 -0
  73. package/docs/v2/index.html +168 -0
  74. package/docs/v2/module-Awards.html +354 -0
  75. package/docs/v2/module-Config.html +434 -0
  76. package/docs/v2/module-Content-Services-V2.html +2434 -0
  77. package/docs/v2/module-Interests.html +1066 -0
  78. package/docs/v2/module-Notifications.html +1183 -0
  79. package/docs/v2/module-Permissions.html +406 -0
  80. package/docs/v2/module-Playlists.html +2862 -0
  81. package/docs/v2/module-Railcontent-Services.html +7954 -0
  82. package/docs/v2/module-Sanity-Services.html +9608 -0
  83. package/docs/v2/module-Session-Management.html +575 -0
  84. package/docs/v2/module-Sessions.html +575 -0
  85. package/docs/v2/module-User-Activity.html +4410 -0
  86. package/docs/v2/module-User-Management.html +490 -0
  87. package/docs/v2/module-User-Permissions.html +406 -0
  88. package/docs/v2/module-UserActivity.html +4410 -0
  89. package/docs/v2/module-UserManagement.html +915 -0
  90. package/docs/v2/module-UserNotifications.html +1223 -0
  91. package/docs/v2/module-UserProfile.html +266 -0
  92. package/docs/v2/railcontent.js.html +984 -0
  93. package/docs/v2/sanity.js.html +2459 -0
  94. package/docs/v2/scripts/collapse.js +39 -0
  95. package/docs/v2/scripts/commonNav.js +28 -0
  96. package/docs/v2/scripts/linenumber.js +25 -0
  97. package/docs/v2/scripts/nav.js +12 -0
  98. package/docs/v2/scripts/polyfill.js +4 -0
  99. package/docs/v2/scripts/prettify/Apache-License-2.0.txt +202 -0
  100. package/docs/v2/scripts/prettify/lang-css.js +2 -0
  101. package/docs/v2/scripts/prettify/prettify.js +28 -0
  102. package/docs/v2/scripts/search.js +99 -0
  103. package/docs/v2/styles/jsdoc.css +776 -0
  104. package/docs/v2/styles/prettify.css +80 -0
  105. package/docs/v2/types.js.html +122 -0
  106. package/docs/v2/userActivity.js.html +1451 -0
  107. package/docs/v2/user_interests.js.html +150 -0
  108. package/docs/v2/user_management.js.html +178 -0
  109. package/docs/v2/user_notifications.js.html +192 -0
  110. package/docs/v2/user_permissions.js.html +110 -0
  111. package/docs/v2/user_profile.js.html +105 -0
  112. package/docs/v2/user_sessions.js.html +139 -0
  113. package/docs/v2/user_types.js.html +208 -0
  114. package/docs/v2/user_user-management-system.js.html +79 -0
  115. package/docs/v2/user_user-management.js.html +78 -0
  116. package/jest.config.js +0 -0
  117. package/package.json +1 -1
  118. package/src/contentTypeConfig.js +27 -12
  119. package/src/services/imageSRCVerify.js +0 -0
  120. package/src/services/sanity.js +124 -82
  121. package/test/dataContext.test.js +0 -0
  122. package/test/imageSRCBuilder.test.js +0 -0
  123. package/test/imageSRCVerify.test.js +0 -0
  124. package/test/live/contentProgressLive.test.js +0 -0
  125. package/test/live/railcontentLive.test.js +0 -0
  126. package/test/localStorageMock.js +0 -0
  127. package/test/log.js +0 -0
@@ -0,0 +1,2434 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>Content-Services-V2 - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
31
+
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Awards.html">Awards</a><ul class='methods'><li data-type='method'><a href="module-Awards.html#.fetchAwardsForUser">fetchAwardsForUser</a></li></ul></li><li><a href="module-Config.html">Config</a><ul class='methods'><li data-type='method'><a href="module-Config.html#.initializeService">initializeService</a></li></ul></li><li><a href="module-Content-Services-V2.html">Content-Services-V2</a><ul class='methods'><li data-type='method'><a href="module-Content-Services-V2.html#.getContentRows">getContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getNewAndUpcoming">getNewAndUpcoming</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecent">getRecent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecommendedForYou">getRecommendedForYou</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getScheduleContentRows">getScheduleContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getTabResults">getTabResults</a></li></ul></li><li><a href="module-Interests.html">Interests</a><ul class='methods'><li data-type='method'><a href="module-Interests.html#.fetchInterests">fetchInterests</a></li><li data-type='method'><a href="module-Interests.html#.fetchUninterests">fetchUninterests</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsInterested">markContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsNotInterested">markContentAsNotInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsInterested">removeContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsNotInterested">removeContentAsNotInterested</a></li></ul></li><li><a href="module-Permissions.html">Permissions</a><ul class='methods'><li data-type='method'><a href="module-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-Permissions.html#.reset">reset</a></li></ul></li><li><a href="module-Playlists.html">Playlists</a><ul class='methods'><li data-type='method'><a href="module-Playlists.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Playlists.html#.fetchUserPlaylists">fetchUserPlaylists</a></li><li data-type='method'><a href="module-Playlists.html#.togglePlaylistPrivate">togglePlaylistPrivate</a></li><li data-type='method'><a href="module-Playlists.html#.undeletePlaylist">undeletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~togglePlaylistPrivate">togglePlaylistPrivate</a></li><li data-type='method'><a href="module-Playlists.html#~unlikePlaylist">unlikePlaylist</a></li></ul></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.assignModeratorToComment">assignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.closeComment">closeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createComment">createComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deleteComment">deleteComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.editComment">editComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeIndexMetadata">fetchChallengeIndexMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeLessonData">fetchChallengeLessonData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeMetadata">fetchChallengeMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeUserActiveChallenges">fetchChallengeUserActiveChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCommentRelies">fetchCommentRelies</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComments">fetchComments</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedChallenges">fetchCompletedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchOwnedChallenges">fetchOwnedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchRecentUserActivities">fetchRecentUserActivities</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchTopComment">fetchTopComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserChallengeProgress">fetchUserChallengeProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserPracticeNotes">fetchUserPracticeNotes</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.openComment">openComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCommunityNotification">postChallengesCommunityNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnroll">postChallengesEnroll</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnrollmentNotification">postChallengesEnrollmentNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesHideCompletedBanner">postChallengesHideCompletedBanner</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesLeave">postChallengesLeave</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSetStartDate">postChallengesSetStartDate</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSoloNotification">postChallengesSoloNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesUnlock">postChallengesUnlock</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.replyToComment">replyToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportComment">reportComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unassignModeratorToComment">unassignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unlikeComment">unlikeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#~fetchLastInteractedChild">fetchLastInteractedChild</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtists">fetchArtists</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCoachLessons">fetchCoachLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchComingSoon">fetchComingSoon</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLeaving">fetchLeaving</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonsFeaturingThisContent">fetchLessonsFeaturingThisContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchOtherSongVersions">fetchOtherSongVersions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchParentForDownload">fetchParentForDownload</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedRecommendedContent">fetchRelatedRecommendedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchRelatedByLicense">fetchRelatedByLicense</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getNextAndPreviousQuarterDates">getNextAndPreviousQuarterDates</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getQueryFromPage">getQueryFromPage</a></li><li data-type='method'><a href="module-Sanity-Services.html#~handleCustomFetchAll">handleCustomFetchAll</a></li></ul></li><li><a href="module-Sessions.html">Sessions</a><ul class='methods'><li data-type='method'><a href="module-Sessions.html#.login">login</a></li><li data-type='method'><a href="module-Sessions.html#.logout">logout</a></li></ul></li><li><a href="module-UserActivity.html">UserActivity</a><ul class='methods'><li data-type='method'><a href="module-UserActivity.html#.calculateLongestStreaks">calculateLongestStreaks</a></li><li data-type='method'><a href="module-UserActivity.html#.createPracticeNotes">createPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.deletePracticeSession">deletePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.deleteUserActivity">deleteUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeNotes">getPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeSessions">getPracticeSessions</a></li><li data-type='method'><a href="module-UserActivity.html#.getProgressRows">getProgressRows</a></li><li data-type='method'><a href="module-UserActivity.html#.getRecentActivity">getRecentActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserMonthlyStats">getUserMonthlyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserWeeklyStats">getUserWeeklyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.pinProgressRow">pinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserActivity">recordUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserPractice">recordUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.removeUserPractice">removeUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.restorePracticeSession">restorePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.restoreUserPractice">restoreUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.unpinProgressRow">unpinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.updatePracticeNotes">updatePracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.updateUserPractice">updateUserPractice</a></li></ul></li><li><a href="module-UserChat.html">UserChat</a><ul class='methods'><li data-type='method'><a href="module-UserChat.html#.fetchChatSettings">fetchChatSettings</a></li></ul></li><li><a href="module-UserManagement.html">UserManagement</a><ul class='methods'><li data-type='method'><a href="module-UserManagement.html#.blockUser">blockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.deletePicture">deletePicture</a></li><li data-type='method'><a href="module-UserManagement.html#.unblockUser">unblockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPicture">uploadPicture</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPictureFromS3">uploadPictureFromS3</a></li></ul></li><li><a href="module-UserNotifications.html">UserNotifications</a><ul class='methods'><li data-type='method'><a href="module-UserNotifications.html#.deleteNotification">deleteNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotifications">fetchNotifications</a></li><li data-type='method'><a href="module-UserNotifications.html#.markAllNotificationsAsRead">markAllNotificationsAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsRead">markNotificationAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsUnread">markNotificationAsUnread</a></li></ul></li><li><a href="module-UserProfile.html">UserProfile</a><ul class='methods'><li data-type='method'><a href="module-UserProfile.html#.otherStats">otherStats</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="ContentOrganization.html">ContentOrganization</a></li><li><a href="Gamification.html">Gamification</a></li><li><a href="UserManagementSystem.html">UserManagementSystem</a></li></ul><h3><a href="global.html">Global</a></h3>
33
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">Content-Services-V2</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+
51
+
52
+ </header>
53
+
54
+ <article>
55
+
56
+ <div class="container-overview">
57
+
58
+
59
+
60
+
61
+
62
+ </div>
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ <h3 class="subsection-title">Methods</h3>
81
+
82
+
83
+
84
+
85
+
86
+
87
+ <h4 class="name" id=".getContentRows"><span class="type-signature type-signature-static">(static) </span>getContentRows<span class="signature">(brand, pageName, contentRowId<span class="signature-attributes">opt</span>, params)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <dl class="details">
95
+
96
+ <dt class="tag-description">Description:</dt>
97
+ <dd class="tag-description"><ul class="dummy"><li>Fetches content rows for a given brand and page with optional filtering by content row id.</li></ul></dd>
98
+
99
+
100
+
101
+ <dt class="tag-source">Source:</dt>
102
+ <dd class="tag-source"><ul class="dummy"><li>
103
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line171">line 171</a>
104
+ </li></ul></dd>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ </dl>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+ <h5 class="h5-examples">Example</h5>
149
+
150
+ <pre class="prettyprint"><code>getContentRows('drumeo', 'lessons', 'Your-Daily-Warmup', {
151
+ page: 1,
152
+ limit: 5
153
+ })
154
+ .then(content => console.log(content))
155
+ .catch(error => console.error(error));</code></pre>
156
+
157
+
158
+
159
+
160
+ <h5 class="h5-parameters">Parameters:</h5>
161
+
162
+
163
+ <table class="params">
164
+ <thead>
165
+ <tr>
166
+
167
+ <th>Name</th>
168
+
169
+
170
+ <th>Type</th>
171
+
172
+
173
+ <th>Attributes</th>
174
+
175
+
176
+
177
+
178
+ <th class="last">Description</th>
179
+ </tr>
180
+ </thead>
181
+
182
+ <tbody>
183
+
184
+
185
+ <tr>
186
+
187
+ <td class="name"><code>brand</code></td>
188
+
189
+
190
+ <td class="type">
191
+
192
+
193
+ <span class="param-type">string</span>
194
+
195
+
196
+
197
+
198
+ </td>
199
+
200
+
201
+ <td class="attributes">
202
+
203
+
204
+
205
+
206
+
207
+ </td>
208
+
209
+
210
+
211
+
212
+ <td class="description last">The brand for which to fetch content rows.</td>
213
+ </tr>
214
+
215
+
216
+
217
+ <tr>
218
+
219
+ <td class="name"><code>pageName</code></td>
220
+
221
+
222
+ <td class="type">
223
+
224
+
225
+ <span class="param-type">string</span>
226
+
227
+
228
+
229
+
230
+ </td>
231
+
232
+
233
+ <td class="attributes">
234
+
235
+
236
+
237
+
238
+
239
+ </td>
240
+
241
+
242
+
243
+
244
+ <td class="description last">The page name (e.g., 'lessons', 'songs', 'challenges').</td>
245
+ </tr>
246
+
247
+
248
+
249
+ <tr>
250
+
251
+ <td class="name"><code>contentRowId</code></td>
252
+
253
+
254
+ <td class="type">
255
+
256
+
257
+ <span class="param-type">string</span>
258
+
259
+
260
+
261
+
262
+ </td>
263
+
264
+
265
+ <td class="attributes">
266
+
267
+ &lt;optional><br>
268
+
269
+
270
+
271
+
272
+
273
+ </td>
274
+
275
+
276
+
277
+
278
+ <td class="description last">The specific content row ID to fetch.</td>
279
+ </tr>
280
+
281
+
282
+
283
+ <tr>
284
+
285
+ <td class="name"><code>params</code></td>
286
+
287
+
288
+ <td class="type">
289
+
290
+
291
+ <span class="param-type">Object</span>
292
+
293
+
294
+
295
+
296
+ </td>
297
+
298
+
299
+ <td class="attributes">
300
+
301
+
302
+
303
+
304
+
305
+ </td>
306
+
307
+
308
+
309
+
310
+ <td class="description last">Parameters for pagination.
311
+ <h6>Properties</h6>
312
+
313
+
314
+ <table class="params">
315
+ <thead>
316
+ <tr>
317
+
318
+ <th>Name</th>
319
+
320
+
321
+ <th>Type</th>
322
+
323
+
324
+ <th>Attributes</th>
325
+
326
+
327
+
328
+ <th>Default</th>
329
+
330
+
331
+ <th class="last">Description</th>
332
+ </tr>
333
+ </thead>
334
+
335
+ <tbody>
336
+
337
+
338
+ <tr>
339
+
340
+ <td class="name"><code>page</code></td>
341
+
342
+
343
+ <td class="type">
344
+
345
+
346
+ <span class="param-type">number</span>
347
+
348
+
349
+
350
+
351
+ </td>
352
+
353
+
354
+ <td class="attributes">
355
+
356
+ &lt;optional><br>
357
+
358
+
359
+
360
+
361
+
362
+ </td>
363
+
364
+
365
+
366
+ <td class="default">
367
+
368
+ <code>1</code>
369
+
370
+ </td>
371
+
372
+
373
+ <td class="description last">The page number for pagination.</td>
374
+ </tr>
375
+
376
+
377
+
378
+ <tr>
379
+
380
+ <td class="name"><code>limit</code></td>
381
+
382
+
383
+ <td class="type">
384
+
385
+
386
+ <span class="param-type">number</span>
387
+
388
+
389
+
390
+
391
+ </td>
392
+
393
+
394
+ <td class="attributes">
395
+
396
+ &lt;optional><br>
397
+
398
+
399
+
400
+
401
+
402
+ </td>
403
+
404
+
405
+
406
+ <td class="default">
407
+
408
+ <code>10</code>
409
+
410
+ </td>
411
+
412
+
413
+ <td class="description last">The maximum number of content items per row.</td>
414
+ </tr>
415
+
416
+
417
+ </tbody>
418
+ </table>
419
+
420
+ </td>
421
+ </tr>
422
+
423
+
424
+ </tbody>
425
+ </table>
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+
441
+
442
+ <h5 class="h5-returns">Returns:</h5>
443
+
444
+
445
+ <div class="param-desc">
446
+ - The fetched content rows with complete Sanity data instead of just content IDs.
447
+ When contentRowId is provided, returns an object with type, data, and meta properties.
448
+ </div>
449
+
450
+
451
+
452
+ <dl class="param-type">
453
+ <dt>
454
+ Type
455
+ </dt>
456
+ <dd>
457
+
458
+ <span class="param-type">Promise.&lt;Object></span>
459
+
460
+
461
+
462
+ </dd>
463
+ </dl>
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+ <h4 class="name" id=".getNewAndUpcoming"><span class="type-signature type-signature-static">(static) </span>getNewAndUpcoming<span class="signature">(brand, params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;({data: Array.&lt;Object>}|null)>}</span></h4>
475
+
476
+
477
+
478
+
479
+
480
+
481
+ <dl class="details">
482
+
483
+ <dt class="tag-description">Description:</dt>
484
+ <dd class="tag-description"><ul class="dummy"><li>Fetches new and upcoming releases for a given brand with pagination options.</li></ul></dd>
485
+
486
+
487
+
488
+ <dt class="tag-source">Source:</dt>
489
+ <dd class="tag-source"><ul class="dummy"><li>
490
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line220">line 220</a>
491
+ </li></ul></dd>
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+ </dl>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+ <h5 class="h5-examples">Examples</h5>
536
+
537
+ <pre class="prettyprint"><code>// Fetch the first page with 10 results
538
+ getNewAndUpcoming('drumeo')
539
+ .then(response => console.log(response))
540
+ .catch(error => console.error(error));</code></pre>
541
+
542
+ <pre class="prettyprint"><code>// Fetch the second page with 20 results
543
+ getNewAndUpcoming('drumeo', { page: 2, limit: 20 })
544
+ .then(response => console.log(response))
545
+ .catch(error => console.error(error));</code></pre>
546
+
547
+
548
+
549
+
550
+ <h5 class="h5-parameters">Parameters:</h5>
551
+
552
+
553
+ <table class="params">
554
+ <thead>
555
+ <tr>
556
+
557
+ <th>Name</th>
558
+
559
+
560
+ <th>Type</th>
561
+
562
+
563
+ <th>Attributes</th>
564
+
565
+
566
+
567
+ <th>Default</th>
568
+
569
+
570
+ <th class="last">Description</th>
571
+ </tr>
572
+ </thead>
573
+
574
+ <tbody>
575
+
576
+
577
+ <tr>
578
+
579
+ <td class="name"><code>brand</code></td>
580
+
581
+
582
+ <td class="type">
583
+
584
+
585
+ <span class="param-type">string</span>
586
+
587
+
588
+
589
+
590
+ </td>
591
+
592
+
593
+ <td class="attributes">
594
+
595
+
596
+
597
+
598
+
599
+ </td>
600
+
601
+
602
+
603
+ <td class="default">
604
+
605
+ </td>
606
+
607
+
608
+ <td class="description last">The brand for which to fetch new and upcoming releases.</td>
609
+ </tr>
610
+
611
+
612
+
613
+ <tr>
614
+
615
+ <td class="name"><code>params</code></td>
616
+
617
+
618
+ <td class="type">
619
+
620
+
621
+ <span class="param-type">Object</span>
622
+
623
+
624
+
625
+
626
+ </td>
627
+
628
+
629
+ <td class="attributes">
630
+
631
+ &lt;optional><br>
632
+
633
+
634
+
635
+
636
+
637
+ </td>
638
+
639
+
640
+
641
+ <td class="default">
642
+
643
+ <code>{}</code>
644
+
645
+ </td>
646
+
647
+
648
+ <td class="description last">Pagination parameters.
649
+ <h6>Properties</h6>
650
+
651
+
652
+ <table class="params">
653
+ <thead>
654
+ <tr>
655
+
656
+ <th>Name</th>
657
+
658
+
659
+ <th>Type</th>
660
+
661
+
662
+ <th>Attributes</th>
663
+
664
+
665
+
666
+ <th>Default</th>
667
+
668
+
669
+ <th class="last">Description</th>
670
+ </tr>
671
+ </thead>
672
+
673
+ <tbody>
674
+
675
+
676
+ <tr>
677
+
678
+ <td class="name"><code>page</code></td>
679
+
680
+
681
+ <td class="type">
682
+
683
+
684
+ <span class="param-type">number</span>
685
+
686
+
687
+
688
+
689
+ </td>
690
+
691
+
692
+ <td class="attributes">
693
+
694
+ &lt;optional><br>
695
+
696
+
697
+
698
+
699
+
700
+ </td>
701
+
702
+
703
+
704
+ <td class="default">
705
+
706
+ <code>1</code>
707
+
708
+ </td>
709
+
710
+
711
+ <td class="description last">The page number for pagination.</td>
712
+ </tr>
713
+
714
+
715
+
716
+ <tr>
717
+
718
+ <td class="name"><code>limit</code></td>
719
+
720
+
721
+ <td class="type">
722
+
723
+
724
+ <span class="param-type">number</span>
725
+
726
+
727
+
728
+
729
+ </td>
730
+
731
+
732
+ <td class="attributes">
733
+
734
+ &lt;optional><br>
735
+
736
+
737
+
738
+
739
+
740
+ </td>
741
+
742
+
743
+
744
+ <td class="default">
745
+
746
+ <code>10</code>
747
+
748
+ </td>
749
+
750
+
751
+ <td class="description last">The maximum number of content items to fetch.</td>
752
+ </tr>
753
+
754
+
755
+ </tbody>
756
+ </table>
757
+
758
+ </td>
759
+ </tr>
760
+
761
+
762
+ </tbody>
763
+ </table>
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+ <h5 class="h5-returns">Returns:</h5>
781
+
782
+
783
+ <div class="param-desc">
784
+ - A promise that resolves to the fetched content data or `null` if no data is found.
785
+ </div>
786
+
787
+
788
+
789
+ <dl class="param-type">
790
+ <dt>
791
+ Type
792
+ </dt>
793
+ <dd>
794
+
795
+ <span class="param-type">Promise.&lt;({data: Array.&lt;Object>}|null)></span>
796
+
797
+
798
+
799
+ </dd>
800
+ </dl>
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+ <h4 class="name" id=".getRecent"><span class="type-signature type-signature-static">(static) </span>getRecent<span class="signature">(brand, pageName, tabName<span class="signature-attributes">opt</span>, params)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
812
+
813
+
814
+
815
+
816
+
817
+
818
+ <dl class="details">
819
+
820
+ <dt class="tag-description">Description:</dt>
821
+ <dd class="tag-description"><ul class="dummy"><li>Fetches recent content for a given brand and page with pagination.</li></ul></dd>
822
+
823
+
824
+
825
+ <dt class="tag-source">Source:</dt>
826
+ <dd class="tag-source"><ul class="dummy"><li>
827
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line136">line 136</a>
828
+ </li></ul></dd>
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+ </dl>
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+ <h5 class="h5-examples">Example</h5>
873
+
874
+ <pre class="prettyprint"><code>getRecent('drumeo', 'lessons', 'all', {
875
+ page: 2,
876
+ limit: 15,
877
+ sort: '-popularity'
878
+ })
879
+ .then(content => console.log(content))
880
+ .catch(error => console.error(error));</code></pre>
881
+
882
+
883
+
884
+
885
+ <h5 class="h5-parameters">Parameters:</h5>
886
+
887
+
888
+ <table class="params">
889
+ <thead>
890
+ <tr>
891
+
892
+ <th>Name</th>
893
+
894
+
895
+ <th>Type</th>
896
+
897
+
898
+ <th>Attributes</th>
899
+
900
+
901
+
902
+ <th>Default</th>
903
+
904
+
905
+ <th class="last">Description</th>
906
+ </tr>
907
+ </thead>
908
+
909
+ <tbody>
910
+
911
+
912
+ <tr>
913
+
914
+ <td class="name"><code>brand</code></td>
915
+
916
+
917
+ <td class="type">
918
+
919
+
920
+ <span class="param-type">string</span>
921
+
922
+
923
+
924
+
925
+ </td>
926
+
927
+
928
+ <td class="attributes">
929
+
930
+
931
+
932
+
933
+
934
+ </td>
935
+
936
+
937
+
938
+ <td class="default">
939
+
940
+ </td>
941
+
942
+
943
+ <td class="description last">The brand for which to fetch data.</td>
944
+ </tr>
945
+
946
+
947
+
948
+ <tr>
949
+
950
+ <td class="name"><code>pageName</code></td>
951
+
952
+
953
+ <td class="type">
954
+
955
+
956
+ <span class="param-type">string</span>
957
+
958
+
959
+
960
+
961
+ </td>
962
+
963
+
964
+ <td class="attributes">
965
+
966
+
967
+
968
+
969
+
970
+ </td>
971
+
972
+
973
+
974
+ <td class="default">
975
+
976
+ </td>
977
+
978
+
979
+ <td class="description last">The page name (e.g., 'all', 'incomplete', 'completed').</td>
980
+ </tr>
981
+
982
+
983
+
984
+ <tr>
985
+
986
+ <td class="name"><code>tabName</code></td>
987
+
988
+
989
+ <td class="type">
990
+
991
+
992
+ <span class="param-type">string</span>
993
+
994
+
995
+
996
+
997
+ </td>
998
+
999
+
1000
+ <td class="attributes">
1001
+
1002
+ &lt;optional><br>
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+ </td>
1009
+
1010
+
1011
+
1012
+ <td class="default">
1013
+
1014
+ <code>'all'</code>
1015
+
1016
+ </td>
1017
+
1018
+
1019
+ <td class="description last">The tab name (defaults to 'all' for recent content).</td>
1020
+ </tr>
1021
+
1022
+
1023
+
1024
+ <tr>
1025
+
1026
+ <td class="name"><code>params</code></td>
1027
+
1028
+
1029
+ <td class="type">
1030
+
1031
+
1032
+ <span class="param-type">Object</span>
1033
+
1034
+
1035
+
1036
+
1037
+ </td>
1038
+
1039
+
1040
+ <td class="attributes">
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+ </td>
1047
+
1048
+
1049
+
1050
+ <td class="default">
1051
+
1052
+ </td>
1053
+
1054
+
1055
+ <td class="description last">Parameters for pagination and sorting.
1056
+ <h6>Properties</h6>
1057
+
1058
+
1059
+ <table class="params">
1060
+ <thead>
1061
+ <tr>
1062
+
1063
+ <th>Name</th>
1064
+
1065
+
1066
+ <th>Type</th>
1067
+
1068
+
1069
+ <th>Attributes</th>
1070
+
1071
+
1072
+
1073
+ <th>Default</th>
1074
+
1075
+
1076
+ <th class="last">Description</th>
1077
+ </tr>
1078
+ </thead>
1079
+
1080
+ <tbody>
1081
+
1082
+
1083
+ <tr>
1084
+
1085
+ <td class="name"><code>page</code></td>
1086
+
1087
+
1088
+ <td class="type">
1089
+
1090
+
1091
+ <span class="param-type">number</span>
1092
+
1093
+
1094
+
1095
+
1096
+ </td>
1097
+
1098
+
1099
+ <td class="attributes">
1100
+
1101
+ &lt;optional><br>
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+ </td>
1108
+
1109
+
1110
+
1111
+ <td class="default">
1112
+
1113
+ <code>1</code>
1114
+
1115
+ </td>
1116
+
1117
+
1118
+ <td class="description last">The page number for pagination.</td>
1119
+ </tr>
1120
+
1121
+
1122
+
1123
+ <tr>
1124
+
1125
+ <td class="name"><code>limit</code></td>
1126
+
1127
+
1128
+ <td class="type">
1129
+
1130
+
1131
+ <span class="param-type">number</span>
1132
+
1133
+
1134
+
1135
+
1136
+ </td>
1137
+
1138
+
1139
+ <td class="attributes">
1140
+
1141
+ &lt;optional><br>
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+ </td>
1148
+
1149
+
1150
+
1151
+ <td class="default">
1152
+
1153
+ <code>10</code>
1154
+
1155
+ </td>
1156
+
1157
+
1158
+ <td class="description last">The number of items per page.</td>
1159
+ </tr>
1160
+
1161
+
1162
+
1163
+ <tr>
1164
+
1165
+ <td class="name"><code>sort</code></td>
1166
+
1167
+
1168
+ <td class="type">
1169
+
1170
+
1171
+ <span class="param-type">string</span>
1172
+
1173
+
1174
+
1175
+
1176
+ </td>
1177
+
1178
+
1179
+ <td class="attributes">
1180
+
1181
+ &lt;optional><br>
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+ </td>
1188
+
1189
+
1190
+
1191
+ <td class="default">
1192
+
1193
+ <code>"-published_on"</code>
1194
+
1195
+ </td>
1196
+
1197
+
1198
+ <td class="description last">The field to sort the data by.</td>
1199
+ </tr>
1200
+
1201
+
1202
+ </tbody>
1203
+ </table>
1204
+
1205
+ </td>
1206
+ </tr>
1207
+
1208
+
1209
+ </tbody>
1210
+ </table>
1211
+
1212
+
1213
+
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+ <h5 class="h5-returns">Returns:</h5>
1228
+
1229
+
1230
+ <div class="param-desc">
1231
+ - The fetched content data.
1232
+ </div>
1233
+
1234
+
1235
+
1236
+ <dl class="param-type">
1237
+ <dt>
1238
+ Type
1239
+ </dt>
1240
+ <dd>
1241
+
1242
+ <span class="param-type">Promise.&lt;Object></span>
1243
+
1244
+
1245
+
1246
+ </dd>
1247
+ </dl>
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+ <h4 class="name" id=".getRecommendedForYou"><span class="type-signature type-signature-static">(static) </span>getRecommendedForYou<span class="signature">(brand, params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
1259
+
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+ <dl class="details">
1266
+
1267
+ <dt class="tag-description">Description:</dt>
1268
+ <dd class="tag-description"><ul class="dummy"><li>Fetches recommended content for a given brand with pagination support.</li></ul></dd>
1269
+
1270
+
1271
+
1272
+ <dt class="tag-source">Source:</dt>
1273
+ <dd class="tag-source"><ul class="dummy"><li>
1274
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line356">line 356</a>
1275
+ </li></ul></dd>
1276
+
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+
1307
+ </dl>
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+ <h5 class="h5-examples">Examples</h5>
1320
+
1321
+ <pre class="prettyprint"><code>// Fetch recommended content for a brand with default pagination
1322
+ getRecommendedForYou('drumeo')
1323
+ .then(content => console.log(content))
1324
+ .catch(error => console.error(error));</code></pre>
1325
+
1326
+ <pre class="prettyprint"><code>// Fetch recommended content for a brand with custom pagination
1327
+ getRecommendedForYou('drumeo', { page: 2, limit: 5 })
1328
+ .then(content => console.log(content))
1329
+ .catch(error => console.error(error));</code></pre>
1330
+
1331
+
1332
+
1333
+
1334
+ <h5 class="h5-parameters">Parameters:</h5>
1335
+
1336
+
1337
+ <table class="params">
1338
+ <thead>
1339
+ <tr>
1340
+
1341
+ <th>Name</th>
1342
+
1343
+
1344
+ <th>Type</th>
1345
+
1346
+
1347
+ <th>Attributes</th>
1348
+
1349
+
1350
+
1351
+ <th>Default</th>
1352
+
1353
+
1354
+ <th class="last">Description</th>
1355
+ </tr>
1356
+ </thead>
1357
+
1358
+ <tbody>
1359
+
1360
+
1361
+ <tr>
1362
+
1363
+ <td class="name"><code>brand</code></td>
1364
+
1365
+
1366
+ <td class="type">
1367
+
1368
+
1369
+ <span class="param-type">string</span>
1370
+
1371
+
1372
+
1373
+
1374
+ </td>
1375
+
1376
+
1377
+ <td class="attributes">
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+ </td>
1384
+
1385
+
1386
+
1387
+ <td class="default">
1388
+
1389
+ </td>
1390
+
1391
+
1392
+ <td class="description last">The brand for which to fetch recommended content.</td>
1393
+ </tr>
1394
+
1395
+
1396
+
1397
+ <tr>
1398
+
1399
+ <td class="name"><code>params</code></td>
1400
+
1401
+
1402
+ <td class="type">
1403
+
1404
+
1405
+ <span class="param-type">Object</span>
1406
+
1407
+
1408
+
1409
+
1410
+ </td>
1411
+
1412
+
1413
+ <td class="attributes">
1414
+
1415
+ &lt;optional><br>
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+ </td>
1422
+
1423
+
1424
+
1425
+ <td class="default">
1426
+
1427
+ <code>{}</code>
1428
+
1429
+ </td>
1430
+
1431
+
1432
+ <td class="description last">Pagination parameters.
1433
+ <h6>Properties</h6>
1434
+
1435
+
1436
+ <table class="params">
1437
+ <thead>
1438
+ <tr>
1439
+
1440
+ <th>Name</th>
1441
+
1442
+
1443
+ <th>Type</th>
1444
+
1445
+
1446
+ <th>Attributes</th>
1447
+
1448
+
1449
+
1450
+ <th>Default</th>
1451
+
1452
+
1453
+ <th class="last">Description</th>
1454
+ </tr>
1455
+ </thead>
1456
+
1457
+ <tbody>
1458
+
1459
+
1460
+ <tr>
1461
+
1462
+ <td class="name"><code>page</code></td>
1463
+
1464
+
1465
+ <td class="type">
1466
+
1467
+
1468
+ <span class="param-type">number</span>
1469
+
1470
+
1471
+
1472
+
1473
+ </td>
1474
+
1475
+
1476
+ <td class="attributes">
1477
+
1478
+ &lt;optional><br>
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+ </td>
1485
+
1486
+
1487
+
1488
+ <td class="default">
1489
+
1490
+ <code>1</code>
1491
+
1492
+ </td>
1493
+
1494
+
1495
+ <td class="description last">The page number for pagination.</td>
1496
+ </tr>
1497
+
1498
+
1499
+
1500
+ <tr>
1501
+
1502
+ <td class="name"><code>limit</code></td>
1503
+
1504
+
1505
+ <td class="type">
1506
+
1507
+
1508
+ <span class="param-type">number</span>
1509
+
1510
+
1511
+
1512
+
1513
+ </td>
1514
+
1515
+
1516
+ <td class="attributes">
1517
+
1518
+ &lt;optional><br>
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+ </td>
1525
+
1526
+
1527
+
1528
+ <td class="default">
1529
+
1530
+ <code>10</code>
1531
+
1532
+ </td>
1533
+
1534
+
1535
+ <td class="description last">The maximum number of recommended content items per page.</td>
1536
+ </tr>
1537
+
1538
+
1539
+ </tbody>
1540
+ </table>
1541
+
1542
+ </td>
1543
+ </tr>
1544
+
1545
+
1546
+ </tbody>
1547
+ </table>
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+ <h5 class="h5-returns">Returns:</h5>
1565
+
1566
+
1567
+ <div class="param-desc">
1568
+ - A promise that resolves to an object containing recommended content.
1569
+ </div>
1570
+
1571
+
1572
+
1573
+ <dl class="param-type">
1574
+ <dt>
1575
+ Type
1576
+ </dt>
1577
+ <dd>
1578
+
1579
+ <span class="param-type">Promise.&lt;Object></span>
1580
+
1581
+
1582
+
1583
+ </dd>
1584
+ </dl>
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+ <h4 class="name" id=".getScheduleContentRows"><span class="type-signature type-signature-static">(static) </span>getScheduleContentRows<span class="signature">(brand, contentRowId<span class="signature-attributes">opt</span>, params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+ <dl class="details">
1603
+
1604
+ <dt class="tag-description">Description:</dt>
1605
+ <dd class="tag-description"><ul class="dummy"><li>Fetches scheduled content rows for a given brand with optional filtering by content row ID.</li></ul></dd>
1606
+
1607
+
1608
+
1609
+ <dt class="tag-source">Source:</dt>
1610
+ <dd class="tag-source"><ul class="dummy"><li>
1611
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line263">line 263</a>
1612
+ </li></ul></dd>
1613
+
1614
+
1615
+
1616
+
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+
1644
+ </dl>
1645
+
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+
1654
+
1655
+
1656
+ <h5 class="h5-examples">Examples</h5>
1657
+
1658
+ <pre class="prettyprint"><code>// Fetch all sections with default pagination
1659
+ getScheduleContentRows('drumeo')
1660
+ .then(content => console.log(content))
1661
+ .catch(error => console.error(error));</code></pre>
1662
+
1663
+ <pre class="prettyprint"><code>// Fetch only the 'New-Releases' section with custom pagination
1664
+ getScheduleContentRows('drumeo', 'New-Releases', { page: 1, limit: 30 })
1665
+ .then(content => console.log(content))
1666
+ .catch(error => console.error(error));</code></pre>
1667
+
1668
+ <pre class="prettyprint"><code>// Fetch only the 'Live-Streams' section with unlimited results
1669
+ getScheduleContentRows('drumeo', 'Live-Streams')
1670
+ .then(content => console.log(content))
1671
+ .catch(error => console.error(error));</code></pre>
1672
+
1673
+
1674
+
1675
+
1676
+ <h5 class="h5-parameters">Parameters:</h5>
1677
+
1678
+
1679
+ <table class="params">
1680
+ <thead>
1681
+ <tr>
1682
+
1683
+ <th>Name</th>
1684
+
1685
+
1686
+ <th>Type</th>
1687
+
1688
+
1689
+ <th>Attributes</th>
1690
+
1691
+
1692
+
1693
+ <th>Default</th>
1694
+
1695
+
1696
+ <th class="last">Description</th>
1697
+ </tr>
1698
+ </thead>
1699
+
1700
+ <tbody>
1701
+
1702
+
1703
+ <tr>
1704
+
1705
+ <td class="name"><code>brand</code></td>
1706
+
1707
+
1708
+ <td class="type">
1709
+
1710
+
1711
+ <span class="param-type">string</span>
1712
+
1713
+
1714
+
1715
+
1716
+ </td>
1717
+
1718
+
1719
+ <td class="attributes">
1720
+
1721
+
1722
+
1723
+
1724
+
1725
+ </td>
1726
+
1727
+
1728
+
1729
+ <td class="default">
1730
+
1731
+ </td>
1732
+
1733
+
1734
+ <td class="description last">The brand for which to fetch content rows.</td>
1735
+ </tr>
1736
+
1737
+
1738
+
1739
+ <tr>
1740
+
1741
+ <td class="name"><code>contentRowId</code></td>
1742
+
1743
+
1744
+ <td class="type">
1745
+
1746
+
1747
+ <span class="param-type">string</span>
1748
+
1749
+
1750
+
1751
+
1752
+ </td>
1753
+
1754
+
1755
+ <td class="attributes">
1756
+
1757
+ &lt;optional><br>
1758
+
1759
+
1760
+
1761
+
1762
+
1763
+ </td>
1764
+
1765
+
1766
+
1767
+ <td class="default">
1768
+
1769
+ <code>null</code>
1770
+
1771
+ </td>
1772
+
1773
+
1774
+ <td class="description last">The specific content row ID to fetch (optional).</td>
1775
+ </tr>
1776
+
1777
+
1778
+
1779
+ <tr>
1780
+
1781
+ <td class="name"><code>params</code></td>
1782
+
1783
+
1784
+ <td class="type">
1785
+
1786
+
1787
+ <span class="param-type">Object</span>
1788
+
1789
+
1790
+
1791
+
1792
+ </td>
1793
+
1794
+
1795
+ <td class="attributes">
1796
+
1797
+ &lt;optional><br>
1798
+
1799
+
1800
+
1801
+
1802
+
1803
+ </td>
1804
+
1805
+
1806
+
1807
+ <td class="default">
1808
+
1809
+ <code>{}</code>
1810
+
1811
+ </td>
1812
+
1813
+
1814
+ <td class="description last">Pagination parameters.
1815
+ <h6>Properties</h6>
1816
+
1817
+
1818
+ <table class="params">
1819
+ <thead>
1820
+ <tr>
1821
+
1822
+ <th>Name</th>
1823
+
1824
+
1825
+ <th>Type</th>
1826
+
1827
+
1828
+ <th>Attributes</th>
1829
+
1830
+
1831
+
1832
+ <th>Default</th>
1833
+
1834
+
1835
+ <th class="last">Description</th>
1836
+ </tr>
1837
+ </thead>
1838
+
1839
+ <tbody>
1840
+
1841
+
1842
+ <tr>
1843
+
1844
+ <td class="name"><code>page</code></td>
1845
+
1846
+
1847
+ <td class="type">
1848
+
1849
+
1850
+ <span class="param-type">number</span>
1851
+
1852
+
1853
+
1854
+
1855
+ </td>
1856
+
1857
+
1858
+ <td class="attributes">
1859
+
1860
+ &lt;optional><br>
1861
+
1862
+
1863
+
1864
+
1865
+
1866
+ </td>
1867
+
1868
+
1869
+
1870
+ <td class="default">
1871
+
1872
+ <code>1</code>
1873
+
1874
+ </td>
1875
+
1876
+
1877
+ <td class="description last">The page number for pagination.</td>
1878
+ </tr>
1879
+
1880
+
1881
+
1882
+ <tr>
1883
+
1884
+ <td class="name"><code>limit</code></td>
1885
+
1886
+
1887
+ <td class="type">
1888
+
1889
+
1890
+ <span class="param-type">number</span>
1891
+
1892
+
1893
+
1894
+
1895
+ </td>
1896
+
1897
+
1898
+ <td class="attributes">
1899
+
1900
+ &lt;optional><br>
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+ </td>
1907
+
1908
+
1909
+
1910
+ <td class="default">
1911
+
1912
+ <code>10</code>
1913
+
1914
+ </td>
1915
+
1916
+
1917
+ <td class="description last">The maximum number of content items per row.</td>
1918
+ </tr>
1919
+
1920
+
1921
+ </tbody>
1922
+ </table>
1923
+
1924
+ </td>
1925
+ </tr>
1926
+
1927
+
1928
+ </tbody>
1929
+ </table>
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+ <h5 class="h5-returns">Returns:</h5>
1947
+
1948
+
1949
+ <div class="param-desc">
1950
+ - A promise that resolves to the fetched content rows.
1951
+ </div>
1952
+
1953
+
1954
+
1955
+ <dl class="param-type">
1956
+ <dt>
1957
+ Type
1958
+ </dt>
1959
+ <dd>
1960
+
1961
+ <span class="param-type">Promise.&lt;Object></span>
1962
+
1963
+
1964
+
1965
+ </dd>
1966
+ </dl>
1967
+
1968
+
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+
1977
+ <h4 class="name" id=".getTabResults"><span class="type-signature type-signature-static">(static) </span>getTabResults<span class="signature">(brand, pageName, tabName, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
1978
+
1979
+
1980
+
1981
+
1982
+
1983
+
1984
+ <dl class="details">
1985
+
1986
+ <dt class="tag-description">Description:</dt>
1987
+ <dd class="tag-description"><ul class="dummy"><li>Get data that should be displayed for a specific tab with pagination</li></ul></dd>
1988
+
1989
+
1990
+
1991
+ <dt class="tag-source">Source:</dt>
1992
+ <dd class="tag-source"><ul class="dummy"><li>
1993
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line62">line 62</a>
1994
+ </li></ul></dd>
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+
2024
+
2025
+
2026
+ </dl>
2027
+
2028
+
2029
+
2030
+
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+ <h5 class="h5-examples">Example</h5>
2039
+
2040
+ <pre class="prettyprint"><code>getTabResults('drumeo', 'lessons','Singles', {
2041
+ page: 2,
2042
+ limit: 20,
2043
+ sort: '-popularity',
2044
+ includedFields: ['difficulty,Intermediate'],
2045
+ })
2046
+ .then(content => console.log(content))
2047
+ .catch(error => console.error(error));</code></pre>
2048
+
2049
+
2050
+
2051
+
2052
+ <h5 class="h5-parameters">Parameters:</h5>
2053
+
2054
+
2055
+ <table class="params">
2056
+ <thead>
2057
+ <tr>
2058
+
2059
+ <th>Name</th>
2060
+
2061
+
2062
+ <th>Type</th>
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+ <th class="last">Description</th>
2069
+ </tr>
2070
+ </thead>
2071
+
2072
+ <tbody>
2073
+
2074
+
2075
+ <tr>
2076
+
2077
+ <td class="name"><code>brand</code></td>
2078
+
2079
+
2080
+ <td class="type">
2081
+
2082
+
2083
+ <span class="param-type">string</span>
2084
+
2085
+
2086
+
2087
+
2088
+ </td>
2089
+
2090
+
2091
+
2092
+
2093
+
2094
+ <td class="description last">The brand for which to fetch data.</td>
2095
+ </tr>
2096
+
2097
+
2098
+
2099
+ <tr>
2100
+
2101
+ <td class="name"><code>pageName</code></td>
2102
+
2103
+
2104
+ <td class="type">
2105
+
2106
+
2107
+ <span class="param-type">string</span>
2108
+
2109
+
2110
+
2111
+
2112
+ </td>
2113
+
2114
+
2115
+
2116
+
2117
+
2118
+ <td class="description last">The page name (e.g., 'lessons', 'songs','challenges).</td>
2119
+ </tr>
2120
+
2121
+
2122
+
2123
+ <tr>
2124
+
2125
+ <td class="name"><code>tabName</code></td>
2126
+
2127
+
2128
+ <td class="type">
2129
+
2130
+
2131
+ <span class="param-type">string</span>
2132
+
2133
+
2134
+
2135
+
2136
+ </td>
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+ <td class="description last">The name for the selected tab. Should be same name received from fetchMetadata (e.g., 'Individuals', 'Collections','For You').</td>
2143
+ </tr>
2144
+
2145
+
2146
+
2147
+ <tr>
2148
+
2149
+ <td class="name"><code>params</code></td>
2150
+
2151
+
2152
+ <td class="type">
2153
+
2154
+
2155
+ <span class="param-type">Object</span>
2156
+
2157
+
2158
+
2159
+
2160
+ </td>
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+ <td class="description last">Parameters for pagination, sorting, and filter.
2167
+ <h6>Properties</h6>
2168
+
2169
+
2170
+ <table class="params">
2171
+ <thead>
2172
+ <tr>
2173
+
2174
+ <th>Name</th>
2175
+
2176
+
2177
+ <th>Type</th>
2178
+
2179
+
2180
+ <th>Attributes</th>
2181
+
2182
+
2183
+
2184
+ <th>Default</th>
2185
+
2186
+
2187
+ <th class="last">Description</th>
2188
+ </tr>
2189
+ </thead>
2190
+
2191
+ <tbody>
2192
+
2193
+
2194
+ <tr>
2195
+
2196
+ <td class="name"><code>page</code></td>
2197
+
2198
+
2199
+ <td class="type">
2200
+
2201
+
2202
+ <span class="param-type">number</span>
2203
+
2204
+
2205
+
2206
+
2207
+ </td>
2208
+
2209
+
2210
+ <td class="attributes">
2211
+
2212
+ &lt;optional><br>
2213
+
2214
+
2215
+
2216
+
2217
+
2218
+ </td>
2219
+
2220
+
2221
+
2222
+ <td class="default">
2223
+
2224
+ <code>1</code>
2225
+
2226
+ </td>
2227
+
2228
+
2229
+ <td class="description last">The page number for pagination.</td>
2230
+ </tr>
2231
+
2232
+
2233
+
2234
+ <tr>
2235
+
2236
+ <td class="name"><code>limit</code></td>
2237
+
2238
+
2239
+ <td class="type">
2240
+
2241
+
2242
+ <span class="param-type">number</span>
2243
+
2244
+
2245
+
2246
+
2247
+ </td>
2248
+
2249
+
2250
+ <td class="attributes">
2251
+
2252
+ &lt;optional><br>
2253
+
2254
+
2255
+
2256
+
2257
+
2258
+ </td>
2259
+
2260
+
2261
+
2262
+ <td class="default">
2263
+
2264
+ <code>10</code>
2265
+
2266
+ </td>
2267
+
2268
+
2269
+ <td class="description last">The number of items per page.</td>
2270
+ </tr>
2271
+
2272
+
2273
+
2274
+ <tr>
2275
+
2276
+ <td class="name"><code>sort</code></td>
2277
+
2278
+
2279
+ <td class="type">
2280
+
2281
+
2282
+ <span class="param-type">string</span>
2283
+
2284
+
2285
+
2286
+
2287
+ </td>
2288
+
2289
+
2290
+ <td class="attributes">
2291
+
2292
+ &lt;optional><br>
2293
+
2294
+
2295
+
2296
+
2297
+
2298
+ </td>
2299
+
2300
+
2301
+
2302
+ <td class="default">
2303
+
2304
+ <code>"-published_on"</code>
2305
+
2306
+ </td>
2307
+
2308
+
2309
+ <td class="description last">The field to sort the data by.</td>
2310
+ </tr>
2311
+
2312
+
2313
+
2314
+ <tr>
2315
+
2316
+ <td class="name"><code>selectedFilters</code></td>
2317
+
2318
+
2319
+ <td class="type">
2320
+
2321
+
2322
+ <span class="param-type">Array.&lt;string></span>
2323
+
2324
+
2325
+
2326
+
2327
+ </td>
2328
+
2329
+
2330
+ <td class="attributes">
2331
+
2332
+ &lt;optional><br>
2333
+
2334
+
2335
+
2336
+
2337
+
2338
+ </td>
2339
+
2340
+
2341
+
2342
+ <td class="default">
2343
+
2344
+ <code>[]</code>
2345
+
2346
+ </td>
2347
+
2348
+
2349
+ <td class="description last">The selected filter.</td>
2350
+ </tr>
2351
+
2352
+
2353
+ </tbody>
2354
+ </table>
2355
+
2356
+ </td>
2357
+ </tr>
2358
+
2359
+
2360
+ </tbody>
2361
+ </table>
2362
+
2363
+
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2370
+
2371
+
2372
+
2373
+
2374
+
2375
+
2376
+
2377
+
2378
+ <h5 class="h5-returns">Returns:</h5>
2379
+
2380
+
2381
+ <div class="param-desc">
2382
+ - The fetched content data or null if not found.
2383
+ </div>
2384
+
2385
+
2386
+
2387
+ <dl class="param-type">
2388
+ <dt>
2389
+ Type
2390
+ </dt>
2391
+ <dd>
2392
+
2393
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2394
+
2395
+
2396
+
2397
+ </dd>
2398
+ </dl>
2399
+
2400
+
2401
+
2402
+
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+
2409
+
2410
+ </article>
2411
+
2412
+ </section>
2413
+
2414
+
2415
+
2416
+
2417
+
2418
+
2419
+ </div>
2420
+
2421
+ <br class="clear">
2422
+
2423
+ <footer>
2424
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jun 16 2025 14:26:22 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
2425
+ </footer>
2426
+
2427
+ <script>prettyPrint();</script>
2428
+ <script src="scripts/polyfill.js"></script>
2429
+ <script src="scripts/linenumber.js"></script>
2430
+
2431
+
2432
+
2433
+ </body>
2434
+ </html>