musora-content-services 1.0.32 → 1.0.34

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.
@@ -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#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></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#.fetchAllCompletedStates">fetchAllCompletedStates</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#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></ul></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -100,7 +100,7 @@
100
100
 
101
101
  <dt class="tag-source">Source:</dt>
102
102
  <dd class="tag-source"><ul class="dummy"><li>
103
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line461">line 461</a>
103
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line465">line 465</a>
104
104
  </li></ul></dd>
105
105
 
106
106
 
@@ -593,7 +593,7 @@ The filter options are dynamically generated based on the provided filters, styl
593
593
 
594
594
  <dt class="tag-source">Source:</dt>
595
595
  <dd class="tag-source"><ul class="dummy"><li>
596
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line600">line 600</a>
596
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line607">line 607</a>
597
597
  </li></ul></dd>
598
598
 
599
599
 
@@ -935,7 +935,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
935
935
 
936
936
  <dt class="tag-source">Source:</dt>
937
937
  <dd class="tag-source"><ul class="dummy"><li>
938
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line176">line 176</a>
938
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line180">line 180</a>
939
939
  </li></ul></dd>
940
940
 
941
941
 
@@ -1401,7 +1401,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1401
1401
 
1402
1402
  <dt class="tag-source">Source:</dt>
1403
1403
  <dd class="tag-source"><ul class="dummy"><li>
1404
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line52">line 52</a>
1404
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line56">line 56</a>
1405
1405
  </li></ul></dd>
1406
1406
 
1407
1407
 
@@ -1566,7 +1566,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1566
1566
 
1567
1567
  <dt class="tag-source">Source:</dt>
1568
1568
  <dd class="tag-source"><ul class="dummy"><li>
1569
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line394">line 394</a>
1569
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line398">line 398</a>
1570
1570
  </li></ul></dd>
1571
1571
 
1572
1572
 
@@ -1731,7 +1731,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1731
1731
 
1732
1732
  <dt class="tag-source">Source:</dt>
1733
1733
  <dd class="tag-source"><ul class="dummy"><li>
1734
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line420">line 420</a>
1734
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line424">line 424</a>
1735
1735
  </li></ul></dd>
1736
1736
 
1737
1737
 
@@ -1896,7 +1896,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1896
1896
 
1897
1897
  <dt class="tag-source">Source:</dt>
1898
1898
  <dd class="tag-source"><ul class="dummy"><li>
1899
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line643">line 643</a>
1899
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line650">line 650</a>
1900
1900
  </li></ul></dd>
1901
1901
 
1902
1902
 
@@ -2054,7 +2054,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2054
2054
 
2055
2055
  <dt class="tag-source">Source:</dt>
2056
2056
  <dd class="tag-source"><ul class="dummy"><li>
2057
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line721">line 721</a>
2057
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line728">line 728</a>
2058
2058
  </li></ul></dd>
2059
2059
 
2060
2060
 
@@ -2213,7 +2213,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2213
2213
  <dl class="details">
2214
2214
 
2215
2215
  <dt class="tag-description">Description:</dt>
2216
- <dd class="tag-description"><ul class="dummy"><li>Fetch upcoming events for a specific brand that are within 48 hours before their `published_on` date
2216
+ <dd class="tag-description"><ul class="dummy"><li>Fetch upcoming events for a specific brand that are within 48 hours before their `published_on` date
2217
2217
  and are currently ongoing based on their `length_in_seconds`.
2218
2218
 
2219
2219
  This function retrieves events that have a `published_on` date within the last 48 hours or are currently
@@ -2223,7 +2223,7 @@ ongoing based on the event's duration (`length_in_seconds`).</li></ul></dd>
2223
2223
 
2224
2224
  <dt class="tag-source">Source:</dt>
2225
2225
  <dd class="tag-source"><ul class="dummy"><li>
2226
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line308">line 308</a>
2226
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line312">line 312</a>
2227
2227
  </li></ul></dd>
2228
2228
 
2229
2229
 
@@ -2389,7 +2389,7 @@ fetchLiveEvent('drumeo')
2389
2389
 
2390
2390
  <dt class="tag-source">Source:</dt>
2391
2391
  <dd class="tag-source"><ul class="dummy"><li>
2392
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line685">line 685</a>
2392
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line692">line 692</a>
2393
2393
  </li></ul></dd>
2394
2394
 
2395
2395
 
@@ -2547,7 +2547,7 @@ fetchLiveEvent('drumeo')
2547
2547
 
