musora-content-services 1.0.255 → 1.0.256

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 CHANGED
@@ -2,6 +2,8 @@
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
+ ### [1.0.256](https://github.com/railroadmedia/musora-content-services/compare/v1.0.255...v1.0.256) (2025-01-02)
6
+
5
7
  ### [1.0.255](https://github.com/railroadmedia/musora-content-services/compare/v1.0.254...v1.0.255) (2025-01-02)
6
8
 
7
9
  ### [1.0.254](https://github.com/railroadmedia/musora-content-services/compare/v1.0.253...v1.0.254) (2024-12-20)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.255",
3
+ "version": "1.0.256",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1189,7 +1189,7 @@ export async function fetchLessonContent(railContentId) {
1189
1189
  brand,
1190
1190
  status,
1191
1191
  soundslice,
1192
- instrumentless,
1192
+ instrumentless,
1193
1193
  railcontent_id,
1194
1194
  "id":railcontent_id,
1195
1195
  slug, artist->,
@@ -1199,7 +1199,7 @@ export async function fetchLessonContent(railContentId) {
1199
1199
  "description": description[0].children[0].text,
1200
1200
  "chapters": chapter[]{
1201
1201
  chapter_description,
1202
- chapter_timecode,
1202
+ chapter_timecode,
1203
1203
  "chapter_thumbnail_url": chapter_thumbnail_url.asset->url
1204
1204
  },
1205
1205
  "instructors":instructor[]->name,
@@ -1220,7 +1220,13 @@ export async function fetchLessonContent(railContentId) {
1220
1220
  mp3_yes_drums_no_click_url,
1221
1221
  mp3_yes_drums_yes_click_url,
1222
1222
  "permission_id": permission[]->railcontent_id,
1223
- parent_content_data,
1223
+ "parent_content_data": parent_content_data[]{
1224
+ "id": id,
1225
+ "title": *[railcontent_id == ^.id][0].title,
1226
+ "web_url_path": *[railcontent_id == ^.id][0].web_url_path,
1227
+ "slug":*[railcontent_id == ^.id][0].slug,
1228
+ "type": *[railcontent_id == ^.id][0]._type,
1229
+ },
1224
1230
  sort,
1225
1231
  xp`;
1226
1232
  const query = await buildQuery(