musora-content-services 2.3.26 → 2.4.0

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 (124) hide show
  1. package/.coderabbit.yaml +0 -0
  2. package/.editorconfig +0 -0
  3. package/.github/pull_request_template.md +0 -0
  4. package/.github/workflows/node.js.yml +0 -0
  5. package/.prettierignore +0 -0
  6. package/.prettierrc +0 -0
  7. package/.yarnrc.yml +1 -0
  8. package/CHANGELOG.md +7 -0
  9. package/README.md +0 -0
  10. package/babel.config.cjs +0 -0
  11. package/docs/Content-Organization.html +0 -0
  12. package/docs/ContentOrganization.html +1 -1
  13. package/docs/Gamification.html +1 -1
  14. package/docs/UserManagement.html +0 -0
  15. package/docs/UserManagementSystem.html +1 -1
  16. package/docs/api_types.js.html +1 -1
  17. package/docs/config.js.html +1 -1
  18. package/docs/content-org_content-org.js.html +1 -1
  19. package/docs/content-org_playlists-types.js.html +1 -1
  20. package/docs/content-org_playlists.js.html +1 -1
  21. package/docs/content.js.html +25 -10
  22. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  23. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  24. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  25. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  26. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  27. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  28. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  29. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  30. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  31. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  32. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  33. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  34. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  35. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  36. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  37. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  38. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  39. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  40. package/docs/gamification_awards.js.html +1 -1
  41. package/docs/gamification_gamification.js.html +1 -1
  42. package/docs/gamification_types.js.html +1 -1
  43. package/docs/global.html +1 -1
  44. package/docs/global.html#User +0 -0
  45. package/docs/index.html +1 -1
  46. package/docs/module-Awards.html +1 -1
  47. package/docs/module-Config.html +1 -1
  48. package/docs/module-Content-Services-V2.html +9 -8
  49. package/docs/module-Content-Services.html +763 -0
  50. package/docs/module-Permissions.html +1 -1
  51. package/docs/module-Playlists.html +1 -1
  52. package/docs/module-Railcontent-Services.html +1 -1
  53. package/docs/module-Sanity-Services.html +32 -32
  54. package/docs/module-Session-Management.html +0 -0
  55. package/docs/module-Sessions.html +1 -1
  56. package/docs/module-User-Activity.html +7 -7
  57. package/docs/module-User-Management.html +0 -0
  58. package/docs/module-User-Permissions.html +0 -0
  59. package/docs/module-UserManagement.html +1 -1
  60. package/docs/railcontent.js.html +1 -1
  61. package/docs/sanity.js.html +5 -3
  62. package/docs/scripts/collapse.js +0 -0
  63. package/docs/scripts/commonNav.js +0 -0
  64. package/docs/scripts/linenumber.js +0 -0
  65. package/docs/scripts/nav.js +0 -0
  66. package/docs/scripts/polyfill.js +0 -0
  67. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
  68. package/docs/scripts/prettify/lang-css.js +0 -0
  69. package/docs/scripts/prettify/prettify.js +0 -0
  70. package/docs/scripts/search.js +0 -0
  71. package/docs/styles/jsdoc.css +0 -0
  72. package/docs/styles/prettify.css +0 -0
  73. package/docs/types.js.html +0 -0
  74. package/docs/userActivity.js.html +2 -4
  75. package/docs/user_management.js.html +1 -1
  76. package/docs/user_permissions.js.html +1 -1
  77. package/docs/user_sessions.js.html +1 -1
  78. package/docs/user_types.js.html +1 -1
  79. package/docs/user_user-management-system.js.html +1 -1
  80. package/docs/user_user-management.js.html +0 -0
  81. package/jest.config.js +0 -0
  82. package/jsdoc.json +0 -0
  83. package/link_mcs.sh +0 -0
  84. package/package.json +1 -1
  85. package/src/contentMetaData.js +29 -5
  86. package/src/contentTypeConfig.js +3 -2
  87. package/src/index.d.ts +2 -0
  88. package/src/index.js +2 -0
  89. package/src/infrastructure/http/HttpClient.ts +120 -0
  90. package/src/infrastructure/http/executors/FetchRequestExecutor.ts +45 -0
  91. package/src/infrastructure/http/index.ts +13 -0
  92. package/src/infrastructure/http/interfaces/HeaderProvider.ts +3 -0
  93. package/src/infrastructure/http/interfaces/HttpError.ts +7 -0
  94. package/src/infrastructure/http/interfaces/NetworkError.ts +6 -0
  95. package/src/infrastructure/http/interfaces/RequestExecutor.ts +5 -0
  96. package/src/infrastructure/http/interfaces/RequestOptions.ts +5 -0
  97. package/src/infrastructure/http/providers/DefaultHeaderProvider.ts +24 -0
  98. package/src/services/content.js +24 -9
  99. package/src/services/contentAggregator.js +18 -10
  100. package/src/services/contentProgress.js +0 -0
  101. package/src/services/railcontent.js +28 -0
  102. package/src/services/recommendations.js +21 -25
  103. package/src/services/userActivity.js +23 -0
  104. package/test/HttpClient.test.js +257 -0
  105. package/test/content.test.js +0 -0
  106. package/test/contentLikes.test.js +0 -0
  107. package/test/contentProgress.test.js +0 -0
  108. package/test/dataContext.test.js +0 -0
  109. package/test/forum.test.js +0 -0
  110. package/test/imageSRCBuilder.test.js +0 -0
  111. package/test/imageSRCVerify.test.js +0 -0
  112. package/test/initializeTests.js +0 -0
  113. package/test/lib/lastUpdated.test.js +0 -0
  114. package/test/live/contentProgressLive.test.js +0 -0
  115. package/test/live/railcontentLive.test.js +0 -0
  116. package/test/localStorageMock.js +0 -0
  117. package/test/log.js +0 -0
  118. package/test/mockData/mockData_fetchByRailContentIds_one_content.json +0 -0
  119. package/test/mockData/mockData_user_practices.json +0 -0
  120. package/test/sanityQueryService.test.js +0 -0
  121. package/test/streakMessage.test.js +0 -0
  122. package/test/user/permissions.test.js +0 -0
  123. package/test/userActivity.test.js +0 -0
  124. package/tools/generate-index.cjs +0 -0
