musora-content-services 1.0.201 → 1.0.203
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/README.md +0 -0
- package/jest.config.js +0 -0
- package/package.json +1 -1
- package/src/contentTypeConfig.js +1 -0
- package/src/services/config.js +0 -0
- package/src/services/contentLikes.js +0 -0
- package/src/services/lastUpdated.js +0 -0
- package/src/services/sanity.js +2 -2
- package/src/services/userPermissions.js +0 -0
- package/test/contentLikes.test.js +0 -0
- package/test/initializeTests.js +0 -0
- package/test/lastUpdated.test.js +0 -0
- package/test/localStorageMock.js +0 -0
- package/test/log.js +0 -0
- package/test/userPermissions.test.js +0 -0
- package/tools/generate-index.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.203](https://github.com/railroadmedia/musora-content-services/compare/v1.0.202...v1.0.203) (2024-12-01)
|
|
6
|
+
|
|
7
|
+
### [1.0.202](https://github.com/railroadmedia/musora-content-services/compare/v1.0.201...v1.0.202) (2024-11-30)
|
|
8
|
+
|
|
5
9
|
### [1.0.201](https://github.com/railroadmedia/musora-content-services/compare/v1.0.200...v1.0.201) (2024-11-29)
|
|
6
10
|
|
|
7
11
|
### [1.0.200](https://github.com/railroadmedia/musora-content-services/compare/v1.0.199...v1.0.200) (2024-11-29)
|
package/README.md
CHANGED
|
File without changes
|
package/jest.config.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/src/contentTypeConfig.js
CHANGED
package/src/services/config.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/services/sanity.js
CHANGED
|
@@ -1094,7 +1094,7 @@ export async function fetchNextPreviousLesson(railcontentId) {
|
|
|
1094
1094
|
* .catch(error => console.error(error));
|
|
1095
1095
|
*/
|
|
1096
1096
|
export async function fetchLessonContent(railContentId) {
|
|
1097
|
-
const filterParams = {isSingle: true};
|
|
1097
|
+
const filterParams = {isSingle: true, pullFutureContent: true};
|
|
1098
1098
|
// Format changes made to the `fields` object may also need to be reflected in Musora-web-platform SanityGateway.php $fields object
|
|
1099
1099
|
// Currently only for challenges and challenge lessons
|
|
1100
1100
|
// If you're unsure, message Adrian, or just add them.
|
|
@@ -1943,7 +1943,7 @@ function buildRawQuery(
|
|
|
1943
1943
|
|
|
1944
1944
|
async function buildQuery(
|
|
1945
1945
|
baseFilter = '',
|
|
1946
|
-
filterParams = {},
|
|
1946
|
+
filterParams = {pullFutureContent: false},
|
|
1947
1947
|
fields = '...',
|
|
1948
1948
|
{
|
|
1949
1949
|
sortOrder = 'published_on desc',
|
|
File without changes
|
|
File without changes
|
package/test/initializeTests.js
CHANGED
|
File without changes
|
package/test/lastUpdated.test.js
CHANGED
|
File without changes
|
package/test/localStorageMock.js
CHANGED
|
File without changes
|
package/test/log.js
CHANGED
|
File without changes
|
|
File without changes
|
package/tools/generate-index.js
CHANGED
|
File without changes
|