musora-content-services 2.140.3 → 2.140.5

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.140.5](https://github.com/railroadmedia/musora-content-services/compare/v2.140.4...v2.140.5) (2026-03-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * import ([#872](https://github.com/railroadmedia/musora-content-services/issues/872)) ([cc59c41](https://github.com/railroadmedia/musora-content-services/commit/cc59c412e231a6cc7b7858f4e27e3ec896911b17))
11
+
12
+ ### [2.140.4](https://github.com/railroadmedia/musora-content-services/compare/v2.140.3...v2.140.4) (2026-03-17)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * use default fields for fetch sibling content ([#870](https://github.com/railroadmedia/musora-content-services/issues/870)) ([3d00aa2](https://github.com/railroadmedia/musora-content-services/commit/3d00aa20f013301377e00dbc890261b012372829))
18
+
5
19
  ### [2.140.3](https://github.com/railroadmedia/musora-content-services/compare/v2.140.2...v2.140.3) (2026-03-17)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.140.3",
3
+ "version": "2.140.5",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -48,7 +48,7 @@ import { getAllCompleted, getAllStarted, getAllStartedOrCompleted } from './cont
48
48
  import { fetchRecentActivitiesActiveTabs } from './userActivity.js'
49
49
  import { query } from '../lib/sanity/query'
50
50
  import { Filters as f } from '../lib/sanity/filter'
51
- import { COLLECTION_TYPE } from './sync/models/ContentProgress.js'
51
+ import { COLLECTION_TYPE } from './sync/models/ContentProgress'
52
52
 
53
53
  /**
54
54
  * Exported functions that are excluded from index generation.
@@ -1125,7 +1125,7 @@ export async function fetchSiblingContent(railContentId, brand = null) {
1125
1125
  }).buildFilter()
1126
1126
 
1127
1127
  const brandString = brand ? ` && brand == "${brand}"` : ''
1128
- const queryFields = `_id, "id":railcontent_id, published_on, "instructor": instructor[0]->name, title, "thumbnail":thumbnail.asset->url, length_in_seconds, status, "type": _type, difficulty, difficulty_string, artist->, "permission_id": permission_v2, "genre": genre[]->name, "parent_id": parent_content_data[0].id`
1128
+ const queryFields = getFieldsForContentType()
1129
1129
 
1130
1130
  const query = `*[railcontent_id == ${railContentId}${brandString}]{
1131
1131
  _type,