musora-content-services 2.86.0 → 2.87.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 (82) hide show
  1. package/.claude/settings.local.json +8 -0
  2. package/CHANGELOG.md +14 -0
  3. package/docs/ContentOrganization.html +2 -2
  4. package/docs/Forums.html +2 -2
  5. package/docs/Gamification.html +2 -2
  6. package/docs/TestUser.html +2 -2
  7. package/docs/UserManagementSystem.html +2 -2
  8. package/docs/api_types.js.html +2 -2
  9. package/docs/config.js.html +5 -2
  10. package/docs/content-org_content-org.js.html +2 -2
  11. package/docs/content-org_guided-courses.ts.html +2 -2
  12. package/docs/content-org_learning-paths.ts.html +126 -24
  13. package/docs/content-org_playlists-types.js.html +2 -2
  14. package/docs/content-org_playlists.js.html +2 -2
  15. package/docs/content.js.html +88 -10
  16. package/docs/content_artist.ts.html +36 -41
  17. package/docs/content_genre.ts.html +29 -34
  18. package/docs/content_instructor.ts.html +25 -27
  19. package/docs/forums_categories.ts.html +22 -3
  20. package/docs/forums_forums.ts.html +2 -2
  21. package/docs/forums_posts.ts.html +2 -2
  22. package/docs/forums_threads.ts.html +9 -9
  23. package/docs/gamification_awards.ts.html +26 -12
  24. package/docs/gamification_gamification.js.html +2 -2
  25. package/docs/global.html +2 -2
  26. package/docs/index.html +2 -2
  27. package/docs/liveTesting.ts.html +2 -2
  28. package/docs/module-Accounts.html +14 -14
  29. package/docs/module-Artist.html +12 -10
  30. package/docs/module-Awards.html +106 -6
  31. package/docs/module-Config.html +5 -4
  32. package/docs/module-Content-Services-V2.html +440 -9
  33. package/docs/module-Forums.html +627 -63
  34. package/docs/module-Genre.html +6 -6
  35. package/docs/module-GuidedCourses.html +2 -2
  36. package/docs/module-Instructor.html +10 -10
  37. package/docs/module-Interests.html +2 -2
  38. package/docs/module-LearningPaths.html +640 -12
  39. package/docs/module-Onboarding.html +32 -8
  40. package/docs/module-Payments.html +2 -2
  41. package/docs/module-Permissions.html +2 -2
  42. package/docs/module-Playlists.html +2 -2
  43. package/docs/module-ProgressRow.html +2 -2
  44. package/docs/module-Railcontent-Services.html +2 -2
  45. package/docs/module-Sanity-Services.html +786 -1853
  46. package/docs/module-Sessions.html +2 -2
  47. package/docs/module-UserActivity.html +4 -4
  48. package/docs/module-UserChat.html +2 -2
  49. package/docs/module-UserManagement.html +2 -2
  50. package/docs/module-UserMemberships.html +2 -2
  51. package/docs/module-UserNotifications.html +2 -2
  52. package/docs/module-UserProfile.html +2 -2
  53. package/docs/progress-row_method-card.js.html +3 -3
  54. package/docs/railcontent.js.html +2 -2
  55. package/docs/sanity.js.html +230 -321
  56. package/docs/userActivity.js.html +4 -3
  57. package/docs/user_account.ts.html +14 -13
  58. package/docs/user_chat.js.html +2 -2
  59. package/docs/user_interests.js.html +2 -2
  60. package/docs/user_management.js.html +2 -2
  61. package/docs/user_memberships.ts.html +2 -2
  62. package/docs/user_notifications.js.html +2 -2
  63. package/docs/user_onboarding.ts.html +95 -4
  64. package/docs/user_payments.ts.html +2 -2
  65. package/docs/user_permissions.js.html +3 -3
  66. package/docs/user_profile.js.html +2 -2
  67. package/docs/user_sessions.js.html +2 -2
  68. package/docs/user_types.js.html +2 -2
  69. package/docs/user_user-management-system.js.html +2 -2
  70. package/package.json +1 -1
  71. package/src/contentTypeConfig.js +24 -16
  72. package/src/index.d.ts +1 -3
  73. package/src/index.js +1 -3
  74. package/src/lib/brands.ts +8 -0
  75. package/src/lib/sanity/query.ts +30 -0
  76. package/src/services/content/artist.ts +34 -39
  77. package/src/services/content/content.ts +7 -1
  78. package/src/services/content/genre.ts +27 -32
  79. package/src/services/content/instructor.ts +23 -25
  80. package/src/services/content-org/learning-paths.ts +12 -23
  81. package/src/services/sanity.js +34 -26
  82. package/src/services/user/onboarding.ts +93 -2
@@ -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-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#~deleteAccount">deleteAccount</a></li><li data-type='method'><a href="module-Accounts.html#~numberOfActiveUsers">numberOfActiveUsers</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><li data-type='method'><a href="module-Accounts.html#~toggleStudentView">toggleStudentView</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#.getLegacyMethods">getLegacyMethods</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-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#~jumpToPost">jumpToPost</a></li><li data-type='method'><a href="module-Forums.html#~likePost">likePost</a></li><li data-type='method'><a href="module-Forums.html#~lockThread">lockThread</a></li><li data-type='method'><a href="module-Forums.html#~markThreadAsRead">markThreadAsRead</a></li><li data-type='method'><a href="module-Forums.html#~pinThread">pinThread</a></li><li data-type='method'><a href="module-Forums.html#~search">search</a></li><li data-type='method'><a href="module-Forums.html#~unfollowThread">unfollowThread</a></li><li data-type='method'><a href="module-Forums.html#~unlikePost">unlikePost</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#~updatePost">updatePost</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-LearningPaths.html">LearningPaths</a><ul class='methods'><li data-type='method'><a href="module-LearningPaths.html#~fetchLearningPathLessons">fetchLearningPathLessons</a></li><li data-type='method'><a href="module-LearningPaths.html#~getActivePath">getActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getDailySession">getDailySession</a></li><li data-type='method'><a href="module-LearningPaths.html#~getLearningPath">getLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getLearningPathLessonsByIds">getLearningPathLessonsByIds</a></li><li data-type='method'><a href="module-LearningPaths.html#~resetAllLearningPaths">resetAllLearningPaths</a></li><li data-type='method'><a href="module-LearningPaths.html#~startLearningPath">startLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateActivePath">updateActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateDailySession">updateDailySession</a></li></ul></li><li><a href="module-Onboarding.html">Onboarding</a><ul class='methods'><li data-type='method'><a href="module-Onboarding.html#~getOnboardingRecommendedContent">getOnboardingRecommendedContent</a></li><li data-type='method'><a href="module-Onboarding.html#~startOnboarding">startOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~updateOnboarding">updateOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~userOnboardingForBrand">userOnboardingForBrand</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-ProgressRow.html">ProgressRow</a></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#.fetchMethodV2IntroVideo">fetchMethodV2IntroVideo</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2Structure">fetchMethodV2Structure</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2StructureFromId">fetchMethodV2StructureFromId</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#.getUserSignature">getUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.isUsernameAvailable">isUsernameAvailable</a></li><li data-type='method'><a href="module-UserManagement.html#.setUserSignature">setUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.toggleSignaturePrivate">toggleSignaturePrivate</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#~restorePurchases">restorePurchases</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>Interfaces</h3><ul><li><a href="TestUser.html">TestUser</a></li></ul><h3>Global</h3><ul><li><a href="global.html#createTestUser">createTestUser</a></li></ul>
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#~deleteAccount">deleteAccount</a></li><li data-type='method'><a href="module-Accounts.html#~numberOfActiveUsers">numberOfActiveUsers</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><li data-type='method'><a href="module-Accounts.html#~toggleStudentView">toggleStudentView</a></li></ul></li><li><a href="module-Artist.html">Artist</a><ul class='methods'><li data-type='method'><a href="module-Artist.html#~fetchArtistBySlug">fetchArtistBySlug</a></li><li data-type='method'><a href="module-Artist.html#~fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Artist.html#~fetchArtists">fetchArtists</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#.getLegacyMethods">getLegacyMethods</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#.getOwnedContent">getOwnedContent</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-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#~deleteForumCategory">deleteForumCategory</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#~jumpToPost">jumpToPost</a></li><li data-type='method'><a href="module-Forums.html#~likePost">likePost</a></li><li data-type='method'><a href="module-Forums.html#~lockThread">lockThread</a></li><li data-type='method'><a href="module-Forums.html#~markThreadAsRead">markThreadAsRead</a></li><li data-type='method'><a href="module-Forums.html#~pinThread">pinThread</a></li><li data-type='method'><a href="module-Forums.html#~search">search</a></li><li data-type='method'><a href="module-Forums.html#~unfollowThread">unfollowThread</a></li><li data-type='method'><a href="module-Forums.html#~unlikePost">unlikePost</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#~updatePost">updatePost</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-Genre.html">Genre</a><ul class='methods'><li data-type='method'><a href="module-Genre.html#~fetchGenreBySlug">fetchGenreBySlug</a></li><li data-type='method'><a href="module-Genre.html#~fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Genre.html#~fetchGenres">fetchGenres</a></li></ul></li><li><a href="module-GuidedCourses.html">GuidedCourses</a></li><li><a href="module-Instructor.html">Instructor</a><ul class='methods'><li data-type='method'><a href="module-Instructor.html#~fetchInstructorBySlug">fetchInstructorBySlug</a></li><li data-type='method'><a href="module-Instructor.html#~fetchInstructorLessons">fetchInstructorLessons</a></li><li data-type='method'><a href="module-Instructor.html#~fetchInstructors">fetchInstructors</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-LearningPaths.html">LearningPaths</a><ul class='methods'><li data-type='method'><a href="module-LearningPaths.html#~completeLearningPathIntroVideo">completeLearningPathIntroVideo</a></li><li data-type='method'><a href="module-LearningPaths.html#~completeMethodIntroVideo">completeMethodIntroVideo</a></li><li data-type='method'><a href="module-LearningPaths.html#~fetchLearningPathLessons">fetchLearningPathLessons</a></li><li data-type='method'><a href="module-LearningPaths.html#~getActivePath">getActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getDailySession">getDailySession</a></li><li data-type='method'><a href="module-LearningPaths.html#~getEnrichedLearningPath">getEnrichedLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getLearningPathLessonsByIds">getLearningPathLessonsByIds</a></li><li data-type='method'><a href="module-LearningPaths.html#~mapContentToParent">mapContentToParent</a></li><li data-type='method'><a href="module-LearningPaths.html#~resetAllLearningPaths">resetAllLearningPaths</a></li><li data-type='method'><a href="module-LearningPaths.html#~startLearningPath">startLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateActivePath">updateActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateDailySession">updateDailySession</a></li></ul></li><li><a href="module-Onboarding.html">Onboarding</a><ul class='methods'><li data-type='method'><a href="module-Onboarding.html#~getOnboardingRecommendedContent">getOnboardingRecommendedContent</a></li><li data-type='method'><a href="module-Onboarding.html#~startOnboarding">startOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~updateOnboarding">updateOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~userOnboardingForBrand">userOnboardingForBrand</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-ProgressRow.html">ProgressRow</a></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#.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#.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#.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#.fetchMethodV2IntroVideo">fetchMethodV2IntroVideo</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2Structure">fetchMethodV2Structure</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2StructureFromId">fetchMethodV2StructureFromId</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#.fetchOwnedContent">fetchOwnedContent</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#.fetchTopLevelParentId">fetchTopLevelParentId</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#.getUserSignature">getUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.isUsernameAvailable">isUsernameAvailable</a></li><li data-type='method'><a href="module-UserManagement.html#.setUserSignature">setUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.toggleSignaturePrivate">toggleSignaturePrivate</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#~restorePurchases">restorePurchases</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>Interfaces</h3><ul><li><a href="TestUser.html">TestUser</a></li></ul><h3>Global</h3><ul><li><a href="global.html#createTestUser">createTestUser</a></li></ul>
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#line44">line 44</a>
97
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line41">line 41</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#line586">line 586</a>
185
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line571">line 571</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#line816">line 816</a>
840
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line799">line 799</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#line1339">line 1339</a>
1359
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1337">line 1337</a>
1360
1360
  </li></ul></dd>
1361
1361
 
1362
1362
 
@@ -1674,7 +1674,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1674
1674
 
1675
1675
 
1676
1676
 
