musora-content-services 1.6.6 → 1.6.8

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 (76) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/docs/v2/ContentOrganization.html +2 -2
  3. package/docs/v2/Forums.html +269 -0
  4. package/docs/v2/Gamification.html +2 -2
  5. package/docs/v2/UserManagementSystem.html +2 -2
  6. package/docs/v2/api_types.js.html +2 -2
  7. package/docs/v2/config.js.html +2 -8
  8. package/docs/v2/content-org_content-org.js.html +2 -2
  9. package/docs/v2/content-org_guided-courses.ts.html +110 -0
  10. package/docs/v2/content-org_playlists-types.js.html +14 -2
  11. package/docs/v2/content-org_playlists.js.html +39 -17
  12. package/docs/v2/content.js.html +120 -64
  13. package/docs/v2/forums_categories.ts.html +137 -0
  14. package/docs/v2/forums_discussions.js.html +95 -0
  15. package/docs/v2/forums_forum.js.html +95 -0
  16. package/docs/v2/forums_forums.ts.html +77 -0
  17. package/docs/v2/forums_posts.ts.html +158 -0
  18. package/docs/v2/forums_threads.ts.html +271 -0
  19. package/docs/v2/gamification_awards.js.html +35 -534
  20. package/docs/v2/gamification_awards.ts.html +181 -0
  21. package/docs/v2/gamification_gamification.js.html +2 -2
  22. package/docs/v2/gamification_types.js.html +7 -25
  23. package/docs/v2/global.html +296 -492
  24. package/docs/v2/index.html +2 -3
  25. package/docs/v2/module-Accounts.html +1471 -0
  26. package/docs/v2/module-Awards.html +396 -14
  27. package/docs/v2/module-Categories.html +711 -0
  28. package/docs/v2/module-Config.html +4 -8
  29. package/docs/v2/module-Content-Services-V2.html +460 -46
  30. package/docs/v2/module-ForumCategories.html +687 -0
  31. package/docs/v2/module-ForumDiscussions.html +370 -0
  32. package/docs/v2/module-Forums.html +11961 -0
  33. package/docs/v2/module-GuidedCourses.html +108 -0
  34. package/docs/v2/module-Interests.html +2 -2
  35. package/docs/v2/module-Payments.html +250 -0
  36. package/docs/v2/module-Permissions.html +2 -2
  37. package/docs/v2/module-Playlists.html +212 -44
  38. package/docs/v2/module-Railcontent-Services.html +691 -2177
  39. package/docs/v2/module-Sanity-Services.html +200 -941
  40. package/docs/v2/module-Sessions.html +3 -3
  41. package/docs/v2/module-Threads.html +1119 -0
  42. package/docs/v2/module-UserActivity.html +193 -23
  43. package/docs/v2/module-UserChat.html +410 -0
  44. package/docs/v2/module-UserManagement.html +585 -12
  45. package/docs/v2/module-UserMemberships.html +556 -0
  46. package/docs/v2/module-UserNotifications.html +1399 -27
  47. package/docs/v2/module-UserProfile.html +106 -2
  48. package/docs/v2/railcontent.js.html +105 -235
  49. package/docs/v2/sanity.js.html +263 -415
  50. package/docs/v2/userActivity.js.html +532 -451
  51. package/docs/v2/user_account.ts.html +190 -0
  52. package/docs/v2/user_chat.js.html +98 -0
  53. package/docs/v2/user_interests.js.html +2 -2
  54. package/docs/v2/user_management.js.html +45 -2
  55. package/docs/v2/user_memberships.js.html +144 -0
  56. package/docs/v2/user_notifications.js.html +203 -21
  57. package/docs/v2/user_payments.ts.html +97 -0
  58. package/docs/v2/user_permissions.js.html +2 -2
  59. package/docs/v2/user_profile.js.html +12 -2
  60. package/docs/v2/user_sessions.js.html +33 -2
  61. package/docs/v2/user_types.js.html +10 -2
  62. package/docs/v2/user_user-management-system.js.html +2 -2
  63. package/link_mcs.sh +0 -0
  64. package/package.json +1 -1
  65. package/src/contentTypeConfig.js +3 -3
  66. package/src/services/sanity.js +5 -2
  67. package/docs/v2/Content-Organization.html +0 -245
  68. package/docs/v2/UserManagement.html +0 -269
  69. package/docs/v2/global.html#User +0 -293
  70. package/docs/v2/module-Notifications.html +0 -1183
  71. package/docs/v2/module-Session-Management.html +0 -575
  72. package/docs/v2/module-User-Activity.html +0 -4410
  73. package/docs/v2/module-User-Management.html +0 -490
  74. package/docs/v2/module-User-Permissions.html +0 -406
  75. package/docs/v2/types.js.html +0 -122
  76. package/docs/v2/user_user-management.js.html +0 -78
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
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>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Accounts.html">Accounts</a><ul class='methods'><li data-type='method'><a href="module-Accounts.html#~confirmEmailChange">confirmEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~requestEmailChange">requestEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~resetPassword">resetPassword</a></li><li data-type='method'><a href="module-Accounts.html#~sendAccountSetupEmail">sendAccountSetupEmail</a></li><li data-type='method'><a href="module-Accounts.html#~sendPasswordResetEmail">sendPasswordResetEmail</a></li><li data-type='method'><a href="module-Accounts.html#~setupAccount">setupAccount</a></li><li data-type='method'><a href="module-Accounts.html#~status">status</a></li></ul></li><li><a href="module-Awards.html">Awards</a><ul class='methods'><li data-type='method'><a href="module-Awards.html#~fetchAwardsForUser">fetchAwardsForUser</a></li><li data-type='method'><a href="module-Awards.html#~fetchCertificate">fetchCertificate</a></li><li data-type='method'><a href="module-Awards.html#~getAwardDataForGuidedContent">getAwardDataForGuidedContent</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#.getRecentForTab">getRecentForTab</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-Forums.html">Forums</a><ul class='methods'><li data-type='method'><a href="module-Forums.html#~createForumCategory">createForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~createPost">createPost</a></li><li data-type='method'><a href="module-Forums.html#~createThread">createThread</a></li><li data-type='method'><a href="module-Forums.html#~deletePost">deletePost</a></li><li data-type='method'><a href="module-Forums.html#~deleteThread">deleteThread</a></li><li data-type='method'><a href="module-Forums.html#~fetchCommunityGuidelines">fetchCommunityGuidelines</a></li><li data-type='method'><a href="module-Forums.html#~fetchFollowedThreads">fetchFollowedThreads</a></li><li data-type='method'><a href="module-Forums.html#~fetchForumCategories">fetchForumCategories</a></li><li data-type='method'><a href="module-Forums.html#~fetchLatestThreads">fetchLatestThreads</a></li><li data-type='method'><a href="module-Forums.html#~fetchPosts">fetchPosts</a></li><li data-type='method'><a href="module-Forums.html#~fetchThreads">fetchThreads</a></li><li data-type='method'><a href="module-Forums.html#~followThread">followThread</a></li><li data-type='method'><a href="module-Forums.html#~lockThread">lockThread</a></li><li data-type='method'><a href="module-Forums.html#~pinThread">pinThread</a></li><li data-type='method'><a href="module-Forums.html#~unfollowThread">unfollowThread</a></li><li data-type='method'><a href="module-Forums.html#~unlockThread">unlockThread</a></li><li data-type='method'><a href="module-Forums.html#~unpinThread">unpinThread</a></li><li data-type='method'><a href="module-Forums.html#~updateForumCategory">updateForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~updateThread">updateThread</a></li></ul></li><li></li><li></li><li><a href="module-GuidedCourses.html">GuidedCourses</a></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-Payments.html">Payments</a><ul class='methods'><li data-type='method'><a href="module-Payments.html#~fetchCustomerPayments">fetchCustomerPayments</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#~deleteItemsFromPlaylist">deleteItemsFromPlaylist</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#~restoreItemFromPlaylist">restoreItemFromPlaylist</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#.fetchComment">fetchComment</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#.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#.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#.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#.postContentComplete">postContentComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentReset">postContentReset</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentRestore">postContentRestore</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentStart">postContentStart</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#.restoreComment">restoreComment</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#.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#.fetchSiblingContent">fetchSiblingContent</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#~getQueryFromPage">getQueryFromPage</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#.restoreUserActivity">restoreUserActivity</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#.blockedUsers">blockedUsers</a></li><li data-type='method'><a href="module-UserManagement.html#.deletePicture">deletePicture</a></li><li data-type='method'><a href="module-UserManagement.html#.getUserData">getUserData</a></li><li data-type='method'><a href="module-UserManagement.html#.isDisplayNameAvailable">isDisplayNameAvailable</a></li><li data-type='method'><a href="module-UserManagement.html#.unblockUser">unblockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.updateDisplayName">updateDisplayName</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-UserMemberships.html">UserMemberships</a><ul class='methods'><li data-type='method'><a href="module-UserMemberships.html#.fetchMemberships">fetchMemberships</a></li><li data-type='method'><a href="module-UserMemberships.html#.fetchRechargeTokens">fetchRechargeTokens</a></li><li data-type='method'><a href="module-UserMemberships.html#.upgradeSubscription">upgradeSubscription</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#.fetchLiveEventPollingState">fetchLiveEventPollingState</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotificationSettings">fetchNotificationSettings</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotifications">fetchNotifications</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchUnreadCount">fetchUnreadCount</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><li data-type='method'><a href="module-UserNotifications.html#.pauseLiveEventPolling">pauseLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.restoreNotification">restoreNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.startLiveEventPolling">startLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.updateNotificationSetting">updateNotificationSetting</a></li></ul></li><li><a href="module-UserProfile.html">UserProfile</a><ul class='methods'><li data-type='method'><a href="module-UserProfile.html#.deleteProfilePicture">deleteProfilePicture</a></li><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="Forums.html">Forums</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
33
 