2548
2548
  <dt class="tag-source">Source:</dt>
2549
2549
  <dd class="tag-source"><ul class="dummy"><li>
2550
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line664">line 664</a>
2550
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line671">line 671</a>
2551
2551
  </li></ul></dd>
2552
2552
 
2553
2553
 
@@ -2705,7 +2705,7 @@ fetchLiveEvent('drumeo')
2705
2705
 
2706
2706
  <dt class="tag-source">Source:</dt>
2707
2707
  <dd class="tag-source"><ul class="dummy"><li>
2708
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line265">line 265</a>
2708
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line269">line 269</a>
2709
2709
  </li></ul></dd>
2710
2710
 
2711
2711
 
@@ -2863,7 +2863,7 @@ fetchLiveEvent('drumeo')
2863
2863
 
2864
2864
  <dt class="tag-source">Source:</dt>
2865
2865
  <dd class="tag-source"><ul class="dummy"><li>
2866
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line695">line 695</a>
2866
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line702">line 702</a>
2867
2867
  </li></ul></dd>
2868
2868
 
2869
2869
 
@@ -3021,7 +3021,7 @@ fetchLiveEvent('drumeo')
3021
3021
 
3022
3022
  <dt class="tag-source">Source:</dt>
3023
3023
  <dd class="tag-source"><ul class="dummy"><li>
3024
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line775">line 775</a>
3024
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line782">line 782</a>
3025
3025
  </li></ul></dd>
3026
3026
 
3027
3027
 
@@ -3179,7 +3179,7 @@ fetchLiveEvent('drumeo')
3179
3179
 
3180
3180
  <dt class="tag-source">Source:</dt>
3181
3181
  <dd class="tag-source"><ul class="dummy"><li>
3182
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line801">line 801</a>
3182
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line808">line 808</a>
3183
3183
  </li></ul></dd>
3184
3184
 
3185
3185
 
@@ -3344,7 +3344,7 @@ fetchLiveEvent('drumeo')
3344
3344
 
3345
3345
  <dt class="tag-source">Source:</dt>
3346
3346
  <dd class="tag-source"><ul class="dummy"><li>
3347
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line754">line 754</a>
3347
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line761">line 761</a>
3348
3348
  </li></ul></dd>
3349
3349
 
3350
3350
 
@@ -3526,7 +3526,7 @@ fetchLiveEvent('drumeo')
3526
3526
 
3527
3527
  <dt class="tag-source">Source:</dt>
3528
3528
  <dd class="tag-source"><ul class="dummy"><li>
3529
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line83">line 83</a>
3529
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line87">line 87</a>
3530
3530
  </li></ul></dd>
3531
3531
 
3532
3532
 
@@ -3715,7 +3715,7 @@ fetchLiveEvent('drumeo')
3715
3715
 
3716
3716
  <dt class="tag-source">Source:</dt>
3717
3717
  <dd class="tag-source"><ul class="dummy"><li>
3718
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line818">line 818</a>
3718
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line825">line 825</a>
3719
3719
  </li></ul></dd>
3720
3720
 
3721
3721
 
@@ -3905,7 +3905,7 @@ fetchSanity(query, true)
3905
3905
 
3906
3906
  <dt class="tag-source">Source:</dt>
3907
3907
  <dd class="tag-source"><ul class="dummy"><li>
3908
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line66">line 66</a>
3908
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line70">line 70</a>
3909
3909
  </li></ul></dd>
3910
3910
 
3911
3911
 
@@ -4063,7 +4063,7 @@ fetchSanity(query, true)
4063
4063
 
4064
4064
  <dt class="tag-source">Source:</dt>
4065
4065
  <dd class="tag-source"><ul class="dummy"><li>
4066
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line21">line 21</a>
4066
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line20">line 20</a>
4067
4067
  </li></ul></dd>
4068
4068
 
4069
4069
 
@@ -4228,7 +4228,7 @@ fetchSanity(query, true)
4228
4228
 
4229
4229
  <dt class="tag-source">Source:</dt>
4230
4230
  <dd class="tag-source"><ul class="dummy"><li>
4231
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line227">line 227</a>
4231
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line231">line 231</a>
4232
4232
  </li></ul></dd>
4233
4233
 
4234
4234
 
@@ -4386,7 +4386,7 @@ fetchSanity(query, true)
4386
4386
 
4387
4387
  <dt class="tag-source">Source:</dt>
4388
4388
  <dd class="tag-source"><ul class="dummy"><li>
