musora-content-services 1.0.179 → 1.0.180

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,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
+ ### [1.0.180](https://github.com/railroadmedia/musora-content-services/compare/v1.0.179...v1.0.180) (2024-11-23)
6
+
5
7
  ### [1.0.179](https://github.com/railroadmedia/musora-content-services/compare/v1.0.178...v1.0.179) (2024-11-19)
6
8
 
7
9
  ### [1.0.178](https://github.com/railroadmedia/musora-content-services/compare/v1.0.177...v1.0.178) (2024-11-19)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.179",
3
+ "version": "1.0.180",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -10,6 +10,7 @@ const DEFAULT_FIELDS = [
10
10
  "difficulty",
11
11
  "difficulty_string",
12
12
  "web_url_path",
13
+ "'url': web_url_path",
13
14
  "published_on",
14
15
  "'type': _type",
15
16
  "progress_percent",
@@ -103,7 +104,7 @@ let contentTypeConfig = {
103
104
  '"gold_award": gold_award.asset->url',
104
105
  '"silver_award": silver_award.asset->url',
105
106
  '"bronze_award": bronze_award.asset->url',
106
- 'is_solo_challenge',
107
+ 'is_solo',
107
108
  `"lessons": child[]->{
108
109
  "id": railcontent_id,
109
110
  title,
@@ -196,7 +197,6 @@ let contentTypeConfig = {
196
197
  'title',
197
198
  'total_xp',
198
199
  '"type": _type',
199
- '"url": web_url_path',
200
200
  'xp',
201
201
  ]
202
202
  },
@@ -316,7 +316,6 @@ let contentTypeConfig = {
316
316
  title,
317
317
  "type": _type,
318
318
  "description": ${descriptionField},
319
- "url": web_url_path,
320
319
  xp,
321
320
  }`
322
321
  ]
@@ -345,12 +344,12 @@ let contentTypeConfig = {
345
344
  '"coach_card_image": coach_card_image.asset->url',
346
345
  '"coach_featured_image": coach_featured_image.asset->url',
347
346
  '"coach_top_banner_image": coach_top_banner_image.asset->url',
348
- 'focus',
347
+ '"focus": focus[]->name',
349
348
  'focus_text',
350
349
  'forum_thread_id',
351
- 'long_bio',
350
+ '"long_bio": long_bio[0].children[0].text,',
352
351
  'name',
353
- 'short_bio',
352
+ '"short_bio" : short_bio[0].children[0].text',
354
353
  'bands',
355
354
  'endorsements',
356
355
  ]