Expand description
External component discovery for the WebUI framework.
Discovers components from npm packages and local filesystem paths.
Returns DiscoveredComponent structs that callers can register
into their component registry.
This crate has no dependency on webui-parser — it is pure discovery
logic reusable by CLI, FFI, and other host integrations.
Structs§
- Discovered
Component - A component discovered from an external source, ready for registration.
- Discovery
Result - Result of discovering components from a single source.
Functions§
- collect_
watch_ paths - Collect the resolved local paths from source strings for file watching.
- discover_
source - Discover components from a single source and register them into a component registry.
- is_
local_ source - Returns
truewhen a--componentssource string denotes a local filesystem path rather than an npm package name or scope.