musora-content-services 2.80.0 → 2.82.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 (220) hide show
  1. package/.claude/settings.local.json +14 -0
  2. package/.coderabbit.yaml +0 -0
  3. package/.editorconfig +0 -0
  4. package/.github/pull_request_template.md +0 -0
  5. package/.github/workflows/conventional-commits.yaml +0 -0
  6. package/.github/workflows/docs.js.yml +0 -0
  7. package/.github/workflows/node.js.yml +0 -0
  8. package/.prettierignore +0 -0
  9. package/.prettierrc +0 -0
  10. package/.yarnrc.yml +1 -0
  11. package/CHANGELOG.md +25 -0
  12. package/README.md +0 -0
  13. package/babel.config.cjs +0 -0
  14. package/docs/Content.html +0 -0
  15. package/docs/ContentOrganization.html +2 -2
  16. package/docs/Forums.html +2 -2
  17. package/docs/Gamification.html +2 -2
  18. package/docs/TestUser.html +2 -2
  19. package/docs/UserManagementSystem.html +2 -2
  20. package/docs/api_types.js.html +2 -2
  21. package/docs/config.js.html +5 -2
  22. package/docs/content-org_content-org.js.html +2 -2
  23. package/docs/content-org_guided-courses.ts.html +2 -2
  24. package/docs/content-org_learning-paths.ts.html +5 -2
  25. package/docs/content-org_playlists-types.js.html +2 -2
  26. package/docs/content-org_playlists.js.html +3 -2
  27. package/docs/content.js.html +88 -10
  28. package/docs/content_artist.ts.html +2 -3
  29. package/docs/content_content.ts.html +0 -0
  30. package/docs/content_genre.ts.html +2 -2
  31. package/docs/content_instructor.ts.html +2 -2
  32. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  33. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  34. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  35. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  36. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  37. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  38. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  39. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  40. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  41. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  42. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  43. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  44. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  45. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  46. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  47. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  48. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  49. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  50. package/docs/forums_categories.ts.html +2 -2
  51. package/docs/forums_discussions.js.html +0 -0
  52. package/docs/forums_forum.js.html +0 -0
  53. package/docs/forums_forums.ts.html +2 -2
  54. package/docs/forums_posts.ts.html +2 -2
  55. package/docs/forums_threads.ts.html +2 -2
  56. package/docs/gamification_awards.js.html +0 -0
  57. package/docs/gamification_awards.ts.html +2 -2
  58. package/docs/gamification_gamification.js.html +2 -2
  59. package/docs/gamification_types.js.html +0 -0
  60. package/docs/global.html +2 -2
  61. package/docs/index.html +2 -2
  62. package/docs/liveTesting.ts.html +2 -2
  63. package/docs/module-Accounts.html +14 -14
  64. package/docs/module-Artist.html +5 -5
  65. package/docs/module-Awards.html +2 -2
  66. package/docs/module-Categories.html +0 -0
  67. package/docs/module-Config.html +5 -4
  68. package/docs/module-Content-Services-V2.html +440 -9
  69. package/docs/module-ForumCategories.html +0 -0
  70. package/docs/module-ForumDiscussions.html +0 -0
  71. package/docs/module-Forums.html +2 -2
  72. package/docs/module-Genre.html +2 -2
  73. package/docs/module-GuidedCourses.html +2 -2
  74. package/docs/module-Instructor.html +2 -2
  75. package/docs/module-Interests.html +2 -2
  76. package/docs/module-LearningPaths.html +4 -4
  77. package/docs/module-Onboarding.html +2 -2
  78. package/docs/module-Payments.html +2 -2
  79. package/docs/module-Permissions.html +2 -2
  80. package/docs/module-Playlists.html +16 -16
  81. package/docs/module-ProgressRow.html +2 -2
  82. package/docs/module-Railcontent-Services.html +2 -2
  83. package/docs/module-Sanity-Services.html +1797 -56
  84. package/docs/module-Sessions.html +2 -2
  85. package/docs/module-Threads.html +0 -0
  86. package/docs/module-UserActivity.html +4 -4
  87. package/docs/module-UserChat.html +2 -2
  88. package/docs/module-UserManagement.html +2 -2
  89. package/docs/module-UserMemberships.html +2 -2
  90. package/docs/module-UserNotifications.html +2 -2
  91. package/docs/module-UserProfile.html +2 -2
  92. package/docs/progress-row_method-card.js.html +2 -2
  93. package/docs/railcontent.js.html +2 -2
  94. package/docs/sanity.js.html +131 -29
  95. package/docs/scripts/collapse.js +0 -0
  96. package/docs/scripts/commonNav.js +0 -0
  97. package/docs/scripts/linenumber.js +0 -0
  98. package/docs/scripts/nav.js +0 -0
  99. package/docs/scripts/polyfill.js +0 -0
  100. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  101. package/docs/scripts/prettify/lang-css.js +0 -0
  102. package/docs/scripts/prettify/prettify.js +0 -0
  103. package/docs/scripts/search.js +0 -0
  104. package/docs/styles/jsdoc.css +0 -0
  105. package/docs/styles/prettify.css +0 -0
  106. package/docs/userActivity.js.html +3 -2
  107. package/docs/user_account.ts.html +11 -4
  108. package/docs/user_chat.js.html +2 -2
  109. package/docs/user_interests.js.html +2 -2
  110. package/docs/user_management.js.html +2 -2
  111. package/docs/user_memberships.js.html +0 -0
  112. package/docs/user_memberships.ts.html +2 -2
  113. package/docs/user_notifications.js.html +2 -2
  114. package/docs/user_onboarding.ts.html +2 -2
  115. package/docs/user_payments.ts.html +2 -2
  116. package/docs/user_permissions.js.html +2 -2
  117. package/docs/user_profile.js.html +2 -2
  118. package/docs/user_sessions.js.html +2 -2
  119. package/docs/user_types.js.html +2 -2
  120. package/docs/user_user-management-system.js.html +2 -2
  121. package/jest.config.js +0 -0
  122. package/jsdoc.json +0 -0
  123. package/package.json +1 -1
  124. package/src/contentMetaData.js +0 -0
  125. package/src/contentTypeConfig.js +33 -1
  126. package/src/filterBuilder.js +22 -12
  127. package/src/index.d.ts +4 -0
  128. package/src/index.js +4 -0
  129. package/src/infrastructure/http/HttpClient.ts +0 -0
  130. package/src/infrastructure/http/executors/FetchRequestExecutor.ts +0 -0
  131. package/src/infrastructure/http/index.ts +0 -0
  132. package/src/infrastructure/http/interfaces/HeaderProvider.ts +0 -0
  133. package/src/infrastructure/http/interfaces/HttpError.ts +0 -0
  134. package/src/infrastructure/http/interfaces/NetworkError.ts +0 -0
  135. package/src/infrastructure/http/interfaces/RequestExecutor.ts +0 -0
  136. package/src/infrastructure/http/interfaces/RequestOptions.ts +0 -0
  137. package/src/infrastructure/http/providers/DefaultHeaderProvider.ts +0 -0
  138. package/src/lib/httpHelper.js +0 -0
  139. package/src/lib/lastUpdated.js +4 -4
  140. package/src/services/api/types.js +0 -0
  141. package/src/services/api/types.ts +0 -0
  142. package/src/services/config.js +3 -0
  143. package/src/services/content/artist.ts +0 -0
  144. package/src/services/content/content.ts +0 -0
  145. package/src/services/content/genre.ts +0 -0
  146. package/src/services/content/instructor.ts +0 -0
  147. package/src/services/content-org/content-org.js +0 -0
  148. package/src/services/content-org/guided-courses.ts +0 -0
  149. package/src/services/content-org/learning-paths.ts +3 -0
  150. package/src/services/content-org/playlists-types.js +0 -0
  151. package/src/services/content-org/playlists.js +0 -0
  152. package/src/services/content.js +86 -8
  153. package/src/services/contentAggregator.js +4 -4
  154. package/src/services/contentLikes.js +0 -0
  155. package/src/services/contentProgress.js +16 -3
  156. package/src/services/dataContext.js +0 -0
  157. package/src/services/dateUtils.js +0 -0
  158. package/src/services/eventsAPI.js +0 -0
  159. package/src/services/forums/categories.ts +0 -0
  160. package/src/services/forums/forums.ts +0 -0
  161. package/src/services/forums/posts.ts +0 -0
  162. package/src/services/forums/threads.ts +0 -0
  163. package/src/services/forums/types.ts +0 -0
  164. package/src/services/gamification/awards.ts +0 -0
  165. package/src/services/gamification/gamification.js +0 -0
  166. package/src/services/imageSRCBuilder.js +0 -0
  167. package/src/services/imageSRCVerify.js +0 -0
  168. package/src/services/liveTesting.ts +0 -0
  169. package/src/services/permissions/PermissionsAdapter.ts +111 -0
  170. package/src/services/permissions/PermissionsAdapterFactory.ts +71 -0
  171. package/src/services/permissions/PermissionsV1Adapter.ts +232 -0
  172. package/src/services/permissions/PermissionsV2Adapter.ts +226 -0
  173. package/src/services/permissions/README.md +139 -0
  174. package/src/services/permissions/index.ts +65 -0
  175. package/src/services/progress-row/method-card.js +0 -0
  176. package/src/services/railcontent.js +0 -0
  177. package/src/services/recommendations.js +0 -0
  178. package/src/services/sanity.js +103 -40
  179. package/src/services/types.js +1 -0
  180. package/src/services/user/account.ts +9 -2
  181. package/src/services/user/chat.js +0 -0
  182. package/src/services/user/interests.js +0 -0
  183. package/src/services/user/management.js +0 -0
  184. package/src/services/user/memberships.ts +0 -0
  185. package/src/services/user/notifications.js +0 -0
  186. package/src/services/user/onboarding.ts +0 -0
  187. package/src/services/user/payments.ts +0 -0
  188. package/src/services/user/permissions.js +1 -1
  189. package/src/services/user/profile.js +0 -0
  190. package/src/services/user/sessions.js +0 -0
  191. package/src/services/user/types.d.ts +133 -0
  192. package/src/services/user/types.js +0 -0
  193. package/src/services/user/user-management-system.js +0 -0
  194. package/src/services/userActivity.js +1 -0
  195. package/test/HttpClient.test.js +0 -0
  196. package/test/content.test.js +5 -0
  197. package/test/contentLikes.test.js +0 -0
  198. package/test/contentProgress.test.js +0 -0
  199. package/test/dataContext.test.js +0 -0
  200. package/test/forum.test.js +1 -1
  201. package/test/imageSRCBuilder.test.js +0 -0
  202. package/test/imageSRCVerify.test.js +0 -0
  203. package/test/initializeTests.js +5 -3
  204. package/test/learningPaths.test.js +0 -0
  205. package/test/lib/lastUpdated.test.js +0 -0
  206. package/test/live/contentProgressLive.test.js +0 -0
  207. package/test/live/railcontentLive.test.js +0 -0
  208. package/test/localStorageMock.js +0 -0
  209. package/test/log.js +0 -0
  210. package/test/mockData/mockData_fetchByRailContentIds_one_content.json +0 -0
  211. package/test/mockData/mockData_progress_content.json +0 -0
  212. package/test/mockData/mockData_sanity_progress_content.json +0 -0
  213. package/test/mockData/mockData_user_practices.json +0 -0
  214. package/test/notifications.test.js +0 -0
  215. package/test/progressRows.test.js +0 -0
  216. package/test/sanityQueryService.test.js +0 -0
  217. package/test/streakMessage.test.js +0 -0
  218. package/test/user/permissions.test.js +0 -0
  219. package/test/userActivity.test.js +0 -0
  220. package/tools/generate-index.cjs +5 -0
