musora-content-services 1.0.121 → 1.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/.github/workflows/node.js.yml +0 -0
  2. package/CHANGELOG.md +4 -0
  3. package/README.md +0 -0
  4. package/babel.config.js +0 -0
  5. package/docs/config.js.html +7 -3
  6. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  7. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  8. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  9. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  10. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  11. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  14. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  15. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  16. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  17. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  18. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  24. package/docs/index.html +1 -1
  25. package/docs/module-Config.html +28 -3
  26. package/docs/module-Railcontent-Services.html +7 -7
  27. package/docs/module-Sanity-Services.html +426 -48
  28. package/docs/railcontent.js.html +37 -47
  29. package/docs/sanity.js.html +69 -12
  30. package/docs/scripts/collapse.js +0 -0
  31. package/docs/scripts/commonNav.js +0 -0
  32. package/docs/scripts/linenumber.js +0 -0
  33. package/docs/scripts/nav.js +0 -0
  34. package/docs/scripts/polyfill.js +0 -0
  35. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  36. package/docs/scripts/prettify/lang-css.js +0 -0
  37. package/docs/scripts/prettify/prettify.js +0 -0
  38. package/docs/scripts/search.js +0 -0
  39. package/docs/styles/jsdoc.css +0 -0
  40. package/docs/styles/prettify.css +0 -0
  41. package/jest.config.js +0 -0
  42. package/jsdoc.json +0 -0
  43. package/link_mcs.sh +0 -0
  44. package/package.json +1 -1
  45. package/src/contentMetaData.js +11 -0
  46. package/src/contentTypeConfig.js +6 -2
  47. package/src/services/railcontent.js +0 -2
  48. package/src/services/sanity.js +66 -11
  49. package/test/localStorageMock.js +0 -0
  50. package/test/log.js +0 -0
  51. package/test/sanityQueryService.test.js +39 -0
  52. package/tools/generate-index.js +0 -0
@@ -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#line457">line 457</a>
103
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line458">line 458</a>
104
104
  </li></ul></dd>
105
105
 
106
106
 
@@ -695,7 +695,7 @@
695
695
 
696
696
 
697
697
 
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"> &rarr; {Promise.&lt;(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>, coachId<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
699
699
 
700
700
 
701
701
 
@@ -708,13 +708,14 @@
708
708
  <dd class="tag-description"><ul class="dummy"><li>Fetches all available filter options based on various criteria such as brand, filters, style, artist, content type, and search term.
709
709
 
710
710
  This function constructs a query to retrieve the total number of results and filter options such as difficulty, instrument type, and genre.
711
- The filter options are dynamically generated based on the provided filters, style, artist, and content type.</li></ul></dd>
711
+ The filter options are dynamically generated based on the provided filters, style, artist, and content type.
712
+ If a coachId is provided, the content type must be 'coach-lessons'.</li></ul></dd>
712
713
 
713
714
 
714
715
 
715
716
  <dt class="tag-source">Source:</dt>
716
717
  <dd class="tag-source"><ul class="dummy"><li>
717
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line595">line 595</a>
718
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line606">line 606</a>
718
719
  </li></ul></dd>
719
720
 
720
721
 
@@ -759,13 +760,18 @@ The filter options are dynamically generated based on the provided filters, styl
759
760
 
760
761
 
761
762
 
762
- <h5 class="h5-examples">Example</h5>
763
+ <h5 class="h5-examples">Examples</h5>
763
764
 
764
765
  <pre class="prettyprint"><code>// Example usage:
765
766
  fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
766
767
  .then(options => console.log(options))
767
768
  .catch(error => console.error(error));</code></pre>
768
769
 
770
+ <pre class="prettyprint"><code>// Example usage with coachId:
771
+ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'coach-lessons', 'Love', undefined, '123')
772
+ .then(options => console.log(options))
773
+ .catch(error => console.error(error));</code></pre>
774
+
769
775
 
770
776
 
771
777
 
@@ -1025,6 +1031,40 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1025
1031
  </tr>
1026
1032
 
1027
1033
 
