feat(menu-guard): enhance menu guard logic to support nested menus

This commit is contained in:
2026-07-23 17:10:04 -03:00
parent aa51742627
commit d50bd40602
2 changed files with 12 additions and 1 deletions

View File

@@ -26,7 +26,11 @@ export interface EventConfig {
export interface Menu {
id: number;
code: string;
parent_menu_code: string | null;
content_type: 'static' | 'dynamic';
route: string;
static_content?: unknown;
submenues: Menu[];
}
export interface SocialMedia {