@@ -29,7 +29,11 @@
29
29
  <nav >
30
30
 
31
31
 
32
+ <<<<<<< HEAD
33
+ <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#.getOwnedContent">getOwnedContent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecent">getRecent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecommendedForYou">getRecommendedForYou</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getScheduleContentRows">getScheduleContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getTabResults">getTabResults</a></li></ul></li><li><a href="module-Forums.html">Forums</a><ul class='methods'><li data-type='method'><a href="module-Forums.html#~createForumCategory">createForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~createPost">createPost</a></li><li data-type='method'><a href="module-Forums.html#~createThread">createThread</a></li><li data-type='method'><a href="module-Forums.html#~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#.fetchOwnedContent">fetchOwnedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedRecommendedContent">fetchRelatedRecommendedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSiblingContent">fetchSiblingContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.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>
34
+ =======
32
35
  <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>
36
+ >>>>>>> project-v2
33
37
 
34
38
  </nav>
35
39
 
@@ -1356,7 +1360,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1356
1360
 
1357
1361
  <dt class="tag-source">Source:</dt>
1358
1362
  <dd class="tag-source"><ul class="dummy"><li>
1363
+ <<<<<<< HEAD
1364
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1347">line 1347</a>
1365
+ =======
1359
1366
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1318">line 1318</a>
1367
+ >>>>>>> project-v2
1360
1368
  </li></ul></dd>
1361
1369
 
1362
1370
 
@@ -1690,7 +1698,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1690
1698
 
1691
1699
  <dt class="tag-source">Source:</dt>
1692
1700
  <dd class="tag-source"><ul class="dummy"><li>
1701
+ <<<<<<< HEAD
1702
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1559">line 1559</a>
1703
+ =======
1693
1704
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line415">line 415</a>
1705
+ >>>>>>> project-v2
1694
1706
  </li></ul></dd>
1695
1707
 
1696
1708
 
@@ -1976,6 +1988,1334 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
1976
1988
 
1977
1989
  <td class="attributes">
1978
1990
 
