musora-content-services 1.6.8 → 1.7.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 (71) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/docs/v2/ContentOrganization.html +2 -2
  3. package/docs/v2/Forums.html +3 -3
  4. package/docs/v2/Gamification.html +2 -2
  5. package/docs/v2/TestUser.html +260 -0
  6. package/docs/v2/UserManagementSystem.html +2 -2
  7. package/docs/v2/api_types.js.html +2 -2
  8. package/docs/v2/config.js.html +2 -2
  9. package/docs/v2/content-org_content-org.js.html +2 -2
  10. package/docs/v2/content-org_guided-courses.ts.html +2 -2
  11. package/docs/v2/content-org_learning-paths.ts.html +256 -0
  12. package/docs/v2/content-org_playlists-types.js.html +2 -2
  13. package/docs/v2/content-org_playlists.js.html +2 -2
  14. package/docs/v2/content.js.html +57 -54
  15. package/docs/v2/forums_categories.ts.html +2 -2
  16. package/docs/v2/forums_forums.ts.html +86 -3
  17. package/docs/v2/forums_posts.ts.html +120 -13
  18. package/docs/v2/forums_threads.ts.html +2 -2
  19. package/docs/v2/gamification_awards.ts.html +2 -2
  20. package/docs/v2/gamification_gamification.js.html +2 -2
  21. package/docs/v2/global.html +357 -2
  22. package/docs/v2/index.html +2 -2
  23. package/docs/v2/liveTesting.ts.html +103 -0
  24. package/docs/v2/module-Accounts.html +648 -25
  25. package/docs/v2/module-Awards.html +2 -2
  26. package/docs/v2/module-Config.html +2 -2
  27. package/docs/v2/module-Content-Services-V2.html +37 -318
  28. package/docs/v2/module-Forums.html +4161 -729
  29. package/docs/v2/module-GuidedCourses.html +2 -2
  30. package/docs/v2/module-Interests.html +2 -2
  31. package/docs/v2/module-LearningPaths.html +1330 -0
  32. package/docs/v2/module-Onboarding.html +858 -0
  33. package/docs/v2/module-Payments.html +148 -6
  34. package/docs/v2/module-Permissions.html +2 -2
  35. package/docs/v2/module-Playlists.html +2 -2
  36. package/docs/v2/module-ProgressRow.html +108 -0
  37. package/docs/v2/module-Railcontent-Services.html +6 -6
  38. package/docs/v2/module-Sanity-Services.html +339 -43
  39. package/docs/v2/module-Sessions.html +2 -2
  40. package/docs/v2/module-UserActivity.html +22 -22
  41. package/docs/v2/module-UserChat.html +2 -2
  42. package/docs/v2/module-UserManagement.html +448 -4
  43. package/docs/v2/module-UserMemberships.html +284 -11
  44. package/docs/v2/module-UserNotifications.html +2 -2
  45. package/docs/v2/module-UserProfile.html +2 -2
  46. package/docs/v2/progress-row_method-card.js.html +185 -0
  47. package/docs/v2/railcontent.js.html +2 -21
  48. package/docs/v2/sanity.js.html +135 -47
  49. package/docs/v2/userActivity.js.html +120 -64
  50. package/docs/v2/user_account.ts.html +84 -37
  51. package/docs/v2/user_chat.js.html +2 -2
  52. package/docs/v2/user_interests.js.html +2 -2
  53. package/docs/v2/user_management.js.html +42 -5
  54. package/docs/v2/user_memberships.js.html +2 -2
  55. package/docs/v2/user_memberships.ts.html +292 -0
  56. package/docs/v2/user_notifications.js.html +2 -2
  57. package/docs/v2/user_onboarding.ts.html +234 -0
  58. package/docs/v2/user_payments.ts.html +55 -6
  59. package/docs/v2/user_permissions.js.html +2 -2
  60. package/docs/v2/user_profile.js.html +2 -2
  61. package/docs/v2/user_sessions.js.html +2 -2
  62. package/docs/v2/user_types.js.html +8 -2
  63. package/docs/v2/user_user-management-system.js.html +2 -2
  64. package/package.json +1 -1
  65. package/src/contentTypeConfig.js +2 -0
  66. package/src/filterBuilder.js +3 -1
  67. package/src/services/imageSRCBuilder.js +1 -1
  68. package/src/services/imageSRCVerify.js +1 -1
  69. package/src/services/sanity.js +12 -3
  70. package/test/imageSRCBuilder.test.js +1 -1
  71. package/test/imageSRCVerify.test.js +4 -4
