musora-content-services 1.4.13 → 1.6.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.
- package/CHANGELOG.md +14 -0
- package/docs/algolia.js.html +137 -0
- package/docs/config.js.html +29 -5
- package/docs/index.html +2 -2
- package/docs/module-Config.html +108 -7
- package/docs/module-Railcontent-Services.html +551 -31
- package/docs/module-Sanity-Services.html +1999 -73
- package/docs/module-Search-Engine-Services.html +354 -0
- package/docs/railcontent.js.html +41 -4
- package/docs/sanity.js.html +265 -82
- package/jsdoc.json +1 -0
- package/package.json +4 -2
- package/src/index.d.ts +5 -0
- package/src/index.js +5 -0
- package/src/services/algolia.js +64 -0
- package/src/services/config.js +5 -1
- package/src/services/imageSRCVerify.js +0 -0
- package/src/services/sanity.js +4 -1
|
@@ -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-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#.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#.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></ul>
|
|
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-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#.fetchRelatedTutorials">fetchRelatedTutorials</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#~buildQueryForFetch">buildQueryForFetch</a></li><li data-type='method'><a href="module-Sanity-Services.html#~buildRelatedLessonsQuery">buildRelatedLessonsQuery</a></li><li data-type='method'><a href="module-Sanity-Services.html#~buildSubQueryForFetch">buildSubQueryForFetch</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchParentContentGenres">fetchParentContentGenres</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchParentData">fetchParentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchRelatedLessonsSectionData">fetchRelatedLessonsSectionData</a></li><li data-type='method'><a href="module-Sanity-Services.html#~formatForResponse">formatForResponse</a></li><li data-type='method'><a href="module-Sanity-Services.html#~formatGenresToString">formatGenresToString</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getCurrentContentDataForQuery">getCurrentContentDataForQuery</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#~groupCurrentContentData">groupCurrentContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#~handleCustomFetchAll">handleCustomFetchAll</a></li></ul></li><li><a href="module-Search-Engine-Services.html">Search-Engine-Services</a><ul class='methods'><li data-type='method'><a href="module-Search-Engine-Services.html#.sendAlgoliaClickEvent">sendAlgoliaClickEvent</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
|
|
183
183
|
<dt class="tag-source">Source:</dt>
|
|
184
184
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
185
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
185
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1041">line 1041</a>
|
|
186
186
|
</li></ul></dd>
|
|
187
187
|
|
|
188
188
|
|
|
@@ -699,7 +699,7 @@ Resolves to `null` if the request fails.
|
|
|
699
699
|
|
|
700
700
|
<dt class="tag-source">Source:</dt>
|
|
701
701
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
702
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
702
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1071">line 1071</a>
|
|
703
703
|
</li></ul></dd>
|
|
704
704
|
|
|
705
705
|
|
|
@@ -880,7 +880,7 @@ the new playlist with the authenticated user. The `name` field is required, whil
|
|
|
880
880
|
|
|
881
881
|
<dt class="tag-source">Source:</dt>
|
|
882
882
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
883
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
883
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line775">line 775</a>
|
|
884
884
|
</li></ul></dd>
|
|
885
885
|
|
|
886
886
|
|
|
@@ -1058,7 +1058,7 @@ If the user is authorized, it deletes both the playlist and its associated items
|
|
|
1058
1058
|
|
|
1059
1059
|
<dt class="tag-source">Source:</dt>
|
|
1060
1060
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1061
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
1061
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line710">line 710</a>
|
|
1062
1062
|
</li></ul></dd>
|
|
1063
1063
|
|
|
1064
1064
|
|
|
@@ -1234,7 +1234,7 @@ If the user is unauthorized or the playlist does not exist, the promise rejects
|
|
|
1234
1234
|
|
|
1235
1235
|
<dt class="tag-source">Source:</dt>
|
|
1236
1236
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1237
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
1237
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line953">line 953</a>
|
|
1238
1238
|
</li></ul></dd>
|
|
1239
1239
|
|
|
1240
1240
|
|
|
@@ -1499,7 +1499,7 @@ and checks if a like by the authenticated user already exists for the specified
|
|
|
1499
1499
|
|
|
1500
1500
|
<dt class="tag-source">Source:</dt>
|
|
1501
1501
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1502
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
1502
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line835">line 835</a>
|
|
1503
1503
|
</li></ul></dd>
|
|
1504
1504
|
|
|
1505
1505
|
|
|
@@ -1677,7 +1677,7 @@ to customize the duplicated playlist. If a new name is not provided, the server
|
|
|
1677
1677
|
|
|
1678
1678
|
<dt class="tag-source">Source:</dt>
|
|
1679
1679
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1680
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
1680
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line682">line 682</a>
|
|
1681
1681
|
</li></ul></dd>
|
|
1682
1682
|
|
|
1683
1683
|
|
|
@@ -2868,6 +2868,368 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2868
2868
|
|
|
2869
2869
|
|
|
2870
2870
|
|
|
2871
|
+
<h4 class="name" id=".fetchCommentRelies"><span class="type-signature type-signature-static">(static) </span>fetchCommentRelies<span class="signature">(commentId, page, limit)</span><span class="type-signature"> → {Promise.<(*|null)>}</span></h4>
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
<dl class="details">
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
<dt class="tag-source">Source:</dt>
|
|
2883
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2884
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1233">line 1233</a>
|
|
2885
|
+
</li></ul></dd>
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
</dl>
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
<table class="params">
|
|
2935
|
+
<thead>
|
|
2936
|
+
<tr>
|
|
2937
|
+
|
|
2938
|
+
<th>Name</th>
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
<th>Type</th>
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
<th class="last">Description</th>
|
|
2948
|
+
</tr>
|
|
2949
|
+
</thead>
|
|
2950
|
+
|
|
2951
|
+
<tbody>
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
<tr>
|
|
2955
|
+
|
|
2956
|
+
<td class="name"><code>commentId</code></td>
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
<td class="type">
|
|
2960
|
+
|
|
2961
|
+
</td>
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
<td class="description last"></td>
|
|
2968
|
+
</tr>
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
<tr>
|
|
2973
|
+
|
|
2974
|
+
<td class="name"><code>page</code></td>
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
<td class="type">
|
|
2978
|
+
|
|
2979
|
+
</td>
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
<td class="description last"></td>
|
|
2986
|
+
</tr>
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
<tr>
|
|
2991
|
+
|
|
2992
|
+
<td class="name"><code>limit</code></td>
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
<td class="type">
|
|
2996
|
+
|
|
2997
|
+
</td>
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
<td class="description last"></td>
|
|
3004
|
+
</tr>
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
</tbody>
|
|
3008
|
+
</table>
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3026
|
+
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
<dl class="param-type">
|
|
3031
|
+
<dt>
|
|
3032
|
+
Type
|
|
3033
|
+
</dt>
|
|
3034
|
+
<dd>
|
|
3035
|
+
|
|
3036
|
+
<span class="param-type">Promise.<(*|null)></span>
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
</dd>
|
|
3041
|
+
</dl>
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
<h4 class="name" id=".fetchComments"><span class="type-signature type-signature-static">(static) </span>fetchComments<span class="signature">(railcontentId, page, limit)</span><span class="type-signature"> → {Promise.<(*|null)>}</span></h4>
|
|
3053
|
+
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
|
|
3059
|
+
<dl class="details">
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
<dt class="tag-source">Source:</dt>
|
|
3064
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
3065
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1221">line 1221</a>
|
|
3066
|
+
</li></ul></dd>
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
</dl>
|
|
3099
|
+
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
|
|
3110
|
+
|
|
3111
|
+
|
|
3112
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
<table class="params">
|
|
3116
|
+
<thead>
|
|
3117
|
+
<tr>
|
|
3118
|
+
|
|
3119
|
+
<th>Name</th>
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
<th>Type</th>
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
|
|
3128
|
+
<th class="last">Description</th>
|
|
3129
|
+
</tr>
|
|
3130
|
+
</thead>
|
|
3131
|
+
|
|
3132
|
+
<tbody>
|
|
3133
|
+
|
|
3134
|
+
|
|
3135
|
+
<tr>
|
|
3136
|
+
|
|
3137
|
+
<td class="name"><code>railcontentId</code></td>
|
|
3138
|
+
|
|
3139
|
+
|
|
3140
|
+
<td class="type">
|
|
3141
|
+
|
|
3142
|
+
</td>
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
|
|
3148
|
+
<td class="description last"></td>
|
|
3149
|
+
</tr>
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
<tr>
|
|
3154
|
+
|
|
3155
|
+
<td class="name"><code>page</code></td>
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
<td class="type">
|
|
3159
|
+
|
|
3160
|
+
</td>
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
<td class="description last"></td>
|
|
3167
|
+
</tr>
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
<tr>
|
|
3172
|
+
|
|
3173
|
+
<td class="name"><code>limit</code></td>
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
<td class="type">
|
|
3177
|
+
|
|
3178
|
+
</td>
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
<td class="description last"></td>
|
|
3185
|
+
</tr>
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
</tbody>
|
|
3189
|
+
</table>
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
|
|
3206
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
<dl class="param-type">
|
|
3212
|
+
<dt>
|
|
3213
|
+
Type
|
|
3214
|
+
</dt>
|
|
3215
|
+
<dd>
|
|
3216
|
+
|
|
3217
|
+
<span class="param-type">Promise.<(*|null)></span>
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
</dd>
|
|
3222
|
+
</dl>
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
|
|
2871
3233
|
<h4 class="name" id=".fetchCompletedChallenges"><span class="type-signature type-signature-static">(static) </span>fetchCompletedChallenges<span class="signature">(brand, page, limit)</span><span class="type-signature"> → {Promise.<(any|null)>}</span></h4>
|
|
2872
3234
|
|
|
2873
3235
|
|
|
@@ -4376,7 +4738,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
4376
4738
|
|
|
4377
4739
|
<dt class="tag-source">Source:</dt>
|
|
4378
4740
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4379
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4741
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1167">line 1167</a>
|
|
4380
4742
|
</li></ul></dd>
|
|
4381
4743
|
|
|
4382
4744
|
|
|
@@ -4589,7 +4951,7 @@ The server validates the user's access to the playlist and returns playlist deta
|
|
|
4589
4951
|
|
|
4590
4952
|
<dt class="tag-source">Source:</dt>
|
|
4591
4953
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4592
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4954
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line857">line 857</a>
|
|
4593
4955
|
</li></ul></dd>
|
|
4594
4956
|
|
|
4595
4957
|
|
|
@@ -4758,7 +5120,7 @@ The server validates the user's access to the playlist and returns playlist deta
|
|
|
4758
5120
|
|
|
4759
5121
|
<dt class="tag-source">Source:</dt>
|
|
4760
5122
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4761
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5123
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line985">line 985</a>
|
|
4762
5124
|
</li></ul></dd>
|
|
4763
5125
|
|
|
4764
5126
|
|
|
@@ -5020,7 +5382,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5020
5382
|
|
|
5021
5383
|
<dt class="tag-source">Source:</dt>
|
|
5022
5384
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5023
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5385
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line877">line 877</a>
|
|
5024
5386
|
</li></ul></dd>
|
|
5025
5387
|
|
|
5026
5388
|
|
|
@@ -5337,6 +5699,164 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5337
5699
|
|
|
5338
5700
|
|
|
5339
5701
|
|
|
5702
|
+
<h4 class="name" id=".fetchTopComment"><span class="type-signature type-signature-static">(static) </span>fetchTopComment<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
5703
|
+
|
|
5704
|
+
|
|
5705
|
+
|
|
5706
|
+
|
|
5707
|
+
|
|
5708
|
+
|
|
5709
|
+
<dl class="details">
|
|
5710
|
+
|
|
5711
|
+
<dt class="tag-description">Description:</dt>
|
|
5712
|
+
<dd class="tag-description"><ul class="dummy"><li>Fetch the top comment for a given content</li></ul></dd>
|
|
5713
|
+
|
|
5714
|
+
|
|
5715
|
+
|
|
5716
|
+
<dt class="tag-source">Source:</dt>
|
|
5717
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
5718
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1209">line 1209</a>
|
|
5719
|
+
</li></ul></dd>
|
|
5720
|
+
|
|
5721
|
+
|
|
5722
|
+
|
|
5723
|
+
|
|
5724
|
+
|
|
5725
|
+
|
|
5726
|
+
|
|
5727
|
+
|
|
5728
|
+
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
|
|
5732
|
+
|
|
5733
|
+
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
|
|
5737
|
+
|
|
5738
|
+
|
|
5739
|
+
|
|
5740
|
+
|
|
5741
|
+
|
|
5742
|
+
|
|
5743
|
+
|
|
5744
|
+
|
|
5745
|
+
|
|
5746
|
+
|
|
5747
|
+
|
|
5748
|
+
|
|
5749
|
+
|
|
5750
|
+
|
|
5751
|
+
</dl>
|
|
5752
|
+
|
|
5753
|
+
|
|
5754
|
+
|
|
5755
|
+
|
|
5756
|
+
|
|
5757
|
+
|
|
5758
|
+
|
|
5759
|
+
|
|
5760
|
+
|
|
5761
|
+
|
|
5762
|
+
|
|
5763
|
+
|
|
5764
|
+
|
|
5765
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
5766
|
+
|
|
5767
|
+
|
|
5768
|
+
<table class="params">
|
|
5769
|
+
<thead>
|
|
5770
|
+
<tr>
|
|
5771
|
+
|
|
5772
|
+
<th>Name</th>
|
|
5773
|
+
|
|
5774
|
+
|
|
5775
|
+
<th>Type</th>
|
|
5776
|
+
|
|
5777
|
+
|
|
5778
|
+
|
|
5779
|
+
|
|
5780
|
+
|
|
5781
|
+
<th class="last">Description</th>
|
|
5782
|
+
</tr>
|
|
5783
|
+
</thead>
|
|
5784
|
+
|
|
5785
|
+
<tbody>
|
|
5786
|
+
|
|
5787
|
+
|
|
5788
|
+
<tr>
|
|
5789
|
+
|
|
5790
|
+
<td class="name"><code>railcontentId</code></td>
|
|
5791
|
+
|
|
5792
|
+
|
|
5793
|
+
<td class="type">
|
|
5794
|
+
|
|
5795
|
+
|
|
5796
|
+
<span class="param-type">int</span>
|
|
5797
|
+
|
|
5798
|
+
|
|
5799
|
+
|
|
5800
|
+
|
|
5801
|
+
</td>
|
|
5802
|
+
|
|
5803
|
+
|
|
5804
|
+
|
|
5805
|
+
|
|
5806
|
+
|
|
5807
|
+
<td class="description last">The railcontent id to fetch.</td>
|
|
5808
|
+
</tr>
|
|
5809
|
+
|
|
5810
|
+
|
|
5811
|
+
</tbody>
|
|
5812
|
+
</table>
|
|
5813
|
+
|
|
5814
|
+
|
|
5815
|
+
|
|
5816
|
+
|
|
5817
|
+
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
|
|
5824
|
+
|
|
5825
|
+
|
|
5826
|
+
|
|
5827
|
+
|
|
5828
|
+
|
|
5829
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
5830
|
+
|
|
5831
|
+
|
|
5832
|
+
<div class="param-desc">
|
|
5833
|
+
- A promise that resolves to an comment object
|
|
5834
|
+
</div>
|
|
5835
|
+
|
|
5836
|
+
|
|
5837
|
+
|
|
5838
|
+
<dl class="param-type">
|
|
5839
|
+
<dt>
|
|
5840
|
+
Type
|
|
5841
|
+
</dt>
|
|
5842
|
+
<dd>
|
|
5843
|
+
|
|
5844
|
+
<span class="param-type">Promise.<(Object|null)></span>
|
|
5845
|
+
|
|
5846
|
+
|
|
5847
|
+
|
|
5848
|
+
</dd>
|
|
5849
|
+
</dl>
|
|
5850
|
+
|
|
5851
|
+
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
|
|
5855
|
+
|
|
5856
|
+
|
|
5857
|
+
|
|
5858
|
+
|
|
5859
|
+
|
|
5340
5860
|
<h4 class="name" id=".fetchUserAward"><span class="type-signature type-signature-static">(static) </span>fetchUserAward<span class="signature">(contentId)</span><span class="type-signature"> → {Promise.<(any|null)>}</span></h4>
|
|
5341
5861
|
|
|
5342
5862
|
|
|
@@ -5505,7 +6025,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5505
6025
|
|
|
5506
6026
|
<dt class="tag-source">Source:</dt>
|
|
5507
6027
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5508
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6028
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line508">line 508</a>
|
|
5509
6029
|
</li></ul></dd>
|
|
5510
6030
|
|
|
5511
6031
|
|
|
@@ -5812,7 +6332,7 @@ Allows optional pagination, sorting, and search parameters to control the result
|
|
|
5812
6332
|
|
|
5813
6333
|
<dt class="tag-source">Source:</dt>
|
|
5814
6334
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5815
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6335
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line638">line 638</a>
|
|
5816
6336
|
</li></ul></dd>
|
|
5817
6337
|
|
|
5818
6338
|
|
|
@@ -6195,7 +6715,7 @@ if the authenticated user has already liked the playlist. If not, it creates a n
|
|
|
6195
6715
|
|
|
6196
6716
|
<dt class="tag-source">Source:</dt>
|
|
6197
6717
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6198
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6718
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line808">line 808</a>
|
|
6199
6719
|
</li></ul></dd>
|
|
6200
6720
|
|
|
6201
6721
|
|
|
@@ -6376,7 +6896,7 @@ The `like` object in the response includes:
|
|
|
6376
6896
|
|
|
6377
6897
|
<dt class="tag-source">Source:</dt>
|
|
6378
6898
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6379
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6899
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1103">line 1103</a>
|
|
6380
6900
|
</li></ul></dd>
|
|
6381
6901
|
|
|
6382
6902
|
|
|
@@ -6586,7 +7106,7 @@ Resolves to an error message if the request fails.
|
|
|
6586
7106
|
|
|
6587
7107
|
<dt class="tag-source">Source:</dt>
|
|
6588
7108
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6589
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7109
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line580">line 580</a>
|
|
6590
7110
|
</li></ul></dd>
|
|
6591
7111
|
|
|
6592
7112
|
|
|
@@ -6743,7 +7263,7 @@ Resolves to an error message if the request fails.
|
|
|
6743
7263
|
|
|
6744
7264
|
<dt class="tag-source">Source:</dt>
|
|
6745
7265
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6746
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7266
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line602">line 602</a>
|
|
6747
7267
|
</li></ul></dd>
|
|
6748
7268
|
|
|
6749
7269
|
|
|
@@ -6905,7 +7425,7 @@ Resolves to an error message if the request fails.
|
|
|
6905
7425
|
|
|
6906
7426
|
<dt class="tag-source">Source:</dt>
|
|
6907
7427
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6908
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7428
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line546">line 546</a>
|
|
6909
7429
|
</li></ul></dd>
|
|
6910
7430
|
|
|
6911
7431
|
|
|
@@ -7062,7 +7582,7 @@ Resolves to an error message if the request fails.
|
|
|
7062
7582
|
|
|
7063
7583
|
<dt class="tag-source">Source:</dt>
|
|
7064
7584
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7065
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7585
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line569">line 569</a>
|
|
7066
7586
|
</li></ul></dd>
|
|
7067
7587
|
|
|
7068
7588
|
|
|
@@ -7219,7 +7739,7 @@ Resolves to an error message if the request fails.
|
|
|
7219
7739
|
|
|
7220
7740
|
<dt class="tag-source">Source:</dt>
|
|
7221
7741
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7222
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7742
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line614">line 614</a>
|
|
7223
7743
|
</li></ul></dd>
|
|
7224
7744
|
|
|
7225
7745
|
|
|
@@ -7377,7 +7897,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7377
7897
|
|
|
7378
7898
|
<dt class="tag-source">Source:</dt>
|
|
7379
7899
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7380
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7900
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line558">line 558</a>
|
|
7381
7901
|
</li></ul></dd>
|
|
7382
7902
|
|
|
7383
7903
|
|
|
@@ -7535,7 +8055,7 @@ Clears any existing progress data for this challenge</li></ul></dd>
|
|
|
7535
8055
|
|
|
7536
8056
|
<dt class="tag-source">Source:</dt>
|
|
7537
8057
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7538
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8058
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line522">line 522</a>
|
|
7539
8059
|
</li></ul></dd>
|
|
7540
8060
|
|
|
7541
8061
|
|
|
@@ -7716,7 +8236,7 @@ Clears any existing progress data for this challenge</li></ul></dd>
|
|
|
7716
8236
|
|
|
7717
8237
|
<dt class="tag-source">Source:</dt>
|
|
7718
8238
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7719
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8239
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line591">line 591</a>
|
|
7720
8240
|
</li></ul></dd>
|
|
7721
8241
|
|
|
7722
8242
|
|
|
@@ -7874,7 +8394,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7874
8394
|
|
|
7875
8395
|
<dt class="tag-source">Source:</dt>
|
|
7876
8396
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7877
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8397
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line534">line 534</a>
|
|
7878
8398
|
</li></ul></dd>
|
|
7879
8399
|
|
|
7880
8400
|
|
|
@@ -8031,7 +8551,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
8031
8551
|
|
|
8032
8552
|
<dt class="tag-source">Source:</dt>
|
|
8033
8553
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8034
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8554
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1179">line 1179</a>
|
|
8035
8555
|
</li></ul></dd>
|
|
8036
8556
|
|
|
8037
8557
|
|
|
@@ -8197,7 +8717,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
8197
8717
|
|
|
8198
8718
|
<dt class="tag-source">Source:</dt>
|
|
8199
8719
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8200
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8720
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1197">line 1197</a>
|
|
8201
8721
|
</li></ul></dd>
|
|
8202
8722
|
|
|
8203
8723
|
|
|
@@ -8378,7 +8898,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
8378
8898
|
|
|
8379
8899
|
<dt class="tag-source">Source:</dt>
|
|
8380
8900
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8381
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8901
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1135">line 1135</a>
|
|
8382
8902
|
</li></ul></dd>
|
|
8383
8903
|
|
|
8384
8904
|
|
|
@@ -8591,7 +9111,7 @@ and verifies that the authenticated user is the playlist owner. If authorized, i
|
|
|
8591
9111
|
|
|
8592
9112
|
<dt class="tag-source">Source:</dt>
|
|
8593
9113
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8594
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
9114
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line745">line 745</a>
|
|
8595
9115
|
</li></ul></dd>
|
|
8596
9116
|
|
|
8597
9117
|
|
|
@@ -8797,7 +9317,7 @@ If the user is unauthorized or the data validation fails, the promise rejects wi
|
|
|
8797
9317
|
|
|
8798
9318
|
<dt class="tag-source">Source:</dt>
|
|
8799
9319
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8800
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
9320
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line918">line 918</a>
|
|
8801
9321
|
</li></ul></dd>
|
|
8802
9322
|
|
|
8803
9323
|
|
|
@@ -9205,7 +9725,7 @@ Resolves to `null` if the request fails.
|
|
|
9205
9725
|
<br class="clear">
|
|
9206
9726
|
|
|
9207
9727
|
<footer>
|
|
9208
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
9728
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jun 02 2025 15:37:28 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
9209
9729
|
</footer>
|
|
9210
9730
|
|
|
9211
9731
|
<script>prettyPrint();</script>
|