1991
+ <<<<<<< HEAD
1992
+ &lt;optional><br>
1993
+
1994
+
1995
+
1996
+
1997
+
1998
+ </td>
1999
+
2000
+
2001
+
2002
+ <td class="default">
2003
+
2004
+ <code>[]</code>
2005
+
2006
+ </td>
2007
+
2008
+
2009
+ <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>
2010
+ </tr>
2011
+
2012
+
2013
+
2014
+ <tr>
2015
+
2016
+ <td class="name"><code>progressIds</code></td>
2017
+
2018
+
2019
+ <td class="type">
2020
+
2021
+
2022
+ <span class="param-type">Array.&lt;number></span>
2023
+
2024
+
2025
+
2026
+
2027
+ </td>
2028
+
2029
+
2030
+ <td class="attributes">
2031
+
2032
+ &lt;optional><br>
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+ </td>
2039
+
2040
+
2041
+
2042
+ <td class="default">
2043
+
2044
+ </td>
2045
+
2046
+
2047
+ <td class="description last">The ids of the lessons that are in progress or completed</td>
2048
+ </tr>
2049
+
2050
+
2051
+ </tbody>
2052
+ </table>
2053
+
2054
+ </td>
2055
+ </tr>
2056
+
2057
+
2058
+ </tbody>
2059
+ </table>
2060
+
2061
+
2062
+
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+ <h5 class="h5-returns">Returns:</h5>
2077
+
2078
+
2079
+ <div class="param-desc">
2080
+ - The lessons for the artist and some details about the artist (name and thumbnail).
2081
+ </div>
2082
+
2083
+
2084
+
2085
+ <dl class="param-type">
2086
+ <dt>
2087
+ Type
2088
+ </dt>
2089
+ <dd>
2090
+
2091
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2092
+
2093
+
2094
+
2095
+ </dd>
2096
+ </dl>
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+ <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>
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+ <dl class="details">
2115
+
2116
+ <dt class="tag-description">Description:</dt>
2117
+ <dd class="tag-description"><ul class="dummy"><li>Fetch all artists with lessons available for a specific brand.</li></ul></dd>
2118
+
2119
+
2120
+
2121
+ <dt class="tag-source">Source:</dt>
2122
+ <dd class="tag-source"><ul class="dummy"><li>
2123
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line176">line 176</a>
2124
+ </li></ul></dd>
2125
+
2126
+
2127
+
2128
+
2129
+
2130
+
2131
+
2132
+
2133
+
2134
+
2135
+
2136
+
2137
+
2138
+
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+
2150
+
2151
+
2152
+
2153
+
2154
+
2155
+
2156
+ </dl>
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+
2168
+ <h5 class="h5-examples">Example</h5>
2169
+
2170
+ <pre class="prettyprint"><code>fetchArtists('drumeo')
2171
+ .then(artists => console.log(artists))
2172
+ .catch(error => console.error(error));</code></pre>
2173
+
2174
+
2175
+
2176
+
2177
+ <h5 class="h5-parameters">Parameters:</h5>
2178
+
2179
+
2180
+ <table class="params">
2181
+ <thead>
2182
+ <tr>
2183
+
2184
+ <th>Name</th>
2185
+
2186
+
2187
+ <th>Type</th>
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+ <th class="last">Description</th>
2194
+ </tr>
2195
+ </thead>
2196
+
2197
+ <tbody>
2198
+
2199
+
2200
+ <tr>
2201
+
2202
+ <td class="name"><code>brand</code></td>
2203
+
2204
+
2205
+ <td class="type">
2206
+
2207
+
2208
+ <span class="param-type">string</span>
2209
+
2210
+
2211
+
2212
+
2213
+ </td>
2214
+
2215
+
2216
+
2217
+
2218
+
2219
+ <td class="description last">The brand for which to fetch artists.</td>
2220
+ </tr>
2221
+
2222
+
2223
+ </tbody>
2224
+ </table>
2225
+
2226
+
2227
+
2228
+
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+ <h5 class="h5-returns">Returns:</h5>
2242
+
2243
+
2244
+ <div class="param-desc">
2245
+ - A promise that resolves to an array of artist objects or null if not found.
2246
+ </div>
2247
+
2248
+
2249
+
2250
+ <dl class="param-type">
2251
+ <dt>
2252
+ Type
2253
+ </dt>
2254
+ <dd>
2255
+
2256
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2257
+
2258
+
2259
+
2260
+ </dd>
2261
+ </dl>
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+
2271
+
2272
+ <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>
2273
+
2274
+
2275
+
2276
+
2277
+
2278
+
2279
+ <dl class="details">
2280
+
2281
+ <dt class="tag-description">Description:</dt>
2282
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content by a specific Railcontent ID.</li></ul></dd>
2283
+
2284
+
2285
+
2286
+ <dt class="tag-source">Source:</dt>
2287
+ <dd class="tag-source"><ul class="dummy"><li>
2288
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line442">line 442</a>
2289
+ </li></ul></dd>
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+
2297
+
2298
+
2299
+
2300
+
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+
2307
+
2308
+
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+ </dl>
2322
+
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+
2330
+
2331
+
2332
+
2333
+ <h5 class="h5-examples">Example</h5>
2334
+
2335
+ <pre class="prettyprint"><code>fetchByRailContentId('abc123')
2336
+ .then(content => console.log(content))
2337
+ .catch(error => console.error(error));</code></pre>
2338
+
2339
+
2340
+
2341
+
2342
+ <h5 class="h5-parameters">Parameters:</h5>
2343
+
2344
+
2345
+ <table class="params">
2346
+ <thead>
2347
+ <tr>
2348
+
2349
+ <th>Name</th>
2350
+
2351
+
2352
+ <th>Type</th>
2353
+
2354
+
2355
+
2356
+
2357
+
2358
+ <th class="last">Description</th>
2359
+ </tr>
2360
+ </thead>
2361
+
2362
+ <tbody>
2363
+
2364
+
2365
+ <tr>
2366
+
2367
+ <td class="name"><code>id</code></td>
2368
+
2369
+
2370
+ <td class="type">
2371
+
2372
+
2373
+ <span class="param-type">string</span>
2374
+
2375
+
2376
+
2377
+
2378
+ </td>
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+ <td class="description last">The Railcontent ID of the content to fetch.</td>
2385
+ </tr>
2386
+
2387
+
2388
+
2389
+ <tr>
2390
+
2391
+ <td class="name"><code>contentType</code></td>
2392
+
2393
+
2394
+ <td class="type">
2395
+
2396
+
2397
+ <span class="param-type">string</span>
2398
+
2399
+
2400
+
2401
+
2402
+ </td>
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+ <td class="description last">The document type of content to fetch</td>
2409
+ </tr>
2410
+
2411
+
2412
+ </tbody>
2413
+ </table>
2414
+
2415
+
2416
+
2417
+
2418
+
2419
+
2420
+
2421
+
2422
+
2423
+
2424
+
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+ <h5 class="h5-returns">Returns:</h5>
2431
+
2432
+
2433
+ <div class="param-desc">
2434
+ - A promise that resolves to the content object or null if not found.
2435
+ </div>
2436
+
2437
+
2438
+
2439
+ <dl class="param-type">
2440
+ <dt>
2441
+ Type
2442
+ </dt>
2443
+ <dd>
2444
+
2445
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2446
+
2447
+
2448
+
2449
+ </dd>
2450
+ </dl>
2451
+
2452
+
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+ <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>
2462
+
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+ <dl class="details">
2469
+
2470
+ <dt class="tag-description">Description:</dt>
2471
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content by an array of Railcontent IDs.</li></ul></dd>
2472
+
2473
+
2474
+
2475
+ <dt class="tag-source">Source:</dt>
2476
+ <dd class="tag-source"><ul class="dummy"><li>
2477
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line479">line 479</a>
2478
+ </li></ul></dd>
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+
2492
+
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+ </dl>
2511
+
2512
+
2513
+
2514
+
2515
+
2516
+
2517
+
2518
+
2519
+
2520
+
2521
+
2522
+ <h5 class="h5-examples">Example</h5>
2523
+
2524
+ <pre class="prettyprint"><code>fetchByRailContentIds(['abc123', 'def456', 'ghi789'])
2525
+ .then(contents => console.log(contents))
2526
+ .catch(error => console.error(error));</code></pre>
2527
+
2528
+
2529
+
2530
+
2531
+ <h5 class="h5-parameters">Parameters:</h5>
2532
+
2533
+
2534
+ <table class="params">
2535
+ <thead>
2536
+ <tr>
2537
+
2538
+ <th>Name</th>
2539
+
2540
+
2541
+ <th>Type</th>
2542
+
2543
+
2544
+ <th>Attributes</th>
2545
+
2546
+
2547
+
2548
+
2549
+ <th class="last">Description</th>
2550
+ </tr>
2551
+ </thead>
2552
+
2553
+ <tbody>
2554
+
2555
+
2556
+ <tr>
2557
+
2558
+ <td class="name"><code>ids</code></td>
2559
+
2560
+
2561
+ <td class="type">
2562
+
2563
+
2564
+ <span class="param-type">Array.&lt;(string|number)></span>
2565
+
2566
+
2567
+
2568
+
2569
+ </td>
2570
+
2571
+
2572
+ <td class="attributes">
2573
+
2574
+
2575
+
2576
+
2577
+
2578
+ </td>
2579
+
2580
+
2581
+
2582
+
2583
+ <td class="description last">The array of Railcontent IDs of the content to fetch.</td>
2584
+ </tr>
2585
+
2586
+
2587
+
2588
+ <tr>
2589
+
2590
+ <td class="name"><code>contentType</code></td>
2591
+
2592
+
2593
+ <td class="type">
2594
+
2595
+
2596
+ <span class="param-type">string</span>
2597
+
2598
+
2599
+
2600
+
2601
+ </td>
2602
+
2603
+
2604
+ <td class="attributes">
2605
+
2606
+ &lt;optional><br>
2607
+
2608
+
2609
+
2610
+
2611
+
2612
+ </td>
2613
+
2614
+
2615
+
2616
+
2617
+ <td class="description last">The content type the IDs to add needed fields to the response.</td>
2618
+ </tr>
2619
+
2620
+
2621
+ </tbody>
2622
+ </table>
2623
+
2624
+
2625
+
2626
+
2627
+
2628
+
2629
+
2630
+
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+
2637
+
2638
+
2639
+ <h5 class="h5-returns">Returns:</h5>
2640
+
2641
+
2642
+ <div class="param-desc">
2643
+ - A promise that resolves to an array of content objects or null if not found.
2644
+ </div>
2645
+
2646
+
2647
+
2648
+ <dl class="param-type">
2649
+ <dt>
2650
+ Type
2651
+ </dt>
2652
+ <dd>
2653
+
2654
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
2655
+
2656
+
2657
+
2658
+ </dd>
2659
+ </dl>
2660
+
2661
+
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+ <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>
2671
+
2672
+
2673
+
2674
+
2675
+
2676
+
2677
+ <dl class="details">
2678
+
2679
+ <dt class="tag-description">Description:</dt>
2680
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
2681
+
2682
+
2683
+
2684
+ <dt class="tag-source">Source:</dt>
2685
+ <dd class="tag-source"><ul class="dummy"><li>
2686
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1520">line 1520</a>
2687
+ </li></ul></dd>
2688
+
2689
+
2690
+
2691
+
2692
+
2693
+
2694
+
2695
+
2696
+
2697
+
2698
+
2699
+
2700
+
2701
+
2702
+
2703
+
2704
+
2705
+
2706
+
2707
+
2708
+
2709
+
2710
+
2711
+
2712
+
2713
+
2714
+
2715
+
2716
+
2717
+
2718
+
2719
+ </dl>
2720
+
2721
+
2722
+
2723
+
2724
+
2725
+
2726
+
2727
+
2728
+
2729
+
2730
+
2731
+ <h5 class="h5-examples">Example</h5>
2732
+
2733
+ <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2734
+ .then(lessons => console.log(lessons))
2735
+ .catch(error => console.error(error));</code></pre>
2736
+
2737
+
2738
+
2739
+
2740
+ <h5 class="h5-parameters">Parameters:</h5>
2741
+
2742
+
2743
+ <table class="params">
2744
+ <thead>
2745
+ <tr>
2746
+
2747
+ <th>Name</th>
2748
+
2749
+
2750
+ <th>Type</th>
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+ <th class="last">Description</th>
2757
+ </tr>
2758
+ </thead>
2759
+
2760
+ <tbody>
2761
+
2762
+
2763
+ <tr>
2764
+
2765
+ <td class="name"><code>id</code></td>
2766
+
2767
+
2768
+ <td class="type">
2769
+
2770
+
2771
+ <span class="param-type">string</span>
2772
+
2773
+
2774
+
2775
+
2776
+ </td>
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+ <td class="description last">The Railcontent ID of the coach</td>
2783
+ </tr>
2784
+
2785
+
2786
+ </tbody>
2787
+ </table>
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+
2794
+
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+ <h5 class="h5-returns">Returns:</h5>
2805
+
2806
+
2807
+ <div class="param-desc">
2808
+ - The lessons for the instructor or null if not found.
2809
+ </div>
2810
+
2811
+
2812
+
2813
+ <dl class="param-type">
2814
+ <dt>
2815
+ Type
2816
+ </dt>
2817
+ <dd>
2818
+
2819
+ <span class="param-type">Promise.&lt;(Object|null)></span>
2820
+
2821
+
2822
+
2823
+ </dd>
2824
+ </dl>
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+ <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>
2836
+
2837
+
2838
+
2839
+
2840
+
2841
+
2842
+ <dl class="details">
2843
+
2844
+ <dt class="tag-description">Description:</dt>
2845
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the data needed for the coach screen.</li></ul></dd>
2846
+
2847
+
2848
+
2849
+ <dt class="tag-source">Source:</dt>
2850
+ <dd class="tag-source"><ul class="dummy"><li>
2851
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1487">line 1487</a>
2852
+ </li></ul></dd>
2853
+
2854
+
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+
2862
+
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+
2877
+
2878
+
2879
+
2880
+
2881
+
2882
+
2883
+
2884
+ </dl>
2885
+
2886
+
2887
+
2888
+
2889
+
2890
+
2891
+
2892
+
2893
+
2894
+
2895
+
2896
+ <h5 class="h5-examples">Example</h5>
2897
+
2898
+ <pre class="prettyprint"><code>fetchCoachLessons('coach123')
2899
+ .then(lessons => console.log(lessons))
2900
+ .catch(error => console.error(error));</code></pre>
2901
+
2902
+
2903
+
2904
+
2905
+ <h5 class="h5-parameters">Parameters:</h5>
2906
+
2907
+
2908
+ <table class="params">
2909
+ <thead>
2910
+ <tr>
2911
+
2912
+ <th>Name</th>
2913
+
2914
+
2915
+ <th>Type</th>
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+ <th class="last">Description</th>
2922
+ </tr>
2923
+ </thead>
2924
+
2925
+ <tbody>
2926
+
2927
+
2928
+ <tr>
2929
+
2930
+ <td class="name"><code>brand</code></td>
2931
+
2932
+
2933
+ <td class="type">
2934
+
2935
+
2936
+ <span class="param-type">string</span>
2937
+
2938
+
2939
+
2940
+
2941
+ </td>
2942
+
2943
+
2944
+
2945
+
2946
+
2947
+ <td class="description last">The brand for which to fetch coach lessons</td>
2948
+ </tr>
2949
+
2950
+
2951
+
2952
+ <tr>
2953
+
2954
+ <td class="name"><code>id</code></td>
2955
+
2956
+
2957
+ <td class="type">
2958
+
2959
+
2960
+ <span class="param-type">string</span>
2961
+
2962
+
2963
+
2964
+
2965
+ </td>
2966
+
2967
+
2968
+
2969
+
2970
+
2971
+ <td class="description last">The Railcontent ID of the coach</td>
2972
+ </tr>
2973
+
2974
+
2975
+
2976
+ <tr>
2977
+
2978
+ <td class="name"><code>params</code></td>
2979
+
2980
+
2981
+ <td class="type">
2982
+
2983
+
2984
+ <span class="param-type">Object</span>
2985
+
2986
+
2987
+
2988
+
2989
+ </td>
2990
+
2991
+
2992
+
2993
+
2994
+
2995
+ <td class="description last">Parameters for pagination, filtering and sorting.
2996
+ <h6>Properties</h6>
2997
+
2998
+
2999
+ <table class="params">
3000
+ <thead>
3001
+ <tr>
3002
+
3003
+ <th>Name</th>
3004
+
3005
+
3006
+ <th>Type</th>
3007
+
3008
+
3009
+ <th>Attributes</th>
3010
+
3011
+
3012
+
3013
+ <th>Default</th>
3014
+
3015
+
3016
+ <th class="last">Description</th>
3017
+ </tr>
3018
+ </thead>
3019
+
3020
+ <tbody>
3021
+
3022
+
3023
+ <tr>
3024
+
3025
+ <td class="name"><code>sortOrder</code></td>
3026
+
3027
+
3028
+ <td class="type">
3029
+
3030
+
3031
+ <span class="param-type">string</span>
3032
+
3033
+
3034
+
3035
+
3036
+ </td>
3037
+
3038
+
3039
+ <td class="attributes">
3040
+
3041
+ &lt;optional><br>
3042
+
3043
+
3044
+
3045
+
3046
+
3047
+ </td>
3048
+
3049
+
3050
+
3051
+ <td class="default">
3052
+
3053
+ <code>"-published_on"</code>
3054
+
3055
+ </td>
3056
+
3057
+
3058
+ <td class="description last">The field to sort the lessons by.</td>
3059
+ </tr>
3060
+
3061
+
3062
+
3063
+ <tr>
3064
+
3065
+ <td class="name"><code>searchTerm</code></td>
3066
+
3067
+
3068
+ <td class="type">
3069
+
3070
+
3071
+ <span class="param-type">string</span>
3072
+
3073
+
3074
+
3075
+
3076
+ </td>
3077
+
3078
+
3079
+ <td class="attributes">
3080
+
3081
+ &lt;optional><br>
3082
+
3083
+
3084
+
3085
+
3086
+
3087
+ </td>
3088
+
3089
+
3090
+
3091
+ <td class="default">
3092
+
3093
+ <code>""</code>
3094
+
3095
+ </td>
3096
+
3097
+
3098
+ <td class="description last">The search term to filter content by title.</td>
3099
+ </tr>
3100
+
3101
+
3102
+
3103
+ <tr>
3104
+
3105
+ <td class="name"><code>page</code></td>
3106
+
3107
+
3108
+ <td class="type">
3109
+
3110
+
3111
+ <span class="param-type">number</span>
3112
+
3113
+
3114
+
3115
+
3116
+ </td>
3117
+
3118
+
3119
+ <td class="attributes">
3120
+
3121
+ &lt;optional><br>
3122
+
3123
+
3124
+
3125
+
3126
+
3127
+ </td>
3128
+
3129
+
3130
+
3131
+ <td class="default">
3132
+
3133
+ <code>1</code>
3134
+
3135
+ </td>
3136
+
3137
+
3138
+ <td class="description last">The page number for pagination.</td>
3139
+ </tr>
3140
+
3141
+
3142
+
3143
+ <tr>
3144
+
3145
+ <td class="name"><code>limit</code></td>
3146
+
3147
+
3148
+ <td class="type">
3149
+
3150
+
3151
+ <span class="param-type">number</span>
3152
+
3153
+
3154
+
3155
+
3156
+ </td>
3157
+
3158
+
3159
+ <td class="attributes">
3160
+
3161
+ &lt;optional><br>
3162
+
3163
+
3164
+
3165
+
3166
+
3167
+ </td>
3168
+
3169
+
3170
+
3171
+ <td class="default">
3172
+
3173
+ <code>10</code>
3174
+
3175
+ </td>
3176
+
3177
+
3178
+ <td class="description last">The number of items per page.</td>
3179
+ </tr>
3180
+
3181
+
3182
+
3183
+ <tr>
3184
+
3185
+ <td class="name"><code>includedFields</code></td>
3186
+
3187
+
3188
+ <td class="type">
3189
+
3190
+
3191
+ <span class="param-type">Array.&lt;string></span>
3192
+
3193
+
3194
+
3195
+
3196
+ </td>
3197
+
3198
+
3199
+ <td class="attributes">
3200
+
3201
+ &lt;optional><br>
3202
+
3203
+
3204
+
3205
+
3206
+
3207
+ </td>
3208
+
3209
+
3210
+
3211
+ <td class="default">
3212
+
3213
+ <code>[]</code>
3214
+
3215
+ </td>
3216
+
3217
+
3218
+ <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>
3219
+ </tr>
3220
+
3221
+
3222
+ </tbody>
3223
+ </table>
3224
+
3225
+ </td>
3226
+ </tr>
3227
+
3228
+
3229
+ </tbody>
3230
+ </table>
3231
+
3232
+
3233
+
3234
+
3235
+
3236
+
3237
+
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+
3246
+
3247
+ <h5 class="h5-returns">Returns:</h5>
3248
+
3249
+
3250
+ <div class="param-desc">
3251
+ - The lessons for the instructor or null if not found.
3252
+ </div>
3253
+
3254
+
3255
+
3256
+ <dl class="param-type">
3257
+ <dt>
3258
+ Type
3259
+ </dt>
3260
+ <dd>
3261
+
3262
+ <span class="param-type">Promise.&lt;(Object|null)></span>
3263
+
3264
+
3265
+
3266
+ </dd>
3267
+ </dl>
3268
+
3269
+
3270
+
3271
+
3272
+
3273
+
3274
+
3275
+
3276
+
3277
+
3278
+ <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>
3279
+
3280
+
3281
+
3282
+
3283
+
3284
+
3285
+ <dl class="details">
3286
+
3287
+ <dt class="tag-description">Description:</dt>
3288
+ <dd class="tag-description"><ul class="dummy"><li>fetches from Sanity all songs coming soon (new) next quarter</li></ul></dd>
3289
+
3290
+
3291
+
3292
+ <dt class="tag-source">Source:</dt>
3293
+ <dd class="tag-source"><ul class="dummy"><li>
3294
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line134">line 134</a>
3295
+ </li></ul></dd>
3296
+
3297
+
3298
+
3299
+
3300
+
3301
+
3302
+
3303
+
3304
+
3305
+
3306
+
3307
+
3308
+
3309
+
3310
+
3311
+
3312
+
3313
+
3314
+
3315
+
3316
+
3317
+ =======
3318
+ >>>>>>> project-v2
1979
3319
 
