Sprint 7: add section engine

This commit is contained in:
sdarbinyan
2026-07-05 01:55:41 +04:00
parent d4a5daeb4c
commit 91d9444875
10 changed files with 203 additions and 62 deletions

View File

@@ -1,10 +1,13 @@
import { SectionConfig } from '../../shared/models/config';
import { SectionLayoutConfig, SectionVisibilityConfig } from '../../shared/models/config';
import { WidgetRenderNode } from '../widget-host/widget-host.model';
export interface SectionRenderNode {
id: string;
type: string;
order: number;
layout?: SectionLayoutConfig;
visibility?: SectionVisibilityConfig;
featureFlag?: string;
visible?: boolean;
widgets: WidgetRenderNode[];

View File

@@ -22,6 +22,8 @@ export class SectionRendererService {
id: section.id,
type: section.type,
order: section.order,
layout: section.layout,
visibility: section.visibility,
featureFlag: section.featureFlag,
visible: section.visible,
widgets,