musora-content-services 2.0.2 → 2.0.5

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 (77) hide show
  1. package/.github/workflows/node.js.yml +0 -0
  2. package/.prettierignore +0 -0
  3. package/.prettierrc +0 -0
  4. package/CHANGELOG.md +6 -0
  5. package/README.md +0 -0
  6. package/babel.config.cjs +0 -0
  7. package/docs/Content-Organization.html +245 -0
  8. package/docs/Playlists.html +192 -0
  9. package/docs/config.js.html +2 -2
  10. package/docs/content-org_playlists-types.js.html +109 -0
  11. package/docs/content-org_playlists.js.html +194 -0
  12. package/docs/content-org_types.js.html +112 -0
  13. package/docs/content.js.html +22 -4
  14. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  18. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  19. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  20. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  21. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  28. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  29. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  30. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  31. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  32. package/docs/global.html +854 -2
  33. package/docs/index.html +2 -2
  34. package/docs/module-Config.html +2 -2
  35. package/docs/module-Content-Organization-Playlists.html +194 -0
  36. package/docs/module-Content-Organization.html +976 -0
  37. package/docs/module-Content-Services-V2.html +3 -3
  38. package/docs/module-Playlists.html +969 -0
  39. package/docs/module-Railcontent-Services.html +2074 -1533
  40. package/docs/module-Sanity-Services.html +14 -14
  41. package/docs/module-Session-Management.html +2 -2
  42. package/docs/module-User-Permissions.html +2 -2
  43. package/docs/module-playlists.html +1878 -0
  44. package/docs/module-playlists_.html +108 -0
  45. package/docs/railcontent.js.html +122 -122
  46. package/docs/sanity.js.html +9 -8
  47. package/docs/scripts/collapse.js +0 -0
  48. package/docs/scripts/commonNav.js +0 -0
  49. package/docs/scripts/linenumber.js +0 -0
  50. package/docs/scripts/nav.js +0 -0
  51. package/docs/scripts/polyfill.js +0 -0
  52. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  53. package/docs/scripts/prettify/lang-css.js +0 -0
  54. package/docs/scripts/prettify/prettify.js +0 -0
  55. package/docs/scripts/search.js +0 -0
  56. package/docs/styles/jsdoc.css +0 -0
  57. package/docs/styles/prettify.css +0 -0
  58. package/docs/user_permissions.js.html +2 -2
  59. package/docs/user_sessions.js.html +2 -2
  60. package/docs/user_types.js.html +2 -2
  61. package/jest.config.js +0 -0
  62. package/jsdoc.json +1 -0
  63. package/package.json +1 -1
  64. package/src/index.d.ts +6 -3
  65. package/src/index.js +6 -3
  66. package/src/services/config.js +0 -0
  67. package/src/services/content-org/playlists-types.js +37 -0
  68. package/src/services/content-org/playlists.js +122 -0
  69. package/src/services/contentLikes.js +0 -0
  70. package/src/services/contentProgress.js +0 -0
  71. package/src/services/dataContext.js +0 -0
  72. package/src/services/railcontent.js +8 -121
  73. package/test/contentLikes.test.js +0 -0
  74. package/test/live/contentProgressLive.test.js +0 -0
  75. package/test/live/railcontentLive.test.js +0 -0
  76. package/test/localStorageMock.js +0 -0
  77. package/test/log.js +0 -0
package/docs/global.html CHANGED
@@ -29,7 +29,7 @@
29
29
  <nav >
30
30
 