1980
3320
 
1981
3321
 
@@ -2088,7 +3428,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2088
3428
 
2089
3429
  <dt class="tag-source">Source:</dt>
2090
3430
  <dd class="tag-source"><ul class="dummy"><li>
3431
+ <<<<<<< HEAD
3432
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1749">line 1749</a>
3433
+ =======
2091
3434
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1457">line 1457</a>
3435
+ >>>>>>> project-v2
2092
3436
  </li></ul></dd>
2093
3437
 
2094
3438
 
@@ -2253,7 +3597,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2253
3597
 
2254
3598
  <dt class="tag-source">Source:</dt>
2255
3599
  <dd class="tag-source"><ul class="dummy"><li>
3600
+ <<<<<<< HEAD
3601
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line889">line 889</a>
3602
+ =======
2256
3603
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line131">line 131</a>
3604
+ >>>>>>> project-v2
2257
3605
  </li></ul></dd>
2258
3606
 
2259
3607
 
@@ -2357,7 +3705,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2357
3705
 
2358
3706
  <dt class="tag-source">Source:</dt>
2359
3707
  <dd class="tag-source"><ul class="dummy"><li>
3708
+ <<<<<<< HEAD
3709
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1619">line 1619</a>
3710
+ =======
2360
3711
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1571">line 1571</a>
3712
+ >>>>>>> project-v2
2361
3713
  </li></ul></dd>
