musora-content-services 1.0.95 → 1.0.96
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 +2 -0
- package/package.json +1 -1
- package/src/services/sanity.js +1 -1
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.96](https://github.com/railroadmedia/musora-content-services/compare/v1.0.95...v1.0.96) (2024-09-12)
|
|
6
|
+
|
|
5
7
|
### [1.0.95](https://github.com/railroadmedia/musora-content-services/compare/v1.0.94...v1.0.95) (2024-09-12)
|
|
6
8
|
|
|
7
9
|
### [1.0.94](https://github.com/railroadmedia/musora-content-services/compare/v1.0.93...v1.0.94) (2024-09-12)
|
package/package.json
CHANGED
package/src/services/sanity.js
CHANGED
|
@@ -293,7 +293,7 @@ export async function fetchNewReleases(brand) {
|
|
|
293
293
|
* .then(events => console.log(events))
|
|
294
294
|
* .catch(error => console.error(error));
|
|
295
295
|
*/
|
|
296
|
-
export async function fetchUpcomingEvents(brand, { page = 1, limit = 10 }) {
|
|
296
|
+
export async function fetchUpcomingEvents(brand, { page = 1, limit = 10 }={}) {
|
|
297
297
|
const baseLiveTypes = ["student-review", "student-reviews", "student-focus", "coach-stream", "live", "question-and-answer", "student-review", "boot-camps", "recording", "pack-bundle-lesson"];
|
|
298
298
|
const liveTypes = {
|
|
299
299
|
'drumeo': [...baseLiveTypes, "drum-fest-international-2022", "spotlight", "the-history-of-electronic-drums", "backstage-secrets", "quick-tips", "student-collaborations", "live-streams", "podcasts", "solos", "gear-guides", "performances", "in-rhythm", "challenges", "on-the-road", "diy-drum-experiments", "rhythmic-adventures-of-captain-carson", "study-the-greats", "rhythms-from-another-planet", "tama-drums", "paiste-cymbals", "behind-the-scenes", "exploring-beats", "sonor-drums"],
|