musora-content-services 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/docs/config.js.html +124 -0
- package/docs/index.html +2 -2
- package/docs/module-Config.html +669 -0
- package/docs/module-Railcontent-Services.html +751 -0
- package/docs/{global.html → module-Sanity-Services.html} +52 -501
- package/docs/railcontent.js.html +178 -0
- package/docs/sanity.js.html +994 -0
- package/jsdoc.json +1 -1
- package/package.json +1 -1
- package/publish.sh +0 -0
- package/src/index.d.ts +2 -2
- package/src/index.js +32 -909
- package/src/services/config.js +52 -0
- package/src/services/railcontent.js +106 -0
- package/src/services/sanity.js +922 -0
- package/test/sanityQueryService.test.js +2 -2
- package/docs/data/search.json +0 -1
- package/docs/fonts/Inconsolata-Regular.ttf +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +0 -1830
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +0 -1830
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +0 -1831
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +0 -1831
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular.ttf +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.svg +0 -1830
- package/docs/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/docs/fonts/WorkSans-Bold.ttf +0 -0
- package/docs/index.js.html +0 -1122
- package/docs/scripts/core.js +0 -726
- package/docs/scripts/core.min.js +0 -23
- package/docs/scripts/resize.js +0 -90
- package/docs/scripts/search.min.js +0 -6
- package/docs/scripts/third-party/Apache-License-2.0.txt +0 -202
- package/docs/scripts/third-party/fuse.js +0 -9
- package/docs/scripts/third-party/hljs-line-num-original.js +0 -369
- package/docs/scripts/third-party/hljs-line-num.js +0 -1
- package/docs/scripts/third-party/hljs-original.js +0 -5171
- package/docs/scripts/third-party/hljs.js +0 -1
- package/docs/scripts/third-party/popper.js +0 -5
- package/docs/scripts/third-party/tippy.js +0 -1
- package/docs/scripts/third-party/tocbot.js +0 -672
- package/docs/scripts/third-party/tocbot.min.js +0 -1
- package/docs/styles/clean-jsdoc-theme-base.css +0 -1159
- package/docs/styles/clean-jsdoc-theme-dark.css +0 -412
- package/docs/styles/clean-jsdoc-theme-light.css +0 -482
- package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -30
- package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -1
- package/docs/styles/clean-jsdoc-theme.min.css +0 -1
- package/docs/styles/jsdoc-default.css +0 -692
- package/docs/styles/prettify-jsdoc.css +0 -111
- package/docs/styles/prettify-tomorrow.css +0 -132
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
|
|
5
5
|
<meta charset="utf-8">
|
|
6
|
-
<title>
|
|
6
|
+
<title>Sanity-Services - Documentation</title>
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
<script src="scripts/prettify/prettify.js"></script>
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
<h2><a href="index.html">Home</a></h2><h3>
|
|
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>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
36
36
|
<div id="main">
|
|
37
37
|
|
|
38
|
-
<h1 class="page-title">
|
|
38
|
+
<h1 class="page-title">Sanity-Services</h1>
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
@@ -47,11 +47,6 @@
|
|
|
47
47
|
|
|
48
48
|
<header>
|
|
49
49
|
|
|
50
|
-
<h2>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</h2>
|
|
55
50
|
|
|
56
51
|
|
|
57
52
|
</header>
|
|
@@ -62,47 +57,6 @@
|
|
|
62
57
|
|
|
63
58
|
|
|
64
59
|
|
|
65
|
-
<dl class="details">
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</dl>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
60
|
|
|
107
61
|
|
|
108
62
|
</div>
|
|
@@ -130,7 +84,7 @@
|
|
|
130
84
|
|
|
131
85
|
|
|
132
86
|
|
|
133
|
-
<h4 class="name" id="fetchAll"><span class="type-signature type-signature-
|
|
87
|
+
<h4 class="name" id=".fetchAll"><span class="type-signature type-signature-static">(static) </span>fetchAll<span class="signature">(brand, type, params)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
134
88
|
|
|
135
89
|
|
|
136
90
|
|
|
@@ -146,7 +100,7 @@
|
|
|
146
100
|
|
|
147
101
|
<dt class="tag-source">Source:</dt>
|
|
148
102
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
149
|
-
<a href="
|
|
103
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line498">line 498</a>
|
|
150
104
|
</li></ul></dd>
|
|
151
105
|
|
|
152
106
|
|
|
@@ -620,7 +574,7 @@
|
|
|
620
574
|
|
|
621
575
|
|
|
622
576
|
|
|
623
|
-
<h4 class="name" id="fetchAllFilterOptions"><span class="type-signature type-signature-
|
|
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>
|
|
624
578
|
|
|
625
579
|
|
|
626
580
|
|
|
@@ -639,7 +593,7 @@ The filter options are dynamically generated based on the provided filters, styl
|
|
|
639
593
|
|
|
640
594
|
<dt class="tag-source">Source:</dt>
|
|
641
595
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
642
|
-
<a href="
|
|
596
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line637">line 637</a>
|
|
643
597
|
</li></ul></dd>
|
|
644
598
|
|
|
645
599
|
|
|
@@ -965,7 +919,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
965
919
|
|
|
966
920
|
|
|
967
921
|
|
|
968
|
-
<h4 class="name" id="fetchAllSongs"><span class="type-signature type-signature-
|
|
922
|
+
<h4 class="name" id=".fetchAllSongs"><span class="type-signature type-signature-static">(static) </span>fetchAllSongs<span class="signature">(brand, params)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
969
923
|
|
|
970
924
|
|
|
971
925
|
|
|
@@ -981,7 +935,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
981
935
|
|
|
982
936
|
<dt class="tag-source">Source:</dt>
|
|
983
937
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
984
|
-
<a href="
|
|
938
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line213">line 213</a>
|
|
985
939
|
</li></ul></dd>
|
|
986
940
|
|
|
987
941
|
|
|
@@ -1431,7 +1385,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1431
1385
|
|
|
1432
1386
|
|
|
1433
1387
|
|
|
1434
|
-
<h4 class="name" id="fetchArtists"><span class="type-signature type-signature-
|
|
1388
|
+
<h4 class="name" id=".fetchArtists"><span class="type-signature type-signature-static">(static) </span>fetchArtists<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
1435
1389
|
|
|
1436
1390
|
|
|
1437
1391
|
|
|
@@ -1447,7 +1401,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1447
1401
|
|
|
1448
1402
|
<dt class="tag-source">Source:</dt>
|
|
1449
1403
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1450
|
-
<a href="
|
|
1404
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line64">line 64</a>
|
|
1451
1405
|
</li></ul></dd>
|
|
1452
1406
|
|
|
1453
1407
|
|
|
@@ -1596,7 +1550,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1596
1550
|
|
|
1597
1551
|
|
|
1598
1552
|
|
|
1599
|
-
<h4 class="name" id="fetchByRailContentId"><span class="type-signature type-signature-
|
|
1553
|
+
<h4 class="name" id=".fetchByRailContentId"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentId<span class="signature">(id)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
1600
1554
|
|
|
1601
1555
|
|
|
1602
1556
|
|
|
@@ -1612,7 +1566,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1612
1566
|
|
|
1613
1567
|
<dt class="tag-source">Source:</dt>
|
|
1614
1568
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1615
|
-
<a href="
|
|
1569
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line431">line 431</a>
|
|
1616
1570
|
</li></ul></dd>
|
|
1617
1571
|
|
|
1618
1572
|
|
|
@@ -1761,7 +1715,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1761
1715
|
|
|
1762
1716
|
|
|
1763
1717
|
|
|
1764
|
-
<h4 class="name" id="fetchByRailContentIds"><span class="type-signature type-signature-
|
|
1718
|
+
<h4 class="name" id=".fetchByRailContentIds"><span class="type-signature type-signature-static">(static) </span>fetchByRailContentIds<span class="signature">(ids)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
1765
1719
|
|
|
1766
1720
|
|
|
1767
1721
|
|
|
@@ -1777,7 +1731,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1777
1731
|
|
|
1778
1732
|
<dt class="tag-source">Source:</dt>
|
|
1779
1733
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1780
|
-
<a href="
|
|
1734
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line457">line 457</a>
|
|
1781
1735
|
</li></ul></dd>
|
|
1782
1736
|
|
|
1783
1737
|
|
|
@@ -1926,7 +1880,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1926
1880
|
|
|
1927
1881
|
|
|
1928
1882
|
|
|
1929
|
-
<h4 class="name" id="fetchChildren"><span class="type-signature type-signature-
|
|
1883
|
+
<h4 class="name" id=".fetchChildren"><span class="type-signature type-signature-static">(static) </span>fetchChildren<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
1930
1884
|
|
|
1931
1885
|
|
|
1932
1886
|
|
|
@@ -1942,7 +1896,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
1942
1896
|
|
|
1943
1897
|
<dt class="tag-source">Source:</dt>
|
|
1944
1898
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1945
|
-
<a href="
|
|
1899
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line680">line 680</a>
|
|
1946
1900
|
</li></ul></dd>
|
|
1947
1901
|
|
|
1948
1902
|
|
|
@@ -2084,7 +2038,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
2084
2038
|
|
|
2085
2039
|
|
|
2086
2040
|
|
|
2087
|
-
<h4 class="name" id="fetchLessonContent"><span class="type-signature type-signature-
|
|
2041
|
+
<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>
|
|
2088
2042
|
|
|
2089
2043
|
|
|
2090
2044
|
|
|
@@ -2100,7 +2054,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
2100
2054
|
|
|
2101
2055
|
<dt class="tag-source">Source:</dt>
|
|
2102
2056
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2103
|
-
<a href="
|
|
2057
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line758">line 758</a>
|
|
2104
2058
|
</li></ul></dd>
|
|
2105
2059
|
|
|
2106
2060
|
|
|
@@ -2249,7 +2203,7 @@ fetchAllFilterOptions('myBrand', '', 'Rock', 'John Doe', 'song', 'Love')
|
|
|
2249
2203
|
|
|
2250
2204
|
|
|
2251
2205
|
|
|
2252
|
-
<h4 class="name" id="fetchLiveEvent"><span class="type-signature type-signature-
|
|
2206
|
+
<h4 class="name" id=".fetchLiveEvent"><span class="type-signature type-signature-static">(static) </span>fetchLiveEvent<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
2253
2207
|
|
|
2254
2208
|
|
|
2255
2209
|
|
|
@@ -2269,7 +2223,7 @@ ongoing based on the event's duration (`length_in_seconds`).</li></ul></dd>
|
|
|
2269
2223
|
|
|
2270
2224
|
<dt class="tag-source">Source:</dt>
|
|
2271
2225
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2272
|
-
<a href="
|
|
2226
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line383">line 383</a>
|
|
2273
2227
|
</li></ul></dd>
|
|
2274
2228
|
|
|
2275
2229
|
|
|
@@ -2419,7 +2373,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2419
2373
|
|
|
2420
2374
|
|
|
2421
2375
|
|
|
2422
|
-
<h4 class="name" id="fetchMethodChildren"><span class="type-signature type-signature-
|
|
2376
|
+
<h4 class="name" id=".fetchMethodChildren"><span class="type-signature type-signature-static">(static) </span>fetchMethodChildren<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
2423
2377
|
|
|
2424
2378
|
|
|
2425
2379
|
|
|
@@ -2435,7 +2389,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2435
2389
|
|
|
2436
2390
|
<dt class="tag-source">Source:</dt>
|
|
2437
2391
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2438
|
-
<a href="
|
|
2392
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line722">line 722</a>
|
|
2439
2393
|
</li></ul></dd>
|
|
2440
2394
|
|
|
2441
2395
|
|
|
@@ -2577,7 +2531,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2577
2531
|
|
|
2578
2532
|
|
|
2579
2533
|
|
|
2580
|
-
<h4 class="name" id="fetchMethodNextLesson"><span class="type-signature type-signature-
|
|
2534
|
+
<h4 class="name" id=".fetchMethodNextLesson"><span class="type-signature type-signature-static">(static) </span>fetchMethodNextLesson<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
2581
2535
|
|
|
2582
2536
|
|
|
2583
2537
|
|
|
@@ -2593,7 +2547,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2593
2547
|
|
|
2594
2548
|
<dt class="tag-source">Source:</dt>
|
|
2595
2549
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2596
|
-
<a href="
|
|
2550
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line701">line 701</a>
|
|
2597
2551
|
</li></ul></dd>
|
|
2598
2552
|
|
|
2599
2553
|
|
|
@@ -2735,7 +2689,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2735
2689
|
|
|
2736
2690
|
|
|
2737
2691
|
|
|
2738
|
-
<h4 class="name" id="fetchNewReleases"><span class="type-signature type-signature-
|
|
2692
|
+
<h4 class="name" id=".fetchNewReleases"><span class="type-signature type-signature-static">(static) </span>fetchNewReleases<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
2739
2693
|
|
|
2740
2694
|
|
|
2741
2695
|
|
|
@@ -2751,7 +2705,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2751
2705
|
|
|
2752
2706
|
<dt class="tag-source">Source:</dt>
|
|
2753
2707
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2754
|
-
<a href="
|
|
2708
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line302">line 302</a>
|
|
2755
2709
|
</li></ul></dd>
|
|
2756
2710
|
|
|
2757
2711
|
|
|
@@ -2893,7 +2847,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2893
2847
|
|
|
2894
2848
|
|
|
2895
2849
|
|
|
2896
|
-
<h4 class="name" id="fetchNextPreviousLesson"><span class="type-signature type-signature-
|
|
2850
|
+
<h4 class="name" id=".fetchNextPreviousLesson"><span class="type-signature type-signature-static">(static) </span>fetchNextPreviousLesson<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
2897
2851
|
|
|
2898
2852
|
|
|
2899
2853
|
|
|
@@ -2909,7 +2863,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
2909
2863
|
|
|
2910
2864
|
<dt class="tag-source">Source:</dt>
|
|
2911
2865
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2912
|
-
<a href="
|
|
2866
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line732">line 732</a>
|
|
2913
2867
|
</li></ul></dd>
|
|
2914
2868
|
|
|
2915
2869
|
|
|
@@ -3051,7 +3005,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3051
3005
|
|
|
3052
3006
|
|
|
3053
3007
|
|
|
3054
|
-
<h4 class="name" id="fetchPackAll"><span class="type-signature type-signature-
|
|
3008
|
+
<h4 class="name" id=".fetchPackAll"><span class="type-signature type-signature-static">(static) </span>fetchPackAll<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
3055
3009
|
|
|
3056
3010
|
|
|
3057
3011
|
|
|
@@ -3067,7 +3021,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3067
3021
|
|
|
3068
3022
|
<dt class="tag-source">Source:</dt>
|
|
3069
3023
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3070
|
-
<a href="
|
|
3024
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line812">line 812</a>
|
|
3071
3025
|
</li></ul></dd>
|
|
3072
3026
|
|
|
3073
3027
|
|
|
@@ -3209,7 +3163,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3209
3163
|
|
|
3210
3164
|
|
|
3211
3165
|
|
|
3212
|
-
<h4 class="name" id="fetchPackChildren"><span class="type-signature type-signature-
|
|
3166
|
+
<h4 class="name" id=".fetchPackChildren"><span class="type-signature type-signature-static">(static) </span>fetchPackChildren<span class="signature">(railcontentId)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
3213
3167
|
|
|
3214
3168
|
|
|
3215
3169
|
|
|
@@ -3225,7 +3179,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3225
3179
|
|
|
3226
3180
|
<dt class="tag-source">Source:</dt>
|
|
3227
3181
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3228
|
-
<a href="
|
|
3182
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line838">line 838</a>
|
|
3229
3183
|
</li></ul></dd>
|
|
3230
3184
|
|
|
3231
3185
|
|
|
@@ -3374,7 +3328,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3374
3328
|
|
|
3375
3329
|
|
|
3376
3330
|
|
|
3377
|
-
<h4 class="name" id="fetchRelatedLessons"><span class="type-signature type-signature-
|
|
3331
|
+
<h4 class="name" id=".fetchRelatedLessons"><span class="type-signature type-signature-static">(static) </span>fetchRelatedLessons<span class="signature">(railContentId, brand)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
3378
3332
|
|
|
3379
3333
|
|
|
3380
3334
|
|
|
@@ -3390,7 +3344,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3390
3344
|
|
|
3391
3345
|
<dt class="tag-source">Source:</dt>
|
|
3392
3346
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3393
|
-
<a href="
|
|
3347
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line791">line 791</a>
|
|
3394
3348
|
</li></ul></dd>
|
|
3395
3349
|
|
|
3396
3350
|
|
|
@@ -3556,7 +3510,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3556
3510
|
|
|
3557
3511
|
|
|
3558
3512
|
|
|
3559
|
-
<h4 class="name" id="fetchRelatedSongs"><span class="type-signature type-signature-
|
|
3513
|
+
<h4 class="name" id=".fetchRelatedSongs"><span class="type-signature type-signature-static">(static) </span>fetchRelatedSongs<span class="signature">(brand, songId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
3560
3514
|
|
|
3561
3515
|
|
|
3562
3516
|
|
|
@@ -3572,7 +3526,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3572
3526
|
|
|
3573
3527
|
<dt class="tag-source">Source:</dt>
|
|
3574
3528
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3575
|
-
<a href="
|
|
3529
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line95">line 95</a>
|
|
3576
3530
|
</li></ul></dd>
|
|
3577
3531
|
|
|
3578
3532
|
|
|
@@ -3745,7 +3699,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3745
3699
|
|
|
3746
3700
|
|
|
3747
3701
|
|
|
3748
|
-
<h4 class="name" id="fetchSanity"><span class="type-signature type-signature-
|
|
3702
|
+
<h4 class="name" id=".fetchSanity"><span class="type-signature type-signature-static">(static) </span>fetchSanity<span class="signature">(query, isList)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
3749
3703
|
|
|
3750
3704
|
|
|
3751
3705
|
|
|
@@ -3761,7 +3715,7 @@ fetchUpcomingEvents('drumeo')
|
|
|
3761
3715
|
|
|
3762
3716
|
<dt class="tag-source">Source:</dt>
|
|
3763
3717
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3764
|
-
<a href="
|
|
3718
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line855">line 855</a>
|
|
3765
3719
|
</li></ul></dd>
|
|
3766
3720
|
|
|
3767
3721
|
|
|
@@ -3935,7 +3889,7 @@ fetchSanity(query, true)
|
|
|
3935
3889
|
|
|
3936
3890
|
|
|
3937
3891
|
|
|
3938
|
-
<h4 class="name" id="fetchSongArtistCount"><span class="type-signature type-signature-
|
|
3892
|
+
<h4 class="name" id=".fetchSongArtistCount"><span class="type-signature type-signature-static">(static) </span>fetchSongArtistCount<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(int|null)>}</span></h4>
|
|
3939
3893
|
|
|
3940
3894
|
|
|
3941
3895
|
|
|
@@ -3951,7 +3905,7 @@ fetchSanity(query, true)
|
|
|
3951
3905
|
|
|
3952
3906
|
<dt class="tag-source">Source:</dt>
|
|
3953
3907
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3954
|
-
<a href="
|
|
3908
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line78">line 78</a>
|
|
3955
3909
|
</li></ul></dd>
|
|
3956
3910
|
|
|
3957
3911
|
|
|
@@ -4093,7 +4047,7 @@ fetchSanity(query, true)
|
|
|
4093
4047
|
|
|
4094
4048
|
|
|
4095
4049
|
|
|
4096
|
-
<h4 class="name" id="fetchSongById"><span class="type-signature type-signature-
|
|
4050
|
+
<h4 class="name" id=".fetchSongById"><span class="type-signature type-signature-static">(static) </span>fetchSongById<span class="signature">(documentId)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
4097
4051
|
|
|
4098
4052
|
|
|
4099
4053
|
|
|
@@ -4109,7 +4063,7 @@ fetchSanity(query, true)
|
|
|
4109
4063
|
|
|
4110
4064
|
<dt class="tag-source">Source:</dt>
|
|
4111
4065
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4112
|
-
<a href="
|
|
4066
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line21">line 21</a>
|
|
4113
4067
|
</li></ul></dd>
|
|
4114
4068
|
|
|
4115
4069
|
|
|
@@ -4258,7 +4212,7 @@ fetchSanity(query, true)
|
|
|
4258
4212
|
|
|
4259
4213
|
|
|
4260
4214
|
|
|
4261
|
-
<h4 class="name" id="fetchSongCount"><span class="type-signature type-signature-
|
|
4215
|
+
<h4 class="name" id=".fetchSongCount"><span class="type-signature type-signature-static">(static) </span>fetchSongCount<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(number|null)>}</span></h4>
|
|
4262
4216
|
|
|
4263
4217
|
|
|
4264
4218
|
|
|
@@ -4274,7 +4228,7 @@ fetchSanity(query, true)
|
|
|
4274
4228
|
|
|
4275
4229
|
<dt class="tag-source">Source:</dt>
|
|
4276
4230
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4277
|
-
<a href="
|
|
4231
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line264">line 264</a>
|
|
4278
4232
|
</li></ul></dd>
|
|
4279
4233
|
|
|
4280
4234
|
|
|
@@ -4416,7 +4370,7 @@ fetchSanity(query, true)
|
|
|
4416
4370
|
|
|
4417
4371
|
|
|
4418
4372
|
|
|
4419
|
-
<h4 class="name" id="fetchSongFilterOptions"><span class="type-signature type-signature-
|
|
4373
|
+
<h4 class="name" id=".fetchSongFilterOptions"><span class="type-signature type-signature-static">(static) </span>fetchSongFilterOptions<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
4420
4374
|
|
|
4421
4375
|
|
|
4422
4376
|
|
|
@@ -4432,7 +4386,7 @@ fetchSanity(query, true)
|
|
|
4432
4386
|
|
|
4433
4387
|
<dt class="tag-source">Source:</dt>
|
|
4434
4388
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4435
|
-
<a href="
|
|
4389
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line235">line 235</a>
|
|
4436
4390
|
</li></ul></dd>
|
|
4437
4391
|
|
|
4438
4392
|
|
|
@@ -4581,7 +4535,7 @@ fetchSanity(query, true)
|
|
|
4581
4535
|
|
|
4582
4536
|
|
|
4583
4537
|
|
|
4584
|
-
<h4 class="name" id="fetchUpcomingEvents"><span class="type-signature type-signature-
|
|
4538
|
+
<h4 class="name" id=".fetchUpcomingEvents"><span class="type-signature type-signature-static">(static) </span>fetchUpcomingEvents<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Object|null)>}</span></h4>
|
|
4585
4539
|
|
|
4586
4540
|
|
|
4587
4541
|
|
|
@@ -4597,7 +4551,7 @@ fetchSanity(query, true)
|
|
|
4597
4551
|
|
|
4598
4552
|
<dt class="tag-source">Source:</dt>
|
|
4599
4553
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4600
|
-
<a href="
|
|
4554
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line338">line 338</a>
|
|
4601
4555
|
</li></ul></dd>
|
|
4602
4556
|
|
|
4603
4557
|
|
|
@@ -4746,7 +4700,7 @@ fetchSanity(query, true)
|
|
|
4746
4700
|
|
|
4747
4701
|
|
|
4748
4702
|
|
|
4749
|
-
<h4 class="name" id="fetchWorkouts"><span class="type-signature type-signature-
|
|
4703
|
+
<h4 class="name" id=".fetchWorkouts"><span class="type-signature type-signature-static">(static) </span>fetchWorkouts<span class="signature">(brand)</span><span class="type-signature"> → {Promise.<(Array.<Object>|null)>}</span></h4>
|
|
4750
4704
|
|
|
4751
4705
|
|
|
4752
4706
|
|
|
@@ -4763,7 +4717,7 @@ This function retrieves the latest workout content for a given brand, fetching u
|
|
|
4763
4717
|
|
|
4764
4718
|
<dt class="tag-source">Source:</dt>
|
|
4765
4719
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4766
|
-
<a href="
|
|
4720
|
+
<a href="sanity.js.html">sanity.js</a>, <a href="sanity.js.html#line280">line 280</a>
|
|
4767
4721
|
</li></ul></dd>
|
|
4768
4722
|
|
|
4769
4723
|
|
|
@@ -4908,409 +4862,6 @@ This function retrieves the latest workout content for a given brand, fetching u
|
|
|
4908
4862
|
|
|
4909
4863
|
|
|
4910
4864
|
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
<h4 class="name" id="initializeSanityService"><span class="type-signature"></span>initializeSanityService<span class="signature">(config)</span><span class="type-signature"></span></h4>
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
<dl class="details">
|
|
4923
|
-
|
|
4924
|
-
<dt class="tag-description">Description:</dt>
|
|
4925
|
-
<dd class="tag-description"><ul class="dummy"><li>Initializes the Sanity service with the given configuration.
|
|
4926
|
-
This function must be called before using any other functions in this library.</li></ul></dd>
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
<dt class="tag-source">Source:</dt>
|
|
4931
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
4932
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#line26">line 26</a>
|
|
4933
|
-
</li></ul></dd>
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
</dl>
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
<h5 class="h5-examples">Example</h5>
|
|
4978
|
-
|
|
4979
|
-
<pre class="prettyprint"><code>// Initialize the Sanity service in your app.js
|
|
4980
|
-
initializeSanityService({
|
|
4981
|
-
token: 'your-sanity-api-token',
|
|
4982
|
-
projectId: 'your-sanity-project-id',
|
|
4983
|
-
dataset: 'your-dataset-name',
|
|
4984
|
-
version: '2021-06-07',
|
|
4985
|
-
debug: true, // Optional: Enable debug mode
|
|
4986
|
-
useCachedAPI: true // Optional: Use cached API
|
|
4987
|
-
});</code></pre>
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
<h5 class="h5-parameters">Parameters:</h5>
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
<table class="params">
|
|
4996
|
-
<thead>
|
|
4997
|
-
<tr>
|
|
4998
|
-
|
|
4999
|
-
<th>Name</th>
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
<th>Type</th>
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
<th class="last">Description</th>
|
|
5009
|
-
</tr>
|
|
5010
|
-
</thead>
|
|
5011
|
-
|
|
5012
|
-
<tbody>
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
<tr>
|
|
5016
|
-
|
|
5017
|
-
<td class="name"><code>config</code></td>
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
<td class="type">
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
<span class="param-type">Object</span>
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
</td>
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
<td class="description last">Configuration object containing Sanity API settings.
|
|
5035
|
-
<h6>Properties</h6>
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
<table class="params">
|
|
5039
|
-
<thead>
|
|
5040
|
-
<tr>
|
|
5041
|
-
|
|
5042
|
-
<th>Name</th>
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
<th>Type</th>
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
<th>Attributes</th>
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
<th>Default</th>
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
<th class="last">Description</th>
|
|
5056
|
-
</tr>
|
|
5057
|
-
</thead>
|
|
5058
|
-
|
|
5059
|
-
<tbody>
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
<tr>
|
|
5063
|
-
|
|
5064
|
-
<td class="name"><code>token</code></td>
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
<td class="type">
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
<span class="param-type">string</span>
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
</td>
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
<td class="attributes">
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
</td>
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
<td class="default">
|
|
5089
|
-
|
|
5090
|
-
</td>
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
<td class="description last">The API token for authenticating with Sanity.</td>
|
|
5094
|
-
</tr>
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
<tr>
|
|
5099
|
-
|
|
5100
|
-
<td class="name"><code>projectId</code></td>
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
<td class="type">
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
<span class="param-type">string</span>
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
</td>
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
<td class="attributes">
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
</td>
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
<td class="default">
|
|
5125
|
-
|
|
5126
|
-
</td>
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
<td class="description last">The project ID in Sanity.</td>
|
|
5130
|
-
</tr>
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
<tr>
|
|
5135
|
-
|
|
5136
|
-
<td class="name"><code>dataset</code></td>
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
<td class="type">
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
<span class="param-type">string</span>
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
</td>
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
<td class="attributes">
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
</td>
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
<td class="default">
|
|
5161
|
-
|
|
5162
|
-
</td>
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
<td class="description last">The dataset name in Sanity.</td>
|
|
5166
|
-
</tr>
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
<tr>
|
|
5171
|
-
|
|
5172
|
-
<td class="name"><code>version</code></td>
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
<td class="type">
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
<span class="param-type">string</span>
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
</td>
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
<td class="attributes">
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
</td>
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
<td class="default">
|
|
5197
|
-
|
|
5198
|
-
</td>
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
<td class="description last">The API version to use.</td>
|
|
5202
|
-
</tr>
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
<tr>
|
|
5207
|
-
|
|
5208
|
-
<td class="name"><code>debug</code></td>
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
<td class="type">
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
<span class="param-type">boolean</span>
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
</td>
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
<td class="attributes">
|
|
5223
|
-
|
|
5224
|
-
<optional><br>
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
</td>
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
<td class="default">
|
|
5235
|
-
|
|
5236
|
-
<code>false</code>
|
|
5237
|
-
|
|
5238
|
-
</td>
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
<td class="description last">Optional flag to enable debug mode, which logs the query and results.</td>
|
|
5242
|
-
</tr>
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
<tr>
|
|
5247
|
-
|
|
5248
|
-
<td class="name"><code>useCachedAPI</code></td>
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
<td class="type">
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
<span class="param-type">boolean</span>
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
</td>
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
<td class="attributes">
|
|
5263
|
-
|
|
5264
|
-
<optional><br>
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
</td>
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
<td class="default">
|
|
5275
|
-
|
|
5276
|
-
<code>true</code>
|
|
5277
|
-
|
|
5278
|
-
</td>
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
<td class="description last">Optional flag to disable cached API.</td>
|
|
5282
|
-
</tr>
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
</tbody>
|
|
5286
|
-
</table>
|
|
5287
|
-
|
|
5288
|
-
</td>
|
|
5289
|
-
</tr>
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
</tbody>
|
|
5293
|
-
</table>
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
4865
|
|
|
5315
4866
|
|
|
5316
4867
|
|
|
@@ -5330,7 +4881,7 @@ initializeSanityService({
|
|
|
5330
4881
|
<br class="clear">
|
|
5331
4882
|
|
|
5332
4883
|
<footer>
|
|
5333
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
4884
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Wed Aug 14 2024 02:49:16 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
5334
4885
|
</footer>
|
|
5335
4886
|
|
|
5336
4887
|
<script>prettyPrint();</script>
|