musora-content-services 2.94.6 → 2.94.8
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,25 @@
|
|
|
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.94.8](https://github.com/railroadmedia/musora-content-services/compare/v2.94.7...v2.94.8) (2025-12-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* collection type check ([#619](https://github.com/railroadmedia/musora-content-services/issues/619)) ([df520a4](https://github.com/railroadmedia/musora-content-services/commit/df520a497c24091b41d207992a8a71daf0fc98e5))
|
|
11
|
+
|
|
12
|
+
### [2.94.7](https://github.com/railroadmedia/musora-content-services/compare/v2.94.1...v2.94.7) (2025-12-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* bad import ([#611](https://github.com/railroadmedia/musora-content-services/issues/611)) ([ac9ee7b](https://github.com/railroadmedia/musora-content-services/commit/ac9ee7bb8d9617e319dcdedb47c5d7e3c7973732))
|
|
18
|
+
* fallback for method card when no activ epath ([#610](https://github.com/railroadmedia/musora-content-services/issues/610)) ([8458d97](https://github.com/railroadmedia/musora-content-services/commit/8458d9754d293ae28cb134546305264e638c8bbd))
|
|
19
|
+
* **MU2E2-183/T3PS-956:** Fix create/edit forum category ([070f7e5](https://github.com/railroadmedia/musora-content-services/commit/070f7e5754c0e2e9536311a76610df938f4e5146))
|
|
20
|
+
* Patch permissions filter (round 2) ([#616](https://github.com/railroadmedia/musora-content-services/issues/616)) ([f8509a5](https://github.com/railroadmedia/musora-content-services/commit/f8509a5178dfdd17ac06f5779a39960ae1a8130b))
|
|
21
|
+
* refactor fetchLearningPathProgressCheckLessons to exclude duplicates ([#615](https://github.com/railroadmedia/musora-content-services/issues/615)) ([0f0f51e](https://github.com/railroadmedia/musora-content-services/commit/0f0f51e2148a9e611bb3cbc9d103f12952e00056))
|
|
22
|
+
* watermelon fixes for content progress ([#614](https://github.com/railroadmedia/musora-content-services/issues/614)) ([2c2fa8e](https://github.com/railroadmedia/musora-content-services/commit/2c2fa8e68d5b3174ca62c8b9a900370947e44725))
|
|
23
|
+
|
|
5
24
|
### [2.94.6](https://github.com/railroadmedia/musora-content-services/compare/v2.94.5...v2.94.6) (2025-12-03)
|
|
6
25
|
|
|
7
26
|
|
package/package.json
CHANGED
|
@@ -432,9 +432,10 @@ function normalizeContentIds(contentIds) {
|
|
|
432
432
|
function normalizeCollection(collection) {
|
|
433
433
|
if (!collection) return null
|
|
434
434
|
|
|
435
|
-
if (COLLECTION_TYPE.
|
|
435
|
+
if (!Object.values(COLLECTION_TYPE).includes(collection.type)) {
|
|
436
436
|
throw new Error(`Invalid collection type: ${collection.type}`)
|
|
437
437
|
}
|
|
438
|
+
|
|
438
439
|
if (typeof collection.id === 'string' && isNaN(+collection.id)) {
|
|
439
440
|
throw new Error(`Invalid collection id: ${collection.id}`)
|
|
440
441
|
}
|
|
@@ -20,7 +20,7 @@ export async function fetchForumCategories(brand: string): Promise<ForumCategory
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface CreateForumCategoryParams {
|
|
23
|
-
|
|
23
|
+
title: string
|
|
24
24
|
description: string
|
|
25
25
|
weight: number
|
|
26
26
|
brand: string
|
|
@@ -44,7 +44,7 @@ export async function createForumCategory(
|
|
|
44
44
|
export interface UpdateForumCategoryParams {
|
|
45
45
|
id: number
|
|
46
46
|
brand: string
|
|
47
|
-
|
|
47
|
+
title: string
|
|
48
48
|
weight: number
|
|
49
49
|
description?: string
|
|
50
50
|
icon?: string
|