musora-content-services 2.3.5 → 2.3.6

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.
@@ -0,0 +1,22 @@
1
+ # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2
+ language: "en-US"
3
+ early_access: false
4
+ reviews:
5
+ profile: "chill"
6
+ request_changes_workflow: false
7
+ high_level_summary: true
8
+ poem: true
9
+ review_status: true
10
+ collapse_walkthrough: false
11
+ related_prs: true
12
+ auto_review:
13
+ enabled: true
14
+ drafts: false
15
+ base_branches: ["project-v2"]
16
+ chat:
17
+ auto_reply: true
18
+ knowledge_base:
19
+ learnings:
20
+ scope: "global"
21
+ pull_requests:
22
+ scope: "global"
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
+ ### [2.3.6](https://github.com/railroadmedia/musora-content-services/compare/v2.3.5...v2.3.6) (2025-04-04)
6
+
5
7
  ### [2.3.5](https://github.com/railroadmedia/musora-content-services/compare/v2.3.4...v2.3.5) (2025-04-04)
6
8
 
7
9
  ### [2.3.4](https://github.com/railroadmedia/musora-content-services/compare/v2.3.2...v2.3.4) (2025-04-03)
package/link_mcs.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.3.5",
3
+ "version": "2.3.6",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -1273,6 +1273,7 @@ export async function fetchLessonContent(railContentId) {
1273
1273
  chapter_timecode,
1274
1274
  "chapter_thumbnail_url": chapter_thumbnail_url.asset->url
1275
1275
  },
1276
+ artist->,
1276
1277
  "instructors":instructor[]->name,
1277
1278
  "instructor": instructor[]->{
1278
1279
  "id":railcontent_id,
@@ -148,9 +148,19 @@ describe('Sanity Queries', function() {
148
148
  })
149
149
 
150
150
  test('fetchLessonContent', async () => {
151
- const id = 380094
151
+ const id = 392820
152
+ const response = await fetchLessonContent(id)
153
+ expect(response.id).toBe(id)
154
+ expect(response.video.type).toBeDefined()
155
+ })
156
+
157
+ test('fetchLessonContent-PlayAlong-containts-array-of-videos', async () => {
158
+ const id = 9184
152
159
  const response = await fetchLessonContent(id)
153
160
  expect(response.id).toBe(id)
161
+ expect(response.video.length).toBeGreaterThanOrEqual(1)
162
+ const firstElement = response.video.find(() => true)
163
+ expect(firstElement.version_name).toBeDefined()
154
164
  })
155
165
 
156
166
  test('fetchAllSongsInProgress', async () => {