musora-content-services 1.3.8 → 1.3.10

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 (40) hide show
  1. package/.prettierignore +0 -0
  2. package/.prettierrc +0 -0
  3. package/.yarnrc.yml +1 -0
  4. package/CHANGELOG.md +4 -0
  5. package/babel.config.cjs +0 -0
  6. package/docs/config.js.html +0 -0
  7. package/docs/global.html +809 -0
  8. package/docs/index.html +0 -0
  9. package/docs/module-Config.html +0 -0
  10. package/docs/module-Content-Services.html +763 -0
  11. package/docs/module-Railcontent-Services.html +0 -0
  12. package/docs/module-Sanity-Services.html +0 -0
  13. package/docs/railcontent.js.html +0 -0
  14. package/docs/sanity.js.html +0 -0
  15. package/jest.config.js +0 -0
  16. package/jsdoc.json +0 -0
  17. package/package.json +1 -1
  18. package/src/contentMetaData.js +0 -0
  19. package/src/index.d.ts +5 -0
  20. package/src/index.js +5 -0
  21. package/src/services/config.js +0 -0
  22. package/src/services/contentLikes.js +0 -0
  23. package/src/services/contentProgress.js +0 -0
  24. package/src/services/dataContext.js +17 -17
  25. package/src/services/lastUpdated.js +0 -0
  26. package/src/services/railcontent.js +0 -0
  27. package/src/services/sanity.js +13 -2
  28. package/src/services/userPermissions.js +0 -0
  29. package/test/contentLikes.test.js +0 -0
  30. package/test/contentProgress.test.js +0 -0
  31. package/test/dataContext.test.js +3 -3
  32. package/test/initializeTests.js +0 -0
  33. package/test/lastUpdated.test.js +0 -0
  34. package/test/live/contentProgressLive.test.js +0 -0
  35. package/test/live/railcontentLive.test.js +0 -0
  36. package/test/localStorageMock.js +0 -0
  37. package/test/log.js +0 -0
  38. package/test/sanityQueryService.test.js +0 -0
  39. package/test/userPermissions.test.js +0 -0
  40. package/tools/generate-index.cjs +0 -0
