musora-content-services 2.79.1 → 2.81.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 (85) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/docs/Content.html +269 -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 +2 -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 +24 -14
  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 +2 -2
  16. package/docs/content_artist.ts.html +211 -0
  17. package/docs/content_content.ts.html +77 -0
  18. package/docs/content_genre.ts.html +211 -0
  19. package/docs/content_instructor.ts.html +203 -0
  20. package/docs/forums_categories.ts.html +3 -3
  21. package/docs/forums_forums.ts.html +2 -2
  22. package/docs/forums_posts.ts.html +2 -2
  23. package/docs/forums_threads.ts.html +2 -2
  24. package/docs/gamification_awards.ts.html +2 -2
  25. package/docs/gamification_gamification.js.html +2 -2
  26. package/docs/global.html +2 -2
  27. package/docs/index.html +2 -2
  28. package/docs/liveTesting.ts.html +2 -2
  29. package/docs/module-Accounts.html +14 -14
  30. package/docs/module-Artist.html +991 -0
  31. package/docs/module-Awards.html +2 -2
  32. package/docs/module-Config.html +2 -2
  33. package/docs/module-Content-Services-V2.html +2 -2
  34. package/docs/module-Forums.html +2 -2
  35. package/docs/module-Genre.html +981 -0
  36. package/docs/module-GuidedCourses.html +2 -2
  37. package/docs/module-Instructor.html +929 -0
  38. package/docs/module-Interests.html +2 -2
  39. package/docs/module-LearningPaths.html +6 -6
  40. package/docs/module-Onboarding.html +2 -2
  41. package/docs/module-Payments.html +2 -2
  42. package/docs/module-Permissions.html +2 -2
  43. package/docs/module-Playlists.html +2 -2
  44. package/docs/module-ProgressRow.html +2 -2
  45. package/docs/module-Railcontent-Services.html +2 -2
  46. package/docs/module-Sanity-Services.html +326 -1854
  47. package/docs/module-Sessions.html +2 -2
  48. package/docs/module-UserActivity.html +4 -4
  49. package/docs/module-UserChat.html +2 -2
  50. package/docs/module-UserManagement.html +2 -2
  51. package/docs/module-UserMemberships.html +2 -2
  52. package/docs/module-UserNotifications.html +2 -2
  53. package/docs/module-UserProfile.html +2 -2
  54. package/docs/progress-row_method-card.js.html +2 -2
  55. package/docs/railcontent.js.html +2 -2
  56. package/docs/sanity.js.html +107 -268
  57. package/docs/userActivity.js.html +3 -2
  58. package/docs/user_account.ts.html +11 -4
  59. package/docs/user_chat.js.html +2 -2
  60. package/docs/user_interests.js.html +2 -2
  61. package/docs/user_management.js.html +2 -2
  62. package/docs/user_memberships.ts.html +2 -2
  63. package/docs/user_notifications.js.html +2 -2
  64. package/docs/user_onboarding.ts.html +2 -2
  65. package/docs/user_payments.ts.html +2 -2
  66. package/docs/user_permissions.js.html +2 -2
  67. package/docs/user_profile.js.html +2 -2
  68. package/docs/user_sessions.js.html +2 -2
  69. package/docs/user_types.js.html +2 -2
  70. package/docs/user_user-management-system.js.html +2 -2
  71. package/jsdoc.json +1 -0
  72. package/package.json +1 -1
  73. package/src/contentTypeConfig.js +2 -2
  74. package/src/index.d.ts +28 -5
  75. package/src/index.js +28 -5
  76. package/src/services/content/artist.ts +139 -0
  77. package/src/services/content/content.ts +38 -0
  78. package/src/services/content/genre.ts +139 -0
  79. package/src/services/content/instructor.ts +131 -0
  80. package/src/services/content-org/learning-paths.ts +3 -0
  81. package/src/services/sanity.js +105 -266
  82. package/src/services/user/account.ts +9 -2
  83. package/src/services/user/types.d.ts +133 -0
  84. package/src/services/userActivity.js +1 -0
  85. package/.claude/settings.local.json +0 -8
@@ -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#~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#.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#.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#.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-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#.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>
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#line565">line 565</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#line793">line 793</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#line1340">line 1340</a>
1359
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1318">line 1318</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#line1552">line 1552</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,1353 +1976,55 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2064
1976
 
2065
1977
  <td class="attributes">
2066
1978
 