31
31
 
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Config.html">Config</a><ul class='methods'><li data-type='method'><a href="module-Config.html#.initializeService">initializeService</a></li></ul></li><li><a href="module-Content-Services-V2.html">Content-Services-V2</a><ul class='methods'><li data-type='method'><a href="module-Content-Services-V2.html#.getContentRows">getContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getNewAndUpcoming">getNewAndUpcoming</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecent">getRecent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecommendedForYou">getRecommendedForYou</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getScheduleContentRows">getScheduleContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getTabResults">getTabResults</a></li></ul></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.countAssignmentsAndLessons">countAssignmentsAndLessons</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistItem">deletePlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistLike">deletePlaylistLike</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeIndexMetadata">fetchChallengeIndexMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeLessonData">fetchChallengeLessonData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeMetadata">fetchChallengeMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeUserActiveChallenges">fetchChallengeUserActiveChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCommentRelies">fetchCommentRelies</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComments">fetchComments</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedChallenges">fetchCompletedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchOwnedChallenges">fetchOwnedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPinnedPlaylists">fetchPinnedPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItem">fetchPlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchTopComment">fetchTopComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserChallengeProgress">fetchUserChallengeProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserPlaylists">fetchUserPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.pinPlaylist">pinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCommunityNotification">postChallengesCommunityNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCompleteLesson">postChallengesCompleteLesson</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnroll">postChallengesEnroll</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnrollmentNotification">postChallengesEnrollmentNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesHideCompletedBanner">postChallengesHideCompletedBanner</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesLeave">postChallengesLeave</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSetStartDate">postChallengesSetStartDate</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSoloNotification">postChallengesSoloNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesUnlock">postChallengesUnlock</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unpinPlaylist">unpinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylistItem">updatePlaylistItem</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtists">fetchArtists</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCoachLessons">fetchCoachLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchComingSoon">fetchComingSoon</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLeaving">fetchLeaving</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchParentForDownload">fetchParentForDownload</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getNextAndPreviousQuarterDates">getNextAndPreviousQuarterDates</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getQueryFromPage">getQueryFromPage</a></li><li data-type='method'><a href="module-Sanity-Services.html#~handleCustomFetchAll">handleCustomFetchAll</a></li></ul></li><li><a href="module-Session-Management.html">Session-Management</a><ul class='methods'><li data-type='method'><a href="module-Session-Management.html#.login">login</a></li><li data-type='method'><a href="module-Session-Management.html#.logout">logout</a></li></ul></li><li><a href="module-User-Permissions.html">User-Permissions</a><ul class='methods'><li data-type='method'><a href="module-User-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-User-Permissions.html#.reset">reset</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3>
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Config.html">Config</a><ul class='methods'><li data-type='method'><a href="module-Config.html#.initializeService">initializeService</a></li></ul></li><li><a href="module-Content-Services-V2.html">Content-Services-V2</a><ul class='methods'><li data-type='method'><a href="module-Content-Services-V2.html#.getContentRows">getContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getNewAndUpcoming">getNewAndUpcoming</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecent">getRecent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecommendedForYou">getRecommendedForYou</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getScheduleContentRows">getScheduleContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getTabResults">getTabResults</a></li></ul></li><li><a href="module-Playlists.html">Playlists</a><ul class='methods'><li data-type='method'><a href="module-Playlists.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchUserPlaylists">fetchUserPlaylists</a></li></ul></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.assignModeratorToComment">assignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.closeComment">closeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.countAssignmentsAndLessons">countAssignmentsAndLessons</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createComment">createComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deleteComment">deleteComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistItem">deletePlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistLike">deletePlaylistLike</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.editComment">editComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeIndexMetadata">fetchChallengeIndexMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeLessonData">fetchChallengeLessonData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeMetadata">fetchChallengeMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeUserActiveChallenges">fetchChallengeUserActiveChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCommentRelies">fetchCommentRelies</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComments">fetchComments</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedChallenges">fetchCompletedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchOwnedChallenges">fetchOwnedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPinnedPlaylists">fetchPinnedPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItem">fetchPlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchTopComment">fetchTopComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserChallengeProgress">fetchUserChallengeProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.openComment">openComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.pinPlaylist">pinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCommunityNotification">postChallengesCommunityNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCompleteLesson">postChallengesCompleteLesson</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnroll">postChallengesEnroll</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnrollmentNotification">postChallengesEnrollmentNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesHideCompletedBanner">postChallengesHideCompletedBanner</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesLeave">postChallengesLeave</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSetStartDate">postChallengesSetStartDate</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSoloNotification">postChallengesSoloNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesUnlock">postChallengesUnlock</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.replyToComment">replyToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unassignModeratorToComment">unassignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unlikeComment">unlikeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unpinPlaylist">unpinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylistItem">updatePlaylistItem</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtists">fetchArtists</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCoachLessons">fetchCoachLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchComingSoon">fetchComingSoon</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLeaving">fetchLeaving</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchParentForDownload">fetchParentForDownload</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getNextAndPreviousQuarterDates">getNextAndPreviousQuarterDates</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getQueryFromPage">getQueryFromPage</a></li><li data-type='method'><a href="module-Sanity-Services.html#~handleCustomFetchAll">handleCustomFetchAll</a></li></ul></li><li><a href="module-Session-Management.html">Session-Management</a><ul class='methods'><li data-type='method'><a href="module-Session-Management.html#.login">login</a></li><li data-type='method'><a href="module-Session-Management.html#.logout">logout</a></li></ul></li><li><a href="module-User-Permissions.html">User-Permissions</a><ul class='methods'><li data-type='method'><a href="module-User-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-User-Permissions.html#.reset">reset</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="Content-Organization.html">Content-Organization</a></li></ul><h3><a href="global.html">Global</a></h3>
33
33
 
