musora-content-services 1.0.81 → 1.0.82
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/.github/workflows/node.js.yml +0 -0
- package/CHANGELOG.md +2 -0
- package/README.md +0 -0
- package/babel.config.js +0 -0
- package/docs/config.js.html +2 -2
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/index.html +2 -2
- package/docs/module-Config.html +2 -2
- package/docs/module-Railcontent-Services.html +344 -14
- package/docs/module-Sanity-Services.html +337 -24
- package/docs/railcontent.js.html +73 -9
- package/docs/sanity.js.html +52 -21
- package/docs/scripts/collapse.js +0 -0
- package/docs/scripts/commonNav.js +0 -0
- package/docs/scripts/linenumber.js +0 -0
- package/docs/scripts/nav.js +0 -0
- package/docs/scripts/polyfill.js +0 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
- package/docs/scripts/prettify/lang-css.js +0 -0
- package/docs/scripts/prettify/prettify.js +0 -0
- package/docs/scripts/search.js +0 -0
- package/docs/styles/jsdoc.css +0 -0
- package/docs/styles/prettify.css +0 -0
- package/jest.config.js +0 -0
- package/jsdoc.json +0 -0
- package/package.json +1 -1
- package/src/services/config.js +0 -0
- package/src/services/sanity.js +15 -5
- package/test/sanityQueryService.test.js +12 -0
|
@@ -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#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.
|
|
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#.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#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchVimeoData">fetchVimeoData</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#.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#.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#.fetchLessonContent">fetchLessonContent</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#.fetchParentByRailContentId">fetchParentByRailContentId</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#
|
|
103
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line389">line 389</a>
|
|
104
104
|
</li></ul></dd>
|
|
105
105
|
|
|
106
106
|
|
|
@@ -153,7 +153,10 @@
|
|
|
153
153
|
searchTerm: 'jazz',
|
|
154
154
|
sort: '-popularity',
|
|
155
155
|
includedFields: ['difficulty,Intermediate'],
|
|
156
|
-
groupBy: 'artist'
|
|
156
|
+
groupBy: 'artist',
|
|
157
|
+
progressIds: [123, 321],
|
|
158
|
+
useDefaultFields: false,
|
|
159
|
+
customFields: ['is_house_coach', 'slug.current', "'instructors': instructor[]->name"],
|
|
157
160
|
})
|
|
158
161
|
.then(content => console.log(content))
|
|
159
162
|
.catch(error => console.error(error));</code></pre>
|
|
@@ -518,6 +521,124 @@
|
|
|
518
521
|
</tr>
|
|
519
522
|
|
|
520
523
|
|
|
524
|
+
|
|
525
|
+
<tr>
|
|
526
|
+
|
|
527
|
+
<td class="name"><code>progressIds</code></td>
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
<td class="type">
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
<span class="param-type">Array.<string></span>
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
</td>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
<td class="attributes">
|
|
542
|
+
|
|
543
|
+
<optional><br>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
</td>
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
<td class="default">
|
|
554
|
+
|
|
555
|
+
</td>
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<td class="description last">An array of railcontent IDs to filter the results by. Used for filtering by progress.</td>
|
|
559
|
+
</tr>
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
<tr>
|
|
564
|
+
|
|
565
|
+
<td class="name"><code>useDefaultFields</code></td>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
<td class="type">
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
<span class="param-type">boolean</span>
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
</td>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<td class="attributes">
|
|
580
|
+
|
|
581
|
+
<optional><br>
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
</td>
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
<td class="default">
|
|
592
|
+
|
|
593
|
+
<code>true</code>
|
|
594
|
+
|
|
595
|
+
</td>
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
<td class="description last">use the default sanity fields for content Type</td>
|
|
599
|
+
</tr>
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
<tr>
|
|
604
|
+
|
|
605
|
+
<td class="name"><code>customFields</code></td>
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
<td class="type">
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
<span class="param-type">Array.<string></span>
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
</td>
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
<td class="attributes">
|
|
620
|
+
|
|
621
|
+
<optional><br>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
</td>
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
<td class="default">
|
|
632
|
+
|
|
633
|
+
<code>[]</code>
|
|
634
|
+
|
|
635
|
+
</td>
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
<td class="description last">An array of sanity fields to include in the request</td>
|
|
639
|
+
</tr>
|
|
640
|
+
|
|
641
|
+
|
|
521
642
|
</tbody>
|
|
522
643
|
</table>
|
|
523
644
|
|
|
@@ -574,7 +695,7 @@
|
|
|
574
695
|
|
|
575
696
|
|
|
576
697
|
|
|
577
|
-
<h4 class="name" id=".fetchAllFilterOptions"><span class="type-signature type-signature-static">(static) </span>fetchAllFilterOptions<span class="signature">(brand, filters, style<span class="signature-attributes">opt</span>, artist<span class="signature-attributes">opt</span>, contentType, term<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
698
|
+
<h4 class="name" id=".fetchAllFilterOptions"><span class="type-signature type-signature-static">(static) </span>fetchAllFilterOptions<span class="signature">(brand, filters, style<span class="signature-attributes">opt</span>, artist<span class="signature-attributes">opt</span>, contentType, term<span class="signature-attributes">opt</span>, progressIds<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
578
699
|
|
|
579
700
|
|
|
580
701
|
|
|
@@ -593,7 +714,7 @@ The filter options are dynamically generated based on the provided filters, styl
|
|
|
593
714
|
|
|
594
715
|
<dt class="tag-source">Source:</dt>
|
|
595
716
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
596
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
717
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line525">line 525</a>
|
|
597
718
|
</li></ul></dd>
|
|
598
719
|
|
|
599
720
|
|
|
@@ -870,6 +991,40 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
870
991
|
</tr>
|
|
871
992
|
|
|
872
993
|
|
|
994
|
+
|
|
995
|
+
<tr>
|
|
996
|
+
|
|
997
|
+
<td class="name"><code>progressIds</code></td>
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
<td class="type">
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
<span class="param-type">Array.<string></span>
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
</td>
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
<td class="attributes">
|
|
1012
|
+
|
|
1013
|
+
<optional><br>
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
</td>
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
<td class="description last">An array of railcontent IDs to filter the results by. Used for filtering by progress.</td>
|
|
1025
|
+
</tr>
|
|
1026
|
+
|
|
1027
|
+
|
|
873
1028
|
</tbody>
|
|
874
1029
|
</table>
|
|
875
1030
|
|
|
@@ -1731,7 +1886,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1731
1886
|
|
|
1732
1887
|
<dt class="tag-source">Source:</dt>
|
|
1733
1888
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1734
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
1889
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line350">line 350</a>
|
|
1735
1890
|
</li></ul></dd>
|
|
1736
1891
|
|
|
1737
1892
|
|
|
@@ -1941,7 +2096,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
1941
2096
|
|
|
1942
2097
|
<dt class="tag-source">Source:</dt>
|
|
1943
2098
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1944
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
2099
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1053">line 1053</a>
|
|
1945
2100
|
</li></ul></dd>
|
|
1946
2101
|
|
|
1947
2102
|
|
|
@@ -2106,7 +2261,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2106
2261
|
|
|
2107
2262
|
<dt class="tag-source">Source:</dt>
|
|
2108
2263
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2109
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
2264
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line933">line 933</a>
|
|
2110
2265
|
</li></ul></dd>
|
|
2111
2266
|
|
|
2112
2267
|
|
|
@@ -2271,7 +2426,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2271
2426
|
|
|
2272
2427
|
<dt class="tag-source">Source:</dt>
|
|
2273
2428
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2274
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
2429
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line573">line 573</a>
|
|
2275
2430
|
</li></ul></dd>
|
|
2276
2431
|
|
|
2277
2432
|
|
|
@@ -2473,7 +2628,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2473
2628
|
|
|
2474
2629
|
<dt class="tag-source">Source:</dt>
|
|
2475
2630
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2476
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
2631
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line961">line 961</a>
|
|
2477
2632
|
</li></ul></dd>
|
|
2478
2633
|
|
|
2479
2634
|
|
|
@@ -2622,6 +2777,164 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2622
2777
|
|
|
2623
2778
|
|
|
2624
2779
|
|
|
2780
|
+
<h4 class="name" id=".fetchFoundation"><span class="type-signature type-signature-static">(static) </span>fetchFoundation<span class="signature">(slug)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
<dl class="details">
|
|
2788
|
+
|
|
2789
|
+
<dt class="tag-description">Description:</dt>
|
|
2790
|
+
<dd class="tag-description"><ul class="dummy"><li>Fetch the Foundations 2019.</li></ul></dd>
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
<dt class="tag-source">Source:</dt>
|
|
2795
|
+
<dd class="tag-source"><ul class="dummy"><li>
|
|
2796
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line619">line 619</a>
|
|
2797
|
+
</li></ul></dd>
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
</dl>
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
<h5 class="h5-parameters">Parameters:</h5>
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
<table class="params">
|
|
2847
|
+
<thead>
|
|
2848
|
+
<tr>
|
|
2849
|
+
|
|
2850
|
+
<th>Name</th>
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
<th>Type</th>
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
<th class="last">Description</th>
|
|
2860
|
+
</tr>
|
|
2861
|
+
</thead>
|
|
2862
|
+
|
|
2863
|
+
<tbody>
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
<tr>
|
|
2867
|
+
|
|
2868
|
+
<td class="name"><code>slug</code></td>
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
<td class="type">
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
<span class="param-type">string</span>
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
</td>
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
<td class="description last">The slug of the method.</td>
|
|
2886
|
+
</tr>
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
</tbody>
|
|
2890
|
+
</table>
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
<h5 class="h5-returns">Returns:</h5>
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
<div class="param-desc">
|
|
2911
|
+
- The fetched foundation data or null if not found.
|
|
2912
|
+
</div>
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
<dl class="param-type">
|
|
2917
|
+
<dt>
|
|
2918
|
+
Type
|
|
2919
|
+
</dt>
|
|
2920
|
+
<dd>
|
|
2921
|
+
|
|
2922
|
+
<span class="param-type">Promise.<(Object|null)></span>
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
</dd>
|
|
2927
|
+
</dl>
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2625
2938
|
<h4 class="name" id=".fetchLessonContent"><span class="type-signature type-signature-static">(static) </span>fetchLessonContent<span class="signature">(railContentId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
2626
2939
|
|
|
2627
2940
|
|
|
@@ -2638,7 +2951,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2638
2951
|
|
|
2639
2952
|
<dt class="tag-source">Source:</dt>
|
|
2640
2953
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2641
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
2954
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line784">line 784</a>
|
|
2642
2955
|
</li></ul></dd>
|
|
2643
2956
|
|
|
2644
2957
|
|
|
@@ -2803,7 +3116,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2803
3116
|
|
|
2804
3117
|
<dt class="tag-source">Source:</dt>
|
|
2805
3118
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2806
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3119
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line632">line 632</a>
|
|
2807
3120
|
</li></ul></dd>
|
|
2808
3121
|
|
|
2809
3122
|
|
|
@@ -2985,7 +3298,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
2985
3298
|
|
|
2986
3299
|
<dt class="tag-source">Source:</dt>
|
|
2987
3300
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2988
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3301
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line668">line 668</a>
|
|
2989
3302
|
</li></ul></dd>
|
|
2990
3303
|
|
|
2991
3304
|
|
|
@@ -3143,7 +3456,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
3143
3456
|
|
|
3144
3457
|
<dt class="tag-source">Source:</dt>
|
|
3145
3458
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3146
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3459
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line722">line 722</a>
|
|
3147
3460
|
</li></ul></dd>
|
|
3148
3461
|
|
|
3149
3462
|
|
|
@@ -3301,7 +3614,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
3301
3614
|
|
|
3302
3615
|
<dt class="tag-source">Source:</dt>
|
|
3303
3616
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3304
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3617
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line688">line 688</a>
|
|
3305
3618
|
</li></ul></dd>
|
|
3306
3619
|
|
|
3307
3620
|
|
|
@@ -3483,7 +3796,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
3483
3796
|
|
|
3484
3797
|
<dt class="tag-source">Source:</dt>
|
|
3485
3798
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3486
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3799
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line706">line 706</a>
|
|
3487
3800
|
</li></ul></dd>
|
|
3488
3801
|
|
|
3489
3802
|
|
|
@@ -3672,7 +3985,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
3672
3985
|
|
|
3673
3986
|
<dt class="tag-source">Source:</dt>
|
|
3674
3987
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3675
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
3988
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line607">line 607</a>
|
|
3676
3989
|
</li></ul></dd>
|
|
3677
3990
|
|
|
3678
3991
|
|
|
@@ -3988,7 +4301,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
3988
4301
|
|
|
3989
4302
|
<dt class="tag-source">Source:</dt>
|
|
3990
4303
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3991
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
4304
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line758">line 758</a>
|
|
3992
4305
|
</li></ul></dd>
|
|
3993
4306
|
|
|
3994
4307
|
|
|
@@ -4146,7 +4459,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
4146
4459
|
|
|
4147
4460
|
<dt class="tag-source">Source:</dt>
|
|
4148
4461
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4149
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
4462
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line846">line 846</a>
|
|
4150
4463
|
</li></ul></dd>
|
|
4151
4464
|
|
|
4152
4465
|
|
|
@@ -4304,7 +4617,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
4304
4617
|
|
|
4305
4618
|
<dt class="tag-source">Source:</dt>
|
|
4306
4619
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4307
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
4620
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line919">line 919</a>
|
|
4308
4621
|
</li></ul></dd>
|
|
4309
4622
|
|
|
4310
4623
|
|
|
@@ -4466,7 +4779,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
4466
4779
|
|
|
4467
4780
|
<dt class="tag-source">Source:</dt>
|
|
4468
4781
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4469
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
4782
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line590">line 590</a>
|
|
4470
4783
|
</li></ul></dd>
|
|
4471
4784
|
|
|
4472
4785
|
|
|
@@ -4618,7 +4931,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
4618
4931
|
|
|
4619
4932
|
<dt class="tag-source">Source:</dt>
|
|
4620
4933
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4621
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
4934
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line825">line 825</a>
|
|
4622
4935
|
</li></ul></dd>
|
|
4623
4936
|
|
|
4624
4937
|
|
|
@@ -4989,7 +5302,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
|
|
|
4989
5302
|
|
|
4990
5303
|
<dt class="tag-source">Source:</dt>
|
|
4991
5304
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4992
|
-
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#
|
|
5305
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1002">line 1002</a>
|
|
4993
5306
|
</li></ul></dd>
|
|
4994
5307
|
|
|
4995
5308
|
|
|
@@ -6156,7 +6469,7 @@ It also includes completion status and progress percentage for each workout by f
|
|
|
6156
6469
|
<br class="clear">
|
|
6157
6470
|
|
|
6158
6471
|
<footer>
|
|
6159
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
6472
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 06 2024 17:01:42 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
6160
6473
|
</footer>
|
|
6161
6474
|
|
|
6162
6475
|
<script>prettyPrint();</script>
|