musora-content-services 2.1.0 → 2.2.0

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 (79) hide show
  1. package/.github/workflows/node.js.yml +0 -0
  2. package/.prettierignore +0 -0
  3. package/.prettierrc +0 -0
  4. package/CHANGELOG.md +9 -0
  5. package/README.md +0 -0
  6. package/babel.config.cjs +0 -0
  7. package/docs/Content-Organization.html +2 -2
  8. package/docs/Gamification.html +245 -0
  9. package/docs/api_types.js.html +97 -0
  10. package/docs/config.js.html +2 -2
  11. package/docs/content-org_playlists-types.js.html +3 -5
  12. package/docs/content-org_playlists.js.html +8 -9
  13. package/docs/content.js.html +2 -2
  14. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  18. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  19. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  20. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  21. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  28. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  29. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  30. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  31. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  32. package/docs/gamification_awards.js.html +664 -0
  33. package/docs/gamification_gamification.js.html +76 -0
  34. package/docs/gamification_types.js.html +98 -0
  35. package/docs/global.html +1441 -153
  36. package/docs/index.html +2 -2
  37. package/docs/module-Awards.html +354 -0
  38. package/docs/module-Config.html +2 -2
  39. package/docs/module-Content-Services-V2.html +2 -2
  40. package/docs/module-Playlists.html +6 -6
  41. package/docs/module-Railcontent-Services.html +33 -194
  42. package/docs/module-Sanity-Services.html +885 -90
  43. package/docs/module-Session-Management.html +2 -2
  44. package/docs/module-User-Permissions.html +2 -2
  45. package/docs/railcontent.js.html +13 -25
  46. package/docs/sanity.js.html +76 -5
  47. package/docs/scripts/collapse.js +0 -0
  48. package/docs/scripts/commonNav.js +0 -0
  49. package/docs/scripts/linenumber.js +0 -0
  50. package/docs/scripts/nav.js +0 -0
  51. package/docs/scripts/polyfill.js +0 -0
  52. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  53. package/docs/scripts/prettify/lang-css.js +0 -0
  54. package/docs/scripts/prettify/prettify.js +0 -0
  55. package/docs/scripts/search.js +0 -0
  56. package/docs/styles/jsdoc.css +0 -0
  57. package/docs/styles/prettify.css +0 -0
  58. package/docs/user_permissions.js.html +3 -3
  59. package/docs/user_sessions.js.html +4 -4
  60. package/docs/user_types.js.html +2 -2
  61. package/jest.config.js +0 -0
  62. package/jsdoc.json +4 -2
  63. package/package.json +1 -1
  64. package/src/index.d.ts +5 -1
  65. package/src/index.js +5 -0
  66. package/src/lib/httpHelper.js +46 -0
  67. package/src/services/api/types.js +25 -0
  68. package/src/services/contentLikes.js +0 -0
  69. package/src/services/gamification/awards.js +592 -0
  70. package/src/services/gamification/gamification.js +4 -0
  71. package/src/services/gamification/types.js +26 -0
  72. package/src/services/railcontent.js +9 -59
  73. package/src/services/recommendations.js +8 -39
  74. package/src/services/sanity.js +12 -14
  75. package/src/services/user/management.js +35 -0
  76. package/test/live/contentProgressLive.test.js +0 -0
  77. package/test/live/railcontentLive.test.js +0 -0
  78. package/test/localStorageMock.js +0 -0
  79. package/test/log.js +0 -0