2067
- &lt;optional><br>
2068
-
2069
-
2070
-
2071
-
2072
-
2073
- </td>
2074
-
2075
-
2076
-
2077
- <td class="default">
2078
-
2079
- <code>[]</code>
2080
-
2081
- </td>
2082
-
2083
-
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>
2085
- </tr>
2086
-
2087
-
2088
-
2089
- <tr>
2090
-
2091
- <td class="name"><code>progressIds</code></td>
2092
-
2093
-
2094
- <td class="type">
2095
-
2096
-
2097
- <span class="param-type">Array.&lt;number></span>
2098
-
2099
-
2100
-
2101
-
2102
- </td>
2103
-
2104
-
2105
- <td class="attributes">
2106
-
2107
- &lt;optional><br>
2108
-
2109
-
2110
-
2111
-
2112
-
2113
- </td>
2114
-
2115
-
2116
-
2117
- <td class="default">
2118
-
2119
- </td>
2120
-
2121
-
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>
2130
- </tr>
2131
-
2132
-
2133
- </tbody>
2134
- </table>
2135
-
2136
-
2137
-
2138
-
2139
-
2140
-
2141
-
2142
-
2143
-
2144
-
2145
-
2146
-
2147
-
2148
-
2149
-
2150
-
2151
- <h5 class="h5-returns">Returns:</h5>
2152
-
2153
-
2154
- <div class="param-desc">
2155
- - The lessons for the artist and some details about the artist (name and thumbnail).
2156
- </div>
2157
-
2158
-
2159
-
2160
- <dl class="param-type">
2161
- <dt>
2162
- Type
2163
- </dt>
2164
- <dd>
2165
-
2166
- <span class="param-type">Promise.&lt;(Object|null)></span>
2167
-
2168
-
2169
-
2170
- </dd>
2171
- </dl>
2172
-
2173
-
2174
-
2175
-
2176
-
2177
-
2178
-
2179
-
2180
-
2181
-
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>
2183
-
2184
-
2185
-
2186
-
2187
-
2188
-
2189
- <dl class="details">
2190
-
2191
- <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>
2193
-
2194
-
2195
-
2196
- <dt class="tag-source">Source:</dt>
2197
- <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>
2199
- </li></ul></dd>
2200
-
2201
-
2202
-
2203
-
2204
-
2205
-
2206
-
2207
-
2208
-
2209
-
2210
-
2211
-
2212
-
2213
-
2214
-
2215
-
2216
-
2217
-
2218
-
2219
-
2220
-
2221
-
2222
-
2223
-
2224
-
2225
-
2226
-
2227
-
2228
-
2229
-
2230
-
2231
- </dl>
2232
-
2233
-
2234
-
2235
-
2236
-
2237
-
2238
-
2239
-
2240
-
2241
-
2242
-
2243
- <h5 class="h5-examples">Example</h5>
2244
-
2245
- <pre class="prettyprint"><code>fetchArtists('drumeo')
2246
- .then(artists => console.log(artists))
2247
- .catch(error => console.error(error));</code></pre>
2248
-
2249
-
2250
-
2251
-
2252
- <h5 class="h5-parameters">Parameters:</h5>
2253
-
2254
-
2255
- <table class="params">
2256
- <thead>
2257
- <tr>
2258
-
2259
- <th>Name</th>
2260
-
2261
-
2262
- <th>Type</th>
2263
-
2264
-
2265
-
2266
-
2267
-
2268
- <th class="last">Description</th>
2269
- </tr>
2270
- </thead>
2271
-
2272
- <tbody>
2273
-
2274
-
2275
- <tr>
2276
-
2277
- <td class="name"><code>brand</code></td>
2278
-
2279
-
2280
- <td class="type">
2281
-
2282
-
2283
- <span class="param-type">string</span>
2284
-
2285
-
2286
-
2287
-
2288
- </td>
2289
-
2290
-
2291
-
2292
-
2293
-
2294
- <td class="description last">The brand for which to fetch artists.</td>
2295
- </tr>
2296
-
2297
-
2298
- </tbody>
2299
- </table>
2300
-
2301
-
2302
-
2303
-
2304
-
2305
-
2306
-
2307
-
2308
-
2309
-
2310
-
2311
-
2312
-
2313
-
2314
-
2315
-
2316
- <h5 class="h5-returns">Returns:</h5>
2317
-
2318
-
2319
- <div class="param-desc">
2320
- - A promise that resolves to an array of artist objects or null if not found.
2321
- </div>
2322
-
2323
-
2324
-
2325
- <dl class="param-type">
2326
- <dt>
2327
- Type
2328
- </dt>
2329
- <dd>
2330
-
2331
- <span class="param-type">Promise.&lt;(Object|null)></span>
2332
-
2333
-
2334
-
2335
- </dd>
2336
- </dl>
2337
-
2338
-
2339
-
2340
-
2341
-
2342
-
2343
-
2344
-
2345
-
2346
-
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>
2348
-
2349
-
2350
-
2351
-
2352
-
2353
-
2354
- <dl class="details">
2355
-
2356
- <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>
2358
-
2359
-
2360
-
2361
- <dt class="tag-source">Source:</dt>
2362
- <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>
2364
- </li></ul></dd>
2365
-
2366
-
2367
-
2368
-
2369
-
2370
-
2371
-
2372
-
2373
-
2374
-
2375
-
2376
-
2377
-
2378
-
2379
-
2380
-
2381
-
2382
-
2383
-
2384
-
2385
-
2386
-
2387
-
2388
-
2389
-
2390
-
2391
-
2392
-
2393
-
2394
-
2395
-
2396
- </dl>
2397
-
2398
-
2399
-
2400
-
2401
-
2402
-
2403
-
2404
-
2405
-
2406
-
2407
-
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
-
2490
-
2491
-
2492
-
2493
-
2494
-
2495
-
2496
-
2497
-
2498
-
2499
-
2500
-
2501
-
2502
-
2503
-
2504
-
2505
- <h5 class="h5-returns">Returns:</h5>
2506
-
2507
-
2508
- <div class="param-desc">
2509
- - A promise that resolves to the content object or null if not found.
2510
- </div>
2511
-
2512
-
2513
-
2514
- <dl class="param-type">
2515
- <dt>
2516
- Type
2517
- </dt>
2518
- <dd>
2519
-
2520
- <span class="param-type">Promise.&lt;(Object|null)></span>
2521
-
2522
-
2523
-
2524
- </dd>
2525
- </dl>
2526
-
2527
-
2528
-
2529
-
2530
-
2531
-
2532
-
2533
-
2534
-
2535
-
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>
2537
-
2538
-
2539
-
2540
-
2541
-
2542
-
2543
- <dl class="details">
2544
-
2545
- <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>
2547
-
2548
-
2549
-
2550
- <dt class="tag-source">Source:</dt>
2551
- <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>
2553
- </li></ul></dd>
2554
-
2555
-
2556
-
2557
-
2558
-
2559
-
2560
-
2561
-
2562
-
2563
-
2564
-
2565
-
2566
-
2567
-
2568
-
2569
-
2570
-
2571
-
2572
-
2573
-
2574
-
2575
-
2576
-
2577
-
2578
-
2579
-
2580
-
2581
-
2582
-
2583
-
2584
-
2585
- </dl>
2586
-
2587
-
2588
-
2589
-
2590
-
2591
-
2592
-
2593
-
2594
-
2595
-
2596
-
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
-
2605
-
2606
- <h5 class="h5-parameters">Parameters:</h5>
2607
-
2608
-
2609
- <table class="params">
2610
- <thead>
2611
- <tr>
2612
-
2613
- <th>Name</th>
2614
-
2615
-
2616
- <th>Type</th>
2617
-
2618
-
2619
- <th>Attributes</th>
2620
-
2621
-
2622
-
2623
-
2624
- <th class="last">Description</th>
2625
- </tr>
2626
- </thead>
2627
-
2628
- <tbody>
2629
-
2630
-
2631
- <tr>
2632
-
2633
- <td class="name"><code>ids</code></td>
2634
-
2635
-
2636
- <td class="type">
2637
-
2638
-
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>
2672
-
2673
-
2674
-
2675
-
2676
- </td>
2677
-
2678
-
2679
- <td class="attributes">
2680
-
2681
- &lt;optional><br>
2682
-
2683
-
2684
-
2685
-
2686
-
2687
- </td>
2688
-
2689
-
2690
-
2691
-
2692
- <td class="description last">The content type the IDs to add needed fields to the response.</td>
2693
- </tr>
2694
-
2695
-
2696
- </tbody>
2697
- </table>
2698
-
2699
-
2700
-
2701
-
2702
-
2703
-
2704
-
2705
-
2706
-
2707
-
2708
-
2709
-
2710
-
2711
-
2712
-
2713
-
2714
- <h5 class="h5-returns">Returns:</h5>
2715
-
2716
-
2717
- <div class="param-desc">
2718
- - A promise that resolves to an array of content objects or null if not found.
2719
- </div>
2720
-
2721
-
2722
-
2723
- <dl class="param-type">
2724
- <dt>
2725
- Type
2726
- </dt>
2727
- <dd>
2728
-
2729
- <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
2730
-
2731
-
2732
-
2733
- </dd>
2734
- </dl>
2735
-
2736
-
2737
-
2738
-
2739
-
2740
-
2741
-
2742
-
2743
-
2744
-
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>
2746
-
2747
-
2748
-
2749
-
2750
-
2751
-
2752
- <dl class="details">
2753
-
2754
- <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>
2756
-
2757
-
2758
-
2759
- <dt class="tag-source">Source:</dt>
2760
- <dd class="tag-source"><ul class="dummy"><li>
2761
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1513">line 1513</a>
2762
- </li></ul></dd>
2763
-
2764
-
2765
-
2766
-
2767
-
2768
-
2769
-
2770
-
2771
-
2772
-
2773
-
2774
-
2775
-
2776
-
2777
-
2778
-
2779
-
2780
-
2781
-
2782
-
2783
-
2784
-
2785
-
2786
-
2787
-
2788
-
2789
-
2790
-
2791
-
2792
-
2793
-
2794
- </dl>
2795
-
2796
-
2797
-
2798
-
2799
-
2800
-
2801
-
2802
-
2803
-
2804
-
2805
-
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#line1480">line 1480</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
1979
 
