This commit is contained in:
Your Name committed 2026-10-06 15:35:04 +07:00
1 parent 230716933e
commit 3bbe2bb35e
16 files changed
+1815 -109

No files matched your search

+2 -2
View File
@@ -180,7 +180,7 @@ const PAGE_BLOCK_METADATA: Record<string, BlockMetadata> = {
renderedFields: ["title", "description", "imageUrl", "imagePosition", "imageAspectRatio", "buttonText", "buttonLink", "backgroundColor", "textColor"],
storedOnlyFields: [],
discoveryToolsNeeded: [],
warnings: ["imagePosition must be left or right.", "imageAspectRatio can be square, portrait, tall, or auto."],
warnings: ["imagePosition must be left or right.", "imageAspectRatio can be landscape, wide, square, portrait, tall, or auto."],
minimalPayload: {
title: localizedObjectExample,
description: localizedObjectExample,
@@ -1055,7 +1055,7 @@ const SECTION_TOOL_CONFIGS = [
sectionId: { type: "number", description: "The numeric ID of the section to update" },
imageUrl: { type: "string", description: "Plain string main image URL" },
imagePosition: { type: "string", description: "Plain string image position ('left' or 'right')" },
imageAspectRatio: { type: "string", description: "Plain string image aspect ratio ('square', 'portrait', 'tall', or 'auto')" },
imageAspectRatio: { type: "string", description: "Plain string image aspect ratio ('landscape', 'wide', 'square', 'portrait', 'tall', or 'auto')" },
title: { ...localizedStringSchema, description: `Localized title, for example ${localizedStringExample}` },
description: { ...localizedStringSchema, description: `Localized description, for example ${localizedStringExample}` },
buttonText: { ...localizedStringSchema, description: `Localized button text, for example ${localizedStringExample}` },