@@ -0,0 +1,1330 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>LearningPaths - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
31
+
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Accounts.html">Accounts</a><ul class='methods'><li data-type='method'><a href="module-Accounts.html#~confirmEmailChange">confirmEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~deleteAccount">deleteAccount</a></li><li data-type='method'><a href="module-Accounts.html#~numberOfActiveUsers">numberOfActiveUsers</a></li><li data-type='method'><a href="module-Accounts.html#~requestEmailChange">requestEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~resetPassword">resetPassword</a></li><li data-type='method'><a href="module-Accounts.html#~sendAccountSetupEmail">sendAccountSetupEmail</a></li><li data-type='method'><a href="module-Accounts.html#~sendPasswordResetEmail">sendPasswordResetEmail</a></li><li data-type='method'><a href="module-Accounts.html#~setupAccount">setupAccount</a></li><li data-type='method'><a href="module-Accounts.html#~status">status</a></li></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#~pinThread">pinThread</a></li><li data-type='method'><a href="module-Forums.html#~search">search</a></li><li data-type='method'><a href="module-Forums.html#~unfollowThread">unfollowThread</a></li><li data-type='method'><a href="module-Forums.html#~unlikePost">unlikePost</a></li><li data-type='method'><a href="module-Forums.html#~unlockThread">unlockThread</a></li><li data-type='method'><a href="module-Forums.html#~unpinThread">unpinThread</a></li><li data-type='method'><a href="module-Forums.html#~updateForumCategory">updateForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~updatePost">updatePost</a></li><li data-type='method'><a href="module-Forums.html#~updateThread">updateThread</a></li></ul></li><li></li><li></li><li><a href="module-GuidedCourses.html">GuidedCourses</a></li><li><a href="module-Interests.html">Interests</a><ul class='methods'><li data-type='method'><a href="module-Interests.html#.fetchInterests">fetchInterests</a></li><li data-type='method'><a href="module-Interests.html#.fetchUninterests">fetchUninterests</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsInterested">markContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsNotInterested">markContentAsNotInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsInterested">removeContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsNotInterested">removeContentAsNotInterested</a></li></ul></li><li><a href="module-LearningPaths.html">LearningPaths</a><ul class='methods'><li data-type='method'><a href="module-LearningPaths.html#~fetchLearningPathLessons">fetchLearningPathLessons</a></li><li data-type='method'><a href="module-LearningPaths.html#~getActivePath">getActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getDailySession">getDailySession</a></li><li data-type='method'><a href="module-LearningPaths.html#~resetAllLearningPaths">resetAllLearningPaths</a></li><li data-type='method'><a href="module-LearningPaths.html#~startLearningPath">startLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateActivePath">updateActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateDailySession">updateDailySession</a></li></ul></li><li><a href="module-Onboarding.html">Onboarding</a><ul class='methods'><li data-type='method'><a href="module-Onboarding.html#~getOnboardingRecommendedContent">getOnboardingRecommendedContent</a></li><li data-type='method'><a href="module-Onboarding.html#~startOnboarding">startOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~updateOnboarding">updateOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~userOnboardingForBrand">userOnboardingForBrand</a></li></ul></li><li><a href="module-Payments.html">Payments</a><ul class='methods'><li data-type='method'><a href="module-Payments.html#~fetchCustomerPayments">fetchCustomerPayments</a></li></ul></li><li><a href="module-Permissions.html">Permissions</a><ul class='methods'><li data-type='method'><a href="module-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-Permissions.html#.reset">reset</a></li></ul></li><li><a href="module-Playlists.html">Playlists</a><ul class='methods'><li data-type='method'><a href="module-Playlists.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Playlists.html#.fetchUserPlaylists">fetchUserPlaylists</a></li><li data-type='method'><a href="module-Playlists.html#.togglePlaylistPrivate">togglePlaylistPrivate</a></li><li data-type='method'><a href="module-Playlists.html#.undeletePlaylist">undeletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~deleteItemsFromPlaylist">deleteItemsFromPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~restoreItemFromPlaylist">restoreItemFromPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~unlikePlaylist">unlikePlaylist</a></li></ul></li><li><a href="module-ProgressRow.html">ProgressRow</a></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.assignModeratorToComment">assignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.closeComment">closeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createComment">createComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deleteComment">deleteComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.editComment">editComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComment">fetchComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCommentRelies">fetchCommentRelies</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComments">fetchComments</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchRecentUserActivities">fetchRecentUserActivities</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchTopComment">fetchTopComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserPracticeNotes">fetchUserPracticeNotes</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.openComment">openComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentComplete">postContentComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentReset">postContentReset</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentRestore">postContentRestore</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postContentStart">postContentStart</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.replyToComment">replyToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportComment">reportComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.restoreComment">restoreComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unassignModeratorToComment">unassignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unlikeComment">unlikeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#~fetchLastInteractedChild">fetchLastInteractedChild</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtists">fetchArtists</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCoachLessons">fetchCoachLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchComingSoon">fetchComingSoon</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLeaving">fetchLeaving</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonsFeaturingThisContent">fetchLessonsFeaturingThisContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2IntroVideo">fetchMethodV2IntroVideo</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2Structure">fetchMethodV2Structure</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchOtherSongVersions">fetchOtherSongVersions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedRecommendedContent">fetchRelatedRecommendedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSiblingContent">fetchSiblingContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchRelatedByLicense">fetchRelatedByLicense</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getQueryFromPage">getQueryFromPage</a></li></ul></li><li><a href="module-Sessions.html">Sessions</a><ul class='methods'><li data-type='method'><a href="module-Sessions.html#.login">login</a></li><li data-type='method'><a href="module-Sessions.html#.logout">logout</a></li></ul></li><li><a href="module-UserActivity.html">UserActivity</a><ul class='methods'><li data-type='method'><a href="module-UserActivity.html#.calculateLongestStreaks">calculateLongestStreaks</a></li><li data-type='method'><a href="module-UserActivity.html#.createPracticeNotes">createPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.deletePracticeSession">deletePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.deleteUserActivity">deleteUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeNotes">getPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeSessions">getPracticeSessions</a></li><li data-type='method'><a href="module-UserActivity.html#.getProgressRows">getProgressRows</a></li><li data-type='method'><a href="module-UserActivity.html#.getRecentActivity">getRecentActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserMonthlyStats">getUserMonthlyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserWeeklyStats">getUserWeeklyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.pinProgressRow">pinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserActivity">recordUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserPractice">recordUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.removeUserPractice">removeUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.restorePracticeSession">restorePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.restoreUserActivity">restoreUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.restoreUserPractice">restoreUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.unpinProgressRow">unpinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.updatePracticeNotes">updatePracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.updateUserPractice">updateUserPractice</a></li></ul></li><li><a href="module-UserChat.html">UserChat</a><ul class='methods'><li data-type='method'><a href="module-UserChat.html#.fetchChatSettings">fetchChatSettings</a></li></ul></li><li><a href="module-UserManagement.html">UserManagement</a><ul class='methods'><li data-type='method'><a href="module-UserManagement.html#.blockUser">blockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.blockedUsers">blockedUsers</a></li><li data-type='method'><a href="module-UserManagement.html#.deletePicture">deletePicture</a></li><li data-type='method'><a href="module-UserManagement.html#.getUserData">getUserData</a></li><li data-type='method'><a href="module-UserManagement.html#.getUserSignature">getUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.isUsernameAvailable">isUsernameAvailable</a></li><li data-type='method'><a href="module-UserManagement.html#.setUserSignature">setUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.toggleSignaturePrivate">toggleSignaturePrivate</a></li><li data-type='method'><a href="module-UserManagement.html#.unblockUser">unblockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.updateDisplayName">updateDisplayName</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPicture">uploadPicture</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPictureFromS3">uploadPictureFromS3</a></li></ul></li><li><a href="module-UserMemberships.html">UserMemberships</a><ul class='methods'><li data-type='method'><a href="module-UserMemberships.html#~fetchMemberships">fetchMemberships</a></li><li data-type='method'><a href="module-UserMemberships.html#~fetchRechargeTokens">fetchRechargeTokens</a></li><li data-type='method'><a href="module-UserMemberships.html#~restorePurchases">restorePurchases</a></li><li data-type='method'><a href="module-UserMemberships.html#~upgradeSubscription">upgradeSubscription</a></li></ul></li><li><a href="module-UserNotifications.html">UserNotifications</a><ul class='methods'><li data-type='method'><a href="module-UserNotifications.html#.deleteNotification">deleteNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchLiveEventPollingState">fetchLiveEventPollingState</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotificationSettings">fetchNotificationSettings</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotifications">fetchNotifications</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchUnreadCount">fetchUnreadCount</a></li><li data-type='method'><a href="module-UserNotifications.html#.markAllNotificationsAsRead">markAllNotificationsAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsRead">markNotificationAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsUnread">markNotificationAsUnread</a></li><li data-type='method'><a href="module-UserNotifications.html#.pauseLiveEventPolling">pauseLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.restoreNotification">restoreNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.startLiveEventPolling">startLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.updateNotificationSetting">updateNotificationSetting</a></li></ul></li><li><a href="module-UserProfile.html">UserProfile</a><ul class='methods'><li data-type='method'><a href="module-UserProfile.html#.deleteProfilePicture">deleteProfilePicture</a></li><li data-type='method'><a href="module-UserProfile.html#.otherStats">otherStats</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="ContentOrganization.html">ContentOrganization</a></li><li><a href="Forums.html">Forums</a></li><li><a href="Gamification.html">Gamification</a></li><li><a href="UserManagementSystem.html">UserManagementSystem</a></li></ul><h3>Interfaces</h3><ul><li><a href="TestUser.html">TestUser</a></li></ul><h3>Global</h3><ul><li><a href="global.html#createTestUser">createTestUser</a></li></ul>
33
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">LearningPaths</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+
51
+
52
+ </header>
53
+
54
+ <article>
55
+
56
+ <div class="container-overview">
57
+
58
+
59
+
60
+
61
+
62
+ </div>
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ <h3 class="subsection-title">Methods</h3>
81
+
82
+
83
+
84
+
85
+
86
+
87
+ <h4 class="name" id="~fetchLearningPathLessons"><span class="type-signature type-signature-async, inner">(async, inner) </span>fetchLearningPathLessons<span class="signature">(learningPathId, brand, userDate)</span><span class="type-signature"> &rarr; {Promise.&lt;Object>|number|string|string|boolean|Array|Array|Array|Array|Array|Array}</span></h4>
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <dl class="details">
95
+
96
+ <dt class="tag-description">Description:</dt>
97
+ <dd class="tag-description"><ul class="dummy"><li>Fetches and organizes learning path lessons.</li></ul></dd>
98
+
99
+
100
+
101
+ <dt class="tag-source">Source:</dt>
102
+ <dd class="tag-source"><ul class="dummy"><li>
103
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line120">line 120</a>
104
+ </li></ul></dd>
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ </dl>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <h5 class="h5-parameters">Parameters:</h5>
151
+
152
+
153
+ <table class="params">
154
+ <thead>
155
+ <tr>
156
+
157
+ <th>Name</th>
158
+
159
+
160
+ <th>Type</th>
161
+
162
+
163
+
164
+
165
+
166
+ <th class="last">Description</th>
167
+ </tr>
168
+ </thead>
169
+
170
+ <tbody>
171
+
172
+
173
+ <tr>
174
+
175
+ <td class="name"><code>learningPathId</code></td>
176
+
177
+
178
+ <td class="type">
179
+
180
+
181
+ <span class="param-type">number</span>
182
+
183
+
184
+
185
+
186
+ </td>
187
+
188
+
189
+
190
+
191
+
192
+ <td class="description last">The learning path ID.</td>
193
+ </tr>
194
+
195
+
196
+
197
+ <tr>
198
+
199
+ <td class="name"><code>brand</code></td>
200
+
201
+
202
+ <td class="type">
203
+
204
+
205
+ <span class="param-type">string</span>
206
+
207
+
208
+
209
+
210
+ </td>
211
+
212
+
213
+
214
+
215
+
216
+ <td class="description last"></td>
217
+ </tr>
218
+
219
+
220
+
221
+ <tr>
222
+
223
+ <td class="name"><code>userDate</code></td>
224
+
225
+
226
+ <td class="type">
227
+
228
+
229
+ <span class="param-type">Date</span>
230
+
231
+
232
+
233
+
234
+ </td>
235
+
236
+
237
+
238
+
239
+
240
+ <td class="description last">Users local date - format 2025-10-31</td>
241
+ </tr>
242
+
243
+
244
+ </tbody>
245
+ </table>
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+ <h5 class="h5-returns">Returns:</h5>
263
+ <ul>
264
+ <li>
265
+ <div class="param-desc">
266
+ result - The result object.
267
+ </div>
268
+
269
+
270
+
271
+ <dl class="param-type">
272
+ <dt>
273
+ Type
274
+ </dt>
275
+ <dd>
276
+
277
+ <span class="param-type">Promise.&lt;Object></span>
278
+
279
+
280
+
281
+ </dd>
282
+ </dl>
283
+ </li>
284
+
285
+ <li>
286
+ <div class="param-desc">
287
+ result.id - The learning path ID.
288
+ </div>
289
+
290
+
291
+
292
+ <dl class="param-type">
293
+ <dt>
294
+ Type
295
+ </dt>
296
+ <dd>
297
+
298
+ <span class="param-type">number</span>
299
+
300
+
301
+
302
+ </dd>
303
+ </dl>
304
+ </li>
305
+
306
+ <li>
307
+ <div class="param-desc">
308
+ result.thumbnail - Optional thumbnail URL for the learning path.
309
+ </div>
310
+
311
+
312
+
313
+ <dl class="param-type">
314
+ <dt>
315
+ Type
316
+ </dt>
317
+ <dd>
318
+
319
+ <span class="param-type">string</span>
320
+
321
+
322
+
323
+ </dd>
324
+ </dl>
325
+ </li>
326
+
327
+ <li>
328
+ <div class="param-desc">
329
+ result.title - The title of the learning path.
330
+ </div>
331
+
332
+
333
+
334
+ <dl class="param-type">
335
+ <dt>
336
+ Type
337
+ </dt>
338
+ <dd>
339
+
340
+ <span class="param-type">string</span>
341
+
342
+
343
+
344
+ </dd>
345
+ </dl>
346
+ </li>
347
+
348
+ <li>
349
+ <div class="param-desc">
350
+ result.is_active_learning_path - Whether the learning path is currently active.
351
+ </div>
352
+
353
+
354
+
355
+ <dl class="param-type">
356
+ <dt>
357
+ Type
358
+ </dt>
359
+ <dd>
360
+
361
+ <span class="param-type">boolean</span>
362
+
363
+
364
+
365
+ </dd>
366
+ </dl>
367
+ </li>
368
+
369
+ <li>
370
+ <div class="param-desc">
371
+ result.children - Array of all lessons.
372
+ </div>
373
+
374
+
375
+
376
+ <dl class="param-type">
377
+ <dt>
378
+ Type
379
+ </dt>
380
+ <dd>
381
+
382
+ <span class="param-type">Array</span>
383
+
384
+
385
+
386
+ </dd>
387
+ </dl>
388
+ </li>
389
+
390
+ <li>
391
+ <div class="param-desc">
392
+ result.upcoming_lessons - Array of upcoming/additional lessons.
393
+ </div>
394
+
395
+
396
+
397
+ <dl class="param-type">
398
+ <dt>
399
+ Type
400
+ </dt>
401
+ <dd>
402
+
403
+ <span class="param-type">Array</span>
404
+
405
+
406
+
407
+ </dd>
408
+ </dl>
409
+ </li>
410
+
411
+ <li>
412
+ <div class="param-desc">
413
+ result.todays_lessons - Array of today's lessons (max 3).
414
+ </div>
415
+
416
+
417
+
418
+ <dl class="param-type">
419
+ <dt>
420
+ Type
421
+ </dt>
422
+ <dd>
423
+
424
+ <span class="param-type">Array</span>
425
+
426
+
427
+
428
+ </dd>
429
+ </dl>
430
+ </li>
431
+
432
+ <li>
433
+ <div class="param-desc">
434
+ result.next_learning_path_lessons - Array of next lessons to be taken.
435
+ </div>
436
+
437
+
438
+
439
+ <dl class="param-type">
440
+ <dt>
441
+ Type
442
+ </dt>
443
+ <dd>
444
+
445
+ <span class="param-type">Array</span>
446
+
447
+
448
+
449
+ </dd>
450
+ </dl>
451
+ </li>
452
+
453
+ <li>
454
+ <div class="param-desc">
455
+ result.completed_lessons - Array of completed lessons.
456
+ </div>
457
+
458
+
459
+
460
+ <dl class="param-type">
461
+ <dt>
462
+ Type
463
+ </dt>
464
+ <dd>
465
+
466
+ <span class="param-type">Array</span>
467
+
468
+
469
+
470
+ </dd>
471
+ </dl>
472
+ </li>
473
+
474
+ <li>
475
+ <div class="param-desc">
476
+ result.previous_learning_path_todays - Array of completed lessons.
477
+ </div>
478
+
479
+
480
+
481
+ <dl class="param-type">
482
+ <dt>
483
+ Type
484
+ </dt>
485
+ <dd>
486
+
487
+ <span class="param-type">Array</span>
488
+
489
+
490
+
491
+ </dd>
492
+ </dl>
493
+ </li>
494
+ </ul>
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+ <h4 class="name" id="~getActivePath"><span class="type-signature type-signature-async, inner">(async, inner) </span>getActivePath<span class="signature">(brand)</span><span class="type-signature"></span></h4>
504
+
505
+
506
+
507
+
508
+
509
+
510
+ <dl class="details">
511
+
512
+ <dt class="tag-description">Description:</dt>
513
+ <dd class="tag-description"><ul class="dummy"><li>Gets user's active learning path.</li></ul></dd>
514
+
515
+
516
+
517
+ <dt class="tag-source">Source:</dt>
518
+ <dd class="tag-source"><ul class="dummy"><li>
519
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line41">line 41</a>
520
+ </li></ul></dd>
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+ </dl>
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+ <h5 class="h5-parameters">Parameters:</h5>
567
+
568
+
569
+ <table class="params">
570
+ <thead>
571
+ <tr>
572
+
573
+ <th>Name</th>
574
+
575
+
576
+ <th>Type</th>
577
+
578
+
579
+
580
+
581
+
582
+ <th class="last">Description</th>
583
+ </tr>
584
+ </thead>
585
+
586
+ <tbody>
587
+
588
+
589
+ <tr>
590
+
591
+ <td class="name"><code>brand</code></td>
592
+
593
+
594
+ <td class="type">
595
+
596
+ </td>
597
+
598
+
599
+
600
+
601
+
602
+ <td class="description last"></td>
603
+ </tr>
604
+
605
+
606
+ </tbody>
607
+ </table>
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+ <h4 class="name" id="~getDailySession"><span class="type-signature type-signature-async, inner">(async, inner) </span>getDailySession<span class="signature">(brand, userDate)</span><span class="type-signature"></span></h4>
633
+
634
+
635
+
636
+
637
+
638
+
639
+ <dl class="details">
640
+
641
+ <dt class="tag-description">Description:</dt>
642
+ <dd class="tag-description"><ul class="dummy"><li>Gets today's daily session for the user.</li></ul></dd>
643
+
644
+
645
+
646
+ <dt class="tag-source">Source:</dt>
647
+ <dd class="tag-source"><ul class="dummy"><li>
648
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line12">line 12</a>
649
+ </li></ul></dd>
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+
679
+
680
+
681
+ </dl>
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+ <h5 class="h5-parameters">Parameters:</h5>
696
+
697
+
698
+ <table class="params">
699
+ <thead>
700
+ <tr>
701
+
702
+ <th>Name</th>
703
+
704
+
705
+ <th>Type</th>
706
+
707
+
708
+
709
+
710
+
711
+ <th class="last">Description</th>
712
+ </tr>
713
+ </thead>
714
+
715
+ <tbody>
716
+
717
+
718
+ <tr>
719
+
720
+ <td class="name"><code>brand</code></td>
721
+
722
+
723
+ <td class="type">
724
+
725
+ </td>
726
+
727
+
728
+
729
+
730
+
731
+ <td class="description last"></td>
732
+ </tr>
733
+
734
+
735
+
736
+ <tr>
737
+
738
+ <td class="name"><code>userDate</code></td>
739
+
740
+
741
+ <td class="type">
742
+
743
+ </td>
744
+
745
+
746
+
747
+
748
+
749
+ <td class="description last"></td>
750
+ </tr>
751
+
752
+
753
+ </tbody>
754
+ </table>
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+ <h4 class="name" id="~resetAllLearningPaths"><span class="type-signature type-signature-async, inner">(async, inner) </span>resetAllLearningPaths<span class="signature">()</span><span class="type-signature"></span></h4>
780
+
781
+
782
+
783
+
784
+
785
+
786
+ <dl class="details">
787
+
788
+ <dt class="tag-description">Description:</dt>
789
+ <dd class="tag-description"><ul class="dummy"><li>Resets the user's learning path.</li></ul></dd>
790
+
791
+
792
+
793
+ <dt class="tag-source">Source:</dt>
794
+ <dd class="tag-source"><ul class="dummy"><li>
795
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line72">line 72</a>
796
+ </li></ul></dd>
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+ </dl>
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+ <h4 class="name" id="~startLearningPath"><span class="type-signature type-signature-async, inner">(async, inner) </span>startLearningPath<span class="signature">(brand, learningPathId)</span><span class="type-signature"></span></h4>
865
+
866
+
867
+
868
+
869
+
870
+
871
+ <dl class="details">
872
+
873
+ <dt class="tag-description">Description:</dt>
874
+ <dd class="tag-description"><ul class="dummy"><li>Starts a new learning path for the user.</li></ul></dd>
875
+
876
+
877
+
878
+ <dt class="tag-source">Source:</dt>
879
+ <dd class="tag-source"><ul class="dummy"><li>
880
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line61">line 61</a>
881
+ </li></ul></dd>
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+ </dl>
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+ <h5 class="h5-parameters">Parameters:</h5>
928
+
929
+
930
+ <table class="params">
931
+ <thead>
932
+ <tr>
933
+
934
+ <th>Name</th>
935
+
936
+
937
+ <th>Type</th>
938
+
939
+
940
+
941
+
942
+
943
+ <th class="last">Description</th>
944
+ </tr>
945
+ </thead>
946
+
947
+ <tbody>
948
+
949
+
950
+ <tr>
951
+
952
+ <td class="name"><code>brand</code></td>
953
+
954
+
955
+ <td class="type">
956
+
957
+ </td>
958
+
959
+
960
+
961
+
962
+
963
+ <td class="description last"></td>
964
+ </tr>
965
+
966
+
967
+
968
+ <tr>
969
+
970
+ <td class="name"><code>learningPathId</code></td>
971
+
972
+
973
+ <td class="type">
974
+
975
+ </td>
976
+
977
+
978
+
979
+
980
+
981
+ <td class="description last"></td>
982
+ </tr>
983
+
984
+
985
+ </tbody>
986
+ </table>
987
+
988
+
989
+
990
+
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+ <h4 class="name" id="~updateActivePath"><span class="type-signature type-signature-async, inner">(async, inner) </span>updateActivePath<span class="signature">(brand)</span><span class="type-signature"></span></h4>
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+ <dl class="details">
1019
+
1020
+ <dt class="tag-description">Description:</dt>
1021
+ <dd class="tag-description"><ul class="dummy"><li>Updates user's active learning path.</li></ul></dd>
1022
+
1023
+
1024
+
1025
+ <dt class="tag-source">Source:</dt>
1026
+ <dd class="tag-source"><ul class="dummy"><li>
1027
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line51">line 51</a>
1028
+ </li></ul></dd>
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+ </dl>
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+ <h5 class="h5-parameters">Parameters:</h5>
1075
+
1076
+
1077
+ <table class="params">
1078
+ <thead>
1079
+ <tr>
1080
+
1081
+ <th>Name</th>
1082
+
1083
+
1084
+ <th>Type</th>
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+ <th class="last">Description</th>
1091
+ </tr>
1092
+ </thead>
1093
+
1094
+ <tbody>
1095
+
1096
+
1097
+ <tr>
1098
+
1099
+ <td class="name"><code>brand</code></td>
1100
+
1101
+
1102
+ <td class="type">
1103
+
1104
+ </td>
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ <td class="description last"></td>
1111
+ </tr>
1112
+
1113
+
1114
+ </tbody>
1115
+ </table>
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+ <h4 class="name" id="~updateDailySession"><span class="type-signature type-signature-async, inner">(async, inner) </span>updateDailySession<span class="signature">(brand, userDate, keepFirstLearningPath)</span><span class="type-signature"></span></h4>
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+ <dl class="details">
1148
+
1149
+ <dt class="tag-description">Description:</dt>
1150
+ <dd class="tag-description"><ul class="dummy"><li>Updates the daily session for the user. Optionally, keeps the first learning path's dailies from a matching day's session.</li></ul></dd>
1151
+
1152
+
1153
+
1154
+ <dt class="tag-source">Source:</dt>
1155
+ <dd class="tag-source"><ul class="dummy"><li>
1156
+ <a href="content-org_learning-paths.ts.html">content-org/learning-paths.ts</a>, <a href="content-org_learning-paths.ts.html#line24">line 24</a>
1157
+ </li></ul></dd>
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+ </dl>
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+ <h5 class="h5-parameters">Parameters:</h5>
1204
+
1205
+
1206
+ <table class="params">
1207
+ <thead>
1208
+ <tr>
1209
+
1210
+ <th>Name</th>
1211
+
1212
+
1213
+ <th>Type</th>
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+ <th class="last">Description</th>
1220
+ </tr>
1221
+ </thead>
1222
+
1223
+ <tbody>
1224
+
1225
+
1226
+ <tr>
1227
+
1228
+ <td class="name"><code>brand</code></td>
1229
+
1230
+
1231
+ <td class="type">
1232
+
1233
+ </td>
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+ <td class="description last"></td>
1240
+ </tr>
1241
+
1242
+
1243
+
1244
+ <tr>
1245
+
1246
+ <td class="name"><code>userDate</code></td>
1247
+
1248
+
1249
+ <td class="type">
1250
+
1251
+ </td>
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+ <td class="description last">format 2025-10-31</td>
1258
+ </tr>
1259
+
1260
+
1261
+
1262
+ <tr>
1263
+
1264
+ <td class="name"><code>keepFirstLearningPath</code></td>
1265
+
1266
+
1267
+ <td class="type">
1268
+
1269
+ </td>
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+ <td class="description last"></td>
1276
+ </tr>
1277
+
1278
+
1279
+ </tbody>
1280
+ </table>
1281
+
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+
1306
+ </article>
1307
+
1308
+ </section>
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+ </div>
1316
+
1317
+ <br class="clear">
1318
+
1319
+ <footer>
1320
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Nov 10 2025 16:22:45 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1321
+ </footer>
1322
+
1323
+ <script>prettyPrint();</script>
1324
+ <script src="scripts/polyfill.js"></script>
1325
+ <script src="scripts/linenumber.js"></script>
1326
+
1327
+
1328
+
1329
+ </body>
1330
+ </html>