3393
-
1980
+
3394
1981
 
3395
-
1982
+
1983
+ </td>
1984
+
3396
1985
 
3397
-
1986
+
3398
1987
 
3399
-
1988
+ <td class="description last">The array of Railcontent IDs of the content to fetch.</td>
1989
+ </tr>
3400
1990
 
3401
1991
 
3402
- </dl>
3403
1992
 
1993
+ <tr>
1994
+
1995
+ <td class="name"><code>contentType</code></td>
1996
+
3404
1997
 
1998
+ <td class="type">
1999
+
2000
+
2001
+ <span class="param-type">string</span>
3405
2002
 
3406
2003
 
3407
2004
 
2005
+
2006
+ </td>
3408
2007
 
2008
+
2009
+ <td class="attributes">
2010
+
2011
+ &lt;optional><br>
2012
+
3409
2013
 
2014
+
3410
2015
 
2016
+
2017
+ </td>
2018
+
3411
2019
 
2020
+
3412
2021
 
2022
+ <td class="description last">The content type the IDs to add needed fields to the response.</td>
2023
+ </tr>
3413
2024
 
2025
+
2026
+ </tbody>
2027
+ </table>
3414
2028
 
3415
2029
 
3416
2030
 
@@ -3430,6 +2044,10 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3430
2044
  <h5 class="h5-returns">Returns:</h5>
