This commit is contained in:
Халимов Рустам
2025-12-27 23:53:52 +03:00
parent 929e071ea7
commit 8789d82064
4 changed files with 175 additions and 289 deletions

View File

@@ -11,17 +11,9 @@ export interface AppConfig {
cornerRadius: number;
}
// Новая структура: настройки деления внутри одной ячейки
export interface CellSubdivision {
rows: number; // горизонтальные ряды
cols: number; // вертикальные колонки
}
export interface LayoutSplits {
x: number[];
y: number[];
// Ключ: "indexX-indexY" (например "0-0"), Значение: {rows: 2, cols: 1}
subdivisions: Record<string, CellSubdivision>;
}
export interface GeneratedPart {