Count directory NE badges from fabric inventory, with shared whole-network totals.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 17:53:53 +08:00
parent 617ab469ae
commit 104de449cf
4 changed files with 113 additions and 43 deletions

View file

@ -427,6 +427,8 @@ export type TopologyTreeFolderItem = {
sort_order: number;
is_system: boolean;
external_ref?: string;
/** Real NE inventory under this folder (subtree). Region folders are not NEs. */
ne_count?: number;
views: TopologyTreeViewItem[];
children: TopologyTreeFolderItem[];
};