@@ -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-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-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#.fetchUserPlaylists">fetchUserPlaylists</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#.countAssignmentsAndLessons">countAssignmentsAndLessons</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#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistItem">deletePlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistLike">deletePlaylistLike</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.duplicatePlaylist">duplicatePlaylist</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#.fetchPinnedPlaylists">fetchPinnedPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItem">fetchPlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItems">fetchPlaylistItems</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#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likePlaylist">likePlaylist</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#.pinPlaylist">pinPlaylist</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#.postChallengesCompleteLesson">postChallengesCompleteLesson</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#.reportPlaylist">reportPlaylist</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#.unpinPlaylist">unpinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylistItem">updatePlaylistItem</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#.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#.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#.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#~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-Session-Management.html">Session-Management</a><ul class='methods'><li data-type='method'><a href="module-Session-Management.html#.login">login</a></li><li data-type='method'><a href="module-Session-Management.html#.logout">logout</a></li></ul></li><li><a href="module-User-Permissions.html">User-Permissions</a><ul class='methods'><li data-type='method'><a href="module-User-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-User-Permissions.html#.reset">reset</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="Content-Organization.html">Content-Organization</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-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-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#.fetchUserPlaylists">fetchUserPlaylists</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#.countAssignmentsAndLessons">countAssignmentsAndLessons</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#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistItem">deletePlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistLike">deletePlaylistLike</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.duplicatePlaylist">duplicatePlaylist</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#.fetchPinnedPlaylists">fetchPinnedPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItem">fetchPlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItems">fetchPlaylistItems</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#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likePlaylist">likePlaylist</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#.pinPlaylist">pinPlaylist</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#.reportPlaylist">reportPlaylist</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#.unpinPlaylist">unpinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylistItem">updatePlaylistItem</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-Session-Management.html">Session-Management</a><ul class='methods'><li data-type='method'><a href="module-Session-Management.html#.login">login</a></li><li data-type='method'><a href="module-Session-Management.html#.logout">logout</a></li></ul></li><li><a href="module-User-Permissions.html">User-Permissions</a><ul class='methods'><li data-type='method'><a href="module-User-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-User-Permissions.html#.reset">reset</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="Content-Organization.html">Content-Organization</a></li><li><a href="Gamification.html">Gamification</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#line39">line 39</a>
97
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line40">line 40</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#line567">line 567</a>
185
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line568">line 568</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#line954">line 954</a>
840
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line955">line 955</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#line1361">line 1361</a>
1359
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1433">line 1433</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#line1595">line 1595</a>
1693
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1667">line 1667</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#line204">line 204</a>
2198
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line205">line 205</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#line471">line 471</a>
2363
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line472">line 472</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#line510">line 510</a>
2552
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line511">line 511</a>
2553
2553
  </li></ul></dd>
2554
2554
 
2555
2555
 
@@ -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#line1556">line 1556</a>
2761
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1628">line 1628</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#line1501">line 1501</a>
2926
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1573">line 1573</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#line127">line 127</a>
3369
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line128">line 128</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#line1785">line 1785</a>
3473
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1857">line 1857</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#line1024">line 1024</a>
3631
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1025">line 1025</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#line1655">line 1655</a>
3789
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1727">line 1727</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#line74">line 74</a>
4270
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line75">line 75</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#line1245">line 1245</a>
4374
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1246">line 1246</a>
4375
4375
  </li></ul></dd>
4376
4376
 
4377
4377
 
@@ -4520,6 +4520,209 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4520
4520
 
4521
4521
 
4522
4522
 
