From c465141f53bc1a67d452db817dc2debb840c9c35 Mon Sep 17 00:00:00 2001 From: DDD1542 Date: Mon, 30 Mar 2026 12:22:26 +0900 Subject: [PATCH] =?UTF-8?q?snake=5Fcase=20=ED=86=B5=EC=9D=BC=20=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=A4=91=EA=B0=84=20=EC=A0=80=EC=9E=A5=20-=20?= =?UTF-8?q?=ED=94=84=EB=A1=A0=ED=8A=B8=20=EC=99=84=EB=A3=8C,=20=EB=B0=B1?= =?UTF-8?q?=EC=97=94=EB=93=9C=20=EC=BF=BC=EB=A6=AC=20ID=20=EB=B6=88?= =?UTF-8?q?=EC=9D=BC=EC=B9=98=20=EC=88=98=EC=A0=95=20=EC=A0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/lib/registry/components/split-panel-layout2/index.ts | 4 ++-- frontend/lib/registry/utils/createComponentDefinition.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/lib/registry/components/split-panel-layout2/index.ts b/frontend/lib/registry/components/split-panel-layout2/index.ts index 754122b8..1679336b 100644 --- a/frontend/lib/registry/components/split-panel-layout2/index.ts +++ b/frontend/lib/registry/components/split-panel-layout2/index.ts @@ -14,10 +14,10 @@ import { defaultConfig, componentMeta } from "./config"; export const SplitPanelLayout2Definition = createComponentDefinition({ id: componentMeta.id, name: componentMeta.name, - name_eng: componentMeta.nameEng, + name_eng: componentMeta.name_eng, description: componentMeta.description, category: ComponentCategory.LAYOUT, - web_type: componentMeta.webType as WebType, + web_type: componentMeta.web_type as WebType, component: SplitPanelLayout2Wrapper, default_config: defaultConfig, default_size: { width: 1200, height: 600 }, diff --git a/frontend/lib/registry/utils/createComponentDefinition.ts b/frontend/lib/registry/utils/createComponentDefinition.ts index 0e727539..d254587d 100644 --- a/frontend/lib/registry/utils/createComponentDefinition.ts +++ b/frontend/lib/registry/utils/createComponentDefinition.ts @@ -97,7 +97,8 @@ export function createComponentDefinition(options: CreateComponentDefinitionOpti const validationResult = validateComponentDefinition(definition); if (!validationResult.isValid) { - throw new Error(`컴포넌트 정의 검증 실패: ${validationResult.errors.join(", ")}`); + console.error("🔴 검증 실패 컴포넌트:", id, "web_type:", web_type, "options keys:", Object.keys(options)); + throw new Error(`컴포넌트 정의 검증 실패 (${id}): ${validationResult.errors.join(", ")}`); } // 경고사항 출력 (개발 모드에서만) - 로그 제거