34
34
  </nav>
35
35
 
@@ -94,7 +94,7 @@
94
94
 
95
95
  <dt class="tag-source">Source:</dt>
96
96
  <dd class="tag-source"><ul class="dummy"><li>
97
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line40">line 40</a>
97
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line43">line 43</a>
98
98
  </li></ul></dd>
99
99
 
100
100
 
@@ -182,7 +182,7 @@
182
182
 
183
183
  <dt class="tag-source">Source:</dt>
184
184
  <dd class="tag-source"><ul class="dummy"><li>
185
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line575">line 575</a>
185
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line585">line 585</a>
186
186
  </li></ul></dd>
187
187
 
188
188
 
@@ -837,7 +837,7 @@ If a coachId is provided, the content type must be 'coach-lessons'.</li></ul></d
837
837
 
838
838
  <dt class="tag-source">Source:</dt>
839
839
  <dd class="tag-source"><ul class="dummy"><li>
840
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line962">line 962</a>
840
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line813">line 813</a>
841
841
  </li></ul></dd>
842
842
 
843
843
 
@@ -1356,7 +1356,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1356
1356
 
1357
1357
  <dt class="tag-source">Source:</dt>
1358
1358
  <dd class="tag-source"><ul class="dummy"><li>
1359
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1453">line 1453</a>
1359
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1335">line 1335</a>
1360
1360
  </li></ul></dd>
1361
1361
 
1362
1362
 
@@ -1690,7 +1690,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1690
1690
 
1691
1691
  <dt class="tag-source">Source:</dt>
1692
1692
  <dd class="tag-source"><ul class="dummy"><li>
1693
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1687">line 1687</a>
1693
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1549">line 1549</a>
1694
1694
  </li></ul></dd>
1695
1695
 
1696
1696
 
@@ -2195,7 +2195,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2195
2195
 
2196
2196
  <dt class="tag-source">Source:</dt>
2197
2197
  <dd class="tag-source"><ul class="dummy"><li>
2198
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line205">line 205</a>
2198
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line175">line 175</a>
2199
2199
  </li></ul></dd>
2200
2200
 
2201
2201
 
@@ -2360,7 +2360,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2360
2360
 
2361
2361
  <dt class="tag-source">Source:</dt>
2362
2362
  <dd class="tag-source"><ul class="dummy"><li>
2363
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line476">line 476</a>
2363
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line441">line 441</a>
2364
2364
  </li></ul></dd>
2365
2365
 
2366
2366
 
@@ -2549,7 +2549,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2549
2549
 
2550
2550
  <dt class="tag-source">Source:</dt>
2551
2551
  <dd class="tag-source"><ul class="dummy"><li>
2552
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line515">line 515</a>
2552
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line480">line 480</a>
2553
2553
  </li></ul></dd>
2554
2554
 
2555
2555
 
@@ -2636,7 +2636,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2636
2636
  <td class="type">
2637
2637
 
2638
2638
 
2639
- <span class="param-type">Array.&lt;string></span>
2639
+ <span class="param-type">Array.&lt;(string|number)></span>
2640
2640
 
2641
2641
 
2642
2642
 
@@ -2758,7 +2758,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2758
2758
 
2759
2759
  <dt class="tag-source">Source:</dt>
2760
2760
  <dd class="tag-source"><ul class="dummy"><li>
2761
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1648">line 1648</a>
2761
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1510">line 1510</a>
2762
2762
  </li></ul></dd>
2763
2763
 
2764
2764
 
@@ -2923,7 +2923,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2923
2923
 
2924
2924
  <dt class="tag-source">Source:</dt>
2925
2925
  <dd class="tag-source"><ul class="dummy"><li>
2926
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1593">line 1593</a>
2926
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1477">line 1477</a>
2927
2927
  </li></ul></dd>
2928
2928
 
2929
2929
 
@@ -3366,7 +3366,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3366
3366
 
3367
3367
  <dt class="tag-source">Source:</dt>
3368
3368
  <dd class="tag-source"><ul class="dummy"><li>
3369
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line128">line 128</a>
3369
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line133">line 133</a>
3370
3370
  </li></ul></dd>
3371
3371
 
3372
3372
 
@@ -3470,7 +3470,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3470
3470
 
3471
3471
  <dt class="tag-source">Source:</dt>
3472
3472
  <dd class="tag-source"><ul class="dummy"><li>
3473
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1877">line 1877</a>
3473
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1739">line 1739</a>
3474
3474
  </li></ul></dd>
3475
3475
 
3476
3476
 
@@ -3628,7 +3628,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3628
3628
 
3629
3629
  <dt class="tag-source">Source:</dt>
3630
3630
  <dd class="tag-source"><ul class="dummy"><li>
3631
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1032">line 1032</a>
3631
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line883">line 883</a>
3632
3632
  </li></ul></dd>
3633
3633
 
3634
3634
 
@@ -3786,7 +3786,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3786
3786
 
3787
3787
  <dt class="tag-source">Source:</dt>
3788
3788
  <dd class="tag-source"><ul class="dummy"><li>
3789
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1747">line 1747</a>
3789
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1609">line 1609</a>
3790
3790
  </li></ul></dd>
3791
3791
 
3792
3792
 
@@ -4267,7 +4267,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4267
4267
 
4268
4268
  <dt class="tag-source">Source:</dt>
4269
4269
  <dd class="tag-source"><ul class="dummy"><li>
4270
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line75">line 75</a>
4270
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line78">line 78</a>
4271
4271
  </li></ul></dd>
4272
4272
 
4273
4273
 
@@ -4371,7 +4371,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4371
4371
 
4372
4372
  <dt class="tag-source">Source:</dt>
4373
4373
  <dd class="tag-source"><ul class="dummy"><li>
4374
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1253">line 1253</a>
4374
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1105">line 1105</a>
4375
4375
  </li></ul></dd>
4376
4376
 
4377
4377
 
@@ -4537,7 +4537,7 @@ These are linked through content that shares a license with the provided railcon
4537
4537
 
4538
4538
  <dt class="tag-source">Source:</dt>
4539
4539
  <dd class="tag-source"><ul class="dummy"><li>
4540
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1371">line 1371</a>
4540
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1212">line 1212</a>
4541
4541
  </li></ul></dd>
4542
4542
 
4543
4543
 
@@ -4740,7 +4740,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4740
4740
 
