Sprint 7: add section engine
This commit is contained in:
@@ -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[];
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user