package/.coderabbit.yaml CHANGED
File without changes
package/.editorconfig CHANGED
File without changes
File without changes
File without changes
package/.prettierignore CHANGED
File without changes
package/.prettierrc CHANGED
File without changes
package/.yarnrc.yml ADDED
@@ -0,0 +1 @@
1
+ nodeLinker: node-modules
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.4.0](https://github.com/railroadmedia/musora-content-services/compare/v2.3.26...v2.4.0) (2025-05-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **http:** implement client ([#250](https://github.com/railroadmedia/musora-content-services/issues/250)) ([6eb026c](https://github.com/railroadmedia/musora-content-services/commit/6eb026ccef888f00e94de03269bcbb59c4a33fd4))
11
+
5
12
  ### [2.3.26](https://github.com/railroadmedia/musora-content-services/compare/v2.3.25...v2.3.26) (2025-05-07)
6
13
 
7
14
  ### [2.3.25](https://github.com/railroadmedia/musora-content-services/compare/v2.3.24...v2.3.25) (2025-05-07)
package/README.md CHANGED
File without changes
package/babel.config.cjs CHANGED
File without changes
File without changes
@@ -232,7 +232,7 @@
232
232
  <br class="clear">
233
233
 
234
234
  <footer>
235
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
235
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
236
236
  </footer>
237
237
 
238
238
  <script>prettyPrint();</script>
@@ -232,7 +232,7 @@
232
232
  <br class="clear">
233
233
 
234
234
  <footer>
235
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
235
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
236
236
  </footer>
237
237
 
238
238
  <script>prettyPrint();</script>
File without changes
@@ -280,7 +280,7 @@
280
280
  <br class="clear">
281
281
 
282
282
  <footer>
283
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
283
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
284
284
  </footer>
285
285
 
286
286
  <script>prettyPrint();</script>
@@ -84,7 +84,7 @@
84
84
  <br class="clear">
85
85
 
86
86
  <footer>
87
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
87
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
88
88
  </footer>
89
89
 
90
90
  <script>prettyPrint();</script>
@@ -130,7 +130,7 @@ export function initializeService(config) {
130
130
  <br class="clear">
131
131
 
132
132
  <footer>
133
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
133
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
134
134
  </footer>
135
135
 
136
136
  <script>prettyPrint();</script>
@@ -63,7 +63,7 @@
63
63
  <br class="clear">
64
64
 
65
65
  <footer>
66
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
66
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
67
67
  </footer>
68
68
 
69
69
  <script>prettyPrint();</script>
@@ -94,7 +94,7 @@
94
94
  <br class="clear">
95
95
 
96
96
  <footer>
97
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
97
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
98
98
  </footer>
99
99
 
100
100
  <script>prettyPrint();</script>
@@ -178,7 +178,7 @@ export async function addItemToPlaylist(payload) {
178
178
  <br class="clear">
179
179
 
180
180
  <footer>
181
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
181
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
182
182
  </footer>
183
183
 
184
184
  <script>prettyPrint();</script>
@@ -68,23 +68,18 @@ import {recommendations} from "./recommendations";
68
68
 
69
69
  export async function getLessonContentRows (brand='drumeo', pageName = 'lessons') {
70
70
  let recentContentIds = await fetchRecent(brand, pageName, { progress: 'recent' });
71
- recentContentIds = recentContentIds.map(item => item.id);
72
71
 
73
72
  let contentRows = await getContentRows(brand, pageName);
74
73
  contentRows = Array.isArray(contentRows) ? contentRows : [];
75
74
  contentRows.unshift({
76
75
  id: 'recent',
77
76
  title: 'Recent ' + capitalizeFirstLetter(pageName),
78
- content: recentContentIds || []
77
+ items: recentContentIds || []
79
78
  });
80
79
 
81
80
  const results = await Promise.all(
82
81
  contentRows.map(async (row) => {
83
- if (row.content.length == 0){
84
- return { id: row.id, title: row.title, items: [] }
85
- }
86
- const data = await fetchByRailContentIds(row.content)
87
- return { id: row.id, title: row.title, items: data }
82
+ return { id: row.id, title: row.title, items: row.items }
88
83
  })
89
84
  )
90
85
  return results
@@ -210,7 +205,8 @@ export async function getRecent(brand, pageName, tabName = 'all', {
210
205
  * @param {Object} params - Parameters for pagination.
211
206
  * @param {number} [params.page=1] - The page number for pagination.
212
207
  * @param {number} [params.limit=10] - The maximum number of content items per row.
213
- * @returns {Promise&lt;Object>} - The fetched content rows.
208
+ * @returns {Promise&lt;Object>} - The fetched content rows with complete Sanity data instead of just content IDs.
209
+ * When contentRowId is provided, returns an object with type, data, and meta properties.
214
210
  *
215
211
  * @example
216
212
  * getContentRows('drumeo', 'lessons', 'Your-Daily-Warmup', {
@@ -226,7 +222,26 @@ export async function getContentRows(brand, pageName, contentRowId , {
226
222
  } = {}) {
227
223
  const contentRow = contentRowId ? `&amp;content_row_id=${contentRowId}` : ''
228
224
  const url = `/api/content/v1/rows?brand=${brand}&amp;page_name=${pageName}${contentRow}&amp;page=${page}&amp;limit=${limit}`;
229
- return await fetchHandler(url, 'get', null);
225
+ const contentRows = await fetchHandler(url, 'get', null) || [];
226
+ const results = await Promise.all(
227
+ contentRows.map(async (row) => {
228
+ if (row.content.length === 0){
229
+ return { id: row.id, title: row.title, items: [] }
230
+ }
231
+ const data = await fetchByRailContentIds(row.content)
232
+ return { id: row.id, title: row.title, items: data }
233
+ })
234
+ )
235
+
236
+ if (contentRowId) {
237
+ return {
238
+ type: TabResponseType.CATALOG,
239
+ data: results[0].items,
240
+ meta: {}
241
+ };
242
+ }
243
+
244
+ return results
230
245
  }
231
246
 
232
247
  /**
@@ -433,7 +448,7 @@ export async function getRecommendedForYou(brand, rowId = null, {
433
448
  <br class="clear">
434
449
 
435
450
  <footer>
436
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
451
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
437
452
  </footer>
438
453
 
439
454
  <script>prettyPrint();</script>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -651,7 +651,7 @@ export async function fetchAwardsForUser(userId, brand, page = 1, limit = 20) {
651
651
  <br class="clear">
652
652
 
653
653
  <footer>
654
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
654
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
655
655
  </footer>
656
656
 
657
657
  <script>prettyPrint();</script>
@@ -63,7 +63,7 @@
63
63
  <br class="clear">
64
64
 
65
65
  <footer>
66
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
66
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
67
67
  </footer>
68
68
 
69
69
  <script>prettyPrint();</script>
@@ -85,7 +85,7 @@
85
85
  <br class="clear">
86
86
 
87
87
  <footer>
88
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
88
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
89
89
  </footer>
90
90
 
91
91
  <script>prettyPrint();</script>
package/docs/global.html CHANGED
@@ -5153,7 +5153,7 @@
5153
5153
  <br class="clear">
5154
5154
 
5155
5155
  <footer>
5156
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
5156
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
5157
5157
  </footer>
5158
5158
 
5159
5159
  <script>prettyPrint();</script>
File without changes
package/docs/index.html CHANGED
@@ -155,7 +155,7 @@ with <code>npm test -- -t=&quot;userContext&quot;</code> or just the contentLike
155
155
  <br class="clear">
156
156
 
157
157
  <footer>
158
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
158
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
159
159
  </footer>
160
160
 
161
161
  <script>prettyPrint();</script>
@@ -341,7 +341,7 @@
341
341
  <br class="clear">
342
342
 
343
343
  <footer>
344
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
344
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
345
345
  </footer>
346
346
 
347
347
  <script>prettyPrint();</script>
@@ -421,7 +421,7 @@ initializeService({
421
421
  <br class="clear">
422
422
 
423
423
  <footer>
424
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
424
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
425
425
  </footer>
426
426
 
427
427
  <script>prettyPrint();</script>
@@ -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="content.js.html">content.js</a>, <a href="content.js.html#line176">line 176</a>
103
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line172">line 172</a>
104
104
  </li></ul></dd>
105
105
 
106
106
 
@@ -443,7 +443,8 @@
443
443
 
444
444
 
445
445
  <div class="param-desc">
446
- - The fetched content rows.
446
+ - The fetched content rows with complete Sanity data instead of just content IDs.
447
+ When contentRowId is provided, returns an object with type, data, and meta properties.
447
448
  </div>
448
449
 
449
450
 
@@ -486,7 +487,7 @@
486
487
 
487
488
  <dt class="tag-source">Source:</dt>
488
489
  <dd class="tag-source"><ul class="dummy"><li>
489
- <a href="content.js.html">content.js</a>, <a href="content.js.html#line206">line 206</a>
490
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line221">line 221</a>
490
491
  </li></ul></dd>
491
492
 
492
493
 
@@ -823,7 +824,7 @@ getNewAndUpcoming('drumeo', { page: 2, limit: 20 })
823
824
 
824
825
  <dt class="tag-source">Source:</dt>
825
826
  <dd class="tag-source"><ul class="dummy"><li>
826
- <a href="content.js.html">content.js</a>, <a href="content.js.html#line142">line 142</a>
827
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line137">line 137</a>
827
828
  </li></ul></dd>
828
829
 
829
830
 
@@ -1270,7 +1271,7 @@ getNewAndUpcoming('drumeo', { page: 2, limit: 20 })
1270
1271
 
1271
1272
  <dt class="tag-source">Source:</dt>
1272
1273
  <dd class="tag-source"><ul class="dummy"><li>
1273
- <a href="content.js.html">content.js</a>, <a href="content.js.html#line342">line 342</a>
1274
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line357">line 357</a>
1274
1275
  </li></ul></dd>
1275
1276
 
1276
1277
 
@@ -1607,7 +1608,7 @@ getRecommendedForYou('drumeo', { page: 2, limit: 5 })
1607
1608
 
1608
1609
  <dt class="tag-source">Source:</dt>
1609
1610
  <dd class="tag-source"><ul class="dummy"><li>
1610
- <a href="content.js.html">content.js</a>, <a href="content.js.html#line249">line 249</a>
1611
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line264">line 264</a>
1611
1612
  </li></ul></dd>
1612
1613
 
1613
1614
 
@@ -1989,7 +1990,7 @@ getScheduleContentRows('drumeo', 'Live-Streams')
1989
1990
 
1990
1991
  <dt class="tag-source">Source:</dt>
1991
1992
  <dd class="tag-source"><ul class="dummy"><li>
1992
- <a href="content.js.html">content.js</a>, <a href="content.js.html#line68">line 68</a>
1993
+ <a href="content.js.html">content.js</a>, <a href="content.js.html#line63">line 63</a>
1993
1994
  </li></ul></dd>
1994
1995
 
1995
1996
 
@@ -2420,7 +2421,7 @@ getScheduleContentRows('drumeo', 'Live-Streams')
2420
2421
  <br class="clear">
2421
2422
 
2422
2423
  <footer>
2423
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Thu Apr 10 2025 11:52:29 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
2424
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Apr 11 2025 17:26:43 GMT+0300 (Eastern European Summer Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
2424
2425
  </footer>
2425
2426
 
2426
2427
  <script>prettyPrint();</script>