1034
+
1035
+ <tr>
1036
+
1037
+ <td class="name"><code>coachId</code></td>
1038
+
1039
+
1040
+ <td class="type">
1041
+
1042
+
1043
+ <span class="param-type">string</span>
1044
+
1045
+
1046
+
1047
+
1048
+ </td>
1049
+
1050
+
1051
+ <td class="attributes">
1052
+
1053
+ &lt;optional><br>
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+ </td>
1060
+
1061
+
1062
+
1063
+
1064
+ <td class="description last">Optional coach ID to filter the results by a specific coach. If provided, contentType must be 'coach-lessons'.</td>
1065
+ </tr>
1066
+
1067
+
1028
1068
  </tbody>
1029
1069
  </table>
1030
1070
 
@@ -1041,6 +1081,36 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1041
1081
 
1042
1082
 
1043
1083
 
1084
+ <h5 class="h5-throws">Throws:</h5>
1085
+
1086
+
1087
+
1088
+ <dl>
1089
+ <dt>
1090
+ <div class="param-desc usertext">
1091
+ Will throw an error if coachId is provided but contentType is not 'coach-lessons'.
1092
+ </div>
1093
+ </dt>
1094
+ <dd></dd>
1095
+ <dt>
1096
+ <dl class="param-type">
1097
+ <dt>
1098
+ Type
1099
+ </dt>
1100
+ <dd>
1101
+
1102
+ <span class="param-type">Error</span>
1103
+
1104
+
1105
+
1106
+ </dd>
1107
+ </dl>
1108
+ </dt>
1109
+ <dd></dd>
1110
+ </dl>
1111
+
1112
+
1113
+
1044
1114
 
1045
1115
 
1046
1116
  <h5 class="h5-returns">Returns:</h5>
@@ -1090,7 +1160,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1090
1160
 
1091
1161
  <dt class="tag-source">Source:</dt>
1092
1162
  <dd class="tag-source"><ul class="dummy"><li>
1093
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line966">line 966</a>
1163
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1001">line 1001</a>
1094
1164
  </li></ul></dd>
1095
1165
 
1096
1166
 
@@ -1344,7 +1414,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1344
1414
 
1345
1415
  <dt class="tag-source">Source:</dt>
1346
1416
  <dd class="tag-source"><ul class="dummy"><li>
1347
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line184">line 184</a>
1417
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line185">line 185</a>
1348
1418
  </li></ul></dd>
1349
1419
 
1350
1420
 
@@ -1810,7 +1880,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
1810
1880
 
1811
1881
  <dt class="tag-source">Source:</dt>
1812
1882
  <dd class="tag-source"><ul class="dummy"><li>
1813
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1178">line 1178</a>
1883
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1227">line 1227</a>
1814
1884
  </li></ul></dd>
1815
1885
 
1816
1886
 
@@ -2023,7 +2093,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2023
2093
 
2024
2094
  <dt class="tag-source">Source:</dt>
2025
2095
  <dd class="tag-source"><ul class="dummy"><li>
2026
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line62">line 62</a>
2096
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line63">line 63</a>
2027
2097
  </li></ul></dd>
2028
2098
 
2029
2099
 
@@ -2188,7 +2258,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2188
2258
 
2189
2259
  <dt class="tag-source">Source:</dt>
2190
2260
  <dd class="tag-source"><ul class="dummy"><li>
2191
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line392">line 392</a>
2261
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line393">line 393</a>
2192
2262
  </li></ul></dd>
2193
2263
 
2194
2264
 
@@ -2377,7 +2447,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2377
2447
 
2378
2448
  <dt class="tag-source">Source:</dt>
2379
2449
  <dd class="tag-source"><ul class="dummy"><li>
2380
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line417">line 417</a>
2450
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line418">line 418</a>
2381
2451
  </li></ul></dd>
2382
2452
 
2383
2453
 
@@ -2586,7 +2656,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
2586
2656
 
2587
2657
  <dt class="tag-source">Source:</dt>
2588
2658
  <dd class="tag-source"><ul class="dummy"><li>
2589
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1139">line 1139</a>
2659
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1188">line 1188</a>
2590
2660
  </li></ul></dd>
2591
2661
 
2592
2662
 
@@ -2752,7 +2822,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
2752
2822
 
2753
2823
  <dt class="tag-source">Source:</dt>
2754
2824
  <dd class="tag-source"><ul class="dummy"><li>