3431
2045
 
3432
2046
 
2047
+ <div class="param-desc">
2048
+ - A promise that resolves to an array of content objects or null if not found.
2049
+ </div>
2050
+
3433
2051
 
3434
2052
 
3435
2053
  <dl class="param-type">
@@ -3438,7 +2056,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3438
2056
  </dt>
3439
2057
  <dd>
3440
2058
 
3441
- <span class="param-type">Promise.&lt;(Object|null)></span>
2059
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
3442
2060
 
3443
2061
 
3444
2062
 
@@ -3454,7 +2072,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3454
2072
 
3455
2073
 
3456
2074
 
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>
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>
3458
2076
 
3459
2077
 
3460
2078
 
@@ -3464,13 +2082,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3464
2082
  <dl class="details">
3465
2083
 
3466
2084
  <dt class="tag-description">Description:</dt>
3467
- <dd class="tag-description"><ul class="dummy"><li>Fetch data for comment mod page</li></ul></dd>
2085
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
3468
2086
 
3469
2087
 
3470
2088
 
3471
2089
  <dt class="tag-source">Source:</dt>
3472
2090
  <dd class="tag-source"><ul class="dummy"><li>
3473
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1742">line 1742</a>
2091
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1457">line 1457</a>
3474
2092
  </li></ul></dd>
3475
2093
 
3476
2094
 
@@ -3515,6 +2133,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3515
2133
 
3516
2134
 
3517
2135
 
2136
+ <h5 class="h5-examples">Example</h5>
2137
+
2138
+ <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2139
+ .then(lessons => console.log(lessons))
2140
+ .catch(error => console.error(error));</code></pre>
2141
+
2142
+
3518
2143
 
3519
2144
 
3520
2145
  <h5 class="h5-parameters">Parameters:</h5>
@@ -3542,13 +2167,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3542
2167
 
3543
2168
  <tr>
3544
2169
 
3545
- <td class="name"><code>ids</code></td>
2170
+ <td class="name"><code>id</code></td>
3546
2171
 
3547
2172
 
3548
2173
  <td class="type">
3549
2174
 
3550
2175
 
3551
- <span class="param-type">array</span>
2176
+ <span class="param-type">string</span>
3552
2177
 
3553
2178
 
3554
2179
 
@@ -3559,7 +2184,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3559
2184
 
3560
2185
 
3561
2186
 
3562
- <td class="description last">List of ids get data for</td>
2187
+ <td class="description last">The Railcontent ID of the coach</td>
3563
2188
  </tr>
3564
2189
 
3565
2190
 
@@ -3585,7 +2210,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3585
2210
 
3586
2211
 
3587
2212
  <div class="param-desc">
3588
- - A promise that resolves to an object containing the data
2213
+ - The lessons for the instructor or null if not found.
3589
2214
  </div>
3590
2215
 
3591
2216
 
@@ -3612,7 +2237,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3612
2237
 
3613
2238
 
3614
2239
 
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>
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>
3616
2241
 
3617
2242
 
3618
2243
 
@@ -3622,13 +2247,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3622
2247
  <dl class="details">
3623
2248
 
3624
2249
  <dt class="tag-description">Description:</dt>
3625
- <dd class="tag-description"><ul class="dummy"><li>Fetch the Foundations 2019.</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>
3626
2251
 
3627
2252
 
3628
2253
 
3629
2254
  <dt class="tag-source">Source:</dt>
3630
2255
  <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>
2256
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line131">line 131</a>
3632
2257
  </li></ul></dd>
3633
2258
 
3634
2259
 
@@ -3675,56 +2300,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3675
2300
 
3676
2301
 
3677
2302
 
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
2303
 
3729
2304
 
3730
2305
 
@@ -3742,10 +2317,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3742
2317
  <h5 class="h5-returns">Returns:</h5>
3743
2318
 
3744
2319
 
3745
- <div class="param-desc">
3746
- - The fetched foundation data or null if not found.
3747
- </div>
3748
-
3749
2320
 
3750
2321
 
3751
2322
  <dl class="param-type">
@@ -3770,7 +2341,7 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3770
2341
 
3771
2342
 
3772
2343
 
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>
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>
3774
2345
 
3775
2346
 
3776
2347
 
@@ -3780,13 +2351,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3780
2351
  <dl class="details">
3781
2352
 
3782
2353
  <dt class="tag-description">Description:</dt>
3783
- <dd class="tag-description"><ul class="dummy"><li>Fetch the genre's lessons.</li></ul></dd>
2354
+ <dd class="tag-description"><ul class="dummy"><li>Fetch data for comment mod page</li></ul></dd>
3784
2355
 
3785
2356
 
3786
2357
 
3787
2358
  <dt class="tag-source">Source:</dt>
3788
2359
  <dd class="tag-source"><ul class="dummy"><li>
3789
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1612">line 1612</a>
2360
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1571">line 1571</a>
3790
2361
  </li></ul></dd>
3791
2362
 
3792
2363
 
@@ -3831,13 +2402,6 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3831
2402
 
3832
2403
 
3833
2404
 
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
2405
 
3842
2406
 
