phase-6: add registry-driven dynamic page-section-widget rendering engine

This commit is contained in:
sdarbinyan
2026-07-03 01:35:09 +04:00
parent 7dca7fee7d
commit 3f00884f33
8 changed files with 171 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { Type } from '@angular/core';
export interface WidgetRenderContext {
pageId: string;
sectionId: string;
locale?: string;
}
export interface RegisteredWidget {
type: string;
version: string;
component: Type<unknown>;
}
export interface ResolvedWidget {
type: string;
version: string;
component: Type<unknown>;
props: Record<string, unknown>;
}