34
34
  </nav>
35
35
 
@@ -129,6 +129,263 @@
129
129
 
130
130
 
131
131
 
132
+ <h4 class="name" id="AddItemToPlaylistDTO">AddItemToPlaylistDTO</h4>
133
+
134
+
135
+
136
+
137
+
138
+ <dl class="details">
139
+
140
+
141
+
142
+ <dt class="tag-source">Source:</dt>
143
+ <dd class="tag-source"><ul class="dummy"><li>
144
+ <a href="content-org_playlists-types.js.html">content-org/playlists-types.js</a>, <a href="content-org_playlists-types.js.html#line28">line 28</a>
145
+ </li></ul></dd>
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+ </dl>
178
+
179
+
180
+
181
+ <h5 class="subsection-title">Properties:</h5>
182
+
183
+
184
+
185
+ <table class="props">
186
+ <thead>
187
+ <tr>
188
+
189
+ <th>Name</th>
190
+
191
+
192
+ <th>Type</th>
193
+
194
+
195
+
196
+
197
+
198
+ <th class="last">Description</th>
199
+ </tr>
200
+ </thead>
201
+
202
+ <tbody>
203
+
204
+
205
+ <tr>
206
+
207
+ <td class="name"><code>content_id</code></td>
208
+
209
+
210
+ <td class="type">
211
+
212
+
213
+ <span class="param-type">number</span>
214
+
215
+
216
+
217
+
218
+ </td>
219
+
220
+
221
+
222
+
223
+
224
+ <td class="description last">The ID of the content to add to the playlist(s).</td>
225
+ </tr>
226
+
227
+
228
+
229
+ <tr>
230
+
231
+ <td class="name"><code>playlist_id</code></td>
232
+
233
+
234
+ <td class="type">
235
+
236
+
237
+ <span class="param-type">Array.&lt;number></span>
238
+
239
+
240
+
241
+
242
+ </td>
243
+
244
+
245
+
246
+
247
+
248
+ <td class="description last">An array of playlist IDs where the content should be added.</td>
249
+ </tr>
250
+
251
+
252
+
253
+ <tr>
254
+
255
+ <td class="name"><code>import_full_soundslice_assignment</code></td>
256
+
257
+
258
+ <td class="type">
259
+
260
+
261
+ <span class="param-type">boolean</span>
262
+
263
+
264
+
265
+
266
+ </td>
267
+
268
+
269
+
270
+
271
+
272
+ <td class="description last">Flag to include full Soundslice assignments.</td>
273
+ </tr>
274
+
275
+
276
+
277
+ <tr>
278
+
279
+ <td class="name"><code>import_instrumentless_soundslice_assignment</code></td>
280
+
281
+
282
+ <td class="type">
283
+
284
+
285
+ <span class="param-type">boolean</span>
286
+
287
+
288
+
289
+
290
+ </td>
291
+
292
+
293
+
294
+
295
+
296
+ <td class="description last">Flag to include instrumentless Soundslice assignments.</td>
297
+ </tr>
298
+
299
+
300
+
301
+ <tr>
302
+
303
+ <td class="name"><code>import_high_routine</code></td>
304
+
305
+
306
+ <td class="type">
307
+
308
+
309
+ <span class="param-type">boolean</span>
310
+
311
+
312
+
313
+
314
+ </td>
315
+
316
+
317
+
318
+
319
+
320
+ <td class="description last">Flag to include high routine content.</td>
321
+ </tr>
322
+
323
+
324
+
325
+ <tr>
326
+
327
+ <td class="name"><code>import_low_routine</code></td>
328
+
329
+
330
+ <td class="type">
331
+
332
+
333
+ <span class="param-type">boolean</span>
334
+
335
+
336
+
337
+
338
+ </td>
339
+
340
+
341
+
342
+
343
+
344
+ <td class="description last">Flag to include low routine content.</td>
345
+ </tr>
346
+
347
+
348
+
349
+ <tr>
350
+
351
+ <td class="name"><code>import_all_assignments</code></td>
352
+
353
+
354
+ <td class="type">
355
+
356
+
357
+ <span class="param-type">boolean</span>
358
+
359
+
360
+
361
+
362
+ </td>
363
+
364
+
365
+
366
+
367
+
368
+ <td class="description last">Flag to include all Soundslice assignments if true.</td>
369
+ </tr>
370
+
371
+
372
+ </tbody>
373
+ </table>
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
132
389
  <h4 class="name" id="AuthResponse">AuthResponse</h4>