3843
2407
  <h5 class="h5-parameters">Parameters:</h5>
@@ -3865,13 +2429,13 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3865
2429
 
3866
2430
  <tr>
3867
2431
 
3868
- <td class="name"><code>brand</code></td>
2432
+ <td class="name"><code>ids</code></td>
3869
2433
 
3870
2434
 
3871
2435
  <td class="type">
3872
2436
 
3873
2437
 
3874
- <span class="param-type">string</span>
2438
+ <span class="param-type">array</span>
3875
2439
 
3876
2440
 
3877
2441
 
@@ -3882,291 +2446,154 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
3882
2446
 
3883
2447
 
3884
2448
 
3885
- <td class="description last">The brand for which to fetch lessons.</td>
2449
+ <td class="description last">List of ids get data for</td>
3886
2450
  </tr>
3887
2451
 
3888
2452
 
2453
+ </tbody>
2454
+ </table>
3889
2455
 
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
2456
 
3900
2457
 
3901
2458
 
3902
-
3903
- </td>
3904
2459
 
3905
-
3906
2460
 
3907
-
3908
2461
 
3909
- <td class="description last">The name of the genre</td>
3910
- </tr>
3911
2462
 
3912
-
3913
2463
 
3914
- <tr>
3915
-
3916
- <td class="name"><code>params</code></td>
3917
-
3918
2464
 
3919
- <td class="type">
3920
-
3921
-
3922
- <span class="param-type">Object</span>
3923
2465
 
3924
2466
 
3925
2467
 
3926
-
3927
- </td>
3928
2468
 
3929
-
3930
2469
 
3931
-
3932
2470
 
3933
- <td class="description last">Parameters for sorting, searching, pagination and filtering.
3934
- <h6>Properties</h6>
3935
-
2471
+ <h5 class="h5-returns">Returns:</h5>
3936
2472
 
3937
- <table class="params">
3938
- <thead>
3939
- <tr>
3940
-
3941
- <th>Name</th>
3942
2473
 
2474
+ <div class="param-desc">
2475
+ - A promise that resolves to an object containing the data
2476
+ </div>
3943
2477
 
3944
- <th>Type</th>
3945
2478
 
3946
-
3947
- <th>Attributes</th>
3948
-
3949
2479
 
2480
+ <dl class="param-type">
2481
+ <dt>
2482
+ Type
2483
+ </dt>
2484
+ <dd>
3950
2485
 
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>
2486
+ <span class="param-type">Promise.&lt;(Object|null)></span>
3970
2487
 
3971
2488
 
3972
2489
 
3973
-
3974
- </td>
2490
+ </dd>
2491
+ </dl>
3975
2492
 
3976
-
3977
- <td class="attributes">
3978
-
3979
- &lt;optional><br>
3980
-
2493
+
3981
2494
 
3982
-
3983
2495
 
3984
-
3985
- </td>
3986
-
3987
2496
 
2497
+
3988
2498
 
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
2499
 
3999
2500
 
4000
2501
 
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
-
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>
4012
2503
 
4013
-
4014
- </td>
2504
+
4015
2505
 
4016
-
4017
- <td class="attributes">
4018
-
4019
- &lt;optional><br>
4020
-
4021
2506
 
4022
-
4023
2507
 
4024
-
4025
- </td>
4026
-
4027
2508
 
4028
-
4029
- <td class="default">
4030
-
4031
- <code>""</code>
4032
-
4033
- </td>
4034
-
2509
+ <dl class="details">
2510
+
2511
+ <dt class="tag-description">Description:</dt>
2512
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the Foundations 2019.</li></ul></dd>
2513
+
4035
2514
 
4036
- <td class="description last">The search term to filter the lessons.</td>
4037
- </tr>
2515
+
2516
+ <dt class="tag-source">Source:</dt>
2517
+ <dd class="tag-source"><ul class="dummy"><li>
2518
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line864">line 864</a>
2519
+ </li></ul></dd>
2520
+
4038
2521
 
4039
2522
 
4040
2523
 
4041
- <tr>
4042
-
4043
- <td class="name"><code>page</code></td>
4044
-
2524
+
4045
2525
 
4046
- <td class="type">
4047
-
4048
-
4049
- <span class="param-type">number</span>
2526
+
4050
2527
 
2528
+
4051
2529
 
2530
+
4052
2531
 
4053
-
4054
- </td>
2532
+
4055
2533
 
4056
-
4057
- <td class="attributes">
4058
-
4059
- &lt;optional><br>
4060
-
2534
+
4061
2535
 
4062
-
2536
+
4063
2537
 
4064
-
4065
- </td>
4066
-
2538
+
4067
2539
 
4068
-
4069
- <td class="default">
4070
-
4071
- <code>1</code>
4072
-
4073
- </td>
4074
-
2540
+
4075
2541
 
4076
- <td class="description last">The page number for pagination.</td>
4077
- </tr>
2542
+
4078
2543
 
4079
2544
 
4080
2545
 
4081
- <tr>
4082
-
4083
- <td class="name"><code>limit</code></td>
4084
-
2546
+
4085
2547
 
4086
- <td class="type">
4087
-
4088
-
4089
- <span class="param-type">number</span>
2548
+
4090
2549
 
2550
+
2551
+ </dl>
4091
2552
 
4092
2553
 
4093
-
4094
- </td>
4095
2554
 