4741
4741
  <dt class="tag-source">Source:</dt>
4742
4742
  <dd class="tag-source"><ul class="dummy"><li>
4743
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2059">line 2059</a>
4743
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1917">line 1917</a>
4744
4744
  </li></ul></dd>
4745
4745
 
4746
4746
 
@@ -4925,7 +4925,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4925
4925
 
4926
4926
  <dt class="tag-source">Source:</dt>
4927
4927
  <dd class="tag-source"><ul class="dummy"><li>
4928
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1052">line 1052</a>
4928
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line903">line 903</a>
4929
4929
  </li></ul></dd>
4930
4930
 
4931
4931
 
@@ -5107,7 +5107,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5107
5107
 
5108
5108
  <dt class="tag-source">Source:</dt>
5109
5109
  <dd class="tag-source"><ul class="dummy"><li>
5110
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1100">line 1100</a>
5110
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line951">line 951</a>
5111
5111
  </li></ul></dd>
5112
5112
 
5113
5113
 
@@ -5265,7 +5265,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5265
5265
 
5266
5266
  <dt class="tag-source">Source:</dt>
5267
5267
  <dd class="tag-source"><ul class="dummy"><li>
5268
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1158">line 1158</a>
5268
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1009">line 1009</a>
5269
5269
  </li></ul></dd>
5270
5270
 
5271
5271
 
@@ -5423,7 +5423,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5423
5423
 
5424
5424
  <dt class="tag-source">Source:</dt>
5425
5425
  <dd class="tag-source"><ul class="dummy"><li>
5426
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1135">line 1135</a>
5426
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line986">line 986</a>
5427
5427
  </li></ul></dd>
5428
5428
 
5429
5429
 
@@ -5612,7 +5612,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5612
5612
 
5613
5613
  <dt class="tag-source">Source:</dt>
5614
5614
  <dd class="tag-source"><ul class="dummy"><li>
5615
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line341">line 341</a>
5615
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line311">line 311</a>
5616
5616
  </li></ul></dd>
5617
5617
 
5618
5618
 
@@ -5770,7 +5770,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5770
5770
 
5771
5771
  <dt class="tag-source">Source:</dt>
5772
5772
  <dd class="tag-source"><ul class="dummy"><li>
5773
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1197">line 1197</a>
5773
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1048">line 1048</a>
5774
5774
  </li></ul></dd>
5775
5775
 
5776
5776
 
@@ -5929,7 +5929,7 @@ These are linked through content that shares a license with the provided railcon
5929
5929
 
5930
5930
  <dt class="tag-source">Source:</dt>
5931
5931
  <dd class="tag-source"><ul class="dummy"><li>
5932
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1358">line 1358</a>
5932
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1199">line 1199</a>
5933
5933
  </li></ul></dd>
5934
5934
 
5935
5935
 
@@ -6113,7 +6113,7 @@ These are linked through content that shares a license with the provided railcon
6113
6113
 
6114
6114
  <dt class="tag-source">Source:</dt>
6115
6115
  <dd class="tag-source"><ul class="dummy"><li>
6116
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1481">line 1481</a>
6116
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1363">line 1363</a>
6117
6117
  </li></ul></dd>
6118
6118
 
6119
6119
 
@@ -6271,7 +6271,7 @@ These are linked through content that shares a license with the provided railcon
6271
6271
 
6272
6272
  <dt class="tag-source">Source:</dt>
6273
6273
  <dd class="tag-source"><ul class="dummy"><li>
6274
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1569">line 1569</a>
6274
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1452">line 1452</a>
6275
6275
  </li></ul></dd>
6276
6276
 
6277
6277
 
@@ -6319,7 +6319,7 @@ These are linked through content that shares a license with the provided railcon
6319
6319
  <h5 class="h5-examples">Example</h5>
6320
6320
 
6321
6321
  <pre class="prettyprint"><code>fetchPackData(404048)
6322
- .then(challenge => console.log(challenge))
6322
+ .then(pack => console.log(pack))
6323
6323
  .catch(error => console.error(error));</code></pre>
6324
6324
 
6325
6325
 
@@ -6420,172 +6420,7 @@ These are linked through content that shares a license with the provided railcon
6420
6420
 
6421
6421
 
6422
6422
 