133
390
 
134
391
 
@@ -865,6 +1122,601 @@
865
1122
 
866
1123
 
867
1124
 
1125
+ <h4 class="name" id="CreatePlaylistDTO">CreatePlaylistDTO</h4>
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+ <dl class="details">
1132
+
1133
+
1134
+
1135
+ <dt class="tag-source">Source:</dt>
1136
+ <dd class="tag-source"><ul class="dummy"><li>
1137
+ <a href="content-org_playlists-types.js.html">content-org/playlists-types.js</a>, <a href="content-org_playlists-types.js.html#line3">line 3</a>
1138
+ </li></ul></dd>
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+
1169
+
1170
+ </dl>
1171
+
1172
+
1173
+
1174
+ <h5 class="subsection-title">Properties:</h5>
1175
+
1176
+
1177
+
1178
+ <table class="props">
1179
+ <thead>
1180
+ <tr>
1181
+
1182
+ <th>Name</th>
1183
+
1184
+
1185
+ <th>Type</th>
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+ <th class="last">Description</th>
1192
+ </tr>
1193
+ </thead>
1194
+
1195
+ <tbody>
1196
+
1197
+
1198
+ <tr>
1199
+
1200
+ <td class="name"><code>name</code></td>
1201
+
1202
+
1203
+ <td class="type">
1204
+
1205
+
1206
+ <span class="param-type">string</span>
1207
+
1208
+
1209
+
1210
+
1211
+ </td>
1212
+
1213
+
1214
+
1215
+
1216
+
1217
+ <td class="description last">The name of the new playlist. (required, max 255 characters)</td>
1218
+ </tr>
1219
+
1220
+
1221
+
1222
+ <tr>
1223
+
1224
+ <td class="name"><code>description</code></td>
1225
+
1226
+
1227
+ <td class="type">
1228
+
1229
+
1230
+ <span class="param-type">string</span>
1231
+
1232
+
1233
+
1234
+
1235
+ </td>
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+ <td class="description last">A description of the playlist. (optional, max 1000 characters)</td>
1242
+ </tr>
1243
+
1244
+
1245
+
1246
+ <tr>
1247
+
1248
+ <td class="name"><code>category</code></td>
1249
+
1250
+
1251
+ <td class="type">
1252
+
1253
+
1254
+ <span class="param-type">string</span>
1255
+
1256
+
1257
+
1258
+
1259
+ </td>
1260
+
1261
+
1262
+
1263
+
1264
+
1265
+ <td class="description last">The category of the playlist.</td>
1266
+ </tr>
1267
+
1268
+
1269
+
1270
+ <tr>
1271
+
1272
+ <td class="name"><code>thumbnail_url</code></td>
1273
+
1274
+
1275
+ <td class="type">
1276
+
1277
+
1278
+ <span class="param-type">string</span>
1279
+
1280
+
1281
+
1282
+
1283
+ </td>
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+ <td class="description last">The URL of the playlist thumbnail. (optional, must be a valid URL)</td>
1290
+ </tr>
1291
+
1292
+
1293
+
1294
+ <tr>
1295
+
1296
+ <td class="name"><code>private</code></td>
1297
+
1298
+
1299
+ <td class="type">
1300
+
1301
+
1302
+ <span class="param-type">boolean</span>
1303
+
1304
+
1305
+
1306
+
1307
+ </td>
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+ <td class="description last">Whether the playlist is private. (optional, defaults to true)</td>
1314
+ </tr>
1315
+
1316
+
1317
+
1318
+ <tr>
1319
+
1320
+ <td class="name"><code>brand</code></td>
1321
+
1322
+
1323
+ <td class="type">
1324
+
1325
+
1326
+ <span class="param-type">string</span>
1327
+
1328
+
1329
+
1330
+
1331
+ </td>
1332
+
1333
+
1334
+
1335
+
1336
+
1337
+ <td class="description last">Brand identifier for the playlist.</td>
1338
+ </tr>
1339
+
1340
+
1341
+ </tbody>
1342
+ </table>
1343
+
1344
+
1345
+
1346
+
1347
+
1348
+
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+ <h4 class="name" id="Playlist">Playlist</h4>
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+ <dl class="details">
1365
+
1366
+
1367
+
1368
+ <dt class="tag-source">Source:</dt>
1369
+ <dd class="tag-source"><ul class="dummy"><li>
1370
+ <a href="content-org_playlists-types.js.html">content-org/playlists-types.js</a>, <a href="content-org_playlists-types.js.html#line13">line 13</a>
1371
+ </li></ul></dd>
1372
+
1373
+
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+ </dl>
1404
+
1405
+
1406
+
1407
+ <h5 class="subsection-title">Properties:</h5>
1408
+
1409
+
1410
+
1411
+ <table class="props">
1412
+ <thead>
1413
+ <tr>
1414
+
1415
+ <th>Name</th>
1416
+
1417
+
1418
+ <th>Type</th>
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+ <th class="last">Description</th>
1425
+ </tr>
1426
+ </thead>
1427
+
1428
+ <tbody>
1429
+
1430
+
1431
+ <tr>
1432
+
1433
+ <td class="name"><code>id</code></td>
1434
+
1435
+
1436
+ <td class="type">
1437
+
1438
+
1439
+ <span class="param-type">number</span>
1440
+
1441
+
1442
+
1443
+
1444
+ </td>
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+ <td class="description last"></td>
1451
+ </tr>
1452
+
1453
+
1454
+
1455
+ <tr>
1456
+
1457
+ <td class="name"><code>brand</code></td>
1458
+
1459
+
1460
+ <td class="type">
1461
+
1462
+
1463
+ <span class="param-type">string</span>
1464
+
1465
+
1466
+
1467
+
1468
+ </td>
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+ <td class="description last"></td>
1475
+ </tr>
1476
+
1477
+
1478
+
1479
+ <tr>
1480
+
1481
+ <td class="name"><code>name</code></td>
1482
+
1483
+
1484
+ <td class="type">
1485
+
1486
+
1487
+ <span class="param-type">string</span>
1488
+
1489
+
1490
+
1491
+
1492
+ </td>
1493
+
1494
+
1495
+
1496
+
1497
+
1498
+ <td class="description last"></td>
1499
+ </tr>
1500
+
1501
+
1502
+
1503
+ <tr>
1504
+
1505
+ <td class="name"><code>description</code></td>
1506
+
1507
+
1508
+ <td class="type">
1509
+
1510
+
1511
+ <span class="param-type">string</span>
1512
+
1513
+
1514
+
1515
+
1516
+ </td>
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+ <td class="description last"></td>
1523
+ </tr>
1524
+
1525
+
1526
+
1527
+ <tr>
1528
+
1529
+ <td class="name"><code>thumbnail_url</code></td>
1530
+
1531
+
1532
+ <td class="type">
1533
+
1534
+
1535
+ <span class="param-type">string</span>
1536
+ |
1537
+
1538
+ <span class="param-type">null</span>
1539
+
1540
+
1541
+
1542
+
1543
+ </td>
1544
+
1545
+
1546
+
1547
+
1548
+
1549
+ <td class="description last"></td>
1550
+ </tr>
1551
+
1552
+
1553
+
1554
+ <tr>
1555
+
1556
+ <td class="name"><code>duration_formated</code></td>
1557
+
1558
+
1559
+ <td class="type">
1560
+
1561
+
1562
+ <span class="param-type">string</span>
1563
+
1564
+
1565
+
1566
+
1567
+ </td>
1568
+
1569
+
1570
+
1571
+
1572
+
1573
+ <td class="description last"></td>
1574
+ </tr>
1575
+
1576
+
1577
+
1578
+ <tr>
1579
+
1580
+ <td class="name"><code>first_4_items_thumbnail_url</code></td>
1581
+
1582
+
1583
+ <td class="type">
1584
+
1585
+
1586
+ <span class="param-type">Array.&lt;string></span>
1587
+
1588
+
1589
+
1590
+
1591
+ </td>
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+ <td class="description last"></td>
1598
+ </tr>
1599
+
1600
+
1601
+
1602
+ <tr>
1603
+
1604
+ <td class="name"><code>url</code></td>
1605
+
1606
+
1607
+ <td class="type">
1608
+
1609
+
1610
+ <span class="param-type">string</span>
1611
+ |
1612
+
1613
+ <span class="param-type">null</span>
1614
+
1615
+
1616
+
1617
+
1618
+ </td>
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+ <td class="description last"></td>
1625
+ </tr>
1626
+
1627
+
1628
+
1629
+ <tr>
1630
+
1631
+ <td class="name"><code>playback_url</code></td>
1632
+
1633
+
1634
+ <td class="type">
1635
+
1636
+
1637
+ <span class="param-type">string</span>
1638
+ |
1639
+
1640
+ <span class="param-type">null</span>
1641
+
1642
+
1643
+
1644
+
1645
+ </td>
1646
+
1647
+
1648
+
1649
+
1650
+
1651
+ <td class="description last"></td>
1652
+ </tr>
1653
+
1654
+
1655
+
1656
+ <tr>
1657
+
1658
+ <td class="name"><code>total_items</code></td>
1659
+
1660
+
1661
+ <td class="type">
1662
+
1663
+
1664
+ <span class="param-type">number</span>
1665
+
1666
+
1667
+
1668
+
1669
+ </td>
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+ <td class="description last"></td>
1676
+ </tr>
1677
+
1678
+
1679
+
1680
+ <tr>
1681
+
1682
+ <td class="name"><code>user</code></td>
1683
+
1684
+
1685
+ <td class="type">
1686
+
1687
+
1688
+ <span class="param-type"><a href="global.html#User">User</a></span>
1689
+
1690
+
1691
+
1692
+
1693
+ </td>
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+ <td class="description last"></td>
1700
+ </tr>
1701
+
1702
+
1703
+ </tbody>
1704
+ </table>
1705
+
1706
+
1707
+
1708
+
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+
1717
+
1718
+
1719
+
868
1720
  <h4 class="name" id="User">User</h4>
869
1721
 
870
1722
 
@@ -3013,7 +3865,7 @@
3013
3865
  <br class="clear">
3014
3866
 
3015
3867
  <footer>
3016
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Mar 13 2025 09:07:06 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3868
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Mar 20 2025 22:08:57 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
3017
3869
  </footer>
3018
3870
 
3019
3871
  <script>prettyPrint();</script>