@@ -0,0 +1,809 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>Global - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
31
+
32
+ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Config.html">Config</a><ul class='methods'><li data-type='method'><a href="module-Config.html#.initializeService">initializeService</a></li></ul></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.countAssignmentsAndLessons">countAssignmentsAndLessons</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistItem">deletePlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deletePlaylistLike">deletePlaylistLike</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeIndexMetadata">fetchChallengeIndexMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeLessonData">fetchChallengeLessonData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeMetadata">fetchChallengeMetadata</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchChallengeUserActiveChallenges">fetchChallengeUserActiveChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedChallenges">fetchCompletedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchOwnedChallenges">fetchOwnedChallenges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPinnedPlaylists">fetchPinnedPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItem">fetchPlaylistItem</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserChallengeProgress">fetchUserChallengeProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserPlaylists">fetchUserPlaylists</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.pinPlaylist">pinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCommunityNotification">postChallengesCommunityNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesCompleteLesson">postChallengesCompleteLesson</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnroll">postChallengesEnroll</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesEnrollmentNotification">postChallengesEnrollmentNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesHideCompletedBanner">postChallengesHideCompletedBanner</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesLeave">postChallengesLeave</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSetStartDate">postChallengesSetStartDate</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesSoloNotification">postChallengesSoloNotification</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.postChallengesUnlock">postChallengesUnlock</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unpinPlaylist">unpinPlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.updatePlaylistItem">updatePlaylistItem</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchArtists">fetchArtists</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCoachLessons">fetchCoachLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchParentForDownload">fetchParentForDownload</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~handleCustomFetchAll">handleCustomFetchAll</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#getTabResults">getTabResults</a></li></ul>
33
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">Global</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+ <h2>
51
+
52
+
53
+
54
+ </h2>
55
+
56
+
57
+ </header>
58
+
59
+ <article>
60
+
61
+ <div class="container-overview">
62
+
63
+
64
+
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
+
107
+
108
+ </div>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+ <h3 class="subsection-title">Methods</h3>
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <h4 class="name" id="getTabResults"><span class="type-signature"></span>getTabResults<span class="signature">(brand, type, params)</span><span class="type-signature"> &rarr; {Promise.&lt;(Object|null)>}</span></h4>
134
+
135
+
136
+
137
+
138
+
139
+
140
+ <dl class="details">
141
+
142
+ <dt class="tag-description">Description:</dt>
143
+ <dd class="tag-description"><ul class="dummy"><li>Fetch all content for a specific brand and type with pagination, search, and grouping options.</li></ul></dd>
144
+
145
+
146
+
147
+ <dt class="tag-source">Source:</dt>
148
+ <dd class="tag-source"><ul class="dummy"><li>
149
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line99">line 99</a>
150
+ </li></ul></dd>
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ </dl>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+ <h5 class="h5-examples">Example</h5>
195
+
196
+ <pre class="prettyprint"><code>fetchAll('drumeo', 'song', {
197
+ page: 2,
198
+ limit: 20,
199
+ searchTerm: 'jazz',
200
+ sort: '-popularity',
201
+ includedFields: ['difficulty,Intermediate'],
202
+ groupBy: 'artist',
203
+ progressIds: [123, 321],
204
+ useDefaultFields: false,
205
+ customFields: ['is_house_coach', 'slug.current', "'instructors': instructor[]->name"],
206
+ })
207
+ .then(content => console.log(content))
208
+ .catch(error => console.error(error));</code></pre>
209
+
210
+
211
+
212
+
213
+ <h5 class="h5-parameters">Parameters:</h5>
214
+
215
+
216
+ <table class="params">
217
+ <thead>
218
+ <tr>
219
+
220
+ <th>Name</th>
221
+
222
+
223
+ <th>Type</th>
224
+
225
+
226
+
227
+
228
+
229
+ <th class="last">Description</th>
230
+ </tr>
231
+ </thead>
232
+
233
+ <tbody>
234
+
235
+
236
+ <tr>
237
+
238
+ <td class="name"><code>brand</code></td>
239
+
240
+
241
+ <td class="type">
242
+
243
+
244
+ <span class="param-type">string</span>
245
+
246
+
247
+
248
+
249
+ </td>
250
+
251
+
252
+
253
+
254
+
255
+ <td class="description last">The brand for which to fetch content.</td>
256
+ </tr>
257
+
258
+
259
+
260
+ <tr>
261
+
262
+ <td class="name"><code>type</code></td>
263
+
264
+
265
+ <td class="type">
266
+
267
+
268
+ <span class="param-type">string</span>
269
+
270
+
271
+
272
+
273
+ </td>
274
+
275
+
276
+
277
+
278
+
279
+ <td class="description last">The content type to fetch (e.g., 'song', 'artist').</td>
280
+ </tr>
281
+
282
+
283
+
284
+ <tr>
285
+
286
+ <td class="name"><code>params</code></td>
287
+
288
+
289
+ <td class="type">
290
+
291
+
292
+ <span class="param-type">Object</span>
293
+
294
+
295
+
296
+
297
+ </td>
298
+
299
+
300
+
301
+
302
+
303
+ <td class="description last">Parameters for pagination, filtering, sorting, and grouping.
304
+ <h6>Properties</h6>
305
+
306
+
307
+ <table class="params">
308
+ <thead>
309
+ <tr>
310
+
311
+ <th>Name</th>
312
+
313
+
314
+ <th>Type</th>
315
+
316
+
317
+ <th>Attributes</th>
318
+
319
+
320
+
321
+ <th>Default</th>
322
+
323
+
324
+ <th class="last">Description</th>
325
+ </tr>
326
+ </thead>
327
+
328
+ <tbody>
329
+
330
+
331
+ <tr>
332
+
333
+ <td class="name"><code>page</code></td>
334
+
335
+
336
+ <td class="type">
337
+
338
+
339
+ <span class="param-type">number</span>
340
+
341
+
342
+
343
+
344
+ </td>
345
+
346
+
347
+ <td class="attributes">
348
+
349
+ &lt;optional><br>
350
+
351
+
352
+
353
+
354
+
355
+ </td>
356
+
357
+
358
+
359
+ <td class="default">
360
+
361
+ <code>1</code>
362
+
363
+ </td>
364
+
365
+
366
+ <td class="description last">The page number for pagination.</td>
367
+ </tr>
368
+
369
+
370
+
371
+ <tr>
372
+
373
+ <td class="name"><code>limit</code></td>
374
+
375
+
376
+ <td class="type">
377
+
378
+
379
+ <span class="param-type">number</span>
380
+
381
+
382
+
383
+
384
+ </td>
385
+
386
+
387
+ <td class="attributes">
388
+
389
+ &lt;optional><br>
390
+
391
+
392
+
393
+
394
+
395
+ </td>
396
+
397
+
398
+
399
+ <td class="default">
400
+
401
+ <code>10</code>
402
+
403
+ </td>
404
+
405
+
406
+ <td class="description last">The number of items per page.</td>
407
+ </tr>
408
+
409
+
410
+
411
+ <tr>
412
+
413
+ <td class="name"><code>searchTerm</code></td>
414
+
415
+
416
+ <td class="type">
417
+
418
+
419
+ <span class="param-type">string</span>
420
+
421
+
422
+
423
+
424
+ </td>
425
+
426
+
427
+ <td class="attributes">
428
+
429
+ &lt;optional><br>
430
+
431
+
432
+
433
+
434
+
435
+ </td>
436
+
437
+
438
+
439
+ <td class="default">
440
+
441
+ <code>""</code>
442
+
443
+ </td>
444
+
445
+
446
+ <td class="description last">The search term to filter content by title or artist.</td>
447
+ </tr>
448
+
449
+
450
+
451
+ <tr>
452
+
453
+ <td class="name"><code>sort</code></td>
454
+
455
+
456
+ <td class="type">
457
+
458
+
459
+ <span class="param-type">string</span>
460
+
461
+
462
+
463
+
464
+ </td>
465
+
466
+
467
+ <td class="attributes">
468
+
469
+ &lt;optional><br>
470
+
471
+
472
+
473
+
474
+
475
+ </td>
476
+
477
+
478
+
479
+ <td class="default">
480
+
481
+ <code>"-published_on"</code>
482
+
483
+ </td>
484
+
485
+
486
+ <td class="description last">The field to sort the content by.</td>
487
+ </tr>
488
+
489
+
490
+
491
+ <tr>
492
+
493
+ <td class="name"><code>includedFields</code></td>
494
+
495
+
496
+ <td class="type">
497
+
498
+
499
+ <span class="param-type">Array.&lt;string></span>
500
+
501
+
502
+
503
+
504
+ </td>
505
+
506
+
507
+ <td class="attributes">
508
+
509
+ &lt;optional><br>
510
+
511
+
512
+
513
+
514
+
515
+ </td>
516
+
517
+
518
+
519
+ <td class="default">
520
+
521
+ <code>[]</code>
522
+
523
+ </td>
524
+
525
+
526
+ <td class="description last">The fields to include in the query.</td>
527
+ </tr>
528
+
529
+
530
+
531
+ <tr>
532
+
533
+ <td class="name"><code>groupBy</code></td>
534
+
535
+
536
+ <td class="type">
537
+
538
+
539
+ <span class="param-type">string</span>
540
+
541
+
542
+
543
+
544
+ </td>
545
+
546
+
547
+ <td class="attributes">
548
+
549
+ &lt;optional><br>
550
+
551
+
552
+
553
+
554
+
555
+ </td>
556
+
557
+
558
+
559
+ <td class="default">
560
+
561
+ <code>""</code>
562
+
563
+ </td>
564
+
565
+
566
+ <td class="description last">The field to group the results by (e.g., 'artist', 'genre').</td>
567
+ </tr>
568
+
569
+
570
+
571
+ <tr>
572
+
573
+ <td class="name"><code>progressIds</code></td>
574
+
575
+
576
+ <td class="type">
577
+
578
+
579
+ <span class="param-type">Array.&lt;string></span>
580
+
581
+
582
+
583
+
584
+ </td>
585
+
586
+
587
+ <td class="attributes">
588
+
589
+ &lt;optional><br>
590
+
591
+
592
+
593
+
594
+
595
+ </td>
596
+
597
+
598
+
599
+ <td class="default">
600
+
601
+ </td>
602
+
603
+
604
+ <td class="description last">An array of railcontent IDs to filter the results by. Used for filtering by progress.</td>
605
+ </tr>
606
+
607
+
608
+
609
+ <tr>
610
+
611
+ <td class="name"><code>useDefaultFields</code></td>
612
+
613
+
614
+ <td class="type">
615
+
616
+
617
+ <span class="param-type">boolean</span>
618
+
619
+
620
+
621
+
622
+ </td>
623
+
624
+
625
+ <td class="attributes">
626
+
627
+ &lt;optional><br>
628
+
629
+
630
+
631
+
632
+
633
+ </td>
634
+
635
+
636
+
637
+ <td class="default">
638
+
639
+ <code>true</code>
640
+
641
+ </td>
642
+
643
+
644
+ <td class="description last">use the default sanity fields for content Type</td>
645
+ </tr>
646
+
647
+
648
+
649
+ <tr>
650
+
651
+ <td class="name"><code>customFields</code></td>
652
+
653
+
654
+ <td class="type">
655
+
656
+
657
+ <span class="param-type">Array.&lt;string></span>
658
+
659
+
660
+
661
+
662
+ </td>
663
+
664
+
665
+ <td class="attributes">
666
+
667
+ &lt;optional><br>
668
+
669
+
670
+
671
+
672
+
673
+ </td>
674
+
675
+
676
+
677
+ <td class="default">
678
+
679
+ <code>[]</code>
680
+
681
+ </td>
682
+
683
+
684
+ <td class="description last">An array of sanity fields to include in the request</td>
685
+ </tr>
686
+
687
+
688
+
689
+ <tr>
690
+
691
+ <td class="name"><code>progress</code></td>
692
+
693
+
694
+ <td class="type">
695
+
696
+
697
+ <span class="param-type">string</span>
698
+
699
+
700
+
701
+
702
+ </td>
703
+
704
+
705
+ <td class="attributes">
706
+
707
+ &lt;optional><br>
708
+
709
+
710
+
711
+
712
+
713
+ </td>
714
+
715
+
716
+
717
+ <td class="default">
718
+
719
+ <code>"all"</code>
720
+
721
+ </td>
722
+
723
+
724
+ <td class="description last">An string representing which progress filter to use ("all", "in progress", "complete", "not started").</td>
725
+ </tr>
726
+
727
+
728
+ </tbody>
729
+ </table>
730
+
731
+ </td>
732
+ </tr>
733
+
734
+
735
+ </tbody>
736
+ </table>
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+ <h5 class="h5-returns">Returns:</h5>
754
+
755
+
756
+ <div class="param-desc">
757
+ - The fetched content data or null if not found.
758
+ </div>
759
+
760
+
761
+
762
+ <dl class="param-type">
763
+ <dt>
764
+ Type
765
+ </dt>
766
+ <dd>
767
+
768
+ <span class="param-type">Promise.&lt;(Object|null)></span>
769
+
770
+
771
+
772
+ </dd>
773
+ </dl>
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+ </article>
786
+
787
+ </section>
788
+
789
+
790
+
791
+
792
+
793
+
794
+ </div>
795
+
796
+ <br class="clear">
797
+
798
+ <footer>
799
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Feb 07 2025 14:32:27 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
800
+ </footer>
801
+
802
+ <script>prettyPrint();</script>
803
+ <script src="scripts/polyfill.js"></script>
804
+ <script src="scripts/linenumber.js"></script>
805
+
806
+
807
+
808
+ </body>
809
+ </html>