4389
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line198">line 198</a>
4389
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line202">line 202</a>
4390
4390
  </li></ul></dd>
4391
4391
 
4392
4392
 
@@ -4551,7 +4551,7 @@ fetchSanity(query, true)
4551
4551
 
4552
4552
  <dt class="tag-source">Source:</dt>
4553
4553
  <dd class="tag-source"><ul class="dummy"><li>
4554
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line355">line 355</a>
4554
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line359">line 359</a>
4555
4555
  </li></ul></dd>
4556
4556
 
4557
4557
 
@@ -4717,7 +4717,7 @@ This function retrieves the latest workout content for a given brand, fetching u
4717
4717
 
4718
4718
  <dt class="tag-source">Source:</dt>
4719
4719
  <dd class="tag-source"><ul class="dummy"><li>
4720
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line243">line 243</a>
4720
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line247">line 247</a>
4721
4721
  </li></ul></dd>
4722
4722
 
4723
4723
 
@@ -4881,7 +4881,7 @@ This function retrieves the latest workout content for a given brand, fetching u
4881
4881
  <br class="clear">
4882
4882
 
4883
4883
  <footer>
4884
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Aug 14 2024 17:42:41 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
4884
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Aug 15 2024 19:44:49 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
4885
4885
  </footer>
4886
4886
 
4887
4887
  <script>prettyPrint();</script>
@@ -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#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></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#.fetchAllCompletedStates">fetchAllCompletedStates</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#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></ul></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -54,9 +54,7 @@ const { globalConfig } = require('./config');
54
54
  /**
55
55
  * Fetches the completion status of a specific song for the current user.
56
56
  *
57
- * @param {string} userId - The ID of the current user.
58
57
  * @param {string} content_id - The ID of the song content to check.
59
- * @param {string} token - The CSRF token for authentication.
60
58
  * @returns {Promise&lt;Object|null>} - Returns the completion status object if found, otherwise null.
61
59
  * @example
62
60
  * fetchCurrentSongComplete('user123', 'song456', 'csrf-token')
@@ -92,9 +90,7 @@ export async function fetchCurrentSongComplete(content_id) {
92
90
  /**
93
91
  * Fetches the completion status for multiple songs for the current user.
94
92
  *
95
- * @param {string} userId - The ID of the current user.
96
93
  * @param {Array&lt;string>} contentIds - An array of content IDs to check.
97
- * @param {string} token - The CSRF token for authentication.
98
94
  * @returns {Promise&lt;Object|null>} - Returns an object containing completion statuses keyed by content ID, or null if an error occurs.
99
95
  * @example
100
96
  * fetchAllCompletedStates('user123', ['song456', 'song789'], 'csrf-token')
@@ -126,12 +122,10 @@ export async function fetchAllCompletedStates(contentIds) {
126
122
  /**
127
123
  * Fetches a list of songs that are currently in progress for the current user.
128
124
  *
129
- * @param {string} userId - The ID of the current user.
130
125
  * @param {string} brand - The brand associated with the songs.
131
- * @param {string} token - The CSRF token for authentication.
132
126
  * @returns {Promise&lt;Object|null>} - Returns an object containing in-progress songs if found, otherwise null.
133
127
  * @example
134
- * fetchSongsInProgress('user123', 'drumeo', 'csrf-token')
128
+ * fetchSongsInProgress('drumeo')
135
129
  * .then(songs => console.log(songs))
136
130
  * .catch(error => console.error(error));
137
131
  */
@@ -157,7 +151,43 @@ export async function fetchSongsInProgress(brand) {
157
151
  return null;
158
152
  }
159
153
  }
160
- </code></pre>
154
+
155
+ /**
156
+ * Fetches a list of content that is currently in progress for the current user.
157
+ *
158
+ * @param {string} type - The content type associated with the content.
159
+ * @param {string} brand - The brand associated with the content.
160
+ * @returns {Promise&lt;Object|null>} - Returns an object containing in-progress content if found, otherwise null.
161
+ * @example
162
+ * fetchContentInProgress('song', 'drumeo')
163
+ * .then(songs => console.log(songs))
164
+ * .catch(error => console.error(error));
165
+ */
166
+ export async function fetchContentInProgress(type="all", brand) {
167
+ let url;
168
+ if(type!=="all") {
169
+ url = `/content/in_progress/${globalConfig.railcontentConfig.userId}?brand=${brand}`;
170
+ } else {
171
+ url = `/content/in_progress/${globalConfig.railcontentConfig.userId}?content_type=${type}&amp;brand=${brand}`;
172
+ }
173
+ const headers = {
174
+ 'Content-Type': 'application/json',
175
+ 'X-CSRF-TOKEN': globalConfig.railcontentConfig.token
176
+ };
177
+ try {
178
+ const response = await fetch(url, { headers });
179
+ const result = await response.json();
180
+ if(result){
181
+ console.log('contentInProgress', result);
182
+ return result;
183
+ } else {
184
+ console.log('result not json');
185
+ }
186
+ } catch (error) {
187
+ console.error('Fetch error:', error);
188
+ return null;
189
+ }
190
+ }</code></pre>
161
191
  </article>