4523
+ <h4 class="name" id=".fetchLessonsFeaturingThisContent"><span class="type-signature type-signature-static">(static) </span>fetchLessonsFeaturingThisContent<span class="signature">(railcontentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
4524
+
4525
+
4526
+
4527
+
4528
+
4529
+
4530
+ <dl class="details">
4531
+
4532
+ <dt class="tag-description">Description:</dt>
4533
+ <dd class="tag-description"><ul class="dummy"><li>Get non-song content documents that share content information with the provided railcontent document.
4534
+ These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
4535
+
4536
+
4537
+
4538
+ <dt class="tag-source">Source:</dt>
4539
+ <dd class="tag-source"><ul class="dummy"><li>
4540
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1351">line 1351</a>
4541
+ </li></ul></dd>
4542
+
4543
+
4544
+
4545
+
4546
+
4547
+
4548
+
4549
+
4550
+
4551
+
4552
+
4553
+
4554
+
4555
+
4556
+
4557
+
4558
+
4559
+
4560
+
4561
+
4562
+
4563
+
4564
+
4565
+
4566
+
4567
+
4568
+
4569
+
4570
+
4571
+
4572
+
4573
+ </dl>
4574
+
4575
+
4576
+
4577
+
4578
+
4579
+
4580
+
4581
+
4582
+
4583
+
4584
+
4585
+
4586
+
4587
+ <h5 class="h5-parameters">Parameters:</h5>
4588
+
4589
+
4590
+ <table class="params">
4591
+ <thead>
4592
+ <tr>
4593
+
4594
+ <th>Name</th>
4595
+
4596
+
4597
+ <th>Type</th>
4598
+
4599
+
4600
+
4601
+
4602
+
4603
+ <th class="last">Description</th>
4604
+ </tr>
4605
+ </thead>
4606
+
4607
+ <tbody>
4608
+
4609
+
4610
+ <tr>
4611
+
4612
+ <td class="name"><code>railcontentId</code></td>
4613
+
4614
+
4615
+ <td class="type">
4616
+
4617
+
4618
+ <span class="param-type">integer</span>
4619
+
4620
+
4621
+
4622
+
4623
+ </td>
4624
+
4625
+
4626
+
4627
+
4628
+
4629
+ <td class="description last"></td>
4630
+ </tr>
4631
+
4632
+
4633
+
4634
+ <tr>
4635
+
4636
+ <td class="name"><code>brand</code></td>
4637
+
4638
+
4639
+ <td class="type">
4640
+
4641
+
4642
+ <span class="param-type">string</span>
4643
+
4644
+
4645
+
4646
+
4647
+ </td>
4648
+
4649
+
4650
+
4651
+
4652
+
4653
+ <td class="description last"></td>
4654
+ </tr>
4655
+
4656
+
4657
+
4658
+ <tr>
4659
+
4660
+ <td class="name"><code>count</code></td>
4661
+
4662
+
4663
+ <td class="type">
4664
+
4665
+
4666
+ <span class="param-type">integer:3</span>
4667
+
4668
+
4669
+
4670
+
4671
+ </td>
4672
+
4673
+
4674
+
4675
+
4676
+
4677
+ <td class="description last"></td>
4678
+ </tr>
4679
+
4680
+
4681
+ </tbody>
4682
+ </table>
4683
+
4684
+
4685
+
4686
+
4687
+
4688
+
4689
+
4690
+
4691
+
4692
+
4693
+
4694
+
4695
+
4696
+
4697
+
4698
+
4699
+ <h5 class="h5-returns">Returns:</h5>
4700
+
4701
+
4702
+
4703
+
4704
+ <dl class="param-type">
4705
+ <dt>
4706
+ Type
4707
+ </dt>
4708
+ <dd>
4709
+
4710
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
4711
+
4712
+
4713
+
4714
+ </dd>
4715
+ </dl>
4716
+
4717
+
4718
+
4719
+
4720
+
4721
+
4722
+
4723
+
4724
+
4725
+
4523
4726
  <h4 class="name" id=".fetchMetadata"><span class="type-signature type-signature-static">(static) </span>fetchMetadata<span class="signature">(brand, type)</span><span class="type-signature"> &rarr; {Promise.&lt;{name, description, type: *, thumbnailUrl}>}</span></h4>
4524
4727
 
4525
4728
 
@@ -4537,7 +4740,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4537
4740
 
4538
4741
  <dt class="tag-source">Source:</dt>
4539
4742
  <dd class="tag-source"><ul class="dummy"><li>
4540
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1967">line 1967</a>
4743
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2039">line 2039</a>
4541
4744
  </li></ul></dd>
4542
4745
 
4543
4746
 
@@ -4722,7 +4925,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4722
4925
 
4723
4926
  <dt class="tag-source">Source:</dt>
4724
4927
  <dd class="tag-source"><ul class="dummy"><li>
4725
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1044">line 1044</a>
4928
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1045">line 1045</a>
4726
4929
  </li></ul></dd>
4727
4930
 
4728
4931
 
@@ -4904,7 +5107,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4904
5107
 
4905
5108
  <dt class="tag-source">Source:</dt>
4906
5109
  <dd class="tag-source"><ul class="dummy"><li>
4907
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1092">line 1092</a>
5110
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1093">line 1093</a>
4908
5111
  </li></ul></dd>
4909
5112
 
4910
5113
 
@@ -5062,7 +5265,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5062
5265
 
5063
5266
  <dt class="tag-source">Source:</dt>
5064
5267
  <dd class="tag-source"><ul class="dummy"><li>
5065
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1150">line 1150</a>
5268
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1151">line 1151</a>
5066
5269
  </li></ul></dd>
5067
5270
 
5068
5271
 
@@ -5220,7 +5423,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5220
5423
 
5221
5424
  <dt class="tag-source">Source:</dt>
5222
5425
  <dd class="tag-source"><ul class="dummy"><li>
5223
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1127">line 1127</a>
5426
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1128">line 1128</a>
5224
5427
  </li></ul></dd>
5225
5428
 
5226
5429
 
@@ -5409,7 +5612,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5409
5612
 
5410
5613
  <dt class="tag-source">Source:</dt>
5411
5614
  <dd class="tag-source"><ul class="dummy"><li>
5412
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line340">line 340</a>
5615
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line341">line 341</a>
5413
5616
  </li></ul></dd>
5414
5617
 
5415
5618
 
@@ -5567,7 +5770,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5567
5770
 
5568
5771
  <dt class="tag-source">Source:</dt>
5569
5772
  <dd class="tag-source"><ul class="dummy"><li>
5570
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1189">line 1189</a>
5773
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1190">line 1190</a>
5571
5774
  </li></ul></dd>
5572
5775
 
5573
5776
 
@@ -5709,7 +5912,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5709
5912
 
5710
5913
 
5711
5914
 
5712
- <h4 class="name" id=".fetchPackAll"><span class="type-signature type-signature-static">(static) </span>fetchPackAll<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
5915
+ <h4 class="name" id=".fetchOtherSongVersions"><span class="type-signature type-signature-static">(static) </span>fetchOtherSongVersions<span class="signature">(railcontentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
5713
5916
 
5714
5917
 
5715
5918
 
@@ -5719,13 +5922,14 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5719
5922
  <dl class="details">
5720
5923
 
5721
5924
  <dt class="tag-description">Description:</dt>
5722
- <dd class="tag-description"><ul class="dummy"><li>Fetch all content for a specific pack by Railcontent ID.</li></ul></dd>
5925
+ <dd class="tag-description"><ul class="dummy"><li>Get song type (transcriptions, jam packs, play alongs, tutorial children) content documents that share content information with the provided railcontent document.
5926
+ These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
5723
5927
 
5724
5928
 
5725
5929
 
5726
5930
  <dt class="tag-source">Source:</dt>
5727
5931
  <dd class="tag-source"><ul class="dummy"><li>
5728
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1389">line 1389</a>
5932
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1338">line 1338</a>
5729
5933
  </li></ul></dd>
5730
5934
 
5731
5935
 
@@ -5802,11 +6006,23 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5802
6006
 
5803
6007
  <td class="type">
5804
6008
 
5805
-
5806
- <span class="param-type">string</span>
6009
+ </td>
6010
+
6011
+
6012
+
6013
+
6014
+
6015
+ <td class="description last"></td>
6016
+ </tr>
5807
6017
 
6018
+
5808
6019
 
6020
+ <tr>
6021
+
6022
+ <td class="name"><code>brand</code></td>
6023
+
5809
6024
 
6025
+ <td class="type">
5810
6026
 
5811
6027
  </td>
5812
6028
 
@@ -5814,7 +6030,25 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5814
6030
 
5815
6031
 
5816
6032
 
5817
- <td class="description last">The Railcontent ID of the pack.</td>
6033
+ <td class="description last"></td>
6034
+ </tr>
6035
+
6036
+
6037
+
6038
+ <tr>
6039
+
6040
+ <td class="name"><code>count</code></td>
6041
+
6042
+
6043
+ <td class="type">
6044
+
6045
+ </td>
6046
+
6047
+
6048
+
6049
+
6050
+
6051
+ <td class="description last"></td>
5818
6052
  </tr>
5819
6053
 
5820
6054
 
@@ -5839,10 +6073,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5839
6073
  <h5 class="h5-returns">Returns:</h5>
5840
6074
 
5841
6075
 
5842
- <div class="param-desc">
5843
- - The fetched pack content data or null if not found.
5844
- </div>
5845
-
5846
6076
 
5847
6077
 
5848
6078
  <dl class="param-type">
@@ -5851,7 +6081,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5851
6081
  </dt>
5852
6082
  <dd>
5853
6083
 
5854
- <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
6084
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
5855
6085
 
5856
6086
 
5857
6087
 
@@ -5867,7 +6097,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5867
6097
 
5868
6098
 
5869
6099
 
5870
- <h4 class="name" id=".fetchPackData"><span class="type-signature type-signature-static">(static) </span>fetchPackData<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
6100
+ <h4 class="name" id=".fetchPackAll"><span class="type-signature type-signature-static">(static) </span>fetchPackAll<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
5871
6101
 
5872
6102
 
5873
6103
 
@@ -5877,13 +6107,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5877
6107
  <dl class="details">
5878
6108
 
5879
6109
  <dt class="tag-description">Description:</dt>
5880
- <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the Pack Overview screen.</li></ul></dd>
6110
+ <dd class="tag-description"><ul class="dummy"><li>Fetch all content for a specific pack by Railcontent ID.</li></ul></dd>
5881
6111
 
5882
6112
 
5883
6113
 
5884
6114
  <dt class="tag-source">Source:</dt>
5885
6115
  <dd class="tag-source"><ul class="dummy"><li>
5886
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1477">line 1477</a>
6116
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1461">line 1461</a>
5887
6117
  </li></ul></dd>
5888
6118
 
5889
6119
 
@@ -5928,13 +6158,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5928
6158
 
5929
6159
 
5930
6160
 
5931
- <h5 class="h5-examples">Example</h5>
5932
-
5933
- <pre class="prettyprint"><code>fetchPackData(404048)
5934
- .then(challenge => console.log(challenge))
5935
- .catch(error => console.error(error));</code></pre>
5936
-
5937
-
5938
6161
 
5939
6162
 
5940
6163
  <h5 class="h5-parameters">Parameters:</h5>
@@ -5962,13 +6185,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5962
6185
 
5963
6186
  <tr>
5964
6187
 
5965
- <td class="name"><code>id</code></td>
6188
+ <td class="name"><code>railcontentId</code></td>
5966
6189
 
5967
6190
 
5968
6191
  <td class="type">
5969
6192
 
5970
6193
 
5971
- <span class="param-type">number</span>
6194
+ <span class="param-type">string</span>
5972
6195
 
5973
6196
 
5974
6197
 
@@ -5979,7 +6202,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5979
6202
 
5980
6203
 
5981
6204
 
5982
- <td class="description last">The Railcontent ID of the pack</td>
6205
+ <td class="description last">The Railcontent ID of the pack.</td>
5983
6206
  </tr>
5984
6207
 
5985
6208
 
@@ -6005,7 +6228,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6005
6228
 
6006
6229
 
6007
6230
  <div class="param-desc">
6008
- - The pack information and lessons or null if not found.
6231
+ - The fetched pack content data or null if not found.
6009
6232
  </div>
6010
6233
 
6011
6234
 
@@ -6016,7 +6239,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6016
6239
  </dt>
6017
6240
  <dd>
6018
6241
 
6019
- <span class="param-type">Promise.&lt;(Object|null)></span>
6242
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
6020
6243
 
6021
6244
 
6022
6245
 
@@ -6032,7 +6255,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6032
6255
 
6033
6256
 
6034
6257
 
6035
- <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>
6258
+ <h4 class="name" id=".fetchPackData"><span class="type-signature type-signature-static">(static) </span>fetchPackData<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
6036
6259
 
6037
6260
 
6038
6261
 
@@ -6042,13 +6265,178 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6042
6265
  <dl class="details">
6043
6266
 
6044
6267
  <dt class="tag-description">Description:</dt>
6045
- <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the Course Overview screen.</li></ul></dd>
6268
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the Pack Overview screen.</li></ul></dd>
6046
6269
 
6047
6270
 
6048
6271
 
6049
6272
  <dt class="tag-source">Source:</dt>
6050
6273
  <dd class="tag-source"><ul class="dummy"><li>
6051
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1533">line 1533</a>
6274
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1549">line 1549</a>
6275
+ </li></ul></dd>
6276
+
6277
+
6278
+
6279
+
6280
+
6281
+
6282
+
6283
+
6284
+
6285
+
6286
+
6287
+
6288
+
6289
+
6290
+
6291
+
6292
+
6293
+
6294
+
6295
+
6296
+
6297
+
6298
+
6299
+
6300
+
6301
+
6302
+
6303
+
6304
+
6305
+
6306
+
6307
+ </dl>
6308
+
6309
+
6310
+
6311
+
6312
+
6313
+
6314
+
6315
+
6316
+
6317
+
6318
+
6319
+ <h5 class="h5-examples">Example</h5>
6320
+
6321
+ <pre class="prettyprint"><code>fetchPackData(404048)
6322
+ .then(challenge => console.log(challenge))
6323
+ .catch(error => console.error(error));</code></pre>
6324
+
6325
+
6326
+
6327
+
6328
+ <h5 class="h5-parameters">Parameters:</h5>
6329
+
6330
+
6331
+ <table class="params">
6332
+ <thead>
6333
+ <tr>
6334
+
6335
+ <th>Name</th>
6336
+
6337
+
6338
+ <th>Type</th>
6339
+
6340
+
6341
+
6342
+
6343
+
6344
+ <th class="last">Description</th>
6345
+ </tr>
6346
+ </thead>
6347
+
6348
+ <tbody>
6349
+
6350
+
6351
+ <tr>
6352
+
6353
+ <td class="name"><code>id</code></td>
6354
+
6355
+
6356
+ <td class="type">
6357
+
6358
+
6359
+ <span class="param-type">number</span>
6360
+
6361
+
6362
+
6363
+
6364
+ </td>
6365
+
6366
+
6367
+
6368
+
6369
+
6370
+ <td class="description last">The Railcontent ID of the pack</td>
6371
+ </tr>
6372
+
6373
+
6374
+ </tbody>
6375
+ </table>
6376
+
6377
+
6378
+
6379
+
6380
+
6381
+
6382
+
6383
+
6384
+
6385
+
6386
+
6387
+
6388
+
6389
+
6390
+
6391
+
6392
+ <h5 class="h5-returns">Returns:</h5>
6393
+
6394
+
6395
+ <div class="param-desc">
6396
+ - The pack information and lessons or null if not found.
6397
+ </div>
6398
+
6399
+
6400
+
6401
+ <dl class="param-type">
6402
+ <dt>
6403
+ Type
6404
+ </dt>
6405
+ <dd>
6406
+
6407
+ <span class="param-type">Promise.&lt;(Object|null)></span>
6408
+
6409
+
6410
+
6411
+ </dd>
6412
+ </dl>
6413
+
6414
+
6415
+
6416
+
6417
+
6418
+
6419
+
6420
+
6421
+
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#line1605">line 1605</a>
6052
6440
  </li></ul></dd>
6053
6441
 
6054
6442
 
@@ -6122,12 +6510,194 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6122
6510
  </tr>
6123
6511
  </thead>
6124
6512
 
6125
- <tbody>
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>
6589
+
6590
+
6591
+
6592
+
6593
+
6594
+
6595
+ <dl class="details">
6596
+
6597
+ <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>
6599
+
6600
+
6601
+
6602
+ <dt class="tag-source">Source:</dt>
6603
+ <dd class="tag-source"><ul class="dummy"><li>
6604
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1394">line 1394</a>
6605
+ </li></ul></dd>
6606
+
6607
+
6608
+
6609
+
6610
+
6611
+
6612
+
6613
+
6614
+
6615
+
6616
+
6617
+
6618
+
6619
+
6620
+
6621
+
6622
+
6623
+
6624
+
6625
+
6626
+
6627
+
6628
+
6629
+
6630
+
6631
+
6632
+
6633
+
6634
+
6635
+
6636
+
6637
+ </dl>
6638
+
6639
+
6640
+
6641
+
6642
+
6643
+
6644
+
6645
+
6646
+
6647
+
6648
+
6649
+
6650
+
6651
+ <h5 class="h5-parameters">Parameters:</h5>
6652
+
6653
+
6654
+ <table class="params">
6655
+ <thead>
6656
+ <tr>
6657
+
6658
+ <th>Name</th>
6659
+
6660
+
6661
+ <th>Type</th>
6662
+
6663
+
6664
+
6665
+
6666
+
6667
+ <th class="last">Description</th>
6668
+ </tr>
6669
+ </thead>
6670
+
6671
+ <tbody>
6672
+
6673
+
6674
+ <tr>
6675
+
6676
+ <td class="name"><code>railContentId</code></td>
6677
+
6678
+
6679
+ <td class="type">
6680
+
6681
+
6682
+ <span class="param-type">string</span>
6683
+
6684
+
6685
+
6686
+
6687
+ </td>
6688
+
6689
+
6690
+
6691
+
6692
+
6693
+ <td class="description last">The RailContent ID of the current lesson.</td>
6694
+ </tr>
6695
+
6126
6696
 
6127
6697
 
6128
6698
  <tr>
6129
6699
 
6130
- <td class="name"><code>id</code></td>
6700
+ <td class="name"><code>brand</code></td>
6131
6701
 
6132
6702
 
6133
6703
  <td class="type">
@@ -6144,7 +6714,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6144
6714
 
6145
6715
 
6146
6716
 
6147
- <td class="description last">The Railcontent ID of the course</td>
6717
+ <td class="description last">The current brand.</td>
6148
6718
  </tr>
6149
6719
 
6150
6720
 
@@ -6170,7 +6740,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6170
6740
 
6171
6741
 
6172
6742
  <div class="param-desc">
6173
- - The course information and lessons or null if not found.
6743
+ - The fetched related lessons data or null if not found.
6174
6744
  </div>
6175
6745
 
6176
6746
 
@@ -6181,7 +6751,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6181
6751
  </dt>
6182
6752
  <dd>
6183
6753
 
6184
- <span class="param-type">Promise.&lt;(Object|null)></span>
6754
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
6185
6755
 
6186
6756
 
6187
6757
 
@@ -6197,7 +6767,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6197
6767
 
6198
6768
 
6199
6769
 
6200
- <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>
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>
6201
6771
 
6202
6772
 
6203
6773
 
@@ -6206,14 +6776,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6206
6776
 
6207
6777
  <dl class="details">
6208
6778
 
6209
- <dt class="tag-description">Description:</dt>
6210
- <dd class="tag-description"><ul class="dummy"><li>Fetch related lessons for a specific lesson by RailContent ID and type.</li></ul></dd>
6211
-
6212
6779
 
6213
6780
 
6214
6781
  <dt class="tag-source">Source:</dt>
6215
6782
  <dd class="tag-source"><ul class="dummy"><li>
6216
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1322">line 1322</a>
6783
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1324">line 1324</a>
6217
6784
  </li></ul></dd>
6218
6785
 
6219
6786
 
@@ -6290,19 +6857,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6290
6857
 
6291
6858
  <td class="type">
6292
6859
 
6293
-
6294
- <span class="param-type">string</span>
6295
-
6296
-
6297
-
6298
-
6299
6860
  </td>
6300
6861
 
6301
6862
 
6302
6863
 
6303
6864
 
6304
6865
 
6305
- <td class="description last">The RailContent ID of the current lesson.</td>
6866
+ <td class="description last"></td>
6306
6867
  </tr>
6307
6868
 
6308
6869
 
@@ -6314,11 +6875,23 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6314
6875
 
6315
6876
  <td class="type">
6316
6877
 
6317
-
6318
- <span class="param-type">string</span>
6878
+ </td>
6879
+
6880
+
6881
+
6882
+
6883
+
6884
+ <td class="description last"></td>
6885
+ </tr>
6319
6886
 
6887
+
6320
6888
 
6889
+ <tr>
6890
+
6891
+ <td class="name"><code>count</code></td>
6892
+
6321
6893
 
6894
+ <td class="type">
6322
6895
 
6323
6896
  </td>
6324
6897
 
@@ -6326,7 +6899,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6326
6899
 
6327
6900
 
6328
6901
 
6329
- <td class="description last">The current brand.</td>
6902
+ <td class="description last"></td>
6330
6903
  </tr>
6331
6904
 
6332
6905
 
@@ -6351,10 +6924,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6351
6924
  <h5 class="h5-returns">Returns:</h5>
6352
6925
 
6353
6926
 
6354
- <div class="param-desc">
6355
- - The fetched related lessons data or null if not found.
6356
- </div>
6357
-
6358
6927
 
6359
6928
 
6360
6929
  <dl class="param-type">
@@ -6395,7 +6964,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6395
6964
 
6396
6965
  <dt class="tag-source">Source:</dt>
6397
6966
  <dd class="tag-source"><ul class="dummy"><li>
6398
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line264">line 264</a>
6967
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line265">line 265</a>
6399
6968
  </li></ul></dd>
6400
6969
 
6401
6970
 
@@ -6584,7 +7153,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6584
7153
 
6585
7154
  <dt class="tag-source">Source:</dt>
6586
7155
  <dd class="tag-source"><ul class="dummy"><li>
6587
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line100">line 100</a>
7156
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line101">line 101</a>
6588
7157
  </li></ul></dd>
6589
7158
 
6590
7159
 
@@ -6685,7 +7254,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6685
7254
 
6686
7255
  <dt class="tag-source">Source:</dt>
6687
7256
  <dd class="tag-source"><ul class="dummy"><li>
6688
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1823">line 1823</a>
7257
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1895">line 1895</a>
6689
7258
  </li></ul></dd>
6690
7259
 
6691
7260
 
@@ -6983,7 +7552,7 @@ fetchSanity(query, true)
6983
7552
 
6984
7553
  <dt class="tag-source">Source:</dt>
6985
7554
  <dd class="tag-source"><ul class="dummy"><li>
6986
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line433">line 433</a>
7555
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line434">line 434</a>
6987
7556
  </li></ul></dd>
6988
7557
 
6989
7558
 
@@ -7151,7 +7720,7 @@ fetchSanity(query, true)
7151
7720
 
7152
7721
  <dt class="tag-source">Source:</dt>
7153
7722
  <dd class="tag-source"><ul class="dummy"><li>
7154
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1941">line 1941</a>
7723
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2013">line 2013</a>
7155
7724
  </li></ul></dd>
7156
7725
 
7157
7726
 
@@ -7306,7 +7875,7 @@ fetchSanity(query, true)
7306
7875
 
7307
7876
  <dt class="tag-source">Source:</dt>
7308
7877
  <dd class="tag-source"><ul class="dummy"><li>
7309
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line222">line 222</a>
7878
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line223">line 223</a>
7310
7879
  </li></ul></dd>
7311
7880
 
7312
7881
 
@@ -7464,7 +8033,7 @@ fetchSanity(query, true)
7464
8033
 
7465
8034
  <dt class="tag-source">Source:</dt>
7466
8035
  <dd class="tag-source"><ul class="dummy"><li>
7467
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line52">line 52</a>
8036
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line53">line 53</a>
7468
8037
  </li></ul></dd>
7469
8038
 
7470
8039
 
@@ -7629,7 +8198,7 @@ fetchSanity(query, true)
7629
8198
 
7630
8199
  <dt class="tag-source">Source:</dt>
7631
8200
  <dd class="tag-source"><ul class="dummy"><li>
7632
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line388">line 388</a>
8201
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line389">line 389</a>
7633
8202
  </li></ul></dd>
7634
8203
 
7635
8204
 
@@ -7797,7 +8366,7 @@ fetchSanity(query, true)
7797
8366
 
7798
8367
  <dt class="tag-source">Source:</dt>
7799
8368
  <dd class="tag-source"><ul class="dummy"><li>
7800
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1226">line 1226</a>
8369
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1227">line 1227</a>
7801
8370
  </li></ul></dd>
7802
8371
 
7803
8372
 
@@ -7946,6 +8515,232 @@ fetchSanity(query, true)
7946
8515
 
7947
8516
 
7948
8517
 
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>
8519
+
8520
+
8521
+
8522
+
8523
+
8524
+
8525
+ <dl class="details">
8526
+
8527
+ <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>
8529
+
8530
+
8531
+
8532
+ <dt class="tag-source">Source:</dt>
8533
+ <dd class="tag-source"><ul class="dummy"><li>
8534
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1364">line 1364</a>
8535
+ </li></ul></dd>
8536
+
8537
+
8538
+
8539
+
8540
+
8541
+
8542
+
8543
+
8544
+
8545
+
8546
+
8547
+
8548
+
8549
+
8550
+
8551
+
8552
+
8553
+
8554
+
8555
+
8556
+
8557
+
8558
+
8559
+
8560
+
8561
+
8562
+
8563
+
8564
+
8565
+
8566
+
8567
+ </dl>
8568
+
8569
+
8570
+
8571
+
8572
+
8573
+
8574
+
8575
+
8576
+
8577
+
8578
+
8579
+
8580
+
8581
+ <h5 class="h5-parameters">Parameters:</h5>
8582
+
8583
+
8584
+ <table class="params">
8585
+ <thead>
8586
+ <tr>
8587
+
8588
+ <th>Name</th>
8589
+
8590
+
8591
+ <th>Type</th>
8592
+
8593
+
8594
+
8595
+
8596
+
8597
+ <th class="last">Description</th>
8598
+ </tr>
8599
+ </thead>
8600
+
8601
+ <tbody>
8602
+
8603
+
8604
+ <tr>
8605
+
8606
+ <td class="name"><code>railcontentId</code></td>
8607
+
8608
+
8609
+ <td class="type">
8610
+
8611
+
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>
8685
+
8686
+
8687
+
8688
+
8689
+ </td>
8690
+
8691
+
8692
+
8693
+
8694
+
8695
+ <td class="description last"></td>
8696
+ </tr>
8697
+
8698
+
8699
+ </tbody>
8700
+ </table>
8701
+
8702
+
8703
+
8704
+
8705
+
8706
+
8707
+
8708
+
8709
+
8710
+
8711
+
8712
+
8713
+
8714
+
8715
+
8716
+
8717
+ <h5 class="h5-returns">Returns:</h5>
8718
+
8719
+
8720
+
8721
+
8722
+ <dl class="param-type">
8723
+ <dt>
8724
+ Type
8725
+ </dt>
8726
+ <dd>
8727
+
8728
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
8729
+
8730
+
8731
+
8732
+ </dd>
8733
+ </dl>
8734
+
8735
+
8736
+
8737
+
8738
+
8739
+
8740
+
8741
+
8742
+
8743
+
7949
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>
7950
8745
 
7951
8746
 
@@ -7962,7 +8757,7 @@ fetchSanity(query, true)
7962
8757
 
7963
8758
  <dt class="tag-source">Source:</dt>
7964
8759
  <dd class="tag-source"><ul class="dummy"><li>
7965
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line163">line 163</a>
8760
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line164">line 164</a>
7966
8761
  </li></ul></dd>
7967
8762
 
7968
8763
 
@@ -8063,7 +8858,7 @@ fetchSanity(query, true)
8063
8858
 
8064
8859
  <dt class="tag-source">Source:</dt>
8065
8860
  <dd class="tag-source"><ul class="dummy"><li>
8066
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line149">line 149</a>
8861
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line150">line 150</a>
8067
8862
  </li></ul></dd>
8068
8863
 
8069
8864
 
@@ -8167,7 +8962,7 @@ fetchSanity(query, true)
8167
8962
 
8168
8963
  <dt class="tag-source">Source:</dt>
8169
8964
  <dd class="tag-source"><ul class="dummy"><li>
8170
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line737">line 737</a>
8965
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line738">line 738</a>
8171
8966
  </li></ul></dd>
8172
8967
 
8173
8968
 
@@ -8800,7 +9595,7 @@ fetchSanity(query, true)
8800
9595
  <br class="clear">
8801
9596
 
8802
9597
  <footer>
8803
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Mar 20 2025 22:08:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9598
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Mar 27 2025 03:14:21 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8804
9599
  </footer>
8805
9600
 
8806
9601
  <script>prettyPrint();</script>