Files
vexplor/frontend/lib/registry/layouts/hero-section/config.ts
DDD1542 6a30038785 fix: baseline TS 에러 정리 및 런타임 에러 수정
- SelectItem value="" -> "none" 변환 (shadcn Select 런타임 에러 수정)
- TablesPanel 중복 React key 수정
- 하이픈 포함 식별자를 따옴표로 감싸기 (hero-section, card-layout)
- 깨진 레거시 파일 제거 (AutoRegisteringLayoutRenderer.ts)
- 중복 인터페이스 통합 (RestAPISourceNodeData, FlowVisibilityConfig)
- WebType에 누락된 타입 추가 (checkbox-group, radio-horizontal 등)
- 사용하지 않는 namespace 제거 (Migration, TypeValidation)
- tsconfig.json에 깨진 레거시 파일 exclude 추가

Made-with: Cursor
2026-03-04 01:13:33 +09:00

51 lines
976 B
TypeScript

/**
* heroSection 기본 설정
*/
export const HeroSectionLayoutConfig = {
defaultConfig: {
"hero-section": {
// TODO: 레이아웃 전용 설정 정의
// 예시:
// spacing: 16,
// orientation: "vertical",
// allowResize: true,
},
},
defaultZones: [
{
id: "zone1",
name: "존 1",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone2",
name: "존 2",
position: {},
size: { width: "100%", height: "100%" },
},
{
id: "zone3",
name: "존 3",
position: {},
size: { width: "100%", height: "100%" },
}
],
// 설정 스키마 (검증용)
configSchema: {
type: "object",
properties: {
"hero-section": {
type: "object",
properties: {
// TODO: 설정 스키마 정의
},
additionalProperties: false,
},
},
required: ["hero-section"],
},
};