using ZB.MOM.WW.OtOpcUa.Commons.Browsing;
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Browsing;
///
/// Payload for a leaf toggle in DriverBrowseTree's multi-select mode (WP6 "Browse device…"
/// re-target). Carries the toggled plus the captured browse-folder nesting above it
/// (, root→parent display names) so the browse modal can optionally mirror the
/// nesting onto TagGroups on commit. Fired only for nodes.
///
/// The toggled leaf browse node (its NodeId is the driver full reference).
/// The ancestor folder display names, root→parent (empty for a top-level leaf).
public sealed record BrowseLeafSelection(BrowseNode Leaf, IReadOnlyList FolderPath);