1677
- <h4 class="name" id=".fetchArtistLessons"><span class="type-signature type-signature-static">(static) </span>fetchArtistLessons<span class="signature">(brand, name, contentType, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
1677
+ <h4 class="name" id=".fetchByRailContentId"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentId<span class="signature">(id, contentType)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
1678
1678
 
1679
1679
 
1680
1680
 
@@ -1684,13 +1684,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1684
1684
  <dl class="details">
1685
1685
 
1686
1686
  <dt class="tag-description">Description:</dt>
1687
- <dd class="tag-description"><ul class="dummy"><li>Fetch the artist's lessons.</li></ul></dd>
1687
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content by a specific Railcontent ID.</li></ul></dd>
1688
1688
 
1689
1689
 
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#line1551">line 1551</a>
1693
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line415">line 415</a>
1694
1694
  </li></ul></dd>
1695
1695
 
1696
1696
 
@@ -1737,8 +1737,8 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1737
1737
 
1738
1738
  <h5 class="h5-examples">Example</h5>
1739
1739
 
1740
- <pre class="prettyprint"><code>fetchArtistLessons('drumeo', '10 Years', 'song', {'-published_on', '', 1, 10, ["difficulty,Intermediate"], [232168, 232824, 303375, 232194, 393125]})
1741
- .then(lessons => console.log(lessons))
1740
+ <pre class="prettyprint"><code>fetchByRailContentId('abc123')
1741
+ .then(content => console.log(content))
1742
1742
  .catch(error => console.error(error));</code></pre>
1743
1743
 
1744
1744
 
@@ -1769,7 +1769,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1769
1769
 
1770
1770
  <tr>
1771
1771
 
1772
- <td class="name"><code>brand</code></td>
1772
+ <td class="name"><code>id</code></td>
1773
1773
 
1774
1774
 
1775
1775
  <td class="type">
@@ -1786,14 +1786,14 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1786
1786
 
1787
1787
 
1788
1788
 
1789
- <td class="description last">The brand for which to fetch lessons.</td>
1789
+ <td class="description last">The Railcontent ID of the content to fetch.</td>
1790
1790
  </tr>
1791
1791
 
1792
1792
 
1793
1793
 
1794
1794
  <tr>
1795
1795
 
1796
- <td class="name"><code>name</code></td>
1796
+ <td class="name"><code>contentType</code></td>
1797
1797
 
1798
1798
 
1799
1799
  <td class="type">
@@ -1810,251 +1810,163 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1810
1810
 
1811
1811
 
1812
1812
 
1813
- <td class="description last">The name of the artist</td>
1813
+ <td class="description last">The document type of content to fetch</td>
1814
1814
  </tr>
1815
1815
 
1816
1816
 
1817
+ </tbody>
1818
+ </table>
1817
1819
 
1818
- <tr>
1819
-
1820
- <td class="name"><code>contentType</code></td>
1821
-
1822
-
1823
- <td class="type">
1824
-
1825
-
1826
- <span class="param-type">string</span>
1827
1820
 
1828
1821
 
1829
1822
 
1830
-
1831
- </td>
1832
1823
 
1833
-
1834
1824
 
1835
-
1836
1825
 
1837
- <td class="description last">The type of the lessons we need to get from the artist. If not defined, groq will get lessons from all content types</td>
1838
- </tr>
1839
1826
 
1840
-
1841
1827
 
1842
- <tr>
1843
-
1844
- <td class="name"><code>params</code></td>
1845
-
1846
1828
 
1847
- <td class="type">
1848
-
1849
-
1850
- <span class="param-type">Object</span>
1851
1829
 
1852
1830
 
1853
1831
 
1854
-
1855
- </td>
1856
1832
 
1857
-
1858
1833
 
1859
-
1860
1834
 
1861
- <td class="description last">Parameters for sorting, searching, pagination and filtering.
1862
- <h6>Properties</h6>
1863
-
1835
+ <h5 class="h5-returns">Returns:</h5>
1864
1836
 
1865
- <table class="params">
1866
- <thead>
1867
- <tr>
1868
-
1869
- <th>Name</th>
1870
1837
 
1838
+ <div class="param-desc">
1839
+ - A promise that resolves to the content object or null if not found.
1840
+ </div>
1871
1841
 
1872
- <th>Type</th>
1873
1842
 
1874
-
1875
- <th>Attributes</th>
1876
-
1877
1843
 
1844
+ <dl class="param-type">
1845
+ <dt>
1846
+ Type
1847
+ </dt>
1848
+ <dd>
1878
1849
 
1879
- <th>Default</th>
1880
-
1850
+ <span class="param-type">Promise.&lt;(Object|null)></span>
1881
1851
 
1882
- <th class="last">Description</th>
1883
- </tr>
1884
- </thead>
1885
1852
 
1886
- <tbody>
1853
+
1854
+ </dd>
1855
+ </dl>
1856
+
1887
1857
 
1888
1858
 
1889
- <tr>
1890
-
1891
- <td class="name"><code>sort</code></td>
1892
-
1893
1859
 
1894
- <td class="type">
1860
+
1861
+
1895
1862
 
1896
-
1897
- <span class="param-type">string</span>
1898
1863
 
1864
+
1899
1865
 
1866
+ <h4 class="name" id=".fetchByRailContentIds"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentIds<span class="signature">(ids, contentType<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
1900
1867
 
1901
-
1902
- </td>
1868
+
1903
1869
 
1904
-
1905
- <td class="attributes">
1906
-
1907
- &lt;optional><br>
1908
-
1909
1870
 
1910
-
1911
1871
 
1912
-
1913
- </td>
1914
-
1915
1872
 
1916
-
1917
- <td class="default">
1918
-
1919
- <code>"-published_on"</code>
1920
-
1921
- </td>
1922
-
1873
+ <dl class="details">
1874
+
1875
+ <dt class="tag-description">Description:</dt>
1876
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content by an array of Railcontent IDs.</li></ul></dd>
1877
+
1923
1878
 
1924
- <td class="description last">The field to sort the lessons by.</td>
1925
- </tr>
1879
+
1880
+ <dt class="tag-source">Source:</dt>
1881
+ <dd class="tag-source"><ul class="dummy"><li>
1882
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line452">line 452</a>
1883
+ </li></ul></dd>
1884
+
1926
1885
 
1927
1886
 
1928
1887
 
1929
- <tr>
1930
-
1931
- <td class="name"><code>searchTerm</code></td>
1932
-
1888
+
1933
1889
 
1934
- <td class="type">
1935
-
1936
-
1937
- <span class="param-type">string</span>
1890
+
1938
1891
 
1892
+
1939
1893
 
1894
+
1940
1895
 
1941
-
1942
- </td>
1896
+
1943
1897
 
1944
-
1945
- <td class="attributes">
1946
-
1947
- &lt;optional><br>
1948
-
1898
+
1949
1899
 
1950
-
1900
+
1951
1901
 
1952
-
1953
- </td>
1954
-
1902
+
1955
1903
 
1956
-
1957
- <td class="default">
1958
-
1959
- <code>""</code>
1960
-
1961
- </td>
1962
-
1904
+
1963
1905
 
1964
- <td class="description last">The search term to filter the lessons.</td>
1965
- </tr>
1906
+
1966
1907
 
1967
1908
 
1968
1909
 
1969
- <tr>
1970
-
1971
- <td class="name"><code>page</code></td>
1972
-
1910
+
1973
1911
 
1974
- <td class="type">
1975
-
1976
-
1977
- <span class="param-type">number</span>
1912
+
1913
+
1914
+
1915
+ </dl>
1978
1916
 
1979
1917
 
1980
1918
 
1981
-
1982
- </td>
1983
1919
 
1984
-
1985
- <td class="attributes">
1986
-
1987
- &lt;optional><br>
1988
-
1989
1920
 
1990
-
1991
1921
 
1992
-
1993
- </td>
1994
-
1995
1922
 
1996
-
1997
- <td class="default">
1998
-
1999
- <code>1</code>
2000
-
2001
- </td>
2002
-
2003
1923
 
2004
- <td class="description last">The page number for pagination.</td>
2005
- </tr>
2006
1924
 
2007
-
2008
1925
 
2009
- <tr>
2010
-
2011
- <td class="name"><code>limit</code></td>
2012
-
2013
1926
 
2014
- <td class="type">
2015
-
2016
-
2017
- <span class="param-type">number</span>
1927
+ <h5 class="h5-examples">Example</h5>
1928
+
1929
+ <pre class="prettyprint"><code>fetchByRailContentIds(['abc123', 'def456', 'ghi789'])
1930
+ .then(contents => console.log(contents))
1931
+ .catch(error => console.error(error));</code></pre>
2018
1932
 
2019
1933
 
2020
1934
 
2021
-
2022
- </td>
2023
1935
 
2024
-
2025
- <td class="attributes">
2026
-
2027
- &lt;optional><br>
2028
-
1936
+ <h5 class="h5-parameters">Parameters:</h5>
1937
+
2029
1938
 
2030
-
1939
+ <table class="params">
1940
+ <thead>
1941
+ <tr>
1942
+
1943
+ <th>Name</th>
1944
+
2031
1945
 
2032
-
2033
- </td>
2034
-
1946
+ <th>Type</th>
2035
1947
 
2036
-
2037
- <td class="default">
2038
-
2039
- <code>10</code>
2040
-
2041
- </td>
2042
-
1948
+
1949
+ <th>Attributes</th>
1950
+
2043
1951
 
2044
- <td class="description last">The number of items per page.</td>
2045
- </tr>
1952
+
1953
+
1954
+ <th class="last">Description</th>
1955
+ </tr>
1956
+ </thead>
2046
1957
 
1958
+ <tbody>
2047
1959
 
2048
1960
 
2049
1961
  <tr>
2050
1962
 
2051
- <td class="name"><code>includedFields</code></td>
1963
+ <td class="name"><code>ids</code></td>
2052
1964
 
2053
1965
 
2054
1966
  <td class="type">
2055
1967
 
2056
1968
 
2057
- <span class="param-type">Array.&lt;string></span>
1969
+ <span class="param-type">Array.&lt;(string|number)></span>
2058
1970
 
2059
1971
 
2060
1972
 
@@ -2064,8 +1976,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2064
1976
 
2065
1977
  <td class="attributes">
2066
1978
 
2067
- &lt;optional><br>
2068
-
2069
1979
 
2070
1980
 
2071
1981
 
@@ -2074,27 +1984,21 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2074
1984
 
2075
1985
 
2076
1986
 
2077
- <td class="default">
2078
-
2079
- <code>[]</code>
2080
-
2081
- </td>
2082
-
2083
1987
 
2084
- <td class="description last">Additional filters to apply to the query in the format of a key,value array. eg. ['difficulty,Intermediate', 'genre,rock'].</td>
1988
+ <td class="description last">The array of Railcontent IDs of the content to fetch.</td>
2085
1989
  </tr>
2086
1990
 
2087
1991
 
2088
1992
 
2089
1993
  <tr>
2090
1994
 
2091
- <td class="name"><code>progressIds</code></td>
1995
+ <td class="name"><code>contentType</code></td>
2092
1996
 
2093
1997
 
2094
1998
  <td class="type">
2095
1999
 
2096
2000
 
2097
- <span class="param-type">Array.&lt;number></span>
2001
+ <span class="param-type">string</span>
2098
2002
 
2099
2003
 
2100
2004
 
@@ -2114,19 +2018,8 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2114
2018
 
2115
2019
 
2116
2020
 
2117
- <td class="default">
2118
-
2119
- </td>
2120
-
2121
2021
 
2122
- <td class="description last">The ids of the lessons that are in progress or completed</td>
2123
- </tr>
2124
-
2125
-
2126
- </tbody>
2127
- </table>
2128
-
2129
- </td>
2022
+ <td class="description last">The content type the IDs to add needed fields to the response.</td>
2130
2023
  </tr>
2131
2024
 
2132
2025
 
@@ -2152,7 +2045,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2152
2045
 
2153
2046
 
2154
2047
  <div class="param-desc">
2155
- - The lessons for the artist and some details about the artist (name and thumbnail).
2048
+ - A promise that resolves to an array of content objects or null if not found.
2156
2049
  </div>
2157
2050
 
2158
2051
 
@@ -2163,7 +2056,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2163
2056
  </dt>
2164
2057
  <dd>
2165
2058
 
2166
- <span class="param-type">Promise.&lt;(Object|null)></span>
2059
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
2167
2060
 
2168
2061
 
2169
2062
 
@@ -2179,7 +2072,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2179
2072
 
2180
2073
 
2181
2074
 
2182
- <h4 class="name" id=".fetchArtists"><span class="type-signature type-signature-static">(static) </span>fetchArtists<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2075
+ <h4 class="name" id=".fetchByReference"><span class="type-signature type-signature-static">(static) </span>fetchByReference<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2183
2076
 
2184
2077
 
2185
2078
 
@@ -2189,13 +2082,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2189
2082
  <dl class="details">
2190
2083
 
2191
2084
  <dt class="tag-description">Description:</dt>
2192
- <dd class="tag-description"><ul class="dummy"><li>Fetch all artists with lessons available for a specific brand.</li></ul></dd>
2085
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
2193
2086
 
2194
2087
 
2195
2088
 
2196
2089
  <dt class="tag-source">Source:</dt>
2197
2090
  <dd class="tag-source"><ul class="dummy"><li>
2198
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line176">line 176</a>
2091
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1476">line 1476</a>
2199
2092
  </li></ul></dd>
2200
2093
 
2201
2094
 
@@ -2242,8 +2135,8 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2242
2135
 
2243
2136
  <h5 class="h5-examples">Example</h5>
2244
2137
 
2245
- <pre class="prettyprint"><code>fetchArtists('drumeo')
2246
- .then(artists => console.log(artists))
2138
+ <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2139
+ .then(lessons => console.log(lessons))
2247
2140
  .catch(error => console.error(error));</code></pre>
2248
2141
 
2249
2142
 
@@ -2274,7 +2167,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2274
2167
 
2275
2168
  <tr>
2276
2169
 
2277
- <td class="name"><code>brand</code></td>
2170
+ <td class="name"><code>id</code></td>
2278
2171
 
2279
2172
 
2280
2173
  <td class="type">
@@ -2291,7 +2184,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2291
2184
 
2292
2185
 
2293
2186
 
2294
- <td class="description last">The brand for which to fetch artists.</td>
2187
+ <td class="description last">The Railcontent ID of the coach</td>
2295
2188
  </tr>
2296
2189
 
2297
2190
 
@@ -2317,7 +2210,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2317
2210
 
2318
2211
 
2319
2212
  <div class="param-desc">
2320
- - A promise that resolves to an array of artist objects or null if not found.
2213
+ - The lessons for the instructor or null if not found.
2321
2214
  </div>
2322
2215
 
2323
2216
 
@@ -2344,7 +2237,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2344
2237
 
2345
2238
 
2346
2239
 
2347
- <h4 class="name" id=".fetchByRailContentId"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentId<span class="signature">(id, contentType)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2240
+ <h4 class="name" id=".fetchComingSoon"><span class="type-signature type-signature-static">(static) </span>fetchComingSoon<span class="signature">()</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2348
2241
 
2349
2242
 
2350
2243
 
@@ -2354,13 +2247,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2354
2247
  <dl class="details">
2355
2248
 
2356
2249
  <dt class="tag-description">Description:</dt>
2357
- <dd class="tag-description"><ul class="dummy"><li>Fetch content by a specific Railcontent ID.</li></ul></dd>
2250
+ <dd class="tag-description"><ul class="dummy"><li>fetches from Sanity all songs coming soon (new) next quarter</li></ul></dd>
2358
2251
 
2359
2252
 
2360
2253
 
2361
2254
  <dt class="tag-source">Source:</dt>
2362
2255
  <dd class="tag-source"><ul class="dummy"><li>
2363
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line442">line 442</a>
2256
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line131">line 131</a>
2364
2257
  </li></ul></dd>
2365
2258
 
2366
2259
 
@@ -2405,87 +2298,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2405
2298
 
2406
2299
 
2407
2300
 
2408
- <h5 class="h5-examples">Example</h5>
2409
-
2410
- <pre class="prettyprint"><code>fetchByRailContentId('abc123')
2411
- .then(content => console.log(content))
2412
- .catch(error => console.error(error));</code></pre>
2413
-
2414
-
2415
-
2416
-
2417
- <h5 class="h5-parameters">Parameters:</h5>
2418
-
2419
-
2420
- <table class="params">
2421
- <thead>
2422
- <tr>
2423
-
2424
- <th>Name</th>
2425
-
2426
-
2427
- <th>Type</th>
2428
-
2429
-
2430
-
2431
-
2432
-
2433
- <th class="last">Description</th>
2434
- </tr>
2435
- </thead>
2436
-
2437
- <tbody>
2438
-
2439
-
2440
- <tr>
2441
-
2442
- <td class="name"><code>id</code></td>
2443
-
2444
-
2445
- <td class="type">
2446
-
2447
-
2448
- <span class="param-type">string</span>
2449
-
2450
-
2451
-
2452
-
2453
- </td>
2454
-
2455
-
2456
-
2457
-
2458
-
2459
- <td class="description last">The Railcontent ID of the content to fetch.</td>
2460
- </tr>
2461
-
2462
-
2463
-
2464
- <tr>
2465
-
2466
- <td class="name"><code>contentType</code></td>
2467
-
2468
-
2469
- <td class="type">
2470
-
2471
-
2472
- <span class="param-type">string</span>
2473
-
2474
-
2475
-
2476
-
2477
- </td>
2478
-
2479
-
2480
-
2481
-
2482
-
2483
- <td class="description last">The document type of content to fetch</td>
2484
- </tr>
2485
-
2486
-
2487
- </tbody>
2488
- </table>
2489
2301
 
2490
2302
 
2491
2303
 
@@ -2505,10 +2317,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2505
2317
  <h5 class="h5-returns">Returns:</h5>
2506
2318
 
2507
2319
 
2508
- <div class="param-desc">
2509
- - A promise that resolves to the content object or null if not found.
2510
- </div>
2511
-
2512
2320
 
2513
2321
 
2514
2322
  <dl class="param-type">
@@ -2533,7 +2341,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2533
2341
 
2534
2342
 
2535
2343
 
2536
- <h4 class="name" id=".fetchByRailContentIds"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentIds<span class="signature">(ids, contentType<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
2344
+ <h4 class="name" id=".fetchCommentModContentData"><span class="type-signature type-signature-static">(static) </span>fetchCommentModContentData<span class="signature">(ids)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2537
2345
 
2538
2346
 
2539
2347
 
@@ -2543,13 +2351,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2543
2351
  <dl class="details">
2544
2352
 
2545
2353
  <dt class="tag-description">Description:</dt>
2546
- <dd class="tag-description"><ul class="dummy"><li>Fetch content by an array of Railcontent IDs.</li></ul></dd>
2354
+ <dd class="tag-description"><ul class="dummy"><li>Fetch data for comment mod page</li></ul></dd>
2547
2355
 
2548
2356
 
2549
2357
 
2550
2358
  <dt class="tag-source">Source:</dt>
2551
2359
  <dd class="tag-source"><ul class="dummy"><li>
2552
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line479">line 479</a>
2360
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1589">line 1589</a>
2553
2361
  </li></ul></dd>
2554
2362
 
2555
2363
 
@@ -2594,13 +2402,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2594
2402
 
2595
2403
 
2596
2404
 
2597
- <h5 class="h5-examples">Example</h5>
2598
-
2599
- <pre class="prettyprint"><code>fetchByRailContentIds(['abc123', 'def456', 'ghi789'])
2600
- .then(contents => console.log(contents))
2601
- .catch(error => console.error(error));</code></pre>
2602
-
2603
-
2604
2405
 
2605
2406
 
2606
2407
  <h5 class="h5-parameters">Parameters:</h5>
@@ -2616,8 +2417,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2616
2417
  <th>Type</th>
2617
2418
 
2618
2419
 
2619
- <th>Attributes</th>
2620
-
2621
2420
 
2622
2421
 
2623
2422
 
@@ -2636,39 +2435,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2636
2435
  <td class="type">
2637
2436
 
2638
2437
 
2639
- <span class="param-type">Array.&lt;(string|number)></span>
2640
-
2641
-
2642
-
2643
-
2644
- </td>
2645
-
2646
-
2647
- <td class="attributes">
2648
-
2649
-
2650
-
2651
-
2652
-
2653
- </td>
2654
-
2655
-
2656
-
2657
-
2658
- <td class="description last">The array of Railcontent IDs of the content to fetch.</td>
2659
- </tr>
2660
-
2661
-
2662
-
2663
- <tr>
2664
-
2665
- <td class="name"><code>contentType</code></td>
2666
-
2667
-
2668
- <td class="type">
2669
-
2670
-
2671
- <span class="param-type">string</span>
2438
+ <span class="param-type">array</span>
2672
2439
 
2673
2440
 
2674
2441
 
@@ -2676,20 +2443,10 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2676
2443
  </td>
2677
2444
 
2678
2445
 
2679
- <td class="attributes">
2680
-
2681
- &lt;optional><br>
2682
-
2683
-
2684
-
2685
-
2686
-
2687
- </td>
2688
-
2689
2446
 
2690
2447
 
2691
2448
 
2692
- <td class="description last">The content type the IDs to add needed fields to the response.</td>
2449
+ <td class="description last">List of ids get data for</td>
2693
2450
  </tr>
2694
2451
 
2695
2452
 
@@ -2715,7 +2472,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2715
2472
 
2716
2473
 
2717
2474
  <div class="param-desc">
2718
- - A promise that resolves to an array of content objects or null if not found.
2475
+ - A promise that resolves to an object containing the data
2719
2476
  </div>
2720
2477
 
2721
2478
 
@@ -2726,7 +2483,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2726
2483
  </dt>
2727
2484
  <dd>
2728
2485
 
2729
- <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
2486
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2730
2487
 
2731
2488
 
2732
2489
 
@@ -2742,7 +2499,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2742
2499
 
2743
2500
 
2744
2501
 
2745
- <h4 class="name" id=".fetchByReference"><span class="type-signature type-signature-static">(static) </span>fetchByReference<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2502
+ <h4 class="name" id=".fetchFoundation"><span class="type-signature type-signature-static">(static) </span>fetchFoundation<span class="signature">(slug)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2746
2503
 
2747
2504
 
2748
2505
 
@@ -2752,13 +2509,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2752
2509
  <dl class="details">
2753
2510
 
2754
2511
  <dt class="tag-description">Description:</dt>
2755
- <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
2512
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the Foundations 2019.</li></ul></dd>
2756
2513
 
2757
2514
 
2758
2515
 
2759
2516
  <dt class="tag-source">Source:</dt>
2760
2517
  <dd class="tag-source"><ul class="dummy"><li>
2761
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1512">line 1512</a>
2518
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line872">line 872</a>
2762
2519
  </li></ul></dd>
2763
2520
 
2764
2521
 
@@ -2803,1370 +2560,40 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2803
2560
 
2804
2561
 
2805
2562
 
2806
- <h5 class="h5-examples">Example</h5>
2807
-
2808
- <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2809
- .then(lessons => console.log(lessons))
2810
- .catch(error => console.error(error));</code></pre>
2811
-
2812
-
2813
-
2814
-
2815
- <h5 class="h5-parameters">Parameters:</h5>
2816
-
2817
-
2818
- <table class="params">
2819
- <thead>
2820
- <tr>
2821
-
2822
- <th>Name</th>
2823
-
2824
-
2825
- <th>Type</th>
2826
-
2827
-
2828
-
2829
-
2830
-
2831
- <th class="last">Description</th>
2832
- </tr>
2833
- </thead>
2834
-
2835
- <tbody>
2836
-
2837
-
2838
- <tr>
2839
-
2840
- <td class="name"><code>id</code></td>
2841
-
2842
-
2843
- <td class="type">
2844
-
2845
-
2846
- <span class="param-type">string</span>
2847
-
2848
-
2849
-
2850
-
2851
- </td>
2852
-
2853
-
2854
-
2855
-
2856
-
2857
- <td class="description last">The Railcontent ID of the coach</td>
2858
- </tr>
2859
-
2860
-
2861
- </tbody>
2862
- </table>
2863
-
2864
-
2865
-
2866
-
2867
-
2868
-
2869
-
2870
-
2871
-
2872
-
2873
-
2874
-
2875
-
2876
-
2877
-
2878
-
2879
- <h5 class="h5-returns">Returns:</h5>
2880
-
2881
-
2882
- <div class="param-desc">
2883
- - The lessons for the instructor or null if not found.
2884
- </div>
2885
-
2886
-
2887
-
2888
- <dl class="param-type">
2889
- <dt>
2890
- Type
2891
- </dt>
2892
- <dd>
2893
-
2894
- <span class="param-type">Promise.&lt;(Object|null)></span>
2895
-
2896
-
2897
-
2898
- </dd>
2899
- </dl>
2900
-
2901
-
2902
-
2903
-
2904
-
2905
-
2906
-
2907
-
2908
-
2909
-
2910
- <h4 class="name" id=".fetchCoachLessons"><span class="type-signature type-signature-static">(static) </span>fetchCoachLessons<span class="signature">(brand, id, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
2911
-
2912
-
2913
-
2914
-
2915
-
2916
-
2917
- <dl class="details">
2918
-
2919
- <dt class="tag-description">Description:</dt>
2920
- <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
2921
-
2922
-
2923
-
2924
- <dt class="tag-source">Source:</dt>
2925
- <dd class="tag-source"><ul class="dummy"><li>
2926
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1479">line 1479</a>
2927
- </li></ul></dd>
2928
-
2929
-
2930
-
2931
-
2932
-
2933
-
2934
-
2935
-
2936
-
2937
-
2938
-
2939
-
2940
-
2941
-
2942
-
2943
-
2944
-
2945
-
2946
-
2947
-
2948
-
2949
-
2950
-
2951
-
2952
-
2953
-
2954
-
2955
-
2956
-
2957
-
2958
-
2959
- </dl>
2960
-
2961
-
2962
-
2963
-
2964
-
2965
-
2966
-
2967
-
2968
-
2969
-
2970
-
2971
- <h5 class="h5-examples">Example</h5>
2972
-
2973
- <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2974
- .then(lessons => console.log(lessons))
2975
- .catch(error => console.error(error));</code></pre>
2976
-
2977
-
2978
-
2979
-
2980
- <h5 class="h5-parameters">Parameters:</h5>
2981
-
2982
-
2983
- <table class="params">
2984
- <thead>
2985
- <tr>
2986
-
2987
- <th>Name</th>
2988
-
2989
-
2990
- <th>Type</th>
2991
-
2992
-
2993
-
2994
-
2995
-
2996
- <th class="last">Description</th>
2997
- </tr>
2998
- </thead>
2999
-
3000
- <tbody>
3001
-
3002
-
3003
- <tr>
3004
-
3005
- <td class="name"><code>brand</code></td>
3006
-
3007
-
3008
- <td class="type">
3009
-
3010
-
3011
- <span class="param-type">string</span>
3012
-
3013
-
3014
-
3015
-
3016
- </td>
3017
-
3018
-
3019
-
3020
-
3021
-
3022
- <td class="description last">The brand for which to fetch coach lessons</td>
3023
- </tr>
3024
-
3025
-
3026
-
3027
- <tr>
3028
-
3029
- <td class="name"><code>id</code></td>
3030
-
3031
-
3032
- <td class="type">
3033
-
3034
-
3035
- <span class="param-type">string</span>
3036
-
3037
-
3038
-
3039
-
3040
- </td>
3041
-
3042
-
3043
-
3044
-
3045
-
3046
- <td class="description last">The Railcontent ID of the coach</td>
3047
- </tr>
3048
-
3049
-
3050
-
3051
- <tr>
3052
-
3053
- <td class="name"><code>params</code></td>
3054
-
3055
-
3056
- <td class="type">
3057
-
3058
-
3059
- <span class="param-type">Object</span>
3060
-
3061
-
3062
-
3063
-
3064
- </td>
3065
-
3066
-
3067
-
3068
-
3069
-
3070
- <td class="description last">Parameters for pagination, filtering and sorting.
3071
- <h6>Properties</h6>
3072
-
3073
-
3074
- <table class="params">
3075
- <thead>
3076
- <tr>
3077
-
3078
- <th>Name</th>
3079
-
3080
-
3081
- <th>Type</th>
3082
-
3083
-
3084
- <th>Attributes</th>
3085
-
3086
-
3087
-
3088
- <th>Default</th>
3089
-
3090
-
3091
- <th class="last">Description</th>
3092
- </tr>
3093
- </thead>
3094
-
3095
- <tbody>
3096
-
3097
-
3098
- <tr>
3099
-
3100
- <td class="name"><code>sortOrder</code></td>
3101
-
3102
-
3103
- <td class="type">
3104
-
3105
-
3106
- <span class="param-type">string</span>
3107
-
3108
-
3109
-
3110
-
3111
- </td>
3112
-
3113
-
3114
- <td class="attributes">
3115
-
3116
- &lt;optional><br>
3117
-
3118
-
3119
-
3120
-
3121
-
3122
- </td>
3123
-
3124
-
3125
-
3126
- <td class="default">
3127
-
3128
- <code>"-published_on"</code>
3129
-
3130
- </td>
3131
-
3132
-
3133
- <td class="description last">The field to sort the lessons by.</td>
3134
- </tr>
3135
-
3136
-
3137
-
3138
- <tr>
3139
-
3140
- <td class="name"><code>searchTerm</code></td>
3141
-
3142
-
3143
- <td class="type">
3144
-
3145
-
3146
- <span class="param-type">string</span>
3147
-
3148
-
3149
-
3150
-
3151
- </td>
3152
-
3153
-
3154
- <td class="attributes">
3155
-
3156
- &lt;optional><br>
3157
-
3158
-
3159
-
3160
-
3161
-
3162
- </td>
3163
-
3164
-
3165
-
3166
- <td class="default">
3167
-
3168
- <code>""</code>
3169
-
3170
- </td>
3171
-
3172
-
3173
- <td class="description last">The search term to filter content by title.</td>
3174
- </tr>
3175
-
3176
-
3177
-
3178
- <tr>
3179
-
3180
- <td class="name"><code>page</code></td>
3181
-
3182
-
3183
- <td class="type">
3184
-
3185
-
3186
- <span class="param-type">number</span>
3187
-
3188
-
3189
-
3190
-
3191
- </td>
3192
-
3193
-
3194
- <td class="attributes">
3195
-
3196
- &lt;optional><br>
3197
-
3198
-
3199
-
3200
-
3201
-
3202
- </td>
3203
-
3204
-
3205
-
3206
- <td class="default">
3207
-
3208
- <code>1</code>
3209
-
3210
- </td>
3211
-
3212
-
3213
- <td class="description last">The page number for pagination.</td>
3214
- </tr>
3215
-
3216
-
3217
-
3218
- <tr>
3219
-
3220
- <td class="name"><code>limit</code></td>
3221
-
3222
-
3223
- <td class="type">
3224
-
3225
-
3226
- <span class="param-type">number</span>
3227
-
3228
-
3229
-
3230
-
3231
- </td>
3232
-
3233
-
3234
- <td class="attributes">
3235
-
3236
- &lt;optional><br>
3237
-
3238
-
3239
-
3240
-
3241
-
3242
- </td>
3243
-
3244
-
3245
-
3246
- <td class="default">
3247
-
3248
- <code>10</code>
3249
-
3250
- </td>
3251
-
3252
-
3253
- <td class="description last">The number of items per page.</td>
3254
- </tr>
3255
-
3256
-
3257
-
3258
- <tr>
3259
-
3260
- <td class="name"><code>includedFields</code></td>
3261
-
3262
-
3263
- <td class="type">
3264
-
3265
-
3266
- <span class="param-type">Array.&lt;string></span>
3267
-
3268
-
3269
-
3270
-
3271
- </td>
3272
-
3273
-
3274
- <td class="attributes">
3275
-
3276
- &lt;optional><br>
3277
-
3278
-
3279
-
3280
-
3281
-
3282
- </td>
3283
-
3284
-
3285
-
3286
- <td class="default">
3287
-
3288
- <code>[]</code>
3289
-
3290
- </td>
3291
-
3292
-
3293
- <td class="description last">Additional filters to apply to the query in the format of a key,value array. eg. ['difficulty,Intermediate', 'genre,rock'].</td>
3294
- </tr>
3295
-
3296
-
3297
- </tbody>
3298
- </table>
3299
-
3300
- </td>
3301
- </tr>
3302
-
3303
-
3304
- </tbody>
3305
- </table>
3306
-
3307
-
3308
-
3309
-
3310
-
3311
-
3312
-
3313
-
3314
-
3315
-
3316
-
3317
-
3318
-
3319
-
3320
-
3321
-
3322
- <h5 class="h5-returns">Returns:</h5>
3323
-
3324
-
3325
- <div class="param-desc">
3326
- - The lessons for the instructor or null if not found.
3327
- </div>
3328
-
3329
-
3330
-
3331
- <dl class="param-type">
3332
- <dt>
3333
- Type
3334
- </dt>
3335
- <dd>
3336
-
3337
- <span class="param-type">Promise.&lt;(Object|null)></span>
3338
-
3339
-
3340
-
3341
- </dd>
3342
- </dl>
3343
-
3344
-
3345
-
3346
-
3347
-
3348
-
3349
-
3350
-
3351
-
3352
-
3353
- <h4 class="name" id=".fetchComingSoon"><span class="type-signature type-signature-static">(static) </span>fetchComingSoon<span class="signature">()</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3354
-
3355
-
3356
-
3357
-
3358
-
3359
-
3360
- <dl class="details">
3361
-
3362
- <dt class="tag-description">Description:</dt>
3363
- <dd class="tag-description"><ul class="dummy"><li>fetches from Sanity all songs coming soon (new) next quarter</li></ul></dd>
3364
-
3365
-
3366
-
3367
- <dt class="tag-source">Source:</dt>
3368
- <dd class="tag-source"><ul class="dummy"><li>
3369
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line134">line 134</a>
3370
- </li></ul></dd>
3371
-
3372
-
3373
-
3374
-
3375
-
3376
-
3377
-
3378
-
3379
-
3380
-
3381
-
3382
-
3383
-
3384
-
3385
-
3386
-
3387
-
3388
-
3389
-
3390
-
3391
-
3392
-
3393
-
3394
-
3395
-
3396
-
3397
-
3398
-
3399
-
3400
-
3401
-
3402
- </dl>
3403
-
3404
-
3405
-
3406
-
3407
-
3408
-
3409
-
3410
-
3411
-
3412
-
3413
-
3414
-
3415
-
3416
-
3417
-
3418
-
3419
-
3420
-
3421
-
3422
-
3423
-
3424
-
3425
-
3426
-
3427
-
3428
-
3429
-
3430
- <h5 class="h5-returns">Returns:</h5>
3431
-
3432
-
3433
-
3434
-
3435
- <dl class="param-type">
3436
- <dt>
3437
- Type
3438
- </dt>
3439
- <dd>
3440
-
3441
- <span class="param-type">Promise.&lt;(Object|null)></span>
3442
-
3443
-
3444
-
3445
- </dd>
3446
- </dl>
3447
-
3448
-
3449
-
3450
-
3451
-
3452
-
3453
-
3454
-
3455
-
3456
-
3457
- <h4 class="name" id=".fetchCommentModContentData"><span class="type-signature type-signature-static">(static) </span>fetchCommentModContentData<span class="signature">(ids)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3458
-
3459
-
3460
-
3461
-
3462
-
3463
-
3464
- <dl class="details">
3465
-
3466
- <dt class="tag-description">Description:</dt>
3467
- <dd class="tag-description"><ul class="dummy"><li>Fetch data for comment mod page</li></ul></dd>
3468
-
3469
-
3470
-
3471
- <dt class="tag-source">Source:</dt>
3472
- <dd class="tag-source"><ul class="dummy"><li>
3473
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1741">line 1741</a>
3474
- </li></ul></dd>
3475
-
3476
-
3477
-
3478
-
3479
-
3480
-
3481
-
3482
-
3483
-
3484
-
3485
-
3486
-
3487
-
3488
-
3489
-
3490
-
3491
-
3492
-
3493
-
3494
-
3495
-
3496
-
3497
-
3498
-
3499
-
3500
-
3501
-
3502
-
3503
-
3504
-
3505
-
3506
- </dl>
3507
-
3508
-
3509
-
3510
-
3511
-
3512
-
3513
-
3514
-
3515
-
3516
-
3517
-
3518
-
3519
-
3520
- <h5 class="h5-parameters">Parameters:</h5>
3521
-
3522
-
3523
- <table class="params">
3524
- <thead>
3525
- <tr>
3526
-
3527
- <th>Name</th>
3528
-
3529
-
3530
- <th>Type</th>
3531
-
3532
-
3533
-
3534
-
3535
-
3536
- <th class="last">Description</th>
3537
- </tr>
3538
- </thead>
3539
-
3540
- <tbody>
3541
-
3542
-
3543
- <tr>
3544
-
3545
- <td class="name"><code>ids</code></td>
3546
-
3547
-
3548
- <td class="type">
3549
-
3550
-
3551
- <span class="param-type">array</span>
3552
-
3553
-
3554
-
3555
-
3556
- </td>
3557
-
3558
-
3559
-
3560
-
3561
-
3562
- <td class="description last">List of ids get data for</td>
3563
- </tr>
3564
-
3565
-
3566
- </tbody>
3567
- </table>
3568
-
3569
-
3570
-
3571
-
3572
-
3573
-
3574
-
3575
-
3576
-
3577
-
3578
-
3579
-
3580
-
3581
-
3582
-
3583
-
3584
- <h5 class="h5-returns">Returns:</h5>
3585
-
3586
-
3587
- <div class="param-desc">
3588
- - A promise that resolves to an object containing the data
3589
- </div>
3590
-
3591
-
3592
-
3593
- <dl class="param-type">
3594
- <dt>
3595
- Type
3596
- </dt>
3597
- <dd>
3598
-
3599
- <span class="param-type">Promise.&lt;(Object|null)></span>
3600
-
3601
-
3602
-
3603
- </dd>
3604
- </dl>
3605
-
3606
-
3607
-
3608
-
3609
-
3610
-
3611
-
3612
-
3613
-
3614
-
3615
- <h4 class="name" id=".fetchFoundation"><span class="type-signature type-signature-static">(static) </span>fetchFoundation<span class="signature">(slug)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3616
-
3617
-
3618
-
3619
-
3620
-
3621
-
3622
- <dl class="details">
3623
-
3624
- <dt class="tag-description">Description:</dt>
3625
- <dd class="tag-description"><ul class="dummy"><li>Fetch the Foundations 2019.</li></ul></dd>
3626
-
3627
-
3628
-
3629
- <dt class="tag-source">Source:</dt>
3630
- <dd class="tag-source"><ul class="dummy"><li>
3631
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line887">line 887</a>
3632
- </li></ul></dd>
3633
-
3634
-
3635
-
3636
-
3637
-
3638
-
3639
-
3640
-
3641
-
3642
-
3643
-
3644
-
3645
-
3646
-
3647
-
3648
-
3649
-
3650
-
3651
-
3652
-
3653
-
3654
-
3655
-
3656
-
3657
-
3658
-
3659
-
3660
-
3661
-
3662
-
3663
-
3664
- </dl>
3665
-
3666
-
3667
-
3668
-
3669
-
3670
-
3671
-
3672
-
3673
-
3674
-
3675
-
3676
-
3677
-
3678
- <h5 class="h5-parameters">Parameters:</h5>
3679
-
3680
-
3681
- <table class="params">
3682
- <thead>
3683
- <tr>
3684
-
3685
- <th>Name</th>
3686
-
3687
-
3688
- <th>Type</th>
3689
-
3690
-
3691
-
3692
-
3693
-
3694
- <th class="last">Description</th>
3695
- </tr>
3696
- </thead>
3697
-
3698
- <tbody>
3699
-
3700
-
3701
- <tr>
3702
-
3703
- <td class="name"><code>slug</code></td>
3704
-
3705
-
3706
- <td class="type">
3707
-
3708
-
3709
- <span class="param-type">string</span>
3710
-
3711
-
3712
-
3713
-
3714
- </td>
3715
-
3716
-
3717
-
3718
-
3719
-
3720
- <td class="description last">The slug of the method.</td>
3721
- </tr>
3722
-
3723
-
3724
- </tbody>
3725
- </table>
3726
-
3727
-
3728
-
3729
-
3730
-
3731
-
3732
-
3733
-
3734
-
3735
-
3736
-
3737
-
3738
-
3739
-
3740
-
3741
-
3742
- <h5 class="h5-returns">Returns:</h5>
3743
-
3744
-
3745
- <div class="param-desc">
3746
- - The fetched foundation data or null if not found.
3747
- </div>
3748
-
3749
-
3750
-
3751
- <dl class="param-type">
3752
- <dt>
3753
- Type
3754
- </dt>
3755
- <dd>
3756
-
3757
- <span class="param-type">Promise.&lt;(Object|null)></span>
3758
-
3759
-
3760
-
3761
- </dd>
3762
- </dl>
3763
-
3764
-
3765
-
3766
-
3767
-
3768
-
3769
-
3770
-
3771
-
3772
-
3773
- <h4 class="name" id=".fetchGenreLessons"><span class="type-signature type-signature-static">(static) </span>fetchGenreLessons<span class="signature">(brand, name, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3774
-
3775
-
3776
-
3777
-
3778
-
3779
-
3780
- <dl class="details">
3781
-
3782
- <dt class="tag-description">Description:</dt>
3783
- <dd class="tag-description"><ul class="dummy"><li>Fetch the genre's lessons.</li></ul></dd>
3784
-
3785
-
3786
-
3787
- <dt class="tag-source">Source:</dt>
3788
- <dd class="tag-source"><ul class="dummy"><li>
3789
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1611">line 1611</a>
3790
- </li></ul></dd>
3791
-
3792
-
3793
-
3794
-
3795
-
3796
-
3797
-
3798
-
3799
-
3800
-
3801
-
3802
-
3803
-
3804
-
3805
-
3806
-
3807
-
3808
-
3809
-
3810
-
3811
-
3812
-
3813
-
3814
-
3815
-
3816
-
3817
-
3818
-
3819
-
3820
-
3821
-
3822
- </dl>
3823
-
3824
-
3825
-
3826
-
3827
-
3828
-
3829
-
3830
-
3831
-
3832
-
3833
-
3834
- <h5 class="h5-examples">Example</h5>
3835
-
3836
- <pre class="prettyprint"><code>fetchGenreLessons('drumeo', 'Blues', 'song', {'-published_on', '', 1, 10, ["difficulty,Intermediate"], [232168, 232824, 303375, 232194, 393125]})
3837
- .then(lessons => console.log(lessons))
3838
- .catch(error => console.error(error));</code></pre>
3839
-
3840
-
3841
-
3842
-
3843
- <h5 class="h5-parameters">Parameters:</h5>
3844
-
3845
-
3846
- <table class="params">
3847
- <thead>
3848
- <tr>
3849
-
3850
- <th>Name</th>
3851
-
3852
-
3853
- <th>Type</th>
3854
-
3855
-
3856
-
3857
-
3858
-
3859
- <th class="last">Description</th>
3860
- </tr>
3861
- </thead>
3862
-
3863
- <tbody>
3864
-
3865
-
3866
- <tr>
3867
-
3868
- <td class="name"><code>brand</code></td>
3869
-
3870
-
3871
- <td class="type">
3872
-
3873
-
3874
- <span class="param-type">string</span>
3875
-
3876
-
3877
-
3878
-
3879
- </td>
3880
-
3881
-
3882
-
3883
-
3884
-
3885
- <td class="description last">The brand for which to fetch lessons.</td>
3886
- </tr>
3887
-
3888
-
3889
-
3890
- <tr>
3891
-
3892
- <td class="name"><code>name</code></td>
3893
-
3894
-
3895
- <td class="type">
3896
-
3897
-
3898
- <span class="param-type">string</span>
3899
-
3900
-
3901
-
3902
-
3903
- </td>
3904
-
3905
-
3906
-
3907
-
3908
-
3909
- <td class="description last">The name of the genre</td>
3910
- </tr>
3911
-
3912
-
3913
-
3914
- <tr>
3915
-
3916
- <td class="name"><code>params</code></td>
3917
-
3918
-
3919
- <td class="type">
3920
-
3921
-
3922
- <span class="param-type">Object</span>
3923
-
3924
-
3925
-
3926
-
3927
- </td>
3928
-
3929
-
3930
-
3931
-
3932
-
3933
- <td class="description last">Parameters for sorting, searching, pagination and filtering.
3934
- <h6>Properties</h6>
3935
-
3936
-
3937
- <table class="params">
3938
- <thead>
3939
- <tr>
3940
-
3941
- <th>Name</th>
3942
-
3943
-
3944
- <th>Type</th>
3945
-
3946
-
3947
- <th>Attributes</th>
3948
-
3949
-
3950
-
3951
- <th>Default</th>
3952
-
3953
-
3954
- <th class="last">Description</th>
3955
- </tr>
3956
- </thead>
3957
-
3958
- <tbody>
3959
-
3960
-
3961
- <tr>
3962
-
3963
- <td class="name"><code>sort</code></td>
3964
-
3965
-
3966
- <td class="type">
3967
-
3968
-
3969
- <span class="param-type">string</span>
3970
-
3971
-
3972
-
3973
-
3974
- </td>
3975
-
3976
-
3977
- <td class="attributes">
3978
-
3979
- &lt;optional><br>
3980
-
3981
-
3982
-
3983
-
3984
-
3985
- </td>
3986
-
3987
-
3988
-
3989
- <td class="default">
3990
-
3991
- <code>"-published_on"</code>
3992
-
3993
- </td>
3994
-
3995
-
3996
- <td class="description last">The field to sort the lessons by.</td>
3997
- </tr>
3998
-
3999
-
4000
-
4001
- <tr>
4002
-
4003
- <td class="name"><code>searchTerm</code></td>
4004
-
4005
-
4006
- <td class="type">
4007
-
4008
-
4009
- <span class="param-type">string</span>
4010
-
4011
-
4012
-
4013
-
4014
- </td>
4015
-
4016
-
4017
- <td class="attributes">
4018
-
4019
- &lt;optional><br>
4020
-
4021
-
4022
-
4023
-
4024
-
4025
- </td>
4026
-
4027
-
4028
-
4029
- <td class="default">
4030
-
4031
- <code>""</code>
4032
-
4033
- </td>
4034
-
4035
-
4036
- <td class="description last">The search term to filter the lessons.</td>
4037
- </tr>
4038
-
4039
-
4040
-
4041
- <tr>
4042
-
4043
- <td class="name"><code>page</code></td>
4044
-
4045
-
4046
- <td class="type">
4047
-
4048
-
4049
- <span class="param-type">number</span>
4050
-
4051
-
4052
-
4053
-
4054
- </td>
4055
-
4056
-
4057
- <td class="attributes">
4058
-
4059
- &lt;optional><br>
4060
-
4061
-
4062
-
4063
-
4064
-
4065
- </td>
4066
-
4067
-
4068
-
4069
- <td class="default">
4070
-
4071
- <code>1</code>
4072
-
4073
- </td>
4074
-
4075
-
4076
- <td class="description last">The page number for pagination.</td>
4077
- </tr>
4078
-
4079
-
4080
-
4081
- <tr>
4082
-
4083
- <td class="name"><code>limit</code></td>
4084
-
4085
-
4086
- <td class="type">
4087
-
4088
-
4089
- <span class="param-type">number</span>
4090
-
4091
-
4092
-
4093
-
4094
- </td>
4095
-
4096
-
4097
- <td class="attributes">
4098
-
4099
- &lt;optional><br>
4100
-
4101
-
4102
-
4103
-
4104
-
4105
- </td>
4106
-
4107
-
4108
-
4109
- <td class="default">
4110
-
4111
- <code>10</code>
4112
-
4113
- </td>
4114
-
4115
-
4116
- <td class="description last">The number of items per page.</td>
4117
- </tr>
4118
-
4119
-
4120
-
4121
- <tr>
4122
-
4123
- <td class="name"><code>includedFields</code></td>
4124
-
4125
-
4126
- <td class="type">
4127
-
4128
-
4129
- <span class="param-type">Array.&lt;string></span>
4130
-
4131
-
4132
-
4133
-
4134
- </td>
4135
2563
 
4136
-
4137
- <td class="attributes">
4138
-
4139
- &lt;optional><br>
4140
-
4141
2564
 
4142
-
2565
+ <h5 class="h5-parameters">Parameters:</h5>
2566
+
4143
2567
 
4144
-
4145
- </td>
4146
-
2568
+ <table class="params">
2569
+ <thead>
2570
+ <tr>
2571
+
2572
+ <th>Name</th>
2573
+
4147
2574
 
4148
-
4149
- <td class="default">
4150
-
4151
- <code>[]</code>
4152
-
4153
- </td>
4154
-
2575
+ <th>Type</th>
4155
2576
 
4156
- <td class="description last">Additional filters to apply to the query in the format of a key,value array. eg. ['difficulty,Intermediate', 'genre,rock'].</td>
4157
- </tr>
2577
+
4158
2578
 
2579
+
2580
+
2581
+ <th class="last">Description</th>
2582
+ </tr>
2583
+ </thead>
2584
+
2585
+ <tbody>
4159
2586
 
4160
2587
 
4161
2588
  <tr>
4162
2589
 
4163
- <td class="name"><code>progressIds</code></td>
2590
+ <td class="name"><code>slug</code></td>
4164
2591
 
4165
2592
 
4166
2593
  <td class="type">
4167
2594
 
4168
2595
 
4169
- <span class="param-type">Array.&lt;number></span>
2596
+ <span class="param-type">string</span>
4170
2597
 
4171
2598
 
4172
2599
 
@@ -4174,31 +2601,10 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4174
2601
  </td>
4175
2602
 
4176
2603
 
4177
- <td class="attributes">
4178
-
4179
- &lt;optional><br>
4180
-
4181
-
4182
-
4183
-
4184
-
4185
- </td>
4186
-
4187
2604
 
4188
2605
 
4189
- <td class="default">
4190
-
4191
- </td>
4192
-
4193
-
4194
- <td class="description last">The ids of the lessons that are in progress or completed</td>
4195
- </tr>
4196
-
4197
-
4198
- </tbody>
4199
- </table>
4200
2606
 
4201
- </td>
2607
+ <td class="description last">The slug of the method.</td>
4202
2608
  </tr>
4203
2609
 
4204
2610
 
@@ -4224,7 +2630,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4224
2630
 
4225
2631
 
4226
2632
  <div class="param-desc">
4227
- - The lessons for the artist and some details about the artist (name and thumbnail).
2633
+ - The fetched foundation data or null if not found.
4228
2634
  </div>
4229
2635
 
4230
2636
 
@@ -4267,7 +2673,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4267
2673
 
4268
2674
  <dt class="tag-source">Source:</dt>
4269
2675
  <dd class="tag-source"><ul class="dummy"><li>
4270
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line79">line 79</a>
2676
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line76">line 76</a>
4271
2677
  </li></ul></dd>
4272
2678
 
4273
2679
 
@@ -4371,7 +2777,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
4371
2777
 
4372
2778
  <dt class="tag-source">Source:</dt>
4373
2779
  <dd class="tag-source"><ul class="dummy"><li>
4374
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1109">line 1109</a>
2780
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1095">line 1095</a>
4375
2781
  </li></ul></dd>
4376
2782
 
4377
2783
 
@@ -4537,7 +2943,7 @@ These are linked through content that shares a license with the provided railcon
4537
2943
 
4538
2944
  <dt class="tag-source">Source:</dt>
4539
2945
  <dd class="tag-source"><ul class="dummy"><li>
4540
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1216">line 1216</a>
2946
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1206">line 1206</a>
4541
2947
  </li></ul></dd>
4542
2948
 
4543
2949
 
@@ -4740,7 +3146,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4740
3146
 
4741
3147
  <dt class="tag-source">Source:</dt>
4742
3148
  <dd class="tag-source"><ul class="dummy"><li>
4743
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1929">line 1929</a>
3149
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1779">line 1779</a>
4744
3150
  </li></ul></dd>
4745
3151
 
4746
3152
 
@@ -4925,7 +3331,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4925
3331
 
4926
3332
  <dt class="tag-source">Source:</dt>
4927
3333
  <dd class="tag-source"><ul class="dummy"><li>
4928
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line907">line 907</a>
3334
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line893">line 893</a>
4929
3335
  </li></ul></dd>
4930
3336
 
4931
3337
 
@@ -5107,7 +3513,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5107
3513
 
5108
3514
  <dt class="tag-source">Source:</dt>
5109
3515
  <dd class="tag-source"><ul class="dummy"><li>
5110
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line955">line 955</a>
3516
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line941">line 941</a>
5111
3517
  </li></ul></dd>
5112
3518
 
5113
3519
 
@@ -5265,7 +3671,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5265
3671
 
5266
3672
  <dt class="tag-source">Source:</dt>
5267
3673
  <dd class="tag-source"><ul class="dummy"><li>
5268
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1013">line 1013</a>
3674
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line999">line 999</a>
5269
3675
  </li></ul></dd>
5270
3676
 
5271
3677
 
@@ -5423,7 +3829,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5423
3829
 
5424
3830
  <dt class="tag-source">Source:</dt>
5425
3831
  <dd class="tag-source"><ul class="dummy"><li>
5426
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line990">line 990</a>
3832
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line976">line 976</a>
5427
3833
  </li></ul></dd>
5428
3834
 
5429
3835
 
@@ -5502,48 +3908,200 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5502
3908
 
5503
3909
  <tr>
5504
3910
 
5505
- <td class="name"><code>railcontentId</code></td>
5506
-
5507
-
5508
- <td class="type">
5509
-
5510
-
5511
- <span class="param-type">string</span>
5512
-
5513
-
5514
-
5515
-
5516
- </td>
5517
-
5518
-
5519
-
5520
-
5521
-
5522
- <td class="description last">The Railcontent ID of the current lesson.</td>
5523
- </tr>
5524
-
5525
-
5526
-
5527
- <tr>
5528
-
5529
- <td class="name"><code>methodId</code></td>
3911
+ <td class="name"><code>railcontentId</code></td>
3912
+
3913
+
3914
+ <td class="type">
3915
+
3916
+
3917
+ <span class="param-type">string</span>
3918
+
3919
+
3920
+
3921
+
3922
+ </td>
3923
+
3924
+
3925
+
3926
+
3927
+
3928
+ <td class="description last">The Railcontent ID of the current lesson.</td>
3929
+ </tr>
3930
+
3931
+
3932
+
3933
+ <tr>
3934
+
3935
+ <td class="name"><code>methodId</code></td>
3936
+
3937
+
3938
+ <td class="type">
3939
+
3940
+
3941
+ <span class="param-type">string</span>
3942
+
3943
+
3944
+
3945
+
3946
+ </td>
3947
+
3948
+
3949
+
3950
+
3951
+
3952
+ <td class="description last">The RailcontentID of the method</td>
3953
+ </tr>
3954
+
3955
+
3956
+ </tbody>
3957
+ </table>
3958
+
3959
+
3960
+
3961
+
3962
+
3963
+
3964
+
3965
+
3966
+
3967
+
3968
+
3969
+
3970
+
3971
+
3972
+
3973
+
3974
+ <h5 class="h5-returns">Returns:</h5>
3975
+
3976
+
3977
+ <div class="param-desc">
3978
+ - object with `nextLesson` and `previousLesson` attributes
3979
+ </div>
3980
+
3981
+
3982
+
3983
+ <dl class="param-type">
3984
+ <dt>
3985
+ Type
3986
+ </dt>
3987
+ <dd>
3988
+
3989
+ <span class="param-type">Promise.&lt;(Object|null)></span>
3990
+
3991
+
3992
+
3993
+ </dd>
3994
+ </dl>
3995
+
3996
+
3997
+
3998
+
3999
+
4000
+
4001
+
4002
+
4003
+
4004
+
4005
+ <h4 class="name" id=".fetchMethodV2IntroVideo"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2IntroVideo<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
4006
+
4007
+
4008
+
4009
+
4010
+
4011
+
4012
+ <dl class="details">
4013
+
4014
+ <dt class="tag-description">Description:</dt>
4015
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the method intro video for a given brand.</li></ul></dd>
4016
+
4017
+
4018
+
4019
+ <dt class="tag-source">Source:</dt>
4020
+ <dd class="tag-source"><ul class="dummy"><li>
4021
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2161">line 2161</a>
4022
+ </li></ul></dd>
4023
+
4024
+
4025
+
4026
+
4027
+
4028
+
4029
+
4030
+
4031
+
4032
+
4033
+
4034
+
4035
+
4036
+
4037
+
4038
+
4039
+
4040
+
4041
+
4042
+
4043
+
4044
+
4045
+
4046
+
4047
+
4048
+
4049
+
4050
+
4051
+
4052
+
4053
+
4054
+ </dl>
4055
+
4056
+
4057
+
4058
+
4059
+
4060
+
4061
+
4062
+
4063
+
4064
+
4065
+
4066
+
4067
+
4068
+ <h5 class="h5-parameters">Parameters:</h5>
4069
+
4070
+
4071
+ <table class="params">
4072
+ <thead>
4073
+ <tr>
4074
+
4075
+ <th>Name</th>
4076
+
4077
+
4078
+ <th>Type</th>
4079
+
4080
+
4081
+
4082
+
4083
+
4084
+ <th class="last">Description</th>
4085
+ </tr>
4086
+ </thead>
4087
+
4088
+ <tbody>
4089
+
4090
+
4091
+ <tr>
4092
+
4093
+ <td class="name"><code>brand</code></td>
5530
4094
 
5531
4095
 
5532
4096
  <td class="type">
5533
4097
 
5534
-
5535
- <span class="param-type">string</span>
5536
-
5537
-
5538
-
5539
-
5540
4098
  </td>
5541
4099
 
5542
4100
 
5543
4101
 
5544
4102
 
5545
4103
 
5546
- <td class="description last">The RailcontentID of the method</td>
4104
+ <td class="description last"></td>
5547
4105
  </tr>
5548
4106
 
5549
4107
 
@@ -5568,10 +4126,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5568
4126
  <h5 class="h5-returns">Returns:</h5>
5569
4127
 
5570
4128
 
5571
- <div class="param-desc">
5572
- - object with `nextLesson` and `previousLesson` attributes
5573
- </div>
5574
-
5575
4129
 
5576
4130
 
5577
4131
  <dl class="param-type">
@@ -5580,7 +4134,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5580
4134
  </dt>
5581
4135
  <dd>
5582
4136
 
5583
- <span class="param-type">Promise.&lt;(Object|null)></span>
4137
+ <span class="param-type">Promise.&lt;(*|null)></span>
5584
4138
 
5585
4139
 
5586
4140
 
@@ -5596,7 +4150,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5596
4150
 
5597
4151
 
5598
4152
 
5599
- <h4 class="name" id=".fetchMethodV2IntroVideo"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2IntroVideo<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
4153
+ <h4 class="name" id=".fetchMethodV2Structure"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2Structure<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
5600
4154
 
5601
4155
 
5602
4156
 
@@ -5606,13 +4160,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5606
4160
  <dl class="details">
5607
4161
 
5608
4162
  <dt class="tag-description">Description:</dt>
5609
- <dd class="tag-description"><ul class="dummy"><li>Fetch the method intro video for a given brand.</li></ul></dd>
4163
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method for a given brand.</li></ul></dd>
5610
4164
 
5611
4165
 
5612
4166
 
5613
4167
  <dt class="tag-source">Source:</dt>
5614
4168
  <dd class="tag-source"><ul class="dummy"><li>
5615
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2300">line 2300</a>
4169
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2175">line 2175</a>
5616
4170
  </li></ul></dd>
5617
4171
 
5618
4172
 
@@ -5744,7 +4298,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5744
4298
 
5745
4299
 
5746
4300
 
5747
- <h4 class="name" id=".fetchMethodV2Structure"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2Structure<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
4301
+ <h4 class="name" id=".fetchMethodV2StructureFromId"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2StructureFromId<span class="signature">(contentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
5748
4302
 
5749
4303
 
5750
4304
 
@@ -5754,13 +4308,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5754
4308
  <dl class="details">
5755
4309
 
5756
4310
  <dt class="tag-description">Description:</dt>
5757
- <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method for a given brand.</li></ul></dd>
4311
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method of a given learning path or learning path lesson.</li></ul></dd>
5758
4312
 
5759
4313
 
5760
4314
 
5761
4315
  <dt class="tag-source">Source:</dt>
5762
4316
  <dd class="tag-source"><ul class="dummy"><li>
5763
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2314">line 2314</a>
4317
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2192">line 2192</a>
5764
4318
  </li></ul></dd>
5765
4319
 
5766
4320
 
@@ -5832,7 +4386,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5832
4386
 
5833
4387
  <tr>
5834
4388
 
5835
- <td class="name"><code>brand</code></td>
4389
+ <td class="name"><code>contentId</code></td>
5836
4390
 
5837
4391
 
5838
4392
  <td class="type">
@@ -5892,7 +4446,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5892
4446
 
5893
4447
 
5894
4448
 
5895
- <h4 class="name" id=".fetchMethodV2StructureFromId"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2StructureFromId<span class="signature">(contentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
4449
+ <h4 class="name" id=".fetchNewReleases"><span class="type-signature type-signature-static">(static) </span>fetchNewReleases<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
5896
4450
 
5897
4451
 
5898
4452
 
@@ -5902,13 +4456,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5902
4456
  <dl class="details">
5903
4457
 
5904
4458
  <dt class="tag-description">Description:</dt>
5905
- <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method of a given learning path or learning path lesson.</li></ul></dd>
4459
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the latest new releases for a specific brand.</li></ul></dd>
5906
4460
 
5907
4461
 
5908
4462
 
5909
4463
  <dt class="tag-source">Source:</dt>
5910
4464
  <dd class="tag-source"><ul class="dummy"><li>
5911
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2331">line 2331</a>
4465
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line285">line 285</a>
5912
4466
  </li></ul></dd>
5913
4467
 
5914
4468
 
@@ -5980,18 +4534,24 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5980
4534
 
5981
4535
  <tr>
5982
4536
 
5983
- <td class="name"><code>contentId</code></td>
4537
+ <td class="name"><code>brand</code></td>
5984
4538
 
5985
4539
 
5986
4540
  <td class="type">
5987
4541
 
4542
+
4543
+ <span class="param-type">string</span>
4544
+
4545
+
4546
+
4547
+
5988
4548
  </td>
5989
4549
 
5990
4550
 
5991
4551
 
5992
4552
 
5993
4553
 
5994
- <td class="description last"></td>
4554
+ <td class="description last">The brand for which to fetch new releases.</td>
5995
4555
  </tr>
5996
4556
 
5997
4557
 
@@ -6016,6 +4576,10 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6016
4576
  <h5 class="h5-returns">Returns:</h5>
6017
4577
 
6018
4578
 
4579
+ <div class="param-desc">
4580
+ - The fetched new releases data or null if not found.
4581
+ </div>
4582
+
6019
4583
 
6020
4584
 
6021
4585
  <dl class="param-type">
@@ -6024,7 +4588,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6024
4588
  </dt>
6025
4589
  <dd>
6026
4590
 
6027
- <span class="param-type">Promise.&lt;(*|null)></span>
4591
+ <span class="param-type">Promise.&lt;(Object|null)></span>
6028
4592
 
6029
4593
 
6030
4594
 
@@ -6040,7 +4604,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6040
4604
 
6041
4605
 
6042
4606
 
6043
- <h4 class="name" id=".fetchNewReleases"><span class="type-signature type-signature-static">(static) </span>fetchNewReleases<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
4607
+ <h4 class="name" id=".fetchNextPreviousLesson"><span class="type-signature type-signature-static">(static) </span>fetchNextPreviousLesson<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
6044
4608
 
6045
4609
 
6046
4610
 
@@ -6050,13 +4614,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6050
4614
  <dl class="details">
6051
4615
 
6052
4616
  <dt class="tag-description">Description:</dt>
6053
- <dd class="tag-description"><ul class="dummy"><li>Fetch the latest new releases for a specific brand.</li></ul></dd>
4617
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the next and previous lessons for a specific lesson by Railcontent ID.</li></ul></dd>
6054
4618
 
6055
4619
 
6056
4620
 
6057
4621
  <dt class="tag-source">Source:</dt>
6058
4622
  <dd class="tag-source"><ul class="dummy"><li>
6059
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line312">line 312</a>
4623
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1038">line 1038</a>
6060
4624
  </li></ul></dd>
6061
4625
 
6062
4626
 
@@ -6128,7 +4692,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6128
4692
 
6129
4693
  <tr>
6130
4694
 
6131
- <td class="name"><code>brand</code></td>
4695
+ <td class="name"><code>railcontentId</code></td>
6132
4696
 
6133
4697
 
6134
4698
  <td class="type">
@@ -6145,7 +4709,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6145
4709
 
6146
4710
 
6147
4711
 
6148
- <td class="description last">The brand for which to fetch new releases.</td>
4712
+ <td class="description last">The Railcontent ID of the current lesson.</td>
6149
4713
  </tr>
6150
4714
 
6151
4715
 
@@ -6171,7 +4735,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6171
4735
 
6172
4736
 
6173
4737
  <div class="param-desc">
6174
- - The fetched new releases data or null if not found.
4738
+ - The fetched next and previous lesson data or null if found.
6175
4739
  </div>
6176
4740
 
6177
4741
 
@@ -6198,7 +4762,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6198
4762
 
6199
4763
 
6200
4764
 
6201
- <h4 class="name" id=".fetchNextPreviousLesson"><span class="type-signature type-signature-static">(static) </span>fetchNextPreviousLesson<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
4765
+ <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>
6202
4766
 
6203
4767
 
6204
4768
 
@@ -6208,13 +4772,14 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6208
4772
  <dl class="details">
6209
4773
 
6210
4774
  <dt class="tag-description">Description:</dt>
6211
- <dd class="tag-description"><ul class="dummy"><li>Fetch the next and previous lessons for a specific lesson by Railcontent ID.</li></ul></dd>
4775
+ <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.
4776
+ These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
6212
4777
 
6213
4778
 
6214
4779
 
6215
4780
  <dt class="tag-source">Source:</dt>
6216
4781
  <dd class="tag-source"><ul class="dummy"><li>
6217
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1052">line 1052</a>
4782
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1193">line 1193</a>
6218
4783
  </li></ul></dd>
6219
4784
 
6220
4785
 
@@ -6291,11 +4856,41 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6291
4856
 
6292
4857
  <td class="type">
6293
4858
 
6294
-
6295
- <span class="param-type">string</span>
4859
+ </td>
4860
+
4861
+
4862
+
4863
+
4864
+
4865
+ <td class="description last"></td>
4866
+ </tr>
4867
+
4868
+
4869
+
4870
+ <tr>
4871
+
4872
+ <td class="name"><code>brand</code></td>
4873
+
4874
+
4875
+ <td class="type">
4876
+
4877
+ </td>
4878
+
4879
+
4880
+
4881
+
4882
+
4883
+ <td class="description last"></td>
4884
+ </tr>
6296
4885
 
4886
+
6297
4887
 
4888
+ <tr>
4889
+
4890
+ <td class="name"><code>count</code></td>
4891
+
6298
4892
 
4893
+ <td class="type">
6299
4894
 
6300
4895
  </td>
6301
4896
 
@@ -6303,7 +4898,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6303
4898
 
6304
4899
 
6305
4900
 
6306
- <td class="description last">The Railcontent ID of the current lesson.</td>
4901
+ <td class="description last"></td>
6307
4902
  </tr>
6308
4903
 
6309
4904
 
@@ -6328,10 +4923,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6328
4923
  <h5 class="h5-returns">Returns:</h5>
6329
4924
 
6330
4925
 
6331
- <div class="param-desc">
6332
- - The fetched next and previous lesson data or null if found.
6333
- </div>
6334
-
6335
4926
 
6336
4927
 
6337
4928
  <dl class="param-type">
@@ -6340,7 +4931,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6340
4931
  </dt>
6341
4932
  <dd>
6342
4933
 
6343
- <span class="param-type">Promise.&lt;(Object|null)></span>
4934
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
6344
4935
 
6345
4936
 
6346
4937
 
@@ -6356,7 +4947,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6356
4947
 
6357
4948
 
6358
4949
 
6359
- <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>
4950
+ <h4 class="name" id=".fetchOwnedContent"><span class="type-signature type-signature-static">(static) </span>fetchOwnedContent<span class="signature">(brand, options)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
6360
4951
 
6361
4952
 
6362
4953
 
@@ -6366,14 +4957,14 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6366
4957
  <dl class="details">
6367
4958
 
6368
4959
  <dt class="tag-description">Description:</dt>
6369
- <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.
6370
- These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
4960
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content owned by the user (excluding membership content).
4961
+ Shows only content accessible through purchases/entitlements, not through membership.</li></ul></dd>
6371
4962
 
6372
4963
 
6373
4964
 
6374
4965
  <dt class="tag-source">Source:</dt>
6375
4966
  <dd class="tag-source"><ul class="dummy"><li>
6376
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1203">line 1203</a>
4967
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2216">line 2216</a>
6377
4968
  </li></ul></dd>
6378
4969
 
6379
4970
 
@@ -6445,54 +5036,170 @@ These are linked through content that shares a license with the provided railcon
6445
5036
 
6446
5037
  <tr>
6447
5038
 
6448
- <td class="name"><code>railcontentId</code></td>
5039
+ <td class="name"><code>brand</code></td>
6449
5040
 
6450
5041
 
6451
5042
  <td class="type">
6452
5043
 
5044
+
5045
+ <span class="param-type">string</span>
5046
+
5047
+
5048
+
5049
+
6453
5050
  </td>
6454
5051
 
6455
5052
 
6456
5053
 
6457
5054
 
6458
5055
 
6459
- <td class="description last"></td>
5056
+ <td class="description last">The brand to filter content by</td>
6460
5057
  </tr>
6461
5058
 
6462
5059
 
6463
5060
 
6464
5061
  <tr>
6465
5062
 
6466
- <td class="name"><code>brand</code></td>
5063
+ <td class="name"><code>options</code></td>
6467
5064
 
6468
5065
 
6469
5066
  <td class="type">
6470
5067
 
5068
+
5069
+ <span class="param-type">Object</span>
5070
+
5071
+
5072
+
5073
+
6471
5074
  </td>
6472
5075
 
6473
5076
 
6474
5077
 
6475
5078
 
6476
5079
 
6477
- <td class="description last"></td>
5080
+ <td class="description last">Fetch options
5081
+ <h6>Properties</h6>
5082
+
5083
+
5084
+ <table class="params">
5085
+ <thead>
5086
+ <tr>
5087
+
5088
+ <th>Name</th>
5089
+
5090
+
5091
+ <th>Type</th>
5092
+
5093
+
5094
+
5095
+
5096
+
5097
+ <th class="last">Description</th>
5098
+ </tr>
5099
+ </thead>
5100
+
5101
+ <tbody>
5102
+
5103
+
5104
+ <tr>
5105
+
5106
+ <td class="name"><code>type</code></td>
5107
+
5108
+
5109
+ <td class="type">
5110
+
5111
+
5112
+ <span class="param-type">Array.&lt;string></span>
5113
+
5114
+
5115
+
5116
+
5117
+ </td>
5118
+
5119
+
5120
+
5121
+
5122
+
5123
+ <td class="description last">Content type(s) to filter (optional array, default: [])</td>
6478
5124
  </tr>
6479
5125
 
6480
5126
 
6481
5127
 
6482
5128
  <tr>
6483
5129
 
6484
- <td class="name"><code>count</code></td>
5130
+ <td class="name"><code>page</code></td>
5131
+
5132
+
5133
+ <td class="type">
5134
+
5135
+
5136
+ <span class="param-type">number</span>
5137
+
5138
+
5139
+
5140
+
5141
+ </td>
5142
+
5143
+
5144
+
5145
+
5146
+
5147
+ <td class="description last">Page number (default: 1)</td>
5148
+ </tr>
5149
+
5150
+
5151
+
5152
+ <tr>
5153
+
5154
+ <td class="name"><code>limit</code></td>
6485
5155
 
6486
5156
 
6487
5157
  <td class="type">
6488
5158
 
5159
+
5160
+ <span class="param-type">number</span>
5161
+
5162
+
5163
+
5164
+
6489
5165
  </td>
6490
5166
 
6491
5167
 
6492
5168
 
6493
5169
 
6494
5170
 
6495
- <td class="description last"></td>
5171
+ <td class="description last">Items per page (default: 10)</td>
5172
+ </tr>
5173
+
5174
+
5175
+
5176
+ <tr>
5177
+
5178
+ <td class="name"><code>sort</code></td>
5179
+
5180
+
5181
+ <td class="type">
5182
+
5183
+
5184
+ <span class="param-type">string</span>
5185
+
5186
+
5187
+
5188
+
5189
+ </td>
5190
+
5191
+
5192
+
5193
+
5194
+
5195
+ <td class="description last">Sort field and direction (default: '-published_on')</td>
5196
+ </tr>
5197
+
5198
+
5199
+ </tbody>
5200
+ </table>
5201
+
5202
+ </td>
6496
5203
  </tr>
6497
5204
 
6498
5205
 
@@ -6517,6 +5224,10 @@ These are linked through content that shares a license with the provided railcon
6517
5224
  <h5 class="h5-returns">Returns:</h5>
6518
5225
 
6519
5226
 
5227
+ <div class="param-desc">
5228
+ Object with 'entity' (content array) and 'total' (count)
5229
+ </div>
5230
+
6520
5231
 
6521
5232
 
6522
5233
  <dl class="param-type">
@@ -6525,7 +5236,7 @@ These are linked through content that shares a license with the provided railcon
6525
5236
  </dt>
6526
5237
  <dd>
6527
5238
 
6528
- <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
5239
+ <span class="param-type">Promise.&lt;Object></span>
6529
5240
 
6530
5241
 
6531
5242
 
@@ -6557,7 +5268,7 @@ These are linked through content that shares a license with the provided railcon
6557
5268
 
6558
5269
  <dt class="tag-source">Source:</dt>
6559
5270
  <dd class="tag-source"><ul class="dummy"><li>
6560
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1365">line 1365</a>
5271
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1368">line 1368</a>
6561
5272
  </li></ul></dd>
6562
5273
 
6563
5274
 
@@ -6715,7 +5426,7 @@ These are linked through content that shares a license with the provided railcon
6715
5426
 
6716
5427
  <dt class="tag-source">Source:</dt>
6717
5428
  <dd class="tag-source"><ul class="dummy"><li>
6718
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1454">line 1454</a>
5429
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1457">line 1457</a>
6719
5430
  </li></ul></dd>
6720
5431
 
6721
5432
 
@@ -6880,7 +5591,7 @@ These are linked through content that shares a license with the provided railcon
6880
5591
 
6881
5592
  <dt class="tag-source">Source:</dt>
6882
5593
  <dd class="tag-source"><ul class="dummy"><li>
6883
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1307">line 1307</a>
5594
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1304">line 1304</a>
6884
5595
  </li></ul></dd>
6885
5596
 
6886
5597
 
@@ -7039,7 +5750,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7039
5750
 
7040
5751
  <dt class="tag-source">Source:</dt>
7041
5752
  <dd class="tag-source"><ul class="dummy"><li>
7042
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1183">line 1183</a>
5753
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1173">line 1173</a>
7043
5754
  </li></ul></dd>
7044
5755
 
7045
5756
 
@@ -7223,7 +5934,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7223
5934
 
7224
5935
  <dt class="tag-source">Source:</dt>
7225
5936
  <dd class="tag-source"><ul class="dummy"><li>
7226
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line236">line 236</a>
5937
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line209">line 209</a>
7227
5938
  </li></ul></dd>
7228
5939
 
7229
5940
 
@@ -7412,7 +6123,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7412
6123
 
7413
6124
  <dt class="tag-source">Source:</dt>
7414
6125
  <dd class="tag-source"><ul class="dummy"><li>
7415
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line106">line 106</a>
6126
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line103">line 103</a>
7416
6127
  </li></ul></dd>
7417
6128
 
7418
6129
 
@@ -7500,7 +6211,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7500
6211
 
7501
6212
 
7502
6213
 
7503
- <h4 class="name" id=".fetchSanity"><span class="type-signature type-signature-static">(static) </span>fetchSanity<span class="signature">(query, isList, customPostProcess<span class="signature-attributes">opt</span>, processNeedAccess<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
6214
+ <h4 class="name" id=".fetchSanity"><span class="type-signature type-signature-static">(static) </span>fetchSanity<span class="signature">(query, isList, options)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
7504
6215
 
7505
6216
 
7506
6217
 
@@ -7513,7 +6224,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7513
6224
 
7514
6225
  <dt class="tag-source">Source:</dt>
7515
6226
  <dd class="tag-source"><ul class="dummy"><li>
7516
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1779">line 1779</a>
6227
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1629">line 1629</a>
7517
6228
  </li></ul></dd>
7518
6229
 
7519
6230
 
@@ -7581,12 +6292,8 @@ fetchSanity(query, true)
7581
6292
  <th>Type</th>
7582
6293
 
7583
6294
 
7584
- <th>Attributes</th>
7585
-
7586
6295
 
7587
6296
 
7588
- <th>Default</th>
7589
-
7590
6297
 
7591
6298
  <th class="last">Description</th>
7592
6299
  </tr>
@@ -7611,35 +6318,94 @@ fetchSanity(query, true)
7611
6318
  </td>
7612
6319
 
7613
6320
 
7614
- <td class="attributes">
7615
-
7616
6321
 
7617
-
6322
+
7618
6323
 
7619
-
7620
- </td>
6324
+ <td class="description last">The GROQ query to execute against the Sanity API.</td>
6325
+ </tr>
6326
+
6327
+
6328
+
6329
+ <tr>
6330
+
6331
+ <td class="name"><code>isList</code></td>
7621
6332
 
7622
6333
 
6334
+ <td class="type">
7623
6335
 
7624
- <td class="default">
7625
6336
 
7626
- </td>
6337
+ <span class="param-type">boolean</span>
6338
+
6339
+
6340
+
7627
6341
 
6342
+ </td>
7628
6343
 
7629
- <td class="description last">The GROQ query to execute against the Sanity API.</td>
6344
+
6345
+
6346
+
6347
+
6348
+ <td class="description last">Whether to return an array or a single result.</td>
7630
6349
  </tr>
7631
6350
 
7632
6351
 
7633
6352
 
7634
6353
  <tr>
7635
6354
 
7636
- <td class="name"><code>isList</code></td>
6355
+ <td class="name"><code>options</code></td>
7637
6356
 
7638
6357
 
7639
6358
  <td class="type">
7640
6359
 
7641
6360
 
7642
- <span class="param-type">boolean</span>
6361
+ <span class="param-type">Object</span>
6362
+
6363
+
6364
+
6365
+
6366
+ </td>
6367
+
6368
+
6369
+
6370
+
6371
+
6372
+ <td class="description last">Additional options for fetching data.
6373
+ <h6>Properties</h6>
6374
+
6375
+
6376
+ <table class="params">
6377
+ <thead>
6378
+ <tr>
6379
+
6380
+ <th>Name</th>
6381
+
6382
+
6383
+ <th>Type</th>
6384
+
6385
+
6386
+ <th>Attributes</th>
6387
+
6388
+
6389
+
6390
+ <th>Default</th>
6391
+
6392
+
6393
+ <th class="last">Description</th>
6394
+ </tr>
6395
+ </thead>
6396
+
6397
+ <tbody>
6398
+
6399
+
6400
+ <tr>
6401
+
6402
+ <td class="name"><code>customPostProcess</code></td>
6403
+
6404
+
6405
+ <td class="type">
6406
+
6407
+
6408
+ <span class="param-type">function</span>
7643
6409
 
7644
6410
 
7645
6411
 
@@ -7649,6 +6415,8 @@ fetchSanity(query, true)
7649
6415
 
7650
6416
  <td class="attributes">
7651
6417
 
6418
+ &lt;optional><br>
6419
+
7652
6420
 
7653
6421
 
7654
6422
 
@@ -7659,23 +6427,25 @@ fetchSanity(query, true)
7659
6427
 
7660
6428
  <td class="default">
7661
6429
 
6430
+ <code>null</code>
6431
+
7662
6432
  </td>
7663
6433
 
7664
6434
 
7665
- <td class="description last">Whether to return an array or a single result.</td>
6435
+ <td class="description last">custom post process callback</td>
7666
6436
  </tr>
7667
6437
 
7668
6438
 
7669
6439
 
7670
6440
  <tr>
7671
6441
 
7672
- <td class="name"><code>customPostProcess</code></td>
6442
+ <td class="name"><code>processNeedAccess</code></td>
7673
6443
 
7674
6444
 
7675
6445
  <td class="type">
7676
6446
 
7677
6447
 
7678
- <span class="param-type">function</span>
6448
+ <span class="param-type">boolean</span>
7679
6449
 
7680
6450
 
7681
6451
 
@@ -7697,19 +6467,19 @@ fetchSanity(query, true)
7697
6467
 
7698
6468
  <td class="default">
7699
6469
 
7700
- <code>null</code>
6470
+ <code>true</code>
7701
6471
 
7702
6472
  </td>
7703
6473
 
7704
6474
 
7705
- <td class="description last">custom post process callback</td>
6475
+ <td class="description last">execute the needs_access callback</td>
7706
6476
  </tr>
7707
6477
 
7708
6478
 
7709
6479
 
7710
6480
  <tr>
7711
6481
 
7712
- <td class="name"><code>processNeedAccess</code></td>
6482
+ <td class="name"><code>processPageType</code></td>
7713
6483
 
7714
6484
 
7715
6485
  <td class="type">
@@ -7742,7 +6512,14 @@ fetchSanity(query, true)
7742
6512
  </td>
7743
6513
 
7744
6514
 
7745
- <td class="description last">execute the needs_access callback</td>
6515
+ <td class="description last">execute the page_type callback</td>
6516
+ </tr>
6517
+
6518
+
6519
+ </tbody>
6520
+ </table>
6521
+
6522
+ </td>
7746
6523
  </tr>
7747
6524
 
7748
6525
 
@@ -7811,7 +6588,7 @@ fetchSanity(query, true)
7811
6588
 
7812
6589
  <dt class="tag-source">Source:</dt>
7813
6590
  <dd class="tag-source"><ul class="dummy"><li>
7814
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line403">line 403</a>
6591
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line376">line 376</a>
7815
6592
  </li></ul></dd>
7816
6593
 
7817
6594
 
@@ -7979,7 +6756,7 @@ fetchSanity(query, true)
7979
6756
 
7980
6757
  <dt class="tag-source">Source:</dt>
7981
6758
  <dd class="tag-source"><ul class="dummy"><li>
7982
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1903">line 1903</a>
6759
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1753">line 1753</a>
7983
6760
  </li></ul></dd>
7984
6761
 
7985
6762
 
@@ -8134,7 +6911,7 @@ fetchSanity(query, true)
8134
6911
 
8135
6912
  <dt class="tag-source">Source:</dt>
8136
6913
  <dd class="tag-source"><ul class="dummy"><li>
8137
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1259">line 1259</a>
6914
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1249">line 1249</a>
8138
6915
  </li></ul></dd>
8139
6916
 
8140
6917
 
@@ -8316,7 +7093,7 @@ fetchSanity(query, true)
8316
7093
 
8317
7094
  <dt class="tag-source">Source:</dt>
8318
7095
  <dd class="tag-source"><ul class="dummy"><li>
8319
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line194">line 194</a>
7096
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line167">line 167</a>
8320
7097
  </li></ul></dd>
8321
7098
 
8322
7099
 
@@ -8474,7 +7251,7 @@ fetchSanity(query, true)
8474
7251
 
8475
7252
  <dt class="tag-source">Source:</dt>
8476
7253
  <dd class="tag-source"><ul class="dummy"><li>
8477
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line57">line 57</a>
7254
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line54">line 54</a>
8478
7255
  </li></ul></dd>
8479
7256
 
8480
7257
 
@@ -8623,6 +7400,162 @@ fetchSanity(query, true)
8623
7400
 
8624
7401
 
8625
7402
 
7403
+ <h4 class="name" id=".fetchTopLevelParentId"><span class="type-signature type-signature-static">(static) </span>fetchTopLevelParentId<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(int|null)>}</span></h4>
7404
+
7405
+
7406
+
7407
+
7408
+
7409
+
7410
+ <dl class="details">
7411
+
7412
+ <dt class="tag-description">Description:</dt>
7413
+ <dd class="tag-description"><ul class="dummy"><li>Return the top level parent content railcontent_id.
7414
+ Ignores learning-path-v2 parents.
7415
+ ex: if railcontentId is of type 'skill-pack-lesson', return the corresponding 'skill-pack' railcontent_id</li></ul></dd>
7416
+
7417
+
7418
+
7419
+ <dt class="tag-source">Source:</dt>
7420
+ <dd class="tag-source"><ul class="dummy"><li>
7421
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1505">line 1505</a>
7422
+ </li></ul></dd>
7423
+
7424
+
7425
+
7426
+
7427
+
7428
+
7429
+
7430
+
7431
+
7432
+
7433
+
7434
+
7435
+
7436
+
7437
+
7438
+
7439
+
7440
+
7441
+
7442
+
7443
+
7444
+
7445
+
7446
+
7447
+
7448
+
7449
+
7450
+
7451
+
7452
+
7453
+
7454
+ </dl>
7455
+
7456
+
7457
+
7458
+
7459
+
7460
+
7461
+
7462
+
7463
+
7464
+
7465
+
7466
+
7467
+
7468
+ <h5 class="h5-parameters">Parameters:</h5>
7469
+
7470
+
7471
+ <table class="params">
7472
+ <thead>
7473
+ <tr>
7474
+
7475
+ <th>Name</th>
7476
+
7477
+
7478
+ <th>Type</th>
7479
+
7480
+
7481
+
7482
+
7483
+
7484
+ <th class="last">Description</th>
7485
+ </tr>
7486
+ </thead>
7487
+
7488
+ <tbody>
7489
+
7490
+
7491
+ <tr>
7492
+
7493
+ <td class="name"><code>railcontentId</code></td>
7494
+
7495
+
7496
+ <td class="type">
7497
+
7498
+
7499
+ <span class="param-type">int</span>
7500
+
7501
+
7502
+
7503
+
7504
+ </td>
7505
+
7506
+
7507
+
7508
+
7509
+
7510
+ <td class="description last"></td>
7511
+ </tr>
7512
+
7513
+
7514
+ </tbody>
7515
+ </table>
7516
+
7517
+
7518
+
7519
+
7520
+
7521
+
7522
+
7523
+
7524
+
7525
+
7526
+
7527
+
7528
+
7529
+
7530
+
7531
+
7532
+ <h5 class="h5-returns">Returns:</h5>
7533
+
7534
+
7535
+
7536
+
7537
+ <dl class="param-type">
7538
+ <dt>
7539
+ Type
7540
+ </dt>
7541
+ <dd>
7542
+
7543
+ <span class="param-type">Promise.&lt;(int|null)></span>
7544
+
7545
+
7546
+
7547
+ </dd>
7548
+ </dl>
7549
+
7550
+
7551
+
7552
+
7553
+
7554
+
7555
+
7556
+
7557
+
7558
+
8626
7559
  <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>
8627
7560
 
8628
7561
 
@@ -8639,7 +7572,7 @@ fetchSanity(query, true)
8639
7572
 
8640
7573
  <dt class="tag-source">Source:</dt>
8641
7574
  <dd class="tag-source"><ul class="dummy"><li>
8642
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line356">line 356</a>
7575
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line329">line 329</a>
8643
7576
  </li></ul></dd>
8644
7577
 
8645
7578
 
@@ -8807,7 +7740,7 @@ fetchSanity(query, true)
8807
7740
 
8808
7741
  <dt class="tag-source">Source:</dt>
8809
7742
  <dd class="tag-source"><ul class="dummy"><li>
8810
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1089">line 1089</a>
7743
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1075">line 1075</a>
8811
7744
  </li></ul></dd>
8812
7745
 
8813
7746
 
@@ -8972,7 +7905,7 @@ fetchSanity(query, true)
8972
7905
 
8973
7906
  <dt class="tag-source">Source:</dt>
8974
7907
  <dd class="tag-source"><ul class="dummy"><li>
8975
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1229">line 1229</a>
7908
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1219">line 1219</a>
8976
7909
  </li></ul></dd>
8977
7910
 
8978
7911
 
@@ -9195,7 +8128,7 @@ fetchSanity(query, true)
9195
8128
 
9196
8129
  <dt class="tag-source">Source:</dt>
9197
8130
  <dd class="tag-source"><ul class="dummy"><li>
9198
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line156">line 156</a>
8131
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line153">line 153</a>
9199
8132
  </li></ul></dd>
9200
8133
 
9201
8134
 
@@ -9298,7 +8231,7 @@ fetchSanity(query, true)
9298
8231
  <br class="clear">
9299
8232
 
9300
8233
  <footer>
9301
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Nov 19 2025 14:55:35 GMT-0800 (Pacific Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8234
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Tue Nov 25 2025 19:26:53 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9302
8235
  </footer>
9303
8236
 
9304
8237
  <script>prettyPrint();</script>