musora-content-services 2.89.0 → 2.90.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,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.90.0](https://github.com/railroadmedia/musora-content-services/compare/v2.89.0...v2.90.0) (2025-11-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* method learning path child fields ([#597](https://github.com/railroadmedia/musora-content-services/issues/597)) ([71654ea](https://github.com/railroadmedia/musora-content-services/commit/71654ea29cb1c46f354ed878dab261e93cb01e7c))
|
|
11
|
+
|
|
5
12
|
## [2.89.0](https://github.com/railroadmedia/musora-content-services/compare/v2.88.4...v2.89.0) (2025-11-27)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
package/src/contentTypeConfig.js
CHANGED
|
@@ -497,6 +497,12 @@ export let contentTypeConfig = {
|
|
|
497
497
|
][0].badge.asset->url`,
|
|
498
498
|
],
|
|
499
499
|
includeChildFields: true,
|
|
500
|
+
childFields: [
|
|
501
|
+
`"parent_data": parent_content_data[0] {
|
|
502
|
+
"id": id,
|
|
503
|
+
"title": *[railcontent_id == ^.id][0].title,
|
|
504
|
+
}`,
|
|
505
|
+
],
|
|
500
506
|
},
|
|
501
507
|
workout: {
|
|
502
508
|
fields: [artistOrInstructorNameAsArray()],
|
|
@@ -273,6 +273,7 @@ export async function completeLearningPathIntroVideo(introVideoId: number, learn
|
|
|
273
273
|
response.learning_path_reset_response = await contentStatusReset(learningPathId, collection)
|
|
274
274
|
|
|
275
275
|
} else {
|
|
276
|
+
response.lesson_import_response = {}
|
|
276
277
|
for (const contentId of lessonsToImport) {
|
|
277
278
|
response.lesson_import_response[contentId] = await contentStatusCompleted(contentId, collection)
|
|
278
279
|
}
|