snake_case 통일 작업 중간 저장 - 프론트 완료, 백엔드 쿼리 ID 불일치 수정 전
This commit is contained in:
@@ -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 },
|
||||
|
||||
@@ -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(", ")}`);
|
||||
}
|
||||
|
||||
// 경고사항 출력 (개발 모드에서만) - 로그 제거
|
||||
|
||||
Reference in New Issue
Block a user