musora-content-services 1.2.3 → 1.2.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.
- package/CHANGELOG.md +4 -0
- package/README.md +0 -0
- package/babel.config.cjs +0 -0
- package/docs/config.js.html +8 -11
- package/docs/index.html +2 -2
- package/docs/module-Config.html +29 -5
- package/docs/module-Railcontent-Services.html +376 -38
- package/docs/module-Sanity-Services.html +1132 -3781
- package/docs/railcontent.js.html +54 -9
- package/docs/sanity.js.html +172 -343
- package/jest.config.js +0 -0
- package/package.json +1 -1
- package/src/contentMetaData.js +1 -0
- package/src/contentTypeConfig.js +18 -6
- package/src/filterBuilder.js +0 -0
- package/src/index.d.ts +0 -28
- package/src/index.js +0 -28
- package/src/services/config.js +0 -0
- package/src/services/contentLikes.js +0 -0
- package/src/services/contentProgress.js +1 -1
- package/src/services/dataContext.js +0 -0
- package/src/services/lastUpdated.js +0 -0
- package/src/services/railcontent.js +0 -0
- package/src/services/sanity.js +1 -286
- package/src/services/userPermissions.js +0 -0
- package/test/contentLikes.test.js +0 -0
- package/test/initializeTests.js +0 -0
- package/test/lastUpdated.test.js +0 -0
- package/test/live/contentProgressLive.test.js +0 -0
- package/test/live/railcontentLive.test.js +0 -0
- package/test/localStorageMock.js +0 -0
- package/test/log.js +0 -0
- package/test/sanityQueryService.test.js +0 -99
- package/test/userPermissions.test.js +0 -0
- package/.yarnrc.yml +0 -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#.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#.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#.fetchAllSongs">fetchAllSongs</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#.fetchAssignments">fetchAssignments</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#.fetchCatalogMetadata">fetchCatalogMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchChallengeOverview">fetchChallengeOverview</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchChildren">fetchChildren</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#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCourseOverview">fetchCourseOverview</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#.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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.fetchMethods">fetchMethods</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#.fetchPackChildren">fetchPackChildren</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#.fetchParentByRailContentId">fetchParentByRailContentId</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#.fetchRelatedMethodLessons">fetchRelatedMethodLessons</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#.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#.fetchSongCount">fetchSongCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongFilterOptions">fetchSongFilterOptions</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#.fetchWorkouts">fetchWorkouts</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#~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#.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#.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#.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#.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#~handleCustomFetchAll">handleCustomFetchAll</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#line1035">line 1035</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#line1065">line 1065</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#line769">line 769</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#line704">line 704</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#line947">line 947</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#line829">line 829</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#line676">line 676</a>
|
|
1681
1681
|
</li></ul></dd>
|
|
1682
1682
|
|
|
1683
1683
|
|
|
@@ -2225,7 +2225,7 @@ The duplicated playlist contains:
|
|
|
2225
2225
|
|
|
2226
2226
|
<dt class="tag-source">Source:</dt>
|
|
2227
2227
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2228
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2228
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line492">line 492</a>
|
|
2229
2229
|
</li></ul></dd>
|
|
2230
2230
|
|
|
2231
2231
|
|
|
@@ -2330,7 +2330,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2330
2330
|
|
|
2331
2331
|
<dt class="tag-source">Source:</dt>
|
|
2332
2332
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2333
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2333
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line455">line 455</a>
|
|
2334
2334
|
</li></ul></dd>
|
|
2335
2335
|
|
|
2336
2336
|
|
|
@@ -2484,7 +2484,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2484
2484
|
|
|
2485
2485
|
<dt class="tag-source">Source:</dt>
|
|
2486
2486
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2487
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2487
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line391">line 391</a>
|
|
2488
2488
|
</li></ul></dd>
|
|
2489
2489
|
|
|
2490
2490
|
|
|
@@ -2632,7 +2632,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2632
2632
|
|
|
2633
2633
|
<dt class="tag-source">Source:</dt>
|
|
2634
2634
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2635
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2635
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line380">line 380</a>
|
|
2636
2636
|
</li></ul></dd>
|
|
2637
2637
|
|
|
2638
2638
|
|
|
@@ -2780,7 +2780,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2780
2780
|
|
|
2781
2781
|
<dt class="tag-source">Source:</dt>
|
|
2782
2782
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2783
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2783
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line481">line 481</a>
|
|
2784
2784
|
</li></ul></dd>
|
|
2785
2785
|
|
|
2786
2786
|
|
|
@@ -2884,7 +2884,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
2884
2884
|
|
|
2885
2885
|
<dt class="tag-source">Source:</dt>
|
|
2886
2886
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2887
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
2887
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line418">line 418</a>
|
|
2888
2888
|
</li></ul></dd>
|
|
2889
2889
|
|
|
2890
2890
|
|
|
@@ -4171,7 +4171,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
4171
4171
|
|
|
4172
4172
|
<dt class="tag-source">Source:</dt>
|
|
4173
4173
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4174
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4174
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line404">line 404</a>
|
|
4175
4175
|
</li></ul></dd>
|
|
4176
4176
|
|
|
4177
4177
|
|
|
@@ -4376,7 +4376,7 @@ Intended to be used on the index page for challenges</li></ul></dd>
|
|
|
4376
4376
|
|
|
4377
4377
|
<dt class="tag-source">Source:</dt>
|
|
4378
4378
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4379
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4379
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1161">line 1161</a>
|
|
4380
4380
|
</li></ul></dd>
|
|
4381
4381
|
|
|
4382
4382
|
|
|
@@ -4589,7 +4589,7 @@ The server validates the user's access to the playlist and returns playlist deta
|
|
|
4589
4589
|
|
|
4590
4590
|
<dt class="tag-source">Source:</dt>
|
|
4591
4591
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4592
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4592
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line851">line 851</a>
|
|
4593
4593
|
</li></ul></dd>
|
|
4594
4594
|
|
|
4595
4595
|
|
|
@@ -4758,7 +4758,7 @@ The server validates the user's access to the playlist and returns playlist deta
|
|
|
4758
4758
|
|
|
4759
4759
|
<dt class="tag-source">Source:</dt>
|
|
4760
4760
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4761
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
4761
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line979">line 979</a>
|
|
4762
4762
|
</li></ul></dd>
|
|
4763
4763
|
|
|
4764
4764
|
|
|
@@ -5020,7 +5020,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5020
5020
|
|
|
5021
5021
|
<dt class="tag-source">Source:</dt>
|
|
5022
5022
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5023
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5023
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line871">line 871</a>
|
|
5024
5024
|
</li></ul></dd>
|
|
5025
5025
|
|
|
5026
5026
|
|
|
@@ -5353,7 +5353,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5353
5353
|
|
|
5354
5354
|
<dt class="tag-source">Source:</dt>
|
|
5355
5355
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5356
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5356
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line443">line 443</a>
|
|
5357
5357
|
</li></ul></dd>
|
|
5358
5358
|
|
|
5359
5359
|
|
|
@@ -5505,7 +5505,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5505
5505
|
|
|
5506
5506
|
<dt class="tag-source">Source:</dt>
|
|
5507
5507
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5508
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5508
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line504">line 504</a>
|
|
5509
5509
|
</li></ul></dd>
|
|
5510
5510
|
|
|
5511
5511
|
|
|
@@ -5662,7 +5662,7 @@ The server combines data from the playlist and additional metadata from Sanity t
|
|
|
5662
5662
|
|
|
5663
5663
|
<dt class="tag-source">Source:</dt>
|
|
5664
5664
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5665
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5665
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line432">line 432</a>
|
|
5666
5666
|
</li></ul></dd>
|
|
5667
5667
|
|
|
5668
5668
|
|
|
@@ -5812,7 +5812,7 @@ Allows optional pagination, sorting, and search parameters to control the result
|
|
|
5812
5812
|
|
|
5813
5813
|
<dt class="tag-source">Source:</dt>
|
|
5814
5814
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
5815
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
5815
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line634">line 634</a>
|
|
5816
5816
|
</li></ul></dd>
|
|
5817
5817
|
|
|
5818
5818
|
|
|
@@ -6195,7 +6195,7 @@ if the authenticated user has already liked the playlist. If not, it creates a n
|
|
|
6195
6195
|
|
|
6196
6196
|
<dt class="tag-source">Source:</dt>
|
|
6197
6197
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6198
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6198
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line802">line 802</a>
|
|
6199
6199
|
</li></ul></dd>
|
|
6200
6200
|
|
|
6201
6201
|
|
|
@@ -6376,7 +6376,7 @@ The `like` object in the response includes:
|
|
|
6376
6376
|
|
|
6377
6377
|
<dt class="tag-source">Source:</dt>
|
|
6378
6378
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6379
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6379
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1097">line 1097</a>
|
|
6380
6380
|
</li></ul></dd>
|
|
6381
6381
|
|
|
6382
6382
|
|
|
@@ -6586,7 +6586,7 @@ Resolves to an error message if the request fails.
|
|
|
6586
6586
|
|
|
6587
6587
|
<dt class="tag-source">Source:</dt>
|
|
6588
6588
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6589
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6589
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line576">line 576</a>
|
|
6590
6590
|
</li></ul></dd>
|
|
6591
6591
|
|
|
6592
6592
|
|
|
@@ -6743,7 +6743,7 @@ Resolves to an error message if the request fails.
|
|
|
6743
6743
|
|
|
6744
6744
|
<dt class="tag-source">Source:</dt>
|
|
6745
6745
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6746
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6746
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line598">line 598</a>
|
|
6747
6747
|
</li></ul></dd>
|
|
6748
6748
|
|
|
6749
6749
|
|
|
@@ -6905,7 +6905,7 @@ Resolves to an error message if the request fails.
|
|
|
6905
6905
|
|
|
6906
6906
|
<dt class="tag-source">Source:</dt>
|
|
6907
6907
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
6908
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
6908
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line542">line 542</a>
|
|
6909
6909
|
</li></ul></dd>
|
|
6910
6910
|
|
|
6911
6911
|
|
|
@@ -7062,7 +7062,7 @@ Resolves to an error message if the request fails.
|
|
|
7062
7062
|
|
|
7063
7063
|
<dt class="tag-source">Source:</dt>
|
|
7064
7064
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7065
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7065
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line565">line 565</a>
|
|
7066
7066
|
</li></ul></dd>
|
|
7067
7067
|
|
|
7068
7068
|
|
|
@@ -7219,7 +7219,7 @@ Resolves to an error message if the request fails.
|
|
|
7219
7219
|
|
|
7220
7220
|
<dt class="tag-source">Source:</dt>
|
|
7221
7221
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7222
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7222
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line610">line 610</a>
|
|
7223
7223
|
</li></ul></dd>
|
|
7224
7224
|
|
|
7225
7225
|
|
|
@@ -7377,7 +7377,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7377
7377
|
|
|
7378
7378
|
<dt class="tag-source">Source:</dt>
|
|
7379
7379
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7380
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7380
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line554">line 554</a>
|
|
7381
7381
|
</li></ul></dd>
|
|
7382
7382
|
|
|
7383
7383
|
|
|
@@ -7535,7 +7535,7 @@ Clears any existing progress data for this challenge</li></ul></dd>
|
|
|
7535
7535
|
|
|
7536
7536
|
<dt class="tag-source">Source:</dt>
|
|
7537
7537
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7538
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7538
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line518">line 518</a>
|
|
7539
7539
|
</li></ul></dd>
|
|
7540
7540
|
|
|
7541
7541
|
|
|
@@ -7673,6 +7673,163 @@ Clears any existing progress data for this challenge</li></ul></dd>
|
|
|
7673
7673
|
|
|
7674
7674
|
|
|
7675
7675
|
|
|
7676
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
7677
|
+
|
|
7678
|
+
|
|
7679
|
+
|
|
7680
|
+
|
|
7681
|
+
<dl class="param-type">
|
|
7682
|
+
<dt>
|
|
7683
|
+
Type
|
|
7684
|
+
</dt>
|
|
7685
|
+
<dd>
|
|
7686
|
+
|
|
7687
|
+
<span class="param-type">Promise.<(any|null)></span>
|
|
7688
|
+
|
|
7689
|
+
|
|
7690
|
+
|
|
7691
|
+
</dd>
|
|
7692
|
+
</dl>
|
|
7693
|
+
|
|
7694
|
+
|
|
7695
|
+
|
|
7696
|
+
|
|
7697
|
+
|
|
7698
|
+
|
|
7699
|
+
|
|
7700
|
+
|
|
7701
|
+
|
|
7702
|
+
|
|
7703
|
+
<h4 class="name" id=".postChallengesSoloNotification"><span class="type-signature type-signature-static">(static) </span>postChallengesSoloNotification<span class="signature">(contentId)</span><span class="type-signature"> → {Promise.<(any|null)>}</span></h4>
|
|
7704
|
+
|
|
7705
|
+
|
|
7706
|
+
|
|
7707
|
+
|
|
7708
|
+
|
|
7709
|
+
|
|
7710
|
+
<dl class="details">
|
|
7711
|
+
|
|
7712
|
+
<dt class="tag-description">Description:</dt>
|
|
7713
|
+
<dd class="tag-description"><ul class="dummy"><li>Enable solo notifications for the provided challenge</li></ul></dd>
|
|
7714
|
+
|
|
7715
|
+
|
|
7716
|
+
|
|
7717
|
+
<dt class="tag-source">Source:</dt>
|
|
7718
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
7719
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line587">line 587</a>
|
|
7720
|
+
</li></ul></dd>
|
|
7721
|
+
|
|
7722
|
+
|
|
7723
|
+
|
|
7724
|
+
|
|
7725
|
+
|
|
7726
|
+
|
|
7727
|
+
|
|
7728
|
+
|
|
7729
|
+
|
|
7730
|
+
|
|
7731
|
+
|
|
7732
|
+
|
|
7733
|
+
|
|
7734
|
+
|
|
7735
|
+
|
|
7736
|
+
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
|
|
7740
|
+
|
|
7741
|
+
|
|
7742
|
+
|
|
7743
|
+
|
|
7744
|
+
|
|
7745
|
+
|
|
7746
|
+
|
|
7747
|
+
|
|
7748
|
+
|
|
7749
|
+
|
|
7750
|
+
|
|
7751
|
+
|
|
7752
|
+
</dl>
|
|
7753
|
+
|
|
7754
|
+
|
|
7755
|
+
|
|
7756
|
+
|
|
7757
|
+
|
|
7758
|
+
|
|
7759
|
+
|
|
7760
|
+
|
|
7761
|
+
|
|
7762
|
+
|
|
7763
|
+
|
|
7764
|
+
|
|
7765
|
+
|
|
7766
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
7767
|
+
|
|
7768
|
+
|
|
7769
|
+
<table class="params">
|
|
7770
|
+
<thead>
|
|
7771
|
+
<tr>
|
|
7772
|
+
|
|
7773
|
+
<th>Name</th>
|
|
7774
|
+
|
|
7775
|
+
|
|
7776
|
+
<th>Type</th>
|
|
7777
|
+
|
|
7778
|
+
|
|
7779
|
+
|
|
7780
|
+
|
|
7781
|
+
|
|
7782
|
+
<th class="last">Description</th>
|
|
7783
|
+
</tr>
|
|
7784
|
+
</thead>
|
|
7785
|
+
|
|
7786
|
+
<tbody>
|
|
7787
|
+
|
|
7788
|
+
|
|
7789
|
+
<tr>
|
|
7790
|
+
|
|
7791
|
+
<td class="name"><code>contentId</code></td>
|
|
7792
|
+
|
|
7793
|
+
|
|
7794
|
+
<td class="type">
|
|
7795
|
+
|
|
7796
|
+
|
|
7797
|
+
<span class="param-type">int</span>
|
|
7798
|
+
|
|
|
7799
|
+
|
|
7800
|
+
<span class="param-type">string</span>
|
|
7801
|
+
|
|
7802
|
+
|
|
7803
|
+
|
|
7804
|
+
|
|
7805
|
+
</td>
|
|
7806
|
+
|
|
7807
|
+
|
|
7808
|
+
|
|
7809
|
+
|
|
7810
|
+
|
|
7811
|
+
<td class="description last">railcontent id of the challenge</td>
|
|
7812
|
+
</tr>
|
|
7813
|
+
|
|
7814
|
+
|
|
7815
|
+
</tbody>
|
|
7816
|
+
</table>
|
|
7817
|
+
|
|
7818
|
+
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
|
|
7822
|
+
|
|
7823
|
+
|
|
7824
|
+
|
|
7825
|
+
|
|
7826
|
+
|
|
7827
|
+
|
|
7828
|
+
|
|
7829
|
+
|
|
7830
|
+
|
|
7831
|
+
|
|
7832
|
+
|
|
7676
7833
|
<h5 class="h5-returns">Returns:</h5>
|
|
7677
7834
|
|
|
7678
7835
|
|
|
@@ -7717,7 +7874,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7717
7874
|
|
|
7718
7875
|
<dt class="tag-source">Source:</dt>
|
|
7719
7876
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7720
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
7877
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line530">line 530</a>
|
|
7721
7878
|
</li></ul></dd>
|
|
7722
7879
|
|
|
7723
7880
|
|
|
@@ -7874,7 +8031,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7874
8031
|
|
|
7875
8032
|
<dt class="tag-source">Source:</dt>
|
|
7876
8033
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
7877
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8034
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1173">line 1173</a>
|
|
7878
8035
|
</li></ul></dd>
|
|
7879
8036
|
|
|
7880
8037
|
|
|
@@ -7997,6 +8154,187 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
7997
8154
|
|
|
7998
8155
|
|
|
7999
8156
|
|
|
8157
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
8158
|
+
|
|
8159
|
+
|
|
8160
|
+
|
|
8161
|
+
|
|
8162
|
+
<dl class="param-type">
|
|
8163
|
+
<dt>
|
|
8164
|
+
Type
|
|
8165
|
+
</dt>
|
|
8166
|
+
<dd>
|
|
8167
|
+
|
|
8168
|
+
<span class="param-type">Promise.<(any|null)></span>
|
|
8169
|
+
|
|
8170
|
+
|
|
8171
|
+
|
|
8172
|
+
</dd>
|
|
8173
|
+
</dl>
|
|
8174
|
+
|
|
8175
|
+
|
|
8176
|
+
|
|
8177
|
+
|
|
8178
|
+
|
|
8179
|
+
|
|
8180
|
+
|
|
8181
|
+
|
|
8182
|
+
|
|
8183
|
+
|
|
8184
|
+
<h4 class="name" id=".setStudentViewForUser"><span class="type-signature type-signature-static">(static) </span>setStudentViewForUser<span class="signature">(userId, enable)</span><span class="type-signature"> → {Promise.<(any|null)>}</span></h4>
|
|
8185
|
+
|
|
8186
|
+
|
|
8187
|
+
|
|
8188
|
+
|
|
8189
|
+
|
|
8190
|
+
|
|
8191
|
+
<dl class="details">
|
|
8192
|
+
|
|
8193
|
+
<dt class="tag-description">Description:</dt>
|
|
8194
|
+
<dd class="tag-description"><ul class="dummy"><li>Set a user's StudentView Flag</li></ul></dd>
|
|
8195
|
+
|
|
8196
|
+
|
|
8197
|
+
|
|
8198
|
+
<dt class="tag-source">Source:</dt>
|
|
8199
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
8200
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1191">line 1191</a>
|
|
8201
|
+
</li></ul></dd>
|
|
8202
|
+
|
|
8203
|
+
|
|
8204
|
+
|
|
8205
|
+
|
|
8206
|
+
|
|
8207
|
+
|
|
8208
|
+
|
|
8209
|
+
|
|
8210
|
+
|
|
8211
|
+
|
|
8212
|
+
|
|
8213
|
+
|
|
8214
|
+
|
|
8215
|
+
|
|
8216
|
+
|
|
8217
|
+
|
|
8218
|
+
|
|
8219
|
+
|
|
8220
|
+
|
|
8221
|
+
|
|
8222
|
+
|
|
8223
|
+
|
|
8224
|
+
|
|
8225
|
+
|
|
8226
|
+
|
|
8227
|
+
|
|
8228
|
+
|
|
8229
|
+
|
|
8230
|
+
|
|
8231
|
+
|
|
8232
|
+
|
|
8233
|
+
</dl>
|
|
8234
|
+
|
|
8235
|
+
|
|
8236
|
+
|
|
8237
|
+
|
|
8238
|
+
|
|
8239
|
+
|
|
8240
|
+
|
|
8241
|
+
|
|
8242
|
+
|
|
8243
|
+
|
|
8244
|
+
|
|
8245
|
+
|
|
8246
|
+
|
|
8247
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
8248
|
+
|
|
8249
|
+
|
|
8250
|
+
<table class="params">
|
|
8251
|
+
<thead>
|
|
8252
|
+
<tr>
|
|
8253
|
+
|
|
8254
|
+
<th>Name</th>
|
|
8255
|
+
|
|
8256
|
+
|
|
8257
|
+
<th>Type</th>
|
|
8258
|
+
|
|
8259
|
+
|
|
8260
|
+
|
|
8261
|
+
|
|
8262
|
+
|
|
8263
|
+
<th class="last">Description</th>
|
|
8264
|
+
</tr>
|
|
8265
|
+
</thead>
|
|
8266
|
+
|
|
8267
|
+
<tbody>
|
|
8268
|
+
|
|
8269
|
+
|
|
8270
|
+
<tr>
|
|
8271
|
+
|
|
8272
|
+
<td class="name"><code>userId</code></td>
|
|
8273
|
+
|
|
8274
|
+
|
|
8275
|
+
<td class="type">
|
|
8276
|
+
|
|
8277
|
+
|
|
8278
|
+
<span class="param-type">int</span>
|
|
8279
|
+
|
|
|
8280
|
+
|
|
8281
|
+
<span class="param-type">string</span>
|
|
8282
|
+
|
|
8283
|
+
|
|
8284
|
+
|
|
8285
|
+
|
|
8286
|
+
</td>
|
|
8287
|
+
|
|
8288
|
+
|
|
8289
|
+
|
|
8290
|
+
|
|
8291
|
+
|
|
8292
|
+
<td class="description last">id of the user (must be currently authenticated)</td>
|
|
8293
|
+
</tr>
|
|
8294
|
+
|
|
8295
|
+
|
|
8296
|
+
|
|
8297
|
+
<tr>
|
|
8298
|
+
|
|
8299
|
+
<td class="name"><code>enable</code></td>
|
|
8300
|
+
|
|
8301
|
+
|
|
8302
|
+
<td class="type">
|
|
8303
|
+
|
|
8304
|
+
|
|
8305
|
+
<span class="param-type">bool</span>
|
|
8306
|
+
|
|
8307
|
+
|
|
8308
|
+
|
|
8309
|
+
|
|
8310
|
+
</td>
|
|
8311
|
+
|
|
8312
|
+
|
|
8313
|
+
|
|
8314
|
+
|
|
8315
|
+
|
|
8316
|
+
<td class="description last">truthsy value to enable student view</td>
|
|
8317
|
+
</tr>
|
|
8318
|
+
|
|
8319
|
+
|
|
8320
|
+
</tbody>
|
|
8321
|
+
</table>
|
|
8322
|
+
|
|
8323
|
+
|
|
8324
|
+
|
|
8325
|
+
|
|
8326
|
+
|
|
8327
|
+
|
|
8328
|
+
|
|
8329
|
+
|
|
8330
|
+
|
|
8331
|
+
|
|
8332
|
+
|
|
8333
|
+
|
|
8334
|
+
|
|
8335
|
+
|
|
8336
|
+
|
|
8337
|
+
|
|
8000
8338
|
<h5 class="h5-returns">Returns:</h5>
|
|
8001
8339
|
|
|
8002
8340
|
|
|
@@ -8040,7 +8378,7 @@ Clears any current progress data for this challenge</li></ul></dd>
|
|
|
8040
8378
|
|
|
8041
8379
|
<dt class="tag-source">Source:</dt>
|
|
8042
8380
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8043
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8381
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line1129">line 1129</a>
|
|
8044
8382
|
</li></ul></dd>
|
|
8045
8383
|
|
|
8046
8384
|
|
|
@@ -8253,7 +8591,7 @@ and verifies that the authenticated user is the playlist owner. If authorized, i
|
|
|
8253
8591
|
|
|
8254
8592
|
<dt class="tag-source">Source:</dt>
|
|
8255
8593
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8256
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8594
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line739">line 739</a>
|
|
8257
8595
|
</li></ul></dd>
|
|
8258
8596
|
|
|
8259
8597
|
|
|
@@ -8459,7 +8797,7 @@ If the user is unauthorized or the data validation fails, the promise rejects wi
|
|
|
8459
8797
|
|
|
8460
8798
|
<dt class="tag-source">Source:</dt>
|
|
8461
8799
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
8462
|
-
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#
|
|
8800
|
+
<a href="railcontent.js.html">railcontent.js</a>, <a href="railcontent.js.html#line912">line 912</a>
|
|
8463
8801
|
</li></ul></dd>
|
|
8464
8802
|
|
|
8465
8803
|
|
|
@@ -8867,7 +9205,7 @@ Resolves to `null` if the request fails.
|
|
|
8867
9205
|
<br class="clear">
|
|
8868
9206
|
|
|
8869
9207
|
<footer>
|
|
8870
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
9208
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Mon Jan 20 2025 08:04:00 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
8871
9209
|
</footer>
|
|
8872
9210
|
|
|
8873
9211
|
<script>prettyPrint();</script>
|