6423
- <h4 class="name" id=".fetchParentForDownload"><span class="type-signature type-signature-static">(static) </span>fetchParentForDownload<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
6424
-
6425
-
6426
-
6427
-
6428
-
6429
-
6430
- <dl class="details">
6431
-
6432
- <dt class="tag-description">Description:</dt>
6433
- <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the Course Overview screen.</li></ul></dd>
6434
-
6435
-
6436
-
6437
- <dt class="tag-source">Source:</dt>
6438
- <dd class="tag-source"><ul class="dummy"><li>
6439
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1625">line 1625</a>
6440
- </li></ul></dd>
6441
-
6442
-
6443
-
6444
-
6445
-
6446
-
6447
-
6448
-
6449
-
6450
-
6451
-
6452
-
6453
-
6454
-
6455
-
6456
-
6457
-
6458
-
6459
-
6460
-
6461
-
6462
-
6463
-
6464
-
6465
-
6466
-
6467
-
6468
-
6469
-
6470
-
6471
-
6472
- </dl>
6473
-
6474
-
6475
-
6476
-
6477
-
6478
-
6479
-
6480
-
6481
-
6482
-
6483
-
6484
- <h5 class="h5-examples">Example</h5>
6485
-
6486
- <pre class="prettyprint"><code>fetchParentForDownload('course123')
6487
- .then(course => console.log(course))
6488
- .catch(error => console.error(error));</code></pre>
6489
-
6490
-
6491
-
6492
-
6493
- <h5 class="h5-parameters">Parameters:</h5>
6494
-
6495
-
6496
- <table class="params">
6497
- <thead>
6498
- <tr>
6499
-
6500
- <th>Name</th>
6501
-
6502
-
6503
- <th>Type</th>
6504
-
6505
-
6506
-
6507
-
6508
-
6509
- <th class="last">Description</th>
6510
- </tr>
6511
- </thead>
6512
-
6513
- <tbody>
6514
-
6515
-
6516
- <tr>
6517
-
6518
- <td class="name"><code>id</code></td>
6519
-
6520
-
6521
- <td class="type">
6522
-
6523
-
6524
- <span class="param-type">string</span>
6525
-
6526
-
6527
-
6528
-
6529
- </td>
6530
-
6531
-
6532
-
6533
-
6534
-
6535
- <td class="description last">The Railcontent ID of the course</td>
6536
- </tr>
6537
-
6538
-
6539
- </tbody>
6540
- </table>
6541
-
6542
-
6543
-
6544
-
6545
-
6546
-
6547
-
6548
-
6549
-
6550
-
6551
-
6552
-
6553
-
6554
-
6555
-
6556
-
6557
- <h5 class="h5-returns">Returns:</h5>
6558
-
6559
-
6560
- <div class="param-desc">
6561
- - The course information and lessons or null if not found.
6562
- </div>
6563
-
6564
-
6565
-
6566
- <dl class="param-type">
6567
- <dt>
6568
- Type
6569
- </dt>
6570
- <dd>
6571
-
6572
- <span class="param-type">Promise.&lt;(Object|null)></span>
6573
-
6574
-
6575
-
6576
- </dd>
6577
- </dl>
6578
-
6579
-
6580
-
6581
-
6582
-
6583
-
6584
-
6585
-
6586
-
6587
-
6588
- <h4 class="name" id=".fetchRelatedLessons"><span class="type-signature type-signature-static">(static) </span>fetchRelatedLessons<span class="signature">(railContentId, brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
6423
+ <h4 class="name" id=".fetchRelatedLessons"><span class="type-signature type-signature-static">(static) </span>fetchRelatedLessons<span class="signature">(railContentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
6589
6424
 
6590
6425
 
6591
6426
 
@@ -6595,13 +6430,13 @@ These are linked through content that shares a license with the provided railcon
6595
6430
  <dl class="details">
6596
6431
 
6597
6432
  <dt class="tag-description">Description:</dt>
6598
- <dd class="tag-description"><ul class="dummy"><li>Fetch related lessons for a specific lesson by RailContent ID and type.</li></ul></dd>
6433
+ <dd class="tag-description"><ul class="dummy"><li>Fetch lessons related to a specific lesson by RailContent ID and type.</li></ul></dd>
6599
6434
 
6600
6435
 
6601
6436
 
6602
6437
  <dt class="tag-source">Source:</dt>
6603
6438
  <dd class="tag-source"><ul class="dummy"><li>
6604
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1414">line 1414</a>
6439
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1303">line 1303</a>
6605
6440
  </li></ul></dd>
6606
6441
 
6607
6442
 
@@ -6694,30 +6529,6 @@ These are linked through content that shares a license with the provided railcon
6694
6529
  </tr>
6695
6530
 
6696
6531
 
6697
-
6698
- <tr>
6699
-
6700
- <td class="name"><code>brand</code></td>
6701
-
6702
-
6703
- <td class="type">
6704
-
6705
-
6706
- <span class="param-type">string</span>
6707
-
6708
-
6709
-
6710
-
6711
- </td>
6712
-
6713
-
6714
-
6715
-
6716
-
6717
- <td class="description last">The current brand.</td>
6718
- </tr>
6719
-
6720
-
6721
6532
  </tbody>
6722
6533
  </table>
6723
6534
 
@@ -6767,7 +6578,7 @@ These are linked through content that shares a license with the provided railcon
6767
6578
 
6768
6579
 
6769
6580
 
6770
- <h4 class="name" id=".fetchRelatedRecommendedContent"><span class="type-signature type-signature-static">(static) </span>fetchRelatedRecommendedContent<span class="signature">(railContentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
6581
+ <h4 class="name" id=".fetchRelatedRecommendedContent"><span class="type-signature type-signature-static">(static) </span>fetchRelatedRecommendedContent<span class="signature">(railContentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
6771
6582
 
6772
6583
 
6773
6584
 
@@ -6776,11 +6587,15 @@ These are linked through content that shares a license with the provided railcon
6776
6587
 
6777
6588
  <dl class="details">
6778
6589
 
6590
+ <dt class="tag-description">Description:</dt>
6591
+ <dd class="tag-description"><ul class="dummy"><li>Returns a list of recommended content based on the provided railContentId.
6592
+ If no recommendations found in recsys, falls back to fetching related lessons.</li></ul></dd>
6593
+
6779
6594
 
6780
6595
 
6781
6596
  <dt class="tag-source">Source:</dt>
6782
6597
  <dd class="tag-source"><ul class="dummy"><li>
6783
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1344">line 1344</a>
6598
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1179">line 1179</a>
6784
6599
  </li></ul></dd>
6785
6600
 
6786
6601
 
@@ -6932,7 +6747,7 @@ These are linked through content that shares a license with the provided railcon
6932
6747
  </dt>
6933
6748
  <dd>
6934
6749
 
6935
- <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
6750
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
6936
6751
 
6937
6752
 
6938
6753
 
@@ -6964,7 +6779,7 @@ These are linked through content that shares a license with the provided railcon
6964
6779
 
6965
6780
  <dt class="tag-source">Source:</dt>
6966
6781
  <dd class="tag-source"><ul class="dummy"><li>
6967
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line265">line 265</a>
6782
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line235">line 235</a>
6968
6783
  </li></ul></dd>
6969
6784
 
6970
6785
 
@@ -7153,7 +6968,7 @@ These are linked through content that shares a license with the provided railcon
7153
6968
 
7154
6969
  <dt class="tag-source">Source:</dt>
7155
6970
  <dd class="tag-source"><ul class="dummy"><li>
7156
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line101">line 101</a>
6971
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line105">line 105</a>
7157
6972
  </li></ul></dd>
7158
6973
 
7159
6974
 
@@ -7254,7 +7069,7 @@ These are linked through content that shares a license with the provided railcon
7254
7069
 
7255
7070
  <dt class="tag-source">Source:</dt>
7256
7071
  <dd class="tag-source"><ul class="dummy"><li>
7257
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1915">line 1915</a>
7072
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1777">line 1777</a>
7258
7073
  </li></ul></dd>
7259
7074
 
7260
7075
 
@@ -7552,7 +7367,7 @@ fetchSanity(query, true)
7552
7367
 
7553
7368
  <dt class="tag-source">Source:</dt>
7554
7369
  <dd class="tag-source"><ul class="dummy"><li>
7555
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line437">line 437</a>
7370
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line402">line 402</a>
7556
7371
  </li></ul></dd>
7557
7372
 
7558
7373
 
@@ -7720,7 +7535,7 @@ fetchSanity(query, true)
7720
7535
 
7721
7536
  <dt class="tag-source">Source:</dt>
7722
7537
  <dd class="tag-source"><ul class="dummy"><li>
7723
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2033">line 2033</a>
7538
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1891">line 1891</a>
7724
7539
  </li></ul></dd>
7725
7540
 
7726
7541
 
@@ -7859,7 +7674,7 @@ fetchSanity(query, true)
7859
7674
 
7860
7675
 
7861
7676
 
7862
- <h4 class="name" id=".fetchSongArtistCount"><span class="type-signature type-signature-static">(static) </span>fetchSongArtistCount<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(int|null)>}</span></h4>
7677
+ <h4 class="name" id=".fetchSiblingContent"><span class="type-signature type-signature-static">(static) </span>fetchSiblingContent<span class="signature">(railContentId, brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
7863
7678
 
7864
7679
 
7865
7680
 
@@ -7869,13 +7684,13 @@ fetchSanity(query, true)
7869
7684
  <dl class="details">
7870
7685
 
7871
7686
  <dt class="tag-description">Description:</dt>
7872
- <dd class="tag-description"><ul class="dummy"><li>Fetch current number of artists for songs within a brand.</li></ul></dd>
7687
+ <dd class="tag-description"><ul class="dummy"><li>Fetch sibling lessons to a specific lesson</li></ul></dd>
7873
7688
 
7874
7689
 
7875
7690
 
7876
7691
  <dt class="tag-source">Source:</dt>
7877
7692
  <dd class="tag-source"><ul class="dummy"><li>
7878
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line223">line 223</a>
7693
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1255">line 1255</a>
7879
7694
  </li></ul></dd>
7880
7695
 
7881
7696
 
@@ -7945,6 +7760,30 @@ fetchSanity(query, true)
7945
7760
  <tbody>
7946
7761
 
7947
7762
 
7763
+ <tr>
7764
+
7765
+ <td class="name"><code>railContentId</code></td>
7766
+
7767
+
7768
+ <td class="type">
7769
+
7770
+
7771
+ <span class="param-type">string</span>
7772
+
7773
+
7774
+
7775
+
7776
+ </td>
7777
+
7778
+
7779
+
7780
+
7781
+
7782
+ <td class="description last">The RailContent ID of the current lesson.</td>
7783
+ </tr>
7784
+
7785
+
7786
+
7948
7787
  <tr>
7949
7788
 
7950
7789
  <td class="name"><code>brand</code></td>
@@ -7990,7 +7829,7 @@ fetchSanity(query, true)
7990
7829
 
7991
7830
 
7992
7831
  <div class="param-desc">
7993
- - The fetched count of artists.
7832
+ - The fetched related lessons data or null if not found.
7994
7833
  </div>
7995
7834
 
7996
7835
 
@@ -8001,7 +7840,7 @@ fetchSanity(query, true)
8001
7840
  </dt>
8002
7841
  <dd>
8003
7842
 
8004
- <span class="param-type">Promise.&lt;(int|null)></span>
7843
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
8005
7844
 
8006
7845
 
8007
7846
 
@@ -8017,7 +7856,7 @@ fetchSanity(query, true)
8017
7856
 
8018
7857
 
8019
7858
 
8020
- <h4 class="name" id=".fetchSongById"><span class="type-signature type-signature-static">(static) </span>fetchSongById<span class="signature">(documentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
7859
+ <h4 class="name" id=".fetchSongArtistCount"><span class="type-signature type-signature-static">(static) </span>fetchSongArtistCount<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(int|null)>}</span></h4>
8021
7860
 
8022
7861
 
8023
7862
 
@@ -8027,13 +7866,13 @@ fetchSanity(query, true)
8027
7866
  <dl class="details">
8028
7867
 
8029
7868
  <dt class="tag-description">Description:</dt>
8030
- <dd class="tag-description"><ul class="dummy"><li>Fetch a song by its document ID from Sanity.</li></ul></dd>
7869
+ <dd class="tag-description"><ul class="dummy"><li>Fetch current number of artists for songs within a brand.</li></ul></dd>
8031
7870
 
8032
7871
 
8033
7872
 
8034
7873
  <dt class="tag-source">Source:</dt>
8035
7874
  <dd class="tag-source"><ul class="dummy"><li>
8036
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line53">line 53</a>
7875
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line193">line 193</a>
8037
7876
  </li></ul></dd>
8038
7877
 
8039
7878
 
@@ -8078,13 +7917,6 @@ fetchSanity(query, true)
8078
7917
 
8079
7918
 
8080
7919
 
8081
- <h5 class="h5-examples">Example</h5>
8082
-
8083
- <pre class="prettyprint"><code>fetchSongById('abc123')
8084
- .then(song => console.log(song))
8085
- .catch(error => console.error(error));</code></pre>
8086
-
8087
-
8088
7920
 
8089
7921
 
8090
7922
  <h5 class="h5-parameters">Parameters:</h5>
@@ -8112,7 +7944,7 @@ fetchSanity(query, true)
8112
7944
 
8113
7945
  <tr>
8114
7946
 
8115
- <td class="name"><code>documentId</code></td>
7947
+ <td class="name"><code>brand</code></td>
8116
7948
 
8117
7949
 
8118
7950
  <td class="type">
@@ -8129,7 +7961,7 @@ fetchSanity(query, true)
8129
7961
 
8130
7962
 
8131
7963
 
8132
- <td class="description last">The ID of the document to fetch.</td>
7964
+ <td class="description last">The current brand.</td>
8133
7965
  </tr>
8134
7966
 
8135
7967
 
@@ -8155,7 +7987,7 @@ fetchSanity(query, true)
8155
7987
 
8156
7988
 
8157
7989
  <div class="param-desc">
8158
- - A promise that resolves to an object containing the song data or null if not found.
7990
+ - The fetched count of artists.
8159
7991
  </div>
8160
7992
 
8161
7993
 
@@ -8166,7 +7998,7 @@ fetchSanity(query, true)
8166
7998
  </dt>
8167
7999
  <dd>
8168
8000
 
8169
- <span class="param-type">Promise.&lt;(Object|null)></span>
8001
+ <span class="param-type">Promise.&lt;(int|null)></span>
8170
8002
 
8171
8003
 
8172
8004
 
@@ -8182,7 +8014,7 @@ fetchSanity(query, true)
8182
8014
 
8183
8015
 
8184
8016
 
8185
- <h4 class="name" id=".fetchUpcomingEvents"><span class="type-signature type-signature-static">(static) </span>fetchUpcomingEvents<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
8017
+ <h4 class="name" id=".fetchSongById"><span class="type-signature type-signature-static">(static) </span>fetchSongById<span class="signature">(documentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
8186
8018
 
8187
8019
 
8188
8020
 
@@ -8192,13 +8024,13 @@ fetchSanity(query, true)
8192
8024
  <dl class="details">
8193
8025
 
8194
8026
  <dt class="tag-description">Description:</dt>
8195
- <dd class="tag-description"><ul class="dummy"><li>Fetch upcoming events for a specific brand.</li></ul></dd>
8027
+ <dd class="tag-description"><ul class="dummy"><li>Fetch a song by its document ID from Sanity.</li></ul></dd>
8196
8028
 
8197
8029
 
8198
8030
 
8199
8031
  <dt class="tag-source">Source:</dt>
8200
8032
  <dd class="tag-source"><ul class="dummy"><li>
8201
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line390">line 390</a>
8033
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line56">line 56</a>
8202
8034
  </li></ul></dd>
8203
8035
 
8204
8036
 
@@ -8245,11 +8077,8 @@ fetchSanity(query, true)
8245
8077
 
8246
8078
  <h5 class="h5-examples">Example</h5>
8247
8079
 
8248
- <pre class="prettyprint"><code>fetchUpcomingEvents('drumeo', {
8249
- page: 2,
8250
- limit: 20,
8251
- })
8252
- .then(events => console.log(events))
8080
+ <pre class="prettyprint"><code>fetchSongById('abc123')
8081
+ .then(song => console.log(song))
8253
8082
  .catch(error => console.error(error));</code></pre>
8254
8083
 
8255
8084
 
@@ -8280,7 +8109,7 @@ fetchSanity(query, true)
8280
8109
 
8281
8110
  <tr>
8282
8111
 
8283
- <td class="name"><code>brand</code></td>
8112
+ <td class="name"><code>documentId</code></td>
8284
8113
 
8285
8114
 
8286
8115
  <td class="type">
@@ -8297,7 +8126,7 @@ fetchSanity(query, true)
8297
8126
 
8298
8127
 
8299
8128
 
8300
- <td class="description last">The brand for which to fetch upcoming events.</td>
8129
+ <td class="description last">The ID of the document to fetch.</td>
8301
8130
  </tr>
8302
8131
 
8303
8132
 
@@ -8323,7 +8152,7 @@ fetchSanity(query, true)
8323
8152
 
8324
8153
 
8325
8154
  <div class="param-desc">
8326
- - A promise that resolves to an array of upcoming event objects or null if not found.
8155
+ - A promise that resolves to an object containing the song data or null if not found.
8327
8156
  </div>
8328
8157
 
8329
8158
 
@@ -8350,7 +8179,7 @@ fetchSanity(query, true)
8350
8179
 
8351
8180
 
8352
8181
 
8353
- <h4 class="name" id=".jumpToContinueContent"><span class="type-signature type-signature-static">(static) </span>jumpToContinueContent<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;({next: (Object|null)}|null)>}</span></h4>
8182
+ <h4 class="name" id=".fetchUpcomingEvents"><span class="type-signature type-signature-static">(static) </span>fetchUpcomingEvents<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
8354
8183
 
8355
8184
 
8356
8185
 
@@ -8360,13 +8189,13 @@ fetchSanity(query, true)
8360
8189
  <dl class="details">
8361
8190
 
8362
8191
  <dt class="tag-description">Description:</dt>
8363
- <dd class="tag-description"><ul class="dummy"><li>Fetch the next piece of content under a parent by Railcontent ID</li></ul></dd>
8192
+ <dd class="tag-description"><ul class="dummy"><li>Fetch upcoming events for a specific brand.</li></ul></dd>
8364
8193
 
8365
8194
 
8366
8195
 
8367
8196
  <dt class="tag-source">Source:</dt>
8368
8197
  <dd class="tag-source"><ul class="dummy"><li>
8369
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1234">line 1234</a>
8198
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line355">line 355</a>
8370
8199
  </li></ul></dd>
8371
8200
 
8372
8201
 
@@ -8413,9 +8242,12 @@ fetchSanity(query, true)
8413
8242
 
8414
8243
  <h5 class="h5-examples">Example</h5>
8415
8244
 
8416
- <pre class="prettyprint"><code>jumpToContinueContent(296693)
8417
- then.(data => { console.log('next', data.next);})
8418
- .catch(error => console.error(error));</code></pre>
8245
+ <pre class="prettyprint"><code>fetchUpcomingEvents('drumeo', {
8246
+ page: 2,
8247
+ limit: 20,
8248
+ })
8249
+ .then(events => console.log(events))
8250
+ .catch(error => console.error(error));</code></pre>
8419
8251
 
8420
8252
 
8421
8253
 
@@ -8445,13 +8277,13 @@ fetchSanity(query, true)
8445
8277
 
8446
8278
  <tr>
8447
8279
 
8448
- <td class="name"><code>railcontentId</code></td>
8280
+ <td class="name"><code>brand</code></td>
8449
8281
 
8450
8282
 
8451
8283
  <td class="type">
8452
8284
 
8453
8285
 
8454
- <span class="param-type">int</span>
8286
+ <span class="param-type">string</span>
8455
8287
 
8456
8288
 
8457
8289
 
@@ -8462,7 +8294,7 @@ fetchSanity(query, true)
8462
8294
 
8463
8295
 
8464
8296
 
8465
- <td class="description last">The Railcontent ID of the parent content</td>
8297
+ <td class="description last">The brand for which to fetch upcoming events.</td>
8466
8298
  </tr>
8467
8299
 
8468
8300
 
@@ -8488,7 +8320,7 @@ fetchSanity(query, true)
8488
8320
 
8489
8321
 
8490
8322
  <div class="param-desc">
8491
- - object with 'next' attribute
8323
+ - A promise that resolves to an array of upcoming event objects or null if not found.
8492
8324
  </div>
8493
8325
 
8494
8326
 
@@ -8499,7 +8331,7 @@ fetchSanity(query, true)
8499
8331
  </dt>
8500
8332
  <dd>
8501
8333
 
8502
- <span class="param-type">Promise.&lt;({next: (Object|null)}|null)></span>
8334
+ <span class="param-type">Promise.&lt;(Object|null)></span>
8503
8335
 
8504
8336
 
8505
8337
 
@@ -8515,7 +8347,7 @@ fetchSanity(query, true)
8515
8347
 
8516
8348
 
8517
8349
 
8518
- <h4 class="name" id="~fetchRelatedByLicense"><span class="type-signature type-signature-async, inner">(async, inner) </span>fetchRelatedByLicense<span class="signature">(railcontentId, brand, onlyUseSongTypes, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
8350
+ <h4 class="name" id=".jumpToContinueContent"><span class="type-signature type-signature-static">(static) </span>jumpToContinueContent<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;({next: (Object|null)}|null)>}</span></h4>
8519
8351
 
8520
8352
 
8521
8353
 
@@ -8525,13 +8357,13 @@ fetchSanity(query, true)
8525
8357
  <dl class="details">
8526
8358
 
8527
8359
  <dt class="tag-description">Description:</dt>
8528
- <dd class="tag-description"><ul class="dummy"><li>Get content documents that share license information with the provided railcontent id</li></ul></dd>
8360
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the next piece of content under a parent by Railcontent ID</li></ul></dd>
8529
8361
 
8530
8362
 
8531
8363
 
8532
8364
  <dt class="tag-source">Source:</dt>
8533
8365
  <dd class="tag-source"><ul class="dummy"><li>
8534
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1384">line 1384</a>
8366
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1085">line 1085</a>
8535
8367
  </li></ul></dd>
8536
8368
 
8537
8369
 
@@ -8576,6 +8408,13 @@ fetchSanity(query, true)
8576
8408
 
8577
8409
 
8578
8410
 
8411
+ <h5 class="h5-examples">Example</h5>
8412
+
8413
+ <pre class="prettyprint"><code>jumpToContinueContent(296693)
8414
+ then.(data => { console.log('next', data.next);})
8415
+ .catch(error => console.error(error));</code></pre>
8416
+
8417
+
8579
8418
 
8580
8419
 
8581
8420
  <h5 class="h5-parameters">Parameters:</h5>
@@ -8609,79 +8448,7 @@ fetchSanity(query, true)
8609
8448
  <td class="type">
8610
8449
 
8611
8450
 
8612
- <span class="param-type">integer</span>
8613
-
8614
-
8615
-
8616
-
8617
- </td>
8618
-
8619
-
8620
-
8621
-
8622
-
8623
- <td class="description last"></td>
8624
- </tr>
8625
-
8626
-
8627
-
8628
- <tr>
8629
-
8630
- <td class="name"><code>brand</code></td>
8631
-
8632
-
8633
- <td class="type">
8634
-
8635
-
8636
- <span class="param-type">string</span>
8637
-
8638
-
8639
-
8640
-
8641
- </td>
8642
-
8643
-
8644
-
8645
-
8646
-
8647
- <td class="description last"></td>
8648
- </tr>
8649
-
8650
-
8651
-
8652
- <tr>
8653
-
8654
- <td class="name"><code>onlyUseSongTypes</code></td>
8655
-
8656
-
8657
- <td class="type">
8658
-
8659
-
8660
- <span class="param-type">boolean</span>
8661
-
8662
-
8663
-
8664
-
8665
- </td>
8666
-
8667
-
8668
-
8669
-
8670
-
8671
- <td class="description last">if true, only return the song type documents. If false, return everything except those</td>
8672
- </tr>
8673
-
8674
-
8675
-
8676
- <tr>
8677
-
8678
- <td class="name"><code>count</code></td>
8679
-
8680
-
8681
- <td class="type">
8682
-
8683
-
8684
- <span class="param-type">integer:3</span>
8451
+ <span class="param-type">int</span>
8685
8452
 
8686
8453
 
8687
8454
 
@@ -8692,7 +8459,7 @@ fetchSanity(query, true)
8692
8459
 
8693
8460
 
8694
8461
 
8695
- <td class="description last"></td>
8462
+ <td class="description last">The Railcontent ID of the parent content</td>
8696
8463
  </tr>
8697
8464
 
8698
8465
 
@@ -8717,6 +8484,10 @@ fetchSanity(query, true)
8717
8484
  <h5 class="h5-returns">Returns:</h5>
8718
8485
 
8719
8486
 
8487
+ <div class="param-desc">
8488
+ - object with 'next' attribute
8489
+ </div>
8490
+
8720
8491
 
8721
8492
 
8722
8493
  <dl class="param-type">
@@ -8725,7 +8496,7 @@ fetchSanity(query, true)
8725
8496
  </dt>
8726
8497
  <dd>
8727
8498
 
8728
- <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
8499
+ <span class="param-type">Promise.&lt;({next: (Object|null)}|null)></span>
8729
8500
 
8730
8501
 
8731
8502
 
@@ -8741,7 +8512,7 @@ fetchSanity(query, true)
8741
8512
 
8742
8513
 
8743
8514
 
8744
- <h4 class="name" id="~getNextAndPreviousQuarterDates"><span class="type-signature type-signature-inner">(inner) </span>getNextAndPreviousQuarterDates<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;string>}</span></h4>
8515
+ <h4 class="name" id="~fetchRelatedByLicense"><span class="type-signature type-signature-async, inner">(async, inner) </span>fetchRelatedByLicense<span class="signature">(railcontentId, brand, onlyUseSongTypes, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
8745
8516
 
8746
8517
 
8747
8518
 
@@ -8751,13 +8522,13 @@ fetchSanity(query, true)
8751
8522
  <dl class="details">
8752
8523
 
8753
8524
  <dt class="tag-description">Description:</dt>
8754
- <dd class="tag-description"><ul class="dummy"><li>returns array of next and previous quarter dates as strings</li></ul></dd>
8525
+ <dd class="tag-description"><ul class="dummy"><li>Get content documents that share license information with the provided railcontent id</li></ul></dd>
8755
8526
 
8756
8527
 
8757
8528
 
8758
8529
  <dt class="tag-source">Source:</dt>
8759
8530
  <dd class="tag-source"><ul class="dummy"><li>
8760
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line164">line 164</a>
8531
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1225">line 1225</a>
8761
8532
  </li></ul></dd>
8762
8533
 
8763
8534
 
@@ -8804,105 +8575,126 @@ fetchSanity(query, true)
8804
8575
 
8805
8576
 
8806
8577
 
8578
+ <h5 class="h5-parameters">Parameters:</h5>
8579
+
8807
8580
 
8808
-
8809
-
8810
-
8811
-
8812
-
8813
-
8814
-
8815
-
8816
-
8817
-
8818
-
8819
-
8820
-
8821
- <h5 class="h5-returns">Returns:</h5>
8822
-
8581
+ <table class="params">
8582
+ <thead>
8583
+ <tr>
8584
+
8585
+ <th>Name</th>
8823
8586
 
8824
8587
 
8588
+ <th>Type</th>
8825
8589
 
8826
- <dl class="param-type">
8827
- <dt>
8828
- Type
8829
- </dt>
8830
- <dd>
8831
8590
 
8832
- <span class="param-type">Array.&lt;string></span>
8833
-
8834
8591
 
8592
+
8835
8593
 
8836
- </dd>
8837
- </dl>
8594
+ <th class="last">Description</th>
8595
+ </tr>
8596
+ </thead>
8838
8597
 
8598
+ <tbody>
8839
8599
 
8840
8600
 
8601
+ <tr>
8602
+
8603
+ <td class="name"><code>railcontentId</code></td>
8604
+
8841
8605
 
8842
-
8843
-
8606
+ <td class="type">
8844
8607
 
8608
+
8609
+ <span class="param-type">integer</span>
8845
8610
 
8846
-
8847
8611
 
8848
- <h4 class="name" id="~getQueryFromPage"><span class="type-signature type-signature-inner">(inner) </span>getQueryFromPage<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
8849
8612
 
8850
-
8613
+
8614
+ </td>
8851
8615
 
8616
+
8852
8617
 
8618
+
8853
8619
 
8620
+ <td class="description last"></td>
8621
+ </tr>
8854
8622
 
8855
- <dl class="details">
8856
8623
 
8857
8624
 
8858
-
8859
- <dt class="tag-source">Source:</dt>
8860
- <dd class="tag-source"><ul class="dummy"><li>
8861
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line150">line 150</a>
8862
- </li></ul></dd>
8863
-
8625
+ <tr>
8626
+
8627
+ <td class="name"><code>brand</code></td>
8628
+
8864
8629
 
8865
-
8630
+ <td class="type">
8631
+
8632
+
8633
+ <span class="param-type">string</span>
8866
8634
 
8867
-
8868
8635
 
8869
-
8870
8636
 
8871
-
8637
+
8638
+ </td>
8872
8639
 
8873
-
8640
+
8874
8641
 
8875
-
8642
+
8876
8643
 
8877
-
8644
+ <td class="description last"></td>
8645
+ </tr>
8878
8646
 
8879
8647
 
8880
8648
 
8881
-
8649
+ <tr>
8650
+
8651
+ <td class="name"><code>onlyUseSongTypes</code></td>
8652
+
8882
8653
 
8883
-
8654
+ <td class="type">
8655
+
8656
+
8657
+ <span class="param-type">boolean</span>
8884
8658
 
8885
-
8886
8659
 
8887
-
8888
8660
 
8889
-
8661
+
8662
+ </td>
8890
8663
 
8891
-
8664
+
8892
8665
 
8893
-
8894
- </dl>
8666
+
8895
8667
 
8668
+ <td class="description last">if true, only return the song type documents. If false, return everything except those</td>
8669
+ </tr>
8896
8670
 
8671
+
8897
8672
 
8673
+ <tr>
8674
+
8675
+ <td class="name"><code>count</code></td>
8676
+
8898
8677
 
8678
+ <td class="type">
8679
+
8680
+
8681
+ <span class="param-type">integer:3</span>
8899
8682
 
8900
8683
 
8901
8684
 
8685
+
8686
+ </td>
8902
8687
 
8688
+
8903
8689
 
8690
+
8904
8691
 
8692
+ <td class="description last"></td>
8693
+ </tr>
8905
8694
 
8695
+
8696
+ </tbody>
8697
+ </table>
8906
8698
 
8907
8699
 
8908
8700
 
@@ -8930,7 +8722,7 @@ fetchSanity(query, true)
8930
8722
  </dt>
8931
8723
  <dd>
8932
8724
 
8933
- <span class="param-type">Array.&lt;number></span>
8725
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
8934
8726
 
8935
8727
 
8936
8728
 
@@ -8946,7 +8738,7 @@ fetchSanity(query, true)
8946
8738
 
8947
8739
 
8948
8740
 
8949
- <h4 class="name" id="~handleCustomFetchAll"><span class="type-signature type-signature-async, inner">(async, inner) </span>handleCustomFetchAll<span class="signature">(brand, type, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
8741
+ <h4 class="name" id="~getQueryFromPage"><span class="type-signature type-signature-inner">(inner) </span>getQueryFromPage<span class="signature">()</span><span class="type-signature"> &rarr; {Array.&lt;number>}</span></h4>
8950
8742
 
8951
8743
 
8952
8744
 
@@ -8955,14 +8747,11 @@ fetchSanity(query, true)
8955
8747
 
8956
8748
  <dl class="details">
8957
8749
 
8958
- <dt class="tag-description">Description:</dt>
8959
- <dd class="tag-description"><ul class="dummy"><li>Fetch all content that requires custom handling or a distinct external call</li></ul></dd>
8960
-
8961
8750
 
8962
8751
 
8963
8752
  <dt class="tag-source">Source:</dt>
8964
8753
  <dd class="tag-source"><ul class="dummy"><li>
8965
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line745">line 745</a>
8754
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line155">line 155</a>
8966
8755
  </li></ul></dd>
8967
8756
 
8968
8757
 
@@ -9009,532 +8798,6 @@ fetchSanity(query, true)
9009
8798
 
9010
8799
 
9011
8800
 
9012
- <h5 class="h5-parameters">Parameters:</h5>
9013
-
9014
-
9015
- <table class="params">
9016
- <thead>
9017
- <tr>
9018
-
9019
- <th>Name</th>
9020
-
9021
-
9022
- <th>Type</th>
9023
-
9024
-
9025
-
9026
-
9027
-
9028
- <th class="last">Description</th>
9029
- </tr>
9030
- </thead>
9031
-
9032
- <tbody>
9033
-
9034
-
9035
- <tr>
9036
-
9037
- <td class="name"><code>brand</code></td>
9038
-
9039
-
9040
- <td class="type">
9041
-
9042
-
9043
- <span class="param-type">string</span>
9044
-
9045
-
9046
-
9047
-
9048
- </td>
9049
-
9050
-
9051
-
9052
-
9053
-
9054
- <td class="description last">The brand for which to fetch content.</td>
9055
- </tr>
9056
-
9057
-
9058
-
9059
- <tr>
9060
-
9061
- <td class="name"><code>type</code></td>
9062
-
9063
-
9064
- <td class="type">
9065
-
9066
-
9067
- <span class="param-type">string</span>
9068
-
9069
-
9070
-
9071
-
9072
- </td>
9073
-
9074
-
9075
-
9076
-
9077
-
9078
- <td class="description last">The content type to fetch (e.g., 'song', 'artist').</td>
9079
- </tr>
9080
-
9081
-
9082
-
9083
- <tr>
9084
-
9085
- <td class="name"><code>params</code></td>
9086
-
9087
-
9088
- <td class="type">
9089
-
9090
-
9091
- <span class="param-type">Object</span>
9092
-
9093
-
9094
-
9095
-
9096
- </td>
9097
-
9098
-
9099
-
9100
-
9101
-
9102
- <td class="description last">Parameters for pagination, filtering, sorting, and grouping.
9103
- <h6>Properties</h6>
9104
-
9105
-
9106
- <table class="params">
9107
- <thead>
9108
- <tr>
9109
-
9110
- <th>Name</th>
9111
-
9112
-
9113
- <th>Type</th>
9114
-
9115
-
9116
- <th>Attributes</th>
9117
-
9118
-
9119
-
9120
- <th>Default</th>
9121
-
9122
-
9123
- <th class="last">Description</th>
9124
- </tr>
9125
- </thead>
9126
-
9127
- <tbody>
9128
-
9129
-
9130
- <tr>
9131
-
9132
- <td class="name"><code>page</code></td>
9133
-
9134
-
9135
- <td class="type">
9136
-
9137
-
9138
- <span class="param-type">number</span>
9139
-
9140
-
9141
-
9142
-
9143
- </td>
9144
-
9145
-
9146
- <td class="attributes">
9147
-
9148
- &lt;optional><br>
9149
-
9150
-
9151
-
9152
-
9153
-
9154
- </td>
9155
-
9156
-
9157
-
9158
- <td class="default">
9159
-
9160
- <code>1</code>
9161
-
9162
- </td>
9163
-
9164
-
9165
- <td class="description last">The page number for pagination.</td>
9166
- </tr>
9167
-
9168
-
9169
-
9170
- <tr>
9171
-
9172
- <td class="name"><code>limit</code></td>
9173
-
9174
-
9175
- <td class="type">
9176
-
9177
-
9178
- <span class="param-type">number</span>
9179
-
9180
-
9181
-
9182
-
9183
- </td>
9184
-
9185
-
9186
- <td class="attributes">
9187
-
9188
- &lt;optional><br>
9189
-
9190
-
9191
-
9192
-
9193
-
9194
- </td>
9195
-
9196
-
9197
-
9198
- <td class="default">
9199
-
9200
- <code>10</code>
9201
-
9202
- </td>
9203
-
9204
-
9205
- <td class="description last">The number of items per page.</td>
9206
- </tr>
9207
-
9208
-
9209
-
9210
- <tr>
9211
-
9212
- <td class="name"><code>searchTerm</code></td>
9213
-
9214
-
9215
- <td class="type">
9216
-
9217
-
9218
- <span class="param-type">string</span>
9219
-
9220
-
9221
-
9222
-
9223
- </td>
9224
-
9225
-
9226
- <td class="attributes">
9227
-
9228
- &lt;optional><br>
9229
-
9230
-
9231
-
9232
-
9233
-
9234
- </td>
9235
-
9236
-
9237
-
9238
- <td class="default">
9239
-
9240
- <code>""</code>
9241
-
9242
- </td>
9243
-
9244
-
9245
- <td class="description last">The search term to filter content by title or artist.</td>
9246
- </tr>
9247
-
9248
-
9249
-
9250
- <tr>
9251
-
9252
- <td class="name"><code>sort</code></td>
9253
-
9254
-
9255
- <td class="type">
9256
-
9257
-
9258
- <span class="param-type">string</span>
9259
-
9260
-
9261
-
9262
-
9263
- </td>
9264
-
9265
-
9266
- <td class="attributes">
9267
-
9268
- &lt;optional><br>
9269
-
9270
-
9271
-
9272
-
9273
-
9274
- </td>
9275
-
9276
-
9277
-
9278
- <td class="default">
9279
-
9280
- <code>"-published_on"</code>
9281
-
9282
- </td>
9283
-
9284
-
9285
- <td class="description last">The field to sort the content by.</td>
9286
- </tr>
9287
-
9288
-
9289
-
9290
- <tr>
9291
-
9292
- <td class="name"><code>includedFields</code></td>
9293
-
9294
-
9295
- <td class="type">
9296
-
9297
-
9298
- <span class="param-type">Array.&lt;string></span>
9299
-
9300
-
9301
-
9302
-
9303
- </td>
9304
-
9305
-
9306
- <td class="attributes">
9307
-
9308
- &lt;optional><br>
9309
-
9310
-
9311
-
9312
-
9313
-
9314
- </td>
9315
-
9316
-
9317
-
9318
- <td class="default">
9319
-
9320
- <code>[]</code>
9321
-
9322
- </td>
9323
-
9324
-
9325
- <td class="description last">The fields to include in the query.</td>
9326
- </tr>
9327
-
9328
-
9329
-
9330
- <tr>
9331
-
9332
- <td class="name"><code>groupBy</code></td>
9333
-
9334
-
9335
- <td class="type">
9336
-
9337
-
9338
- <span class="param-type">string</span>
9339
-
9340
-
9341
-
9342
-
9343
- </td>
9344
-
9345
-
9346
- <td class="attributes">
9347
-
9348
- &lt;optional><br>
9349
-
9350
-
9351
-
9352
-
9353
-
9354
- </td>
9355
-
9356
-
9357
-
9358
- <td class="default">
9359
-
9360
- <code>""</code>
9361
-
9362
- </td>
9363
-
9364
-
9365
- <td class="description last">The field to group the results by (e.g., 'artist', 'genre').</td>
9366
- </tr>
9367
-
9368
-
9369
-
9370
- <tr>
9371
-
9372
- <td class="name"><code>progressIds</code></td>
9373
-
9374
-
9375
- <td class="type">
9376
-
9377
-
9378
- <span class="param-type">Array.&lt;string></span>
9379
-
9380
-
9381
-
9382
-
9383
- </td>
9384
-
9385
-
9386
- <td class="attributes">
9387
-
9388
- &lt;optional><br>
9389
-
9390
-
9391
-
9392
-
9393
-
9394
- </td>
9395
-
9396
-
9397
-
9398
- <td class="default">
9399
-
9400
- </td>
9401
-
9402
-
9403
- <td class="description last">An array of railcontent IDs to filter the results by. Used for filtering by progress.</td>
9404
- </tr>
9405
-
9406
-
9407
-
9408
- <tr>
9409
-
9410
- <td class="name"><code>useDefaultFields</code></td>
9411
-
9412
-
9413
- <td class="type">
9414
-
9415
-
9416
- <span class="param-type">boolean</span>
9417
-
9418
-
9419
-
9420
-
9421
- </td>
9422
-
9423
-
9424
- <td class="attributes">
9425
-
9426
- &lt;optional><br>
9427
-
9428
-
9429
-
9430
-
9431
-
9432
- </td>
9433
-
9434
-
9435
-
9436
- <td class="default">
9437
-
9438
- <code>true</code>
9439
-
9440
- </td>
9441
-
9442
-
9443
- <td class="description last">use the default sanity fields for content Type</td>
9444
- </tr>
9445
-
9446
-
9447
-
9448
- <tr>
9449
-
9450
- <td class="name"><code>customFields</code></td>
9451
-
9452
-
9453
- <td class="type">
9454
-
9455
-
9456
- <span class="param-type">Array.&lt;string></span>
9457
-
9458
-
9459
-
9460
-
9461
- </td>
9462
-
9463
-
9464
- <td class="attributes">
9465
-
9466
- &lt;optional><br>
9467
-
9468
-
9469
-
9470
-
9471
-
9472
- </td>
9473
-
9474
-
9475
-
9476
- <td class="default">
9477
-
9478
- <code>[]</code>
9479
-
9480
- </td>
9481
-
9482
-
9483
- <td class="description last">An array of sanity fields to include in the request</td>
9484
- </tr>
9485
-
9486
-
9487
-
9488
- <tr>
9489
-
9490
- <td class="name"><code>progress</code></td>
9491
-
9492
-
9493
- <td class="type">
9494
-
9495
-
9496
- <span class="param-type">string</span>
9497
-
9498
-
9499
-
9500
-
9501
- </td>
9502
-
9503
-
9504
- <td class="attributes">
9505
-
9506
- &lt;optional><br>
9507
-
9508
-
9509
-
9510
-
9511
-
9512
- </td>
9513
-
9514
-
9515
-
9516
- <td class="default">
9517
-
9518
- <code>"all"</code>
9519
-
9520
- </td>
9521
-
9522
-
9523
- <td class="description last">An string representing which progress filter to use ("all", "in progress", "complete", "not started").</td>
9524
- </tr>
9525
-
9526
-
9527
- </tbody>
9528
- </table>
9529
-
9530
- </td>
9531
- </tr>
9532
-
9533
-
9534
- </tbody>
9535
- </table>
9536
-
9537
-
9538
8801
 
9539
8802
 
9540
8803
 
@@ -9552,10 +8815,6 @@ fetchSanity(query, true)
9552
8815
  <h5 class="h5-returns">Returns:</h5>
9553
8816
 
9554
8817
 
9555
- <div class="param-desc">
9556
- - The fetched content data or null if not found.
9557
- </div>
9558
-
9559
8818
 
9560
8819
 
9561
8820
  <dl class="param-type">
@@ -9564,7 +8823,7 @@ fetchSanity(query, true)
9564
8823
  </dt>
9565
8824
  <dd>
9566
8825
 
9567
- <span class="param-type">Promise.&lt;(Object|null)></span>
8826
+ <span class="param-type">Array.&lt;number></span>
9568
8827
 
9569
8828
 
9570
8829
 
@@ -9595,7 +8854,7 @@ fetchSanity(query, true)
9595
8854
  <br class="clear">
9596
8855
 
9597
8856
  <footer>
9598
- 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.
8857
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Oct 02 2025 11:46:05 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9599
8858
  </footer>
9600
8859
 
9601
8860
  <script>prettyPrint();</script>