162
192
  </section>
163
193
 
@@ -171,7 +201,7 @@ export async function fetchSongsInProgress(brand) {
171
201
  <br class="clear">
172
202
 
173
203
  <footer>
174
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Aug 14 2024 17:42:41 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
204
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Aug 15 2024 19:44:49 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
175
205
  </footer>
176
206
 
177
207
  <script>prettyPrint();</script>
@@ -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#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></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#.fetchAllCompletedStates">fetchAllCompletedStates</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#.fetchCurrentSongComplete">fetchCurrentSongComplete</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</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#.fetchAllSongs">fetchAllSongs</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#.fetchChildren">fetchChildren</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#.fetchLiveEvent">fetchLiveEvent</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#.fetchMethodNextLesson">fetchMethodNextLesson</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#.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#.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></ul></li></ul>
33
33
 
34
34
  </nav>
35
35
 
@@ -48,11 +48,10 @@
48
48
  <pre class="prettyprint source linenums"><code>/**
49
49
  * @module Sanity-Services
50
50
  */
51
+ import {contentTypeConfig} from "../contentTypeConfig";
52
+ import {globalConfig} from "./config";
51
53
 
52
- const { contentTypeConfig } = require('../contentTypeConfig.js');
53
- const { globalConfig } = require('./config');
54
-
55
- import { fetchAllCompletedStates, fetchCurrentSongComplete } from './railcontent.js';
54
+ import { fetchAllCompletedStates, fetchCurrentSongComplete } from './railcontent.js';
56
55
 
57
56
  /**
58
57
  * Fetch a song by its document ID from Sanity.
@@ -67,6 +66,10 @@ import { fetchAllCompletedStates, fetchCurrentSongComplete } from './railcontent
67
66
  */
68
67
  export async function fetchSongById(documentId) {
69
68
  const fields = [
69
+ '"id": railcontent_id',
70
+ 'railcontent_id',
71
+ '"type": _type',
72
+ 'description',
70
73
  'title',
71
74
  '"thumbnail_url": thumbnail.asset->url',
72
75
  '"style": genre[0]->name',
@@ -75,8 +78,9 @@ export async function fetchSongById(documentId) {
75
78
  'instrumentless',
76
79
  'soundslice',
77
80
  '"resources": resource[]{resource_url, resource_name}',
81
+ '"url": web_url_path',
78
82
  ];
79
-
83
+
80
84
  const query = `
81
85
  *[_type == "song" &amp;&amp; railcontent_id == ${documentId}]{
82
86
  ${fields.join(', ')}
@@ -191,11 +195,11 @@ export async function fetchRelatedSongs(brand, songId) {
191
195
  }[0...10])
192
196
  ])[0...10]
193
197
  }`;
194
-
198
+
195
199
  // Fetch the related songs data
196
200
  return fetchSanity(query, false);
197
201
  }
198
-
202
+
199
203
  /**
200
204
  * Fetch all songs for a specific brand with pagination and search options.
201
205
  * @param {string} brand - The brand for which to fetch songs.
@@ -336,7 +340,7 @@ export async function fetchNewReleases(brand) {
336
340
 
337
341
 
338
342
  /**
339
- * Fetch upcoming events for a specific brand that are within 48 hours before their `published_on` date
343
+ * Fetch upcoming events for a specific brand that are within 48 hours before their `published_on` date
340
344
  * and are currently ongoing based on their `length_in_seconds`.
341
345
  *
342
346
  * This function retrieves events that have a `published_on` date within the last 48 hours or are currently
@@ -350,7 +354,7 @@ export async function fetchNewReleases(brand) {
350
354
  * fetchLiveEvent('drumeo')
351
355
  * .then(events => console.log(events))
352
356
  * .catch(error => console.error(error));
353
- *
357
+ *
354
358
  */
355
359
  export async function fetchLiveEvent(brand) {
356
360
  const baseLiveTypes = ["student-review", "student-reviews", "student-focus", "coach-stream", "live", "question-and-answer", "student-review", "boot-camps", "recording", "pack-bundle-lesson"];
@@ -558,7 +562,10 @@ export async function fetchAll(brand, type, {
558
562
  break;
559
563
  }
560
564
 
561
- let defaultFields = ['railcontent_id',
565
+ let defaultFields = [
566
+ '"id": railcontent_id',
567
+ 'railcontent_id',
568
+ '"type": _type',
562
569
  'title',
563
570
  '"image": thumbnail.asset->url',
564
571
  'difficulty',
@@ -944,7 +951,7 @@ function checkSanityConfig(config) {
944
951
  <br class="clear">
945
952
 
946
953
  <footer>
947
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Aug 14 2024 17:42:41 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
954
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Aug 15 2024 19:44:49 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
948
955
  </footer>
949
956
 
950
957
  <script>prettyPrint();</script>
package/jest.config.js CHANGED
@@ -101,7 +101,7 @@ const config = {
101
101
  // notifyMode: "failure-change",
102
102
 
103
103
  // A preset that is used as a base for Jest's configuration
104
- // preset: undefined,
104
+ preset: 'ts-jest',
105
105
 
106
106
  // Run tests from one or more projects
107
107
  // projects: undefined,
@@ -174,8 +174,11 @@ const config = {
174
174
  // testRunner: "jest-circus/runner",
175
175
 
176
176
  // A map from regular expressions to paths to transformers
177
- // transform: undefined,
178
177
 
178
+ transform: {
179
+ '^.+\\.(ts|tsx)?$': 'ts-jest',
180
+ '^.+\\.(js|jsx)$': 'babel-jest',
181
+ }
179
182
  // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
180
183
  // transformIgnorePatterns: [
181
184
  // "/node_modules/",
@@ -193,6 +196,8 @@ const config = {
193
196
 
194
197
  // Whether to use watchman for file crawling
195
198
  // watchman: true,
199
+
196
200
  };
197
201
 
198
202
  module.exports = config;
203
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -25,6 +25,9 @@
25
25
  "standard-version": "^9.5.0"
26
26
  },
27
27
  "dependencies": {
28
- "docdash": "^2.0.2"
28
+ "@babel/preset-env": "^7.25.3",
29
+ "babel-jest": "^29.7.0",
30
+ "docdash": "^2.0.2",
31
+ "ts-jest": "^29.2.4"
29
32
  }
30
33
  }
@@ -3,7 +3,7 @@ let contentTypeConfig = {
3
3
  'fields': [
4
4
  '"artist_name": artist->name',
5
5
  'soundslice',
6
- 'instrumentless'
6
+ 'instrumentless',
7
7
  ],
8
8
  'relationships': {
9
9
  'artist': {
package/src/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import {
2
- initializeService,
3
2
  fetchSongById,
4
3
  fetchArtists,
5
4
  fetchSongArtistCount,
@@ -9,6 +8,7 @@ import {
9
8
  fetchSongCount,
10
9
  fetchWorkouts,
11
10
  fetchNewReleases,
11
+ fetchLiveEvent,
12
12
  fetchUpcomingEvents,
13
13
  fetchByRailContentId,
14
14
  fetchByRailContentIds,
@@ -21,7 +21,9 @@ import {
21
21
  fetchPackAll,
22
22
  fetchPackChildren,
23
23
  fetchLessonContent
24
- } from './index.js';
24
+ } from './services/sanity.js';
25
+
26
+ import { initializeService } from './services/config.js';
25
27
 
26
28
  declare module 'musora-content-services' {
27
29
  export {
package/src/index.js CHANGED
@@ -27,7 +27,8 @@ import {
27
27
 
28
28
  import {
29
29
  fetchCurrentSongComplete,
30
- fetchAllCompletedStates
30
+ fetchAllCompletedStates,
31
+ fetchContentInProgress
31
32
  } from './services/railcontent.js';
32
33
 
33
34
 
@@ -56,5 +57,6 @@ export {
56
57
  fetchPackChildren,
57
58
  fetchLessonContent,
58
59
  fetchCurrentSongComplete,
59
- fetchAllCompletedStates
60
+ fetchAllCompletedStates,
61
+ fetchContentInProgress
60
62
  }