feat(cms): add Interactive 360 Turntable and Macro Zoom Showcase block

This commit is contained in:
Your Name committed 2026-10-17 09:25:16 +07:00
1 parent 8d9f2fc587
commit 64f7ecf729
12 files changed
+1185 -3

No files matched your search

+6 -1
View File
@@ -524,7 +524,12 @@ function validateSectionPayload(type, payload) {
case "STORY_SCROLL":
schema = CinematicStoryScrollSectionPayloadSchema;
break;
case "APPLE_SHOWCASE":
case "INTERACTIVE_360_SHOWCASE":
case "TURNTABLE_3D_SHOWCASE":
case "TURNTABLE_360":
schema = Interactive360ShowcaseSectionPayloadSchema;
break;
case "APPLE_SHOWCASE":
case "APPLE_KEYNOTE_SHOWCASE":
case "APPLE_WATCH_TOUR":
schema = AppleShowcaseSectionPayloadSchema;
+6
View File
@@ -45,6 +45,7 @@ import {
UspMinimalSectionPayloadSchema,
CinematicStoryScrollSectionPayloadSchema,
AppleShowcaseSectionPayloadSchema,
Interactive360ShowcaseSectionPayloadSchema,
SectionSpacingPayloadSchema,
PAGE_SECTION_LOCALIZED_PATHS,
type SectionType,
@@ -1434,6 +1435,11 @@ export function validateSectionPayload(
case "STORY_SCROLL":
schema = CinematicStoryScrollSectionPayloadSchema;
break;
case "INTERACTIVE_360_SHOWCASE":
case "TURNTABLE_3D_SHOWCASE":
case "TURNTABLE_360":
schema = Interactive360ShowcaseSectionPayloadSchema;
break;
case "APPLE_SHOWCASE":
case "APPLE_KEYNOTE_SHOWCASE":
case "APPLE_WATCH_TOUR":