2362
3714
 
2363
3715
 
@@ -2777,7 +4129,11 @@ fetchAllFilterOptions('myBrand', [], 'Rock', 'John Doe', 'coach-lessons', 'Love'
2777
4129
 
2778
4130
  <dt class="tag-source">Source:</dt>
2779
4131
  <dd class="tag-source"><ul class="dummy"><li>
4132
+ <<<<<<< HEAD
4133
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1112">line 1112</a>
4134
+ =======
2780
4135
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1087">line 1087</a>
4136
+ >>>>>>> project-v2
2781
4137
  </li></ul></dd>
2782
4138
 
2783
4139
 
@@ -2943,7 +4299,11 @@ These are linked through content that shares a license with the provided railcon
2943
4299
 
2944
4300
  <dt class="tag-source">Source:</dt>
2945
4301
  <dd class="tag-source"><ul class="dummy"><li>
4302
+ <<<<<<< HEAD
4303
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1219">line 1219</a>
4304
+ =======
2946
4305
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1194">line 1194</a>
4306
+ >>>>>>> project-v2
2947
4307
  </li></ul></dd>
2948
4308
 
2949
4309
 
@@ -3146,7 +4506,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3146
4506
 
3147
4507
  <dt class="tag-source">Source:</dt>
3148
4508
  <dd class="tag-source"><ul class="dummy"><li>
4509
+ <<<<<<< HEAD
4510
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1940">line 1940</a>
4511
+ =======
3149
4512
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1764">line 1764</a>
4513
+ >>>>>>> project-v2
3150
4514
  </li></ul></dd>
3151
4515
 
3152
4516
 
@@ -3331,7 +4695,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3331
4695
 
3332
4696
  <dt class="tag-source">Source:</dt>
3333
4697
  <dd class="tag-source"><ul class="dummy"><li>
4698
+ <<<<<<< HEAD
4699
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line910">line 910</a>
4700
+ =======
3334
4701
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line885">line 885</a>
4702
+ >>>>>>> project-v2
3335
4703
  </li></ul></dd>
3336
4704
 
3337
4705
 
@@ -3513,7 +4881,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3513
4881
 
3514
4882
  <dt class="tag-source">Source:</dt>
3515
4883
  <dd class="tag-source"><ul class="dummy"><li>
4884
+ <<<<<<< HEAD
4885
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line958">line 958</a>
4886
+ =======
3516
4887
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line933">line 933</a>
4888
+ >>>>>>> project-v2
3517
4889
  </li></ul></dd>
3518
4890
 
3519
4891
 
@@ -3671,7 +5043,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3671
5043
 
3672
5044
  <dt class="tag-source">Source:</dt>
3673
5045
  <dd class="tag-source"><ul class="dummy"><li>
5046
+ <<<<<<< HEAD
5047
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1016">line 1016</a>
5048
+ =======
3674
5049
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line991">line 991</a>
5050
+ >>>>>>> project-v2
3675
5051
  </li></ul></dd>
3676
5052
 
3677
5053
 
@@ -3829,7 +5205,11 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3829
5205
 
3830
5206
  <dt class="tag-source">Source:</dt>
3831
5207
  <dd class="tag-source"><ul class="dummy"><li>
5208
+ <<<<<<< HEAD
5209
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line993">line 993</a>
5210
+ =======
3832
5211
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line968">line 968</a>
5212
+ >>>>>>> project-v2
3833
5213
  </li></ul></dd>
3834
5214
 
3835
5215
 
@@ -3918,38 +5298,194 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3918
5298
 
3919
5299
 
3920
5300
 
3921
-
3922
- </td>
5301
+
5302
+ </td>
5303
+
5304
+
5305
+
5306
+
5307
+
5308
+ <td class="description last">The Railcontent ID of the current lesson.</td>
5309
+ </tr>
5310
+
5311
+
5312
+
5313
+ <tr>
5314
+
5315
+ <td class="name"><code>methodId</code></td>
5316
+
5317
+
5318
+ <td class="type">
5319
+
5320
+
5321
+ <span class="param-type">string</span>
5322
+
5323
+
5324
+
5325
+
5326
+ </td>
5327
+
5328
+
5329
+
5330
+
5331
+
5332
+ <td class="description last">The RailcontentID of the method</td>
5333
+ </tr>
5334
+
5335
+
5336
+ </tbody>
5337
+ </table>
5338
+
5339
+
5340
+
5341
+
5342
+
5343
+
5344
+
5345
+
5346
+
5347
+
5348
+
5349
+
5350
+
5351
+
5352
+
5353
+
5354
+ <h5 class="h5-returns">Returns:</h5>
5355
+
5356
+
5357
+ <div class="param-desc">
5358
+ - object with `nextLesson` and `previousLesson` attributes
5359
+ </div>
5360
+
5361
+
5362
+
5363
+ <dl class="param-type">
5364
+ <dt>
5365
+ Type
5366
+ </dt>
5367
+ <dd>
5368
+
5369
+ <span class="param-type">Promise.&lt;(Object|null)></span>
5370
+
5371
+
5372
+
5373
+ </dd>
5374
+ </dl>
5375
+
5376
+
5377
+
5378
+
5379
+
5380
+
5381
+
5382
+
5383
+
5384
+
5385
+ <h4 class="name" id=".fetchMethodV2IntroVideo"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2IntroVideo<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
5386
+
5387
+
5388
+
5389
+
5390
+
5391
+
5392
+ <dl class="details">
5393
+
5394
+ <dt class="tag-description">Description:</dt>
5395
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the method intro video for a given brand.</li></ul></dd>
5396
+
5397
+
5398
+
5399
+ <dt class="tag-source">Source:</dt>
5400
+ <dd class="tag-source"><ul class="dummy"><li>
5401
+ <<<<<<< HEAD
5402
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2312">line 2312</a>
5403
+ =======
5404
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2140">line 2140</a>
5405
+ >>>>>>> project-v2
5406
+ </li></ul></dd>
5407
+
5408
+
5409
+
5410
+
5411
+
5412
+
5413
+
5414
+
5415
+
5416
+
5417
+
5418
+
5419
+
5420
+
5421
+
5422
+
5423
+
5424
+
5425
+
5426
+
5427
+
5428
+
5429
+
5430
+
5431
+
5432
+
5433
+
5434
+
5435
+
5436
+
5437
+
5438
+ </dl>
5439
+
5440
+
5441
+
5442
+
5443
+
5444
+
5445
+
5446
+
5447
+
5448
+
5449
+
5450
+
5451
+
5452
+ <h5 class="h5-parameters">Parameters:</h5>
5453
+
5454
+
5455
+ <table class="params">
5456
+ <thead>
5457
+ <tr>
5458
+
5459
+ <th>Name</th>
5460
+
3923
5461
 
3924
-
5462
+ <th>Type</th>
3925
5463
 
3926
-
5464
+
3927
5465
 
3928
- <td class="description last">The Railcontent ID of the current lesson.</td>
3929
- </tr>
5466
+
5467
+
5468
+ <th class="last">Description</th>
5469
+ </tr>
5470
+ </thead>
3930
5471
 
5472
+ <tbody>
3931
5473
 
3932
5474
 
3933
5475
  <tr>
3934
5476
 
3935
- <td class="name"><code>methodId</code></td>
5477
+ <td class="name"><code>brand</code></td>
3936
5478
 
3937
5479
 
3938
5480
  <td class="type">
3939
5481
 
3940
-
3941
- <span class="param-type">string</span>
3942
-
3943
-
3944
-
3945
-
3946
5482
  </td>
3947
5483
 
3948
5484
 
3949
5485
 
3950
5486
 
3951
5487
 
3952
- <td class="description last">The RailcontentID of the method</td>
5488
+ <td class="description last"></td>
3953
5489
  </tr>
3954
5490
 
3955
5491
 
@@ -3974,10 +5510,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3974
5510
  <h5 class="h5-returns">Returns:</h5>
3975
5511
 
3976
5512
 
3977
- <div class="param-desc">
3978
- - object with `nextLesson` and `previousLesson` attributes
3979
- </div>
3980
-
3981
5513
 
3982
5514
 
3983
5515
  <dl class="param-type">
@@ -3986,7 +5518,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
3986
5518
  </dt>
3987
5519
  <dd>
3988
5520
 
3989
- <span class="param-type">Promise.&lt;(Object|null)></span>
5521
+ <span class="param-type">Promise.&lt;(*|null)></span>
3990
5522
 
3991
5523
 
3992
5524
 
@@ -4002,7 +5534,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4002
5534
 
4003
5535
 
4004
5536
 
4005
- <h4 class="name" id=".fetchMethodV2IntroVideo"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2IntroVideo<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
5537
+ <h4 class="name" id=".fetchMethodV2Structure"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2Structure<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
4006
5538
 
4007
5539
 
4008
5540
 
@@ -4012,13 +5544,17 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4012
5544
  <dl class="details">
4013
5545
 
4014
5546
  <dt class="tag-description">Description:</dt>
4015
- <dd class="tag-description"><ul class="dummy"><li>Fetch the method intro video for a given brand.</li></ul></dd>
5547
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method for a given brand.</li></ul></dd>
4016
5548
 
4017
5549
 
4018
5550
 
4019
5551
  <dt class="tag-source">Source:</dt>
4020
5552
  <dd class="tag-source"><ul class="dummy"><li>
4021
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2140">line 2140</a>
5553
+ <<<<<<< HEAD
5554
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2326">line 2326</a>
5555
+ =======
5556
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2154">line 2154</a>
5557
+ >>>>>>> project-v2
4022
5558
  </li></ul></dd>
4023
5559
 
4024
5560
 
@@ -4150,7 +5686,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4150
5686
 
4151
5687
 
4152
5688
 
4153
- <h4 class="name" id=".fetchMethodV2Structure"><span class="type-signature type-signature-static">(static) </span>fetchMethodV2Structure<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(*|null)>}</span></h4>
5689
+ <h4 class="name" id=".fetchNewReleases"><span class="type-signature type-signature-static">(static) </span>fetchNewReleases<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
4154
5690
 
