레이아웃 추가기능
This commit is contained in:
44
frontend/lib/registry/layouts/split/config.ts
Normal file
44
frontend/lib/registry/layouts/split/config.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* split 기본 설정
|
||||
*/
|
||||
export const SplitLayoutConfig = {
|
||||
defaultConfig: {
|
||||
split: {
|
||||
// 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%" },
|
||||
}
|
||||
],
|
||||
|
||||
// 설정 스키마 (검증용)
|
||||
configSchema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
split: {
|
||||
type: "object",
|
||||
properties: {
|
||||
// TODO: 설정 스키마 정의
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
required: ["split"],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user