2755
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1357">line 1357</a>
2825
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1406">line 1406</a>
2756
2826
  </li></ul></dd>
2757
2827
 
2758
2828
 
@@ -2917,7 +2987,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
2917
2987
 
2918
2988
  <dt class="tag-source">Source:</dt>
2919
2989
  <dd class="tag-source"><ul class="dummy"><li>
2920
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1062">line 1062</a>
2990
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1097">line 1097</a>
2921
2991
  </li></ul></dd>
2922
2992
 
2923
2993
 
@@ -3082,7 +3152,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3082
3152
 
3083
3153
  <dt class="tag-source">Source:</dt>
3084
3154
  <dd class="tag-source"><ul class="dummy"><li>
3085
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line642">line 642</a>
3155
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line676">line 676</a>
3086
3156
  </li></ul></dd>
3087
3157
 
3088
3158
 
@@ -3268,7 +3338,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3268
3338
 
3269
3339
 
3270
3340
 
3271
- <h4 class="name" id=".fetchCoachLessons"><span class="type-signature type-signature-static">(static) </span>fetchCoachLessons<span class="signature">(id)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3341
+ <h4 class="name" id=".fetchCoachLessons"><span class="type-signature type-signature-static">(static) </span>fetchCoachLessons<span class="signature">(brand, id, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
3272
3342
 
3273
3343
 
3274
3344
 
@@ -3284,7 +3354,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3284
3354
 
3285
3355
  <dt class="tag-source">Source:</dt>
3286
3356
  <dd class="tag-source"><ul class="dummy"><li>
3287
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1090">line 1090</a>
3357
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1134">line 1134</a>
3288
3358
  </li></ul></dd>
3289
3359
 
3290
3360
 
@@ -3361,6 +3431,30 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3361
3431
  <tbody>
3362
3432
 
3363
3433
 
3434
+ <tr>
3435
+
3436
+ <td class="name"><code>brand</code></td>
3437
+
3438
+
3439
+ <td class="type">
3440
+
3441
+
3442
+ <span class="param-type">string</span>
3443
+
3444
+
3445
+
3446
+
3447
+ </td>
3448
+
3449
+
3450
+
3451
+
3452
+
3453
+ <td class="description last">The brand for which to fetch coach lessons</td>
3454
+ </tr>
3455
+
3456
+
3457
+
3364
3458
  <tr>
3365
3459
 
3366
3460
  <td class="name"><code>id</code></td>
@@ -3384,6 +3478,260 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3384
3478
  </tr>
3385
3479
 
3386
3480
 
3481
+
3482
+ <tr>
3483
+
3484
+ <td class="name"><code>params</code></td>
3485
+
3486
+
3487
+ <td class="type">
3488
+
3489
+
3490
+ <span class="param-type">Object</span>
3491
+
3492
+
3493
+
3494
+
3495
+ </td>
3496
+
3497
+
3498
+
3499
+
3500
+
3501
+ <td class="description last">Parameters for pagination, filtering and sorting.
3502
+ <h6>Properties</h6>
3503
+
3504
+
3505
+ <table class="params">
3506
+ <thead>
3507
+ <tr>
3508
+
3509
+ <th>Name</th>
3510
+
3511
+
3512
+ <th>Type</th>
3513
+
3514
+
3515
+ <th>Attributes</th>
3516
+
3517
+
3518
+
3519
+ <th>Default</th>
3520
+
3521
+
3522
+ <th class="last">Description</th>
3523
+ </tr>
3524
+ </thead>
3525
+
3526
+ <tbody>
3527
+
3528
+
3529
+ <tr>
3530
+
3531
+ <td class="name"><code>sortOrder</code></td>
3532
+
3533
+
3534
+ <td class="type">
3535
+
3536
+
3537
+ <span class="param-type">string</span>
3538
+
3539
+
3540
+
3541
+
3542
+ </td>
3543
+
3544
+
3545
+ <td class="attributes">
3546
+
3547
+ &lt;optional><br>
3548
+
3549
+
3550
+
3551
+
3552
+
3553
+ </td>
3554
+
3555
+
3556
+
3557
+ <td class="default">
3558
+
3559
+ <code>"-published_on"</code>
3560
+
3561
+ </td>
3562
+
3563
+
3564
+ <td class="description last">The field to sort the lessons by.</td>
3565
+ </tr>
3566
+
3567
+
3568
+
3569
+ <tr>
3570
+
3571
+ <td class="name"><code>searchTerm</code></td>
3572
+
3573
+
3574
+ <td class="type">
3575
+
3576
+
3577
+ <span class="param-type">string</span>
3578
+
3579
+
3580
+
3581
+
3582
+ </td>
3583
+
3584
+
3585
+ <td class="attributes">
3586
+
3587
+ &lt;optional><br>
3588
+
3589
+
3590
+
3591
+
3592
+
3593
+ </td>
3594
+
3595
+
3596
+
3597
+ <td class="default">
3598
+
3599
+ <code>""</code>
3600
+
3601
+ </td>
3602
+
3603
+
3604
+ <td class="description last">The search term to filter content by title.</td>
3605
+ </tr>
3606
+
3607
+
3608
+
3609
+ <tr>
3610
+
3611
+ <td class="name"><code>page</code></td>
3612
+
3613
+
3614
+ <td class="type">
3615
+
3616
+
3617
+ <span class="param-type">number</span>
3618
+
3619
+
3620
+
3621
+
3622
+ </td>
3623
+
3624
+
3625
+ <td class="attributes">
3626
+
3627
+ &lt;optional><br>
3628
+
3629
+
3630
+
3631
+
3632
+
3633
+ </td>
3634
+
3635
+
3636
+
3637
+ <td class="default">
3638
+
3639
+ <code>1</code>
3640
+
3641
+ </td>
3642
+
3643
+
3644
+ <td class="description last">The page number for pagination.</td>
3645
+ </tr>
3646
+
3647
+
3648
+
3649
+ <tr>
3650
+
3651
+ <td class="name"><code>limit</code></td>
3652
+
3653
+
3654
+ <td class="type">
3655
+
3656
+
3657
+ <span class="param-type">number</span>
3658
+
3659
+
3660
+
3661
+
3662
+ </td>
3663
+
3664
+
3665
+ <td class="attributes">
3666
+
3667
+ &lt;optional><br>
3668
+
3669
+
3670
+
3671
+
3672
+
3673
+ </td>
3674
+
3675
+
3676
+
3677
+ <td class="default">
3678
+
3679
+ <code>10</code>
3680
+
3681
+ </td>
3682
+
3683
+
3684
+ <td class="description last">The number of items per page.</td>
3685
+ </tr>
3686
+
3687
+
3688
+
3689
+ <tr>
3690
+
3691
+ <td class="name"><code>includedFields</code></td>
3692
+
3693
+
3694
+ <td class="type">
3695
+
3696
+
3697
+ <span class="param-type">Array.&lt;string></span>
3698
+
3699
+
3700
+
3701
+
3702
+ </td>
3703
+
3704
+
3705
+ <td class="attributes">
3706
+
3707
+ &lt;optional><br>
3708
+
3709
+
3710
+
3711
+
3712
+
3713
+ </td>
3714
+
3715
+
3716
+
3717
+ <td class="default">
3718
+
3719
+ <code>[]</code>
3720
+
3721
+ </td>
3722
+
3723
+
3724
+ <td class="description last">Additional filters to apply to the query in the format of a key,value array. eg. ['difficulty,Intermediate', 'genre,rock'].</td>
3725
+ </tr>
3726
+
3727
+
3728
+ </tbody>
3729
+ </table>
3730
+
3731
+ </td>
3732
+ </tr>
3733
+
3734
+
3387
3735
  </tbody>
3388
3736
  </table>
3389
3737
 
@@ -3449,7 +3797,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3449
3797
 
3450
3798
  <dt class="tag-source">Source:</dt>
3451
3799
  <dd class="tag-source"><ul class="dummy"><li>
3452
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1124">line 1124</a>
3800
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1173">line 1173</a>
3453
3801
  </li></ul></dd>
3454
3802
 
3455
3803
 
@@ -3614,7 +3962,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3614
3962
 
3615
3963
  <dt class="tag-source">Source:</dt>
3616
3964
  <dd class="tag-source"><ul class="dummy"><li>
3617
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line688">line 688</a>
3965
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line722">line 722</a>
3618
3966
  </li></ul></dd>
3619
3967
 
3620
3968
 
@@ -3772,7 +4120,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3772
4120
 
3773
4121
  <dt class="tag-source">Source:</dt>
3774
4122
  <dd class="tag-source"><ul class="dummy"><li>
3775
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1219">line 1219</a>
4123
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1268">line 1268</a>
3776
4124
  </li></ul></dd>
3777
4125
 
3778
4126
 
@@ -3985,7 +4333,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
3985
4333
 
3986
4334
  <dt class="tag-source">Source:</dt>
3987
4335
  <dd class="tag-source"><ul class="dummy"><li>
3988
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line859">line 859</a>
4336
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line893">line 893</a>
3989
4337
  </li></ul></dd>
3990
4338
 
3991
4339
 
@@ -4150,7 +4498,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
4150
4498
 
4151
4499
  <dt class="tag-source">Source:</dt>
4152
4500
  <dd class="tag-source"><ul class="dummy"><li>
4153
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1407">line 1407</a>
4501
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1456">line 1456</a>
4154
4502
  </li></ul></dd>
4155
4503
 
4156
4504
 
@@ -4335,7 +4683,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
4335
4683
 
4336
4684
  <dt class="tag-source">Source:</dt>
4337
4685
  <dd class="tag-source"><ul class="dummy"><li>
4338
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line708">line 708</a>
4686
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line742">line 742</a>
4339
4687
  </li></ul></dd>
4340
4688
 
4341
4689
 
@@ -4517,7 +4865,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
4517
4865
 
4518
4866
  <dt class="tag-source">Source:</dt>
4519
4867
  <dd class="tag-source"><ul class="dummy"><li>
4520
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line746">line 746</a>
4868
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line780">line 780</a>
4521
4869
  </li></ul></dd>
4522
4870
 
4523
4871
 
@@ -4675,7 +5023,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
4675
5023
 
4676
5024
  <dt class="tag-source">Source:</dt>
4677
5025
  <dd class="tag-source"><ul class="dummy"><li>
4678
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line800">line 800</a>
5026
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line834">line 834</a>
4679
5027
  </li></ul></dd>
4680
5028
 
4681
5029
 
@@ -4833,7 +5181,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
4833
5181
 
4834
5182
  <dt class="tag-source">Source:</dt>
4835
5183
  <dd class="tag-source"><ul class="dummy"><li>
4836
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line767">line 767</a>
5184
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line801">line 801</a>
4837
5185
  </li></ul></dd>
4838
5186
 
4839
5187
 
@@ -5015,7 +5363,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5015
5363
 
5016
5364
  <dt class="tag-source">Source:</dt>
5017
5365
  <dd class="tag-source"><ul class="dummy"><li>
5018
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line784">line 784</a>
5366
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line818">line 818</a>
5019
5367
  </li></ul></dd>
5020
5368
 
5021
5369
 
@@ -5204,7 +5552,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5204
5552
 
5205
5553
  <dt class="tag-source">Source:</dt>
5206
5554
  <dd class="tag-source"><ul class="dummy"><li>
5207
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line676">line 676</a>
5555
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line710">line 710</a>
5208
5556
  </li></ul></dd>
5209
5557
 
5210
5558
 
@@ -5362,7 +5710,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5362
5710
 
5363
5711
  <dt class="tag-source">Source:</dt>
5364
5712
  <dd class="tag-source"><ul class="dummy"><li>
5365
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line265">line 265</a>
5713
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line266">line 266</a>
5366
5714
  </li></ul></dd>
5367
5715
 
5368
5716
 
@@ -5520,7 +5868,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5520
5868
 
5521
5869
  <dt class="tag-source">Source:</dt>
5522
5870
  <dd class="tag-source"><ul class="dummy"><li>
5523
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line833">line 833</a>
5871
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line867">line 867</a>
5524
5872
  </li></ul></dd>
5525
5873
 
5526
5874
 
@@ -5678,7 +6026,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5678
6026
 
5679
6027
  <dt class="tag-source">Source:</dt>
5680
6028
  <dd class="tag-source"><ul class="dummy"><li>
5681
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line988">line 988</a>
6029
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1023">line 1023</a>
5682
6030
  </li></ul></dd>
5683
6031
 
5684
6032
 
@@ -5836,7 +6184,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5836
6184
 
5837
6185
  <dt class="tag-source">Source:</dt>
5838
6186
  <dd class="tag-source"><ul class="dummy"><li>
5839
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1048">line 1048</a>
6187
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1083">line 1083</a>
5840
6188
  </li></ul></dd>
5841
6189
 
5842
6190
 
@@ -5998,7 +6346,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
5998
6346
 
5999
6347
  <dt class="tag-source">Source:</dt>
6000
6348
  <dd class="tag-source"><ul class="dummy"><li>
6001
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line659">line 659</a>
6349
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line693">line 693</a>
6002
6350
  </li></ul></dd>
6003
6351
 
6004
6352
 
@@ -6150,7 +6498,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6150
6498
 
6151
6499
  <dt class="tag-source">Source:</dt>
6152
6500
  <dd class="tag-source"><ul class="dummy"><li>
6153
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line919">line 919</a>
6501
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line954">line 954</a>
6154
6502
  </li></ul></dd>
6155
6503
 
6156
6504
 
@@ -6316,7 +6664,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6316
6664
 
6317
6665
 
6318
6666
 
6319
- <h4 class="name" id=".fetchRelatedMethodLessons"><span class="type-signature type-signature-static">(static) </span>fetchRelatedMethodLessons<span class="signature">(railContentId, brand)</span><span class="type-signature"></span></h4>
6667
+ <h4 class="name" id=".fetchRelatedMethodLessons"><span class="type-signature type-signature-static">(static) </span>fetchRelatedMethodLessons<span class="signature">(railContentId, brand)</span><span class="type-signature"> &rarr; {Promise.&lt;(Array.&lt;Object>|null)>}</span></h4>
6320
6668
 
6321
6669
 
6322
6670
 
@@ -6332,7 +6680,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6332
6680
 
6333
6681
  <dt class="tag-source">Source:</dt>
6334
6682
  <dd class="tag-source"><ul class="dummy"><li>
6335
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line941">line 941</a>
6683
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line976">line 976</a>
6336
6684
  </li></ul></dd>
6337
6685
 
6338
6686
 
@@ -6470,8 +6818,25 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6470
6818
  <h5 class="h5-returns">Returns:</h5>
6471
6819
 
6472
6820
 
6821
+ <div class="param-desc">
6822
+ - The fetched related lessons
6823
+ </div>
6824
+
6825
+
6826
+
6827
+ <dl class="param-type">
6828
+ <dt>
6829
+ Type
6830
+ </dt>
6831
+ <dd>
6832
+
6833
+ <span class="param-type">Promise.&lt;(Array.&lt;Object>|null)></span>
6834
+
6473
6835
 
6474
6836
 
6837
+ </dd>
6838
+ </dl>
6839
+
6475
6840
 
6476
6841
 
6477
6842
 
@@ -6497,7 +6862,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6497
6862
 
6498
6863
  <dt class="tag-source">Source:</dt>
6499
6864
  <dd class="tag-source"><ul class="dummy"><li>
6500
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line94">line 94</a>
6865
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line95">line 95</a>
6501
6866
  </li></ul></dd>
6502
6867
 
6503
6868
 
@@ -6683,7 +7048,7 @@ It's an ongoing discussion (Aug 2024), but it's been included here if necessary<
6683
7048
 
6684
7049
  <dt class="tag-source">Source:</dt>
6685
7050
  <dd class="tag-source"><ul class="dummy"><li>
6686
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1264">line 1264</a>
7051
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1313">line 1313</a>
6687
7052
  </li></ul></dd>
6688
7053
 
6689
7054
 
@@ -6981,7 +7346,7 @@ fetchSanity(query, true)
6981
7346
 
6982
7347
  <dt class="tag-source">Source:</dt>
6983
7348
  <dd class="tag-source"><ul class="dummy"><li>
6984
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line355">line 355</a>
7349
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line356">line 356</a>
6985
7350
  </li></ul></dd>
6986
7351
 
6987
7352
 
@@ -7133,7 +7498,7 @@ fetchSanity(query, true)
7133
7498
 
7134
7499
 
7135
7500
 
7136
- <h4 class="name" id=".fetchShowsData"><span class="type-signature type-signature-static">(static) </span>fetchShowsData<span class="signature">(brand)</span><span class="type-signature"></span></h4>
7501
+ <h4 class="name" id=".fetchShowsData"><span class="type-signature type-signature-static">(static) </span>fetchShowsData<span class="signature">(brand)</span><span class="type-signature"> &rarr; {Promise.&lt;{name, description, type: *, thumbnailUrl}>}</span></h4>
7137
7502
 
7138
7503
 
7139
7504
 
@@ -7149,7 +7514,7 @@ fetchSanity(query, true)
7149
7514
 
7150
7515
  <dt class="tag-source">Source:</dt>
7151
7516
  <dd class="tag-source"><ul class="dummy"><li>
7152
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1382">line 1382</a>
7517
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line1431">line 1431</a>
7153
7518
  </li></ul></dd>
7154
7519
 
7155
7520
 
@@ -7266,6 +7631,19 @@ fetchSanity(query, true)
7266
7631
 
7267
7632
 
7268
7633
 
7634
+ <dl class="param-type">
7635
+ <dt>
7636
+ Type
7637
+ </dt>
7638
+ <dd>
7639
+
7640
+ <span class="param-type">Promise.&lt;{name, description, type: *, thumbnailUrl}></span>
7641
+
7642
+
7643
+
7644
+ </dd>
7645
+ </dl>
7646
+
7269
7647
 
7270
7648
 
7271
7649
 
@@ -7291,7 +7669,7 @@ fetchSanity(query, true)
7291
7669
 
7292
7670
  <dt class="tag-source">Source:</dt>
7293
7671
  <dd class="tag-source"><ul class="dummy"><li>
7294
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line77">line 77</a>
7672
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line78">line 78</a>
7295
7673
  </li></ul></dd>
7296
7674
 
7297
7675
 
@@ -7449,7 +7827,7 @@ fetchSanity(query, true)
7449
7827
 
7450
7828
  <dt class="tag-source">Source:</dt>
7451
7829
  <dd class="tag-source"><ul class="dummy"><li>
7452
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line38">line 38</a>
7830
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line39">line 39</a>
7453
7831
  </li></ul></dd>
7454
7832
 
7455
7833
 
@@ -7614,7 +7992,7 @@ fetchSanity(query, true)
7614
7992
 
7615
7993
  <dt class="tag-source">Source:</dt>
7616
7994
  <dd class="tag-source"><ul class="dummy"><li>
7617
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line234">line 234</a>
7995
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line235">line 235</a>
7618
7996
  </li></ul></dd>
7619
7997
 
7620
7998
 
@@ -7772,7 +8150,7 @@ fetchSanity(query, true)
7772
8150
 
7773
8151
  <dt class="tag-source">Source:</dt>
7774
8152
  <dd class="tag-source"><ul class="dummy"><li>
7775
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line206">line 206</a>
8153
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line207">line 207</a>
7776
8154
  </li></ul></dd>
7777
8155
 
7778
8156
 
@@ -7937,7 +8315,7 @@ fetchSanity(query, true)
7937
8315
 
7938
8316
  <dt class="tag-source">Source:</dt>
7939
8317
  <dd class="tag-source"><ul class="dummy"><li>
7940
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line311">line 311</a>
8318
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line312">line 312</a>
7941
8319
  </li></ul></dd>
7942
8320
 
7943
8321
 
@@ -8107,7 +8485,7 @@ It also includes completion status and progress percentage for each workout by f
8107
8485
 
8108
8486
  <dt class="tag-source">Source:</dt>
8109
8487
  <dd class="tag-source"><ul class="dummy"><li>
8110
- <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line252">line 252</a>
8488
+ <a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line253">line 253</a>
8111
8489
  </li></ul></dd>
8112
8490
 
8113
8491
 
@@ -8271,7 +8649,7 @@ It also includes completion status and progress percentage for each workout by f
8271
8649
  <br class="clear">
8272
8650
 
8273
8651
  <footer>
8274
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 27 2024 21:58:51 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8652
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Oct 02 2024 12:20:08 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8275
8653
  </footer>
8276
8654
 
8277
8655
  <script>prettyPrint();</script>