feat(cms): add Cinematic Story Scroll and Apple Showcase blocks to Page Builder
This commit is contained in:
1 parent
25cbe3549e
commit
8d9f2fc587
10 files changed
+971
-8
No files matched your search
@@ -43,6 +43,8 @@ import {
|
||||
BannerMinimalSectionPayloadSchema,
|
||||
AnnouncementBarMinimalSectionPayloadSchema,
|
||||
UspMinimalSectionPayloadSchema,
|
||||
CinematicStoryScrollSectionPayloadSchema,
|
||||
AppleShowcaseSectionPayloadSchema,
|
||||
SectionSpacingPayloadSchema,
|
||||
PAGE_SECTION_LOCALIZED_PATHS,
|
||||
type SectionType,
|
||||
@@ -1428,6 +1430,15 @@ export function validateSectionPayload(
|
||||
case "USP_MINIMAL":
|
||||
schema = UspMinimalSectionPayloadSchema;
|
||||
break;
|
||||
case "CINEMATIC_STORY_SCROLL":
|
||||
case "STORY_SCROLL":
|
||||
schema = CinematicStoryScrollSectionPayloadSchema;
|
||||
break;
|
||||
case "APPLE_SHOWCASE":
|
||||
case "APPLE_KEYNOTE_SHOWCASE":
|
||||
case "APPLE_WATCH_TOUR":
|
||||
schema = AppleShowcaseSectionPayloadSchema;
|
||||
break;
|
||||
default:
|
||||
return {
|
||||
success: false,
|
||||
|
||||
Reference in new issue
Block a user