4096
-
4097
- <td class="attributes">
4098
-
4099
- &lt;optional><br>
4100
-
4101
2555
 
4102
-
4103
2556
 
4104
-
4105
- </td>
4106
-
4107
2557
 
4108
-
4109
- <td class="default">
4110
-
4111
- <code>10</code>
4112
-
4113
- </td>
4114
-
4115
2558
 
4116
- <td class="description last">The number of items per page.</td>
4117
- </tr>
4118
2559
 
4119
-
4120
2560
 
4121
- <tr>
4122
-
4123
- <td class="name"><code>includedFields</code></td>
4124
-
4125
2561
 
4126
- <td class="type">
4127
-
4128
-
4129
- <span class="param-type">Array.&lt;string></span>
4130
2562
 
4131
2563
 
4132
2564
 
4133
-
4134
- </td>
2565
+ <h5 class="h5-parameters">Parameters:</h5>
2566
+
4135
2567
 
4136
-
4137
- <td class="attributes">
4138
-
4139
- &lt;optional><br>
4140
-
2568
+ <table class="params">
2569
+ <thead>
2570
+ <tr>
2571
+
2572
+ <th>Name</th>
2573
+
4141
2574
 
4142
-
2575
+ <th>Type</th>
4143
2576
 
4144
-
4145
- </td>
4146
-
2577
+
4147
2578
 
4148
-
4149
- <td class="default">
4150
-
4151
- <code>[]</code>
4152
-
4153
- </td>
4154
-
2579
+
4155
2580
 
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>
2581
+ <th class="last">Description</th>
2582
+ </tr>
2583
+ </thead>
4158
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#line1110">line 1110</a>
2780
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1087">line 1087</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#line1217">line 1217</a>
2946
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1194">line 1194</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#line1930">line 1930</a>
3149
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1764">line 1764</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#line908">line 908</a>
3334
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line885">line 885</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#line956">line 956</a>
3516
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line933">line 933</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#line1014">line 1014</a>
3674
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line991">line 991</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#line991">line 991</a>
3832
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line968">line 968</a>
5427
3833
  </li></ul></dd>
5428
3834
 
5429
3835
 
@@ -5612,7 +4018,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5612
4018
 
5613
4019
  <dt class="tag-source">Source:</dt>
5614
4020
  <dd class="tag-source"><ul class="dummy"><li>
5615
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2301">line 2301</a>
4021
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2140">line 2140</a>
5616
4022
  </li></ul></dd>
5617
4023
 
5618
4024
 
@@ -5760,7 +4166,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5760
4166
 
5761
4167
  <dt class="tag-source">Source:</dt>
5762
4168
  <dd class="tag-source"><ul class="dummy"><li>
5763
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2315">line 2315</a>
4169
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2154">line 2154</a>
5764
4170
  </li></ul></dd>
5765
4171
 
5766
4172
 
@@ -5908,7 +4314,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
5908
4314
 
5909
4315
  <dt class="tag-source">Source:</dt>
5910
4316
  <dd class="tag-source"><ul class="dummy"><li>
5911
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line312">line 312</a>
4317
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line285">line 285</a>
5912
4318
  </li></ul></dd>
5913
4319
 
5914
4320
 
@@ -6066,7 +4472,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
6066
4472
 
6067
4473
  <dt class="tag-source">Source:</dt>
6068
4474
  <dd class="tag-source"><ul class="dummy"><li>
6069
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1053">line 1053</a>
4475
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1030">line 1030</a>
6070
4476
  </li></ul></dd>
6071
4477
 
6072
4478
 
@@ -6225,7 +4631,7 @@ These are linked through content that shares a license with the provided railcon
6225
4631
 
6226
4632
  <dt class="tag-source">Source:</dt>
6227
4633
  <dd class="tag-source"><ul class="dummy"><li>
6228
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1204">line 1204</a>
4634
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1181">line 1181</a>
6229
4635
  </li></ul></dd>
6230
4636
 
6231
4637
 
@@ -6409,7 +4815,7 @@ These are linked through content that shares a license with the provided railcon
6409
4815
 
6410
4816
  <dt class="tag-source">Source:</dt>
6411
4817
  <dd class="tag-source"><ul class="dummy"><li>
6412
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1366">line 1366</a>
4818
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1349">line 1349</a>
6413
4819
  </li></ul></dd>
6414
4820
 
6415
4821
 
@@ -6567,7 +4973,7 @@ These are linked through content that shares a license with the provided railcon
6567
4973
 
6568
4974
  <dt class="tag-source">Source:</dt>
6569
4975
  <dd class="tag-source"><ul class="dummy"><li>
6570
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1455">line 1455</a>
4976
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1438">line 1438</a>
6571
4977
  </li></ul></dd>
6572
4978
 
6573
4979
 
@@ -6732,7 +5138,7 @@ These are linked through content that shares a license with the provided railcon
6732
5138
 
6733
5139
  <dt class="tag-source">Source:</dt>
6734
5140
  <dd class="tag-source"><ul class="dummy"><li>
6735
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1308">line 1308</a>
5141
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1287">line 1287</a>
6736
5142
  </li></ul></dd>
6737
5143
 
6738
5144
 
@@ -6891,7 +5297,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
6891
5297
 
6892
5298
  <dt class="tag-source">Source:</dt>
6893
5299
  <dd class="tag-source"><ul class="dummy"><li>