4155
5691
 
4156
5692
 
@@ -4160,13 +5696,13 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4160
5696
  <dl class="details">
4161
5697
 
4162
5698
  <dt class="tag-description">Description:</dt>
4163
- <dd class="tag-description"><ul class="dummy"><li>Fetch the structure (just ids) of the Method for a given brand.</li></ul></dd>
5699
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the latest new releases for a specific brand.</li></ul></dd>
4164
5700
 
4165
5701
 
4166
5702
 
4167
5703
  <dt class="tag-source">Source:</dt>
4168
5704
  <dd class="tag-source"><ul class="dummy"><li>
4169
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2154">line 2154</a>
5705
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line285">line 285</a>
4170
5706
  </li></ul></dd>
4171
5707
 
4172
5708
 
@@ -4243,13 +5779,19 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4243
5779
 
4244
5780
  <td class="type">
4245
5781
 
5782
+
5783
+ <span class="param-type">string</span>
5784
+
5785
+
5786
+
5787
+
4246
5788
  </td>
4247
5789
 
4248
5790
 
4249
5791
 
4250
5792
 
4251
5793
 
4252
- <td class="description last"></td>
5794
+ <td class="description last">The brand for which to fetch new releases.</td>
4253
5795
  </tr>
4254
5796
 
4255
5797
 
@@ -4274,6 +5816,10 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4274
5816
  <h5 class="h5-returns">Returns:</h5>
4275
5817
 
4276
5818
 
5819
+ <div class="param-desc">
5820
+ - The fetched new releases data or null if not found.
5821
+ </div>
5822
+
4277
5823
 
4278
5824
 
4279
5825
  <dl class="param-type">
@@ -4282,7 +5828,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4282
5828
  </dt>
4283
5829
  <dd>
4284
5830
 
4285
- <span class="param-type">Promise.&lt;(*|null)></span>
5831
+ <span class="param-type">Promise.&lt;(Object|null)></span>
4286
5832
 
4287
5833
 
4288
5834
 
@@ -4298,7 +5844,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4298
5844
 
4299
5845
 
4300
5846
 
4301
- <h4 class="name" id=".fetchNewReleases"><span class="type-signature type-signature-static">(static) </span>fetchNewReleases<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
5847
+ <h4 class="name" id=".fetchNextPreviousLesson"><span class="type-signature type-signature-static">(static) </span>fetchNextPreviousLesson<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
4302
5848
 
4303
5849
 
4304
5850
 
