EnhancedComponentMetadataEntry
type EnhancedComponentMetadataEntry = | AnalyzedComponentEntry | SkippedComponentEntry | FailedComponentEntry;Defined in: packages/analyzer/src/types.ts:565
The canonical component entry — discriminated on kind.
'analyzed'— full pipeline ran, AST + enhancements + graph all present.'skipped'— intentionally not analyzed (anonymous class, filtered selector, etc.). Carries onlyname+reason.'failed'— the component-analysis catch site fired; we know thenamebut no payload could be produced.
Consumers must narrow on kind before reading analysis-related fields.
Note on referential integrity: importsFrom is serialized; importedBy
is computed at load time in the MCP server from the reverse index.