6894
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1184">line 1184</a>
5300
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1161">line 1161</a>
6895
5301
  </li></ul></dd>
6896
5302
 
6897
5303
 
@@ -7075,7 +5481,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7075
5481
 
7076
5482
  <dt class="tag-source">Source:</dt>
7077
5483
  <dd class="tag-source"><ul class="dummy"><li>
7078
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line236">line 236</a>
5484
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line209">line 209</a>
7079
5485
  </li></ul></dd>
7080
5486
 
7081
5487
 
@@ -7264,7 +5670,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7264
5670
 
7265
5671
  <dt class="tag-source">Source:</dt>
7266
5672
  <dd class="tag-source"><ul class="dummy"><li>
7267
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line106">line 106</a>
5673
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line103">line 103</a>
7268
5674
  </li></ul></dd>
7269
5675
 
7270
5676
 
@@ -7352,7 +5758,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7352
5758
 
7353
5759
 
7354
5760
 
7355
- <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>
5761
+ <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>
7356
5762
 
7357
5763
 
7358
5764
 
@@ -7365,7 +5771,7 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
7365
5771
 
7366
5772
  <dt class="tag-source">Source:</dt>
7367
5773
  <dd class="tag-source"><ul class="dummy"><li>
7368
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1780">line 1780</a>
5774
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1611">line 1611</a>
7369
5775
  </li></ul></dd>
7370
5776
 
7371
5777
 
@@ -7433,12 +5839,8 @@ fetchSanity(query, true)
7433
5839
  <th>Type</th>
7434
5840
 
7435
5841
 
7436
- <th>Attributes</th>
7437
-
7438
5842
 
7439
5843
 
7440
- <th>Default</th>
7441
-
7442
5844
 
7443
5845
  <th class="last">Description</th>
7444
5846
  </tr>
@@ -7463,35 +5865,94 @@ fetchSanity(query, true)
7463
5865
  </td>
7464
5866
 
7465
5867
 
7466
- <td class="attributes">
7467
-
7468
5868
 
7469
-
5869
+
7470
5870
 
7471
-
7472
- </td>
5871
+ <td class="description last">The GROQ query to execute against the Sanity API.</td>
5872
+ </tr>
5873
+
5874
+
5875
+
5876
+ <tr>
5877
+
5878
+ <td class="name"><code>isList</code></td>
7473
5879
 
7474
5880
 
5881
+ <td class="type">
7475
5882
 
7476
- <td class="default">
7477
5883
 
7478
- </td>
5884
+ <span class="param-type">boolean</span>
5885
+
5886
+
5887
+
7479
5888
 
5889
+ </td>
7480
5890
 
7481
- <td class="description last">The GROQ query to execute against the Sanity API.</td>
5891
+
5892
+
5893
+
5894
+
5895
+ <td class="description last">Whether to return an array or a single result.</td>
7482
5896
  </tr>
7483
5897
 
7484
5898
 
7485
5899
 
7486
5900
  <tr>
7487
5901
 
7488
- <td class="name"><code>isList</code></td>
5902
+ <td class="name"><code>options</code></td>
7489
5903
 
7490
5904
 
7491
5905
  <td class="type">
7492
5906
 
7493
5907
 
7494
- <span class="param-type">boolean</span>
5908
+ <span class="param-type">Object</span>
5909
+
5910
+
5911
+
5912
+
5913
+ </td>
5914
+
5915
+
5916
+
5917
+
5918
+
5919
+ <td class="description last">Additional options for fetching data.
5920
+ <h6>Properties</h6>
5921
+
5922
+
5923
+ <table class="params">
5924
+ <thead>
5925
+ <tr>
5926
+
5927
+ <th>Name</th>
5928
+
5929
+
5930
+ <th>Type</th>
5931
+
5932
+
5933
+ <th>Attributes</th>
5934
+
5935
+
5936
+
5937
+ <th>Default</th>
5938
+
5939
+
5940
+ <th class="last">Description</th>
5941
+ </tr>
5942
+ </thead>
5943
+
5944
+ <tbody>
5945
+
5946
+
5947
+ <tr>
5948
+
5949
+ <td class="name"><code>customPostProcess</code></td>
5950
+
5951
+
5952
+ <td class="type">
5953
+
5954
+
5955
+ <span class="param-type">function</span>
7495
5956
 
7496
5957
 
7497
5958
 
@@ -7501,6 +5962,8 @@ fetchSanity(query, true)
7501
5962
 
7502
5963
  <td class="attributes">
7503
5964
 
5965
+ &lt;optional><br>
5966
+
7504
5967
 
7505
5968
 
7506
5969
 
@@ -7511,23 +5974,25 @@ fetchSanity(query, true)
7511
5974
 
7512
5975
  <td class="default">
7513
5976
 
5977
+ <code>null</code>
5978
+
7514
5979
  </td>
7515
5980
 
7516
5981
 
7517
- <td class="description last">Whether to return an array or a single result.</td>
5982
+ <td class="description last">custom post process callback</td>
7518
5983
  </tr>
7519
5984
 
7520
5985
 
7521
5986
 
7522
5987
  <tr>
7523
5988
 
7524
- <td class="name"><code>customPostProcess</code></td>
5989
+ <td class="name"><code>processNeedAccess</code></td>
7525
5990
 