@@ -4308,13 +5854,17 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4308
5854
  <dl class="details">
4309
5855
 
4310
5856
  <dt class="tag-description">Description:</dt>
4311
- <dd class="tag-description"><ul class="dummy"><li>Fetch the latest new releases for a specific brand.</li></ul></dd>
5857
+ <dd class="tag-description"><ul class="dummy"><li>Fetch the next and previous lessons for a specific lesson by Railcontent ID.</li></ul></dd>
4312
5858
 
4313
5859
 
4314
5860
 
4315
5861
  <dt class="tag-source">Source:</dt>
4316
5862
  <dd class="tag-source"><ul class="dummy"><li>
4317
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line285">line 285</a>
5863
+ <<<<<<< HEAD
5864
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1055">line 1055</a>
5865
+ =======
5866
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1030">line 1030</a>
5867
+ >>>>>>> project-v2
4318
5868
  </li></ul></dd>
4319
5869
 
4320
5870
 
@@ -4386,7 +5936,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4386
5936
 
4387
5937
  <tr>
4388
5938
 
4389
- <td class="name"><code>brand</code></td>
5939
+ <td class="name"><code>railcontentId</code></td>
4390
5940
 
4391
5941
 
4392
5942
  <td class="type">
@@ -4403,7 +5953,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4403
5953
 
4404
5954
 
4405
5955
 
4406
- <td class="description last">The brand for which to fetch new releases.</td>
5956
+ <td class="description last">The Railcontent ID of the current lesson.</td>
4407
5957
  </tr>
4408
5958
 
4409
5959
 
@@ -4429,7 +5979,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4429
5979
 
4430
5980
 
4431
5981
  <div class="param-desc">
4432
- - The fetched new releases data or null if not found.
5982
+ - The fetched next and previous lesson data or null if found.
4433
5983
  </div>
4434
5984
 
4435
5985
 
@@ -4456,7 +6006,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4456
6006
 
4457
6007
 
4458
6008
 
4459
- <h4 class="name" id=".fetchNextPreviousLesson"><span class="type-signature type-signature-static">(static) </span>fetchNextPreviousLesson<span class="signature">(railcontentId)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
6009
+ <h4 class="name" id=".fetchOtherSongVersions"><span class="type-signature type-signature-static">(static) </span>fetchOtherSongVersions<span class="signature">(railcontentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
4460
6010
 
4461
6011
 
4462
6012
 
@@ -4466,13 +6016,18 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4466
6016
  <dl class="details">
4467
6017
 
4468
6018
  <dt class="tag-description">Description:</dt>
4469
- <dd class="tag-description"><ul class="dummy"><li>Fetch the next and previous lessons for a specific lesson by Railcontent ID.</li></ul></dd>
6019
+ <dd class="tag-description"><ul class="dummy"><li>Get song type (transcriptions, jam packs, play alongs, tutorial children) content documents that share content information with the provided railcontent document.
6020
+ These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
4470
6021
 
4471
6022
 
4472
6023
 
4473
6024
  <dt class="tag-source">Source:</dt>
4474
6025
  <dd class="tag-source"><ul class="dummy"><li>
4475
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1030">line 1030</a>
6026
+ <<<<<<< HEAD
6027
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1206">line 1206</a>
6028
+ =======
6029
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1181">line 1181</a>
6030
+ >>>>>>> project-v2
4476
6031
  </li></ul></dd>
4477
6032
 
4478
6033
 
@@ -4549,11 +6104,41 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4549
6104
 
4550
6105
  <td class="type">
4551
6106
 
4552
-
4553
- <span class="param-type">string</span>
6107
+ </td>
6108
+
6109
+
6110
+
6111
+
6112
+
6113
+ <td class="description last"></td>
6114
+ </tr>
6115
+
6116
+
6117
+
6118
+ <tr>
6119
+
6120
+ <td class="name"><code>brand</code></td>
6121
+
6122
+
6123
+ <td class="type">
6124
+
6125
+ </td>
4554
6126
 
6127
+
6128
+
6129
+
6130
+
6131
+ <td class="description last"></td>
6132
+ </tr>
6133
+
6134
+
4555
6135
 
6136
+ <tr>
6137
+
6138
+ <td class="name"><code>count</code></td>
6139
+
4556
6140
 
6141
+ <td class="type">
4557
6142
 
4558
6143
  </td>
4559
6144
 
@@ -4561,7 +6146,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4561
6146
 
4562
6147
 
4563
6148
 
4564
- <td class="description last">The Railcontent ID of the current lesson.</td>
6149
+ <td class="description last"></td>
4565
6150
  </tr>
4566
6151
 
4567
6152
 
@@ -4586,10 +6171,6 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4586
6171
  <h5 class="h5-returns">Returns:</h5>
4587
6172
 
4588
6173
 
4589
- <div class="param-desc">
4590
- - The fetched next and previous lesson data or null if found.
4591
- </div>
4592
-
4593
6174
 
4594
6175
 
4595
6176
  <dl class="param-type">
@@ -4598,7 +6179,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4598
6179
  </dt>
4599
6180
  <dd>
4600
6181
 
4601
- <span class="param-type">Promise.&lt;(Object|null)></span>
6182
+ <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
4602
6183
 
4603
6184
 
4604
6185
 
@@ -4614,7 +6195,7 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4614
6195
 
4615
6196
 
4616
6197
 
4617
- <h4 class="name" id=".fetchOtherSongVersions"><span class="type-signature type-signature-static">(static) </span>fetchOtherSongVersions<span class="signature">(railcontentId, brand, count)</span><span class="type-signature"> &rarr; {Promise.&lt;Array.&lt;Object>>}</span></h4>
6198
+ <h4 class="name" id=".fetchOwnedContent"><span class="type-signature type-signature-static">(static) </span>fetchOwnedContent<span class="signature">(brand, options)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>}</span></h4>
4618
6199
 
4619
6200
 
4620
6201
 
@@ -4624,14 +6205,14 @@ For v2 you need to provide page type('lessons' or 'songs') in type parameter</li
4624
6205
  <dl class="details">
4625
6206
 
4626
6207
  <dt class="tag-description">Description:</dt>
4627
- <dd class="tag-description"><ul class="dummy"><li>Get song type (transcriptions, jam packs, play alongs, tutorial children) content documents that share content information with the provided railcontent document.
4628
- These are linked through content that shares a license with the provided railcontent document</li></ul></dd>
6208
+ <dd class="tag-description"><ul class="dummy"><li>Fetch content owned by the user (excluding membership content).
6209
+ Shows only content accessible through purchases/entitlements, not through membership.</li></ul></dd>
4629
6210
 
4630
6211
 
4631
6212
 
4632
6213
  <dt class="tag-source">Source:</dt>
4633
6214
  <dd class="tag-source"><ul class="dummy"><li>
4634
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1181">line 1181</a>
6215
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line2350">line 2350</a>
4635
6216
  </li></ul></dd>
4636
6217
 
4637
6218
 
@@ -4703,54 +6284,170 @@ These are linked through content that shares a license with the provided railcon
4703
6284
 
4704
6285
  <tr>
4705
6286
 
4706
- <td class="name"><code>railcontentId</code></td>
6287
+ <td class="name"><code>brand</code></td>
4707
6288
 
4708
6289
 
4709
6290
  <td class="type">
4710
6291
 
6292
+
6293
+ <span class="param-type">string</span>
6294
+
6295
+
6296
+
6297
+
4711
6298
  </td>
4712
6299
 
4713
6300
 
4714
6301
 
4715
6302
 
4716
6303
 
4717
- <td class="description last"></td>
6304
+ <td class="description last">The brand to filter content by</td>
4718
6305
  </tr>
4719
6306
 
4720
6307
 
4721
6308
 
4722
6309
  <tr>
4723
6310
 
4724
- <td class="name"><code>brand</code></td>
6311
+ <td class="name"><code>options</code></td>
4725
6312
 
4726
6313
 
4727
6314
  <td class="type">
4728
6315
 
6316
+
6317
+ <span class="param-type">Object</span>
6318
+
6319
+
6320
+
6321
+
4729
6322
  </td>
4730
6323
 
4731
6324
 
4732
6325
 
4733
6326
 
4734
6327
 
