musora-content-services 1.0.196 → 1.0.198
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 +4 -0
- package/docs/config.js.html +0 -0
- package/docs/index.html +0 -0
- package/docs/module-Config.html +0 -0
- package/docs/module-Railcontent-Services.html +0 -0
- package/docs/module-Sanity-Services.html +0 -0
- package/docs/railcontent.js.html +0 -0
- package/docs/sanity.js.html +0 -0
- package/package.json +1 -1
- package/src/contentMetaData.js +0 -0
- package/src/filterBuilder.js +0 -0
- package/src/index.d.ts +0 -0
- package/src/index.js +0 -0
- package/src/services/contentProgress.js +0 -0
- package/src/services/dataContext.js +0 -0
- package/src/services/railcontent.js +3 -2
- package/src/services/sanity.js +1 -1
- package/test/contentProgress.test.js +0 -0
- package/test/live/contentProgressLive.test.js +0 -0
- package/test/live/railcontentLive.test.js +0 -0
- package/test/sanityQueryService.test.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.198](https://github.com/railroadmedia/musora-content-services/compare/v1.0.185...v1.0.198) (2024-11-29)
|
|
6
|
+
|
|
7
|
+
### [1.0.197](https://github.com/railroadmedia/musora-content-services/compare/v1.0.196...v1.0.197) (2024-11-29)
|
|
8
|
+
|
|
5
9
|
### [1.0.196](https://github.com/railroadmedia/musora-content-services/compare/v1.0.195...v1.0.196) (2024-11-29)
|
|
6
10
|
|
|
7
11
|
### [1.0.195](https://github.com/railroadmedia/musora-content-services/compare/v1.0.194...v1.0.195) (2024-11-29)
|
package/docs/config.js.html
CHANGED
|
File without changes
|
package/docs/index.html
CHANGED
|
File without changes
|
package/docs/module-Config.html
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/docs/railcontent.js.html
CHANGED
|
File without changes
|
package/docs/sanity.js.html
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/src/contentMetaData.js
CHANGED
|
File without changes
|
package/src/filterBuilder.js
CHANGED
|
File without changes
|
package/src/index.d.ts
CHANGED
|
File without changes
|
package/src/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -795,8 +795,9 @@ export async function fetchPlaylist(playlistId) {
|
|
|
795
795
|
* .then(items => console.log(items))
|
|
796
796
|
* .catch(error => console.error('Error fetching playlist items:', error));
|
|
797
797
|
*/
|
|
798
|
-
export async function fetchPlaylistItems(playlistId) {
|
|
799
|
-
const
|
|
798
|
+
export async function fetchPlaylistItems(playlistId, {sort} = {}) {
|
|
799
|
+
const sortString = sort ? `&sort=${sort}` : '';
|
|
800
|
+
const url = `/playlists/playlist-lessons?playlist_id=${playlistId}${sortString}`;
|
|
800
801
|
return await fetchHandler(url, "GET");
|
|
801
802
|
}
|
|
802
803
|
|
package/src/services/sanity.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|