musora-content-services 2.88.3 → 2.89.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.89.0](https://github.com/railroadmedia/musora-content-services/compare/v2.88.4...v2.89.0) (2025-11-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add collection ([#592](https://github.com/railroadmedia/musora-content-services/issues/592)) ([3acd884](https://github.com/railroadmedia/musora-content-services/commit/3acd884475c0359eb7fcee09e8a02ab8415e3927))
|
|
11
|
+
|
|
12
|
+
### [2.88.4](https://github.com/railroadmedia/musora-content-services/compare/v2.88.3...v2.88.4) (2025-11-26)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **onboarding:** fix hardcoded recommended content badges ([ff5dd81](https://github.com/railroadmedia/musora-content-services/commit/ff5dd814bb8c26c29a5fc55b51ebeb925ac462fa))
|
|
18
|
+
|
|
5
19
|
### [2.88.3](https://github.com/railroadmedia/musora-content-services/compare/v2.88.1...v2.88.3) (2025-11-26)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
|
@@ -240,9 +240,8 @@ export async function completeMethodIntroVideo(introVideoId: number, brand: stri
|
|
|
240
240
|
const methodStructure = await fetchMethodV2Structure(brand)
|
|
241
241
|
const learningPathId = methodStructure.learningPaths[0].id
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
response.active_path_response = await fetchHandler(url, 'POST', null, body)
|
|
243
|
+
response.active_path_response = await startLearningPath(brand, learningPathId)
|
|
244
|
+
|
|
246
245
|
|
|
247
246
|
return response
|
|
248
247
|
}
|
|
@@ -267,14 +266,15 @@ export async function completeLearningPathIntroVideo(introVideoId: number, learn
|
|
|
267
266
|
|
|
268
267
|
response.intro_video_response = await completeIfNotCompleted(introVideoId)
|
|
269
268
|
|
|
269
|
+
const collection = { id: learningPathId, type: 'learning-path-v2' }
|
|
270
|
+
|
|
270
271
|
if (!lessonsToImport) {
|
|
271
272
|
// returns nothing now, but it will when watermelon comes 'round
|
|
272
|
-
response.learning_path_reset_response = await contentStatusReset(learningPathId)
|
|
273
|
-
} else {
|
|
273
|
+
response.learning_path_reset_response = await contentStatusReset(learningPathId, collection)
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
} else {
|
|
276
276
|
for (const contentId of lessonsToImport) {
|
|
277
|
-
response.lesson_import_response[contentId] = await contentStatusCompleted(contentId)
|
|
277
|
+
response.lesson_import_response[contentId] = await contentStatusCompleted(contentId, collection)
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -139,7 +139,8 @@ const recommendedContentCache: { [brand: string]: OnboardingRecommendedContent }
|
|
|
139
139
|
difficulty: 'Beginner',
|
|
140
140
|
lesson_count: 12,
|
|
141
141
|
skill_count: 1,
|
|
142
|
-
badge:
|
|
142
|
+
badge:
|
|
143
|
+
'https://cdn.sanity.io/files/4032r8py/staging/9470587f03479b7c1f8019c3cbcbdfe12aa267f3.png',
|
|
143
144
|
description:
|
|
144
145
|
'Start your drumming journey with essential techniques and rhythms to get you playing quickly.',
|
|
145
146
|
video: {
|
|
@@ -172,7 +173,8 @@ const recommendedContentCache: { [brand: string]: OnboardingRecommendedContent }
|
|
|
172
173
|
difficulty: 'Beginner',
|
|
173
174
|
lesson_count: 6,
|
|
174
175
|
skill_count: 5,
|
|
175
|
-
badge:
|
|
176
|
+
badge:
|
|
177
|
+
'https://cdn.sanity.io/files/4032r8py/staging/9470587f03479b7c1f8019c3cbcbdfe12aa267f3.png',
|
|
176
178
|
description:
|
|
177
179
|
'New to the acoustic guitar? Then this Course is for you! Learn everything you need to get started on the acoustic guitar, and start playing music as fast as possible!',
|
|
178
180
|
video: {
|
|
@@ -188,7 +190,8 @@ const recommendedContentCache: { [brand: string]: OnboardingRecommendedContent }
|
|
|
188
190
|
difficulty: 'Beginner',
|
|
189
191
|
lesson_count: 5,
|
|
190
192
|
skill_count: 4,
|
|
191
|
-
badge:
|
|
193
|
+
badge:
|
|
194
|
+
'https://cdn.sanity.io/files/4032r8py/staging/9470587f03479b7c1f8019c3cbcbdfe12aa267f3.png',
|
|
192
195
|
description:
|
|
193
196
|
'Welcome to the Singing Starter Kit! This course will teach you everything you need to know to sound better when you sing! You will learn how your unique voice works so that you can develop vocal strength, accurate pitch, and find confidence singing your favorite songs. You can sing, and the Singing Starter Kit is the perfect way to start your singing journey.',
|
|
194
197
|
video: {
|
|
@@ -204,7 +207,8 @@ const recommendedContentCache: { [brand: string]: OnboardingRecommendedContent }
|
|
|
204
207
|
difficulty: 'Beginner',
|
|
205
208
|
lesson_count: 6,
|
|
206
209
|
skill_count: 5,
|
|
207
|
-
badge:
|
|
210
|
+
badge:
|
|
211
|
+
'https://cdn.sanity.io/files/4032r8py/staging/9470587f03479b7c1f8019c3cbcbdfe12aa267f3.png',
|
|
208
212
|
description:
|
|
209
213
|
'New to the acoustic guitar? Then this Course is for you! Learn everything you need to get started on the acoustic guitar, and start playing music as fast as possible!',
|
|
210
214
|
video: {
|