4735
- <td class="description last"></td>
6328
+ <td class="description last">Fetch options
6329
+ <h6>Properties</h6>
6330
+
6331
+
6332
+ <table class="params">
6333
+ <thead>
6334
+ <tr>
6335
+
6336
+ <th>Name</th>
6337
+
6338
+
6339
+ <th>Type</th>
6340
+
6341
+
6342
+
6343
+
6344
+
6345
+ <th class="last">Description</th>
6346
+ </tr>
6347
+ </thead>
6348
+
6349
+ <tbody>
6350
+
6351
+
6352
+ <tr>
6353
+
6354
+ <td class="name"><code>type</code></td>
6355
+
6356
+
6357
+ <td class="type">
6358
+
6359
+
6360
+ <span class="param-type">Array.&lt;string></span>
6361
+
6362
+
6363
+
6364
+
6365
+ </td>
6366
+
6367
+
6368
+
6369
+
6370
+
6371
+ <td class="description last">Content type(s) to filter (optional array, default: [])</td>
4736
6372
  </tr>
4737
6373
 
4738
6374
 
4739
6375
 
4740
6376
  <tr>
4741
6377
 
4742
- <td class="name"><code>count</code></td>
6378
+ <td class="name"><code>page</code></td>
6379
+
6380
+
6381
+ <td class="type">
6382
+
6383
+
6384
+ <span class="param-type">number</span>
6385
+
6386
+
6387
+
6388
+
6389
+ </td>
6390
+
6391
+
6392
+
6393
+
6394
+
6395
+ <td class="description last">Page number (default: 1)</td>
6396
+ </tr>
6397
+
6398
+
6399
+
6400
+ <tr>
6401
+
6402
+ <td class="name"><code>limit</code></td>
4743
6403
 
4744
6404
 
4745
6405
  <td class="type">
4746
6406
 
6407
+
6408
+ <span class="param-type">number</span>
6409
+
6410
+
6411
+
6412
+
4747
6413
  </td>
4748
6414
 
4749
6415
 
4750
6416
 
4751
6417
 
4752
6418
 
4753
- <td class="description last"></td>
6419
+ <td class="description last">Items per page (default: 10)</td>
6420
+ </tr>
6421
+
6422
+
6423
+
6424
+ <tr>
6425
+
6426
+ <td class="name"><code>sort</code></td>
6427
+
6428
+
6429
+ <td class="type">
6430
+
6431
+
6432
+ <span class="param-type">string</span>
6433
+
6434
+
6435
+
6436
+
6437
+ </td>
6438
+
6439
+
6440
+
6441
+
6442
+
6443
+ <td class="description last">Sort field and direction (default: '-published_on')</td>
6444
+ </tr>
6445
+
6446
+
6447
+ </tbody>
6448
+ </table>
6449
+
6450
+ </td>
4754
6451
  </tr>
4755
6452
 
4756
6453
 
@@ -4775,6 +6472,10 @@ These are linked through content that shares a license with the provided railcon
4775
6472
  <h5 class="h5-returns">Returns:</h5>
4776
6473
 
4777
6474
 
6475
+ <div class="param-desc">
6476
+ Object with 'entity' (content array) and 'total' (count)
6477
+ </div>
6478
+
4778
6479
 
4779
6480
 
4780
6481
  <dl class="param-type">
@@ -4783,7 +6484,7 @@ These are linked through content that shares a license with the provided railcon
4783
6484
  </dt>
4784
6485
  <dd>
4785
6486
 
4786
- <span class="param-type">Promise.&lt;Array.&lt;Object>></span>
6487
+ <span class="param-type">Promise.&lt;Object></span>
4787
6488
 
4788
6489
 
4789
6490
 
@@ -4815,7 +6516,11 @@ These are linked through content that shares a license with the provided railcon
4815
6516
 
4816
6517
  <dt class="tag-source">Source:</dt>
4817
6518
  <dd class="tag-source"><ul class="dummy"><li>
6519
+ <<<<<<< HEAD
6520
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1373">line 1373</a>
6521
+ =======
4818
6522
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1349">line 1349</a>
6523
+ >>>>>>> project-v2
4819
6524
  </li></ul></dd>
4820
6525
 
4821
6526
 
@@ -4973,7 +6678,11 @@ These are linked through content that shares a license with the provided railcon
4973
6678
 
4974
6679
  <dt class="tag-source">Source:</dt>
4975
6680
  <dd class="tag-source"><ul class="dummy"><li>
6681
+ <<<<<<< HEAD
6682
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1462">line 1462</a>
6683
+ =======
4976
6684
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1438">line 1438</a>
6685
+ >>>>>>> project-v2
4977
6686
  </li></ul></dd>
4978
6687
 
4979
6688
 
@@ -5138,7 +6847,11 @@ These are linked through content that shares a license with the provided railcon
5138
6847
 
5139
6848
  <dt class="tag-source">Source:</dt>
5140
6849
  <dd class="tag-source"><ul class="dummy"><li>
6850
+ <<<<<<< HEAD
6851
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1315">line 1315</a>
6852
+ =======
5141
6853
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1287">line 1287</a>
6854
+ >>>>>>> project-v2
5142
6855
  </li></ul></dd>
5143
6856
 
5144
6857
 
@@ -5297,7 +7010,11 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
5297
7010
 
5298
7011
  <dt class="tag-source">Source:</dt>
5299
7012
  <dd class="tag-source"><ul class="dummy"><li>
7013
+ <<<<<<< HEAD
7014
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1186">line 1186</a>
7015
+ =======
5300
7016
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1161">line 1161</a>
7017
+ >>>>>>> project-v2
5301
7018
  </li></ul></dd>
5302
7019
 
5303
7020
 
@@ -5771,7 +7488,11 @@ If no recommendations found in recsys, falls back to fetching related lessons.</
5771
7488
 
5772
7489
  <dt class="tag-source">Source:</dt>
5773
7490
  <dd class="tag-source"><ul class="dummy"><li>
7491
+ <<<<<<< HEAD
7492
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1787">line 1787</a>
7493
+ =======
5774
7494
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1611">line 1611</a>
7495
+ >>>>>>> project-v2
5775
7496
  </li></ul></dd>
5776
7497
 
5777
7498
 
@@ -6303,7 +8024,11 @@ fetchSanity(query, true)
6303
8024
 
6304
8025
  <dt class="tag-source">Source:</dt>
6305
8026
  <dd class="tag-source"><ul class="dummy"><li>
8027
+ <<<<<<< HEAD
8028
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1914">line 1914</a>
8029
+ =======
6306
8030
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1738">line 1738</a>
8031
+ >>>>>>> project-v2
6307
8032
  </li></ul></dd>
6308
8033
 
6309
8034
 
@@ -6458,7 +8183,11 @@ fetchSanity(query, true)
6458
8183
 
6459
8184
  <dt class="tag-source">Source:</dt>
6460
8185
  <dd class="tag-source"><ul class="dummy"><li>
8186
+ <<<<<<< HEAD
8187
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1262">line 1262</a>
8188
+ =======
6461
8189
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1237">line 1237</a>
8190
+ >>>>>>> project-v2
6462
8191
  </li></ul></dd>
6463
8192
 
6464
8193
 
@@ -7131,7 +8860,11 @@ fetchSanity(query, true)
7131
8860
 
7132
8861
  <dt class="tag-source">Source:</dt>
7133
8862
  <dd class="tag-source"><ul class="dummy"><li>
8863
+ <<<<<<< HEAD
8864
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1092">line 1092</a>
8865
+ =======
7134
8866
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1067">line 1067</a>
8867
+ >>>>>>> project-v2
7135
8868
  </li></ul></dd>
7136
8869
 
7137
8870
 
@@ -7296,7 +9029,11 @@ fetchSanity(query, true)
7296
9029
 
7297
9030
  <dt class="tag-source">Source:</dt>
7298
9031
  <dd class="tag-source"><ul class="dummy"><li>
9032
+ <<<<<<< HEAD
9033
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1232">line 1232</a>
9034
+ =======
7299
9035
  <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1207">line 1207</a>
9036
+ >>>>>>> project-v2
7300
9037
  </li></ul></dd>
7301
9038
 
7302
9039
 
@@ -7622,7 +9359,11 @@ fetchSanity(query, true)
7622
9359
  <br class="clear">
7623
9360
 
7624
9361
  <footer>
7625
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Nov 19 2025 23:31:21 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9362
+ <<<<<<< HEAD
9363
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Nov 17 2025 10:04:51 GMT+0200 (Eastern European Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
9364
+ =======
9365
+ 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.
9366
+ >>>>>>> project-v2
7626
9367
  </footer>
7627
9368
 
7628
9369
  <script>prettyPrint();</script>