7526
5991
 
7527
5992
  <td class="type">
7528
5993
 
7529
5994
 
7530
- <span class="param-type">function</span>
5995
+ <span class="param-type">boolean</span>
7531
5996
 
7532
5997
 
7533
5998
 
@@ -7549,19 +6014,19 @@ fetchSanity(query, true)
7549
6014
 
7550
6015
  <td class="default">
7551
6016
 
7552
- <code>null</code>
6017
+ <code>true</code>
7553
6018
 
7554
6019
  </td>
7555
6020
 
7556
6021
 
7557
- <td class="description last">custom post process callback</td>
6022
+ <td class="description last">execute the needs_access callback</td>
7558
6023
  </tr>
7559
6024
 
7560
6025
 
7561
6026
 
7562
6027
  <tr>
7563
6028
 
7564
- <td class="name"><code>processNeedAccess</code></td>
6029
+ <td class="name"><code>processPageType</code></td>
7565
6030
 
7566
6031
 
7567
6032
  <td class="type">
@@ -7594,7 +6059,14 @@ fetchSanity(query, true)
7594
6059
  </td>
7595
6060
 
7596
6061
 
7597
- <td class="description last">execute the needs_access callback</td>
6062
+ <td class="description last">execute the page_type callback</td>
6063
+ </tr>
6064
+
6065
+
6066
+ </tbody>
6067
+ </table>
6068
+
6069
+ </td>
7598
6070
  </tr>
7599
6071
 
7600
6072
 
@@ -7663,7 +6135,7 @@ fetchSanity(query, true)
7663
6135
 
7664
6136
  <dt class="tag-source">Source:</dt>
7665
6137
  <dd class="tag-source"><ul class="dummy"><li>
7666
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line403">line 403</a>
6138
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line376">line 376</a>
7667
6139
  </li></ul></dd>
7668
6140
 
7669
6141
 
@@ -7831,7 +6303,7 @@ fetchSanity(query, true)
7831
6303
 
7832
6304
  <dt class="tag-source">Source:</dt>
7833
6305
  <dd class="tag-source"><ul class="dummy"><li>
7834
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1904">line 1904</a>
6306
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1738">line 1738</a>
7835
6307
  </li></ul></dd>
7836
6308
 
7837
6309
 
@@ -7986,7 +6458,7 @@ fetchSanity(query, true)
7986
6458
 
7987
6459
  <dt class="tag-source">Source:</dt>
7988
6460
  <dd class="tag-source"><ul class="dummy"><li>
7989
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1260">line 1260</a>
6461
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1237">line 1237</a>
7990
6462
  </li></ul></dd>
7991
6463
 
7992
6464
 
@@ -8168,7 +6640,7 @@ fetchSanity(query, true)
8168
6640
 
8169
6641
  <dt class="tag-source">Source:</dt>
8170
6642
  <dd class="tag-source"><ul class="dummy"><li>
8171
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line194">line 194</a>
6643
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line167">line 167</a>
8172
6644
  </li></ul></dd>
8173
6645
 
8174
6646
 
@@ -8326,7 +6798,7 @@ fetchSanity(query, true)
8326
6798
 
8327
6799
  <dt class="tag-source">Source:</dt>
8328
6800
  <dd class="tag-source"><ul class="dummy"><li>
8329
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line57">line 57</a>
6801
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line54">line 54</a>
8330
6802
  </li></ul></dd>
8331
6803
 
8332
6804
 
@@ -8491,7 +6963,7 @@ fetchSanity(query, true)
8491
6963
 
8492
6964
  <dt class="tag-source">Source:</dt>
8493
6965
  <dd class="tag-source"><ul class="dummy"><li>
8494
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line356">line 356</a>
6966
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line329">line 329</a>
8495
6967
  </li></ul></dd>
8496
6968
 
8497
6969
 
@@ -8659,7 +7131,7 @@ fetchSanity(query, true)
8659
7131
 
8660
7132
  <dt class="tag-source">Source:</dt>
8661
7133
  <dd class="tag-source"><ul class="dummy"><li>
8662
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1090">line 1090</a>
7134
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1067">line 1067</a>
8663
7135
  </li></ul></dd>
8664
7136
 
8665
7137
 
@@ -8824,7 +7296,7 @@ fetchSanity(query, true)
8824
7296
 
8825
7297
  <dt class="tag-source">Source:</dt>
8826
7298
  <dd class="tag-source"><ul class="dummy"><li>
8827
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1230">line 1230</a>
7299
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1207">line 1207</a>
8828
7300
  </li></ul></dd>
8829
7301
 
8830
7302
 
@@ -9047,7 +7519,7 @@ fetchSanity(query, true)
9047
7519
 
9048
7520
  <dt class="tag-source">Source:</dt>
9049
7521
  <dd class="tag-source"><ul class="dummy"><li>
9050
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line156">line 156</a>
7522
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line153">line 153</a>
9051
7523
  </li></ul></dd>
9052
7524
 
9053
7525
 
@@ -9150,7 +7622,7 @@ fetchSanity(query, true)
9150
7622
  <br class="clear">
9151
7623
 
9152
7624
  <footer>
9153
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Nov 17 2025 22:03:50 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
7625
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Nov 20 2025 18:26:49 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9154
7626
  </footer>
9155
7627
 
9156
7628
  <script>prettyPrint();</script>