arch(sprint1): add unknown widget fallback diagnostics

This commit is contained in:
sdarbinyan
2026-07-03 02:11:07 +04:00
parent 6dfe1291ae
commit 6ea9932aa7
4 changed files with 94 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
import { Injectable } from '@angular/core';
export interface UnknownWidgetDiagnostic {
tenant: string;
page: string;
section: string;
widget: string;
reason: string;
}
@Injectable({ providedIn: 'root' })
export class RuntimeDiagnosticsService {
logUnknownWidget(event: UnknownWidgetDiagnostic): void {
console.warn('[PlatformRuntime][UnknownWidget]', event);
}
}