analyzeSourceTypes
analyzeSourceTypes(
options,sourceTypeNames):Record<string,AttributeNode>
Defined in: metadata-parser.ts:75
Analyze multiple named source types from a TypeScript module.
Parameters
Section titled “Parameters”options
Section titled “options”Metadata analysis options including the optional project root, the relative types file path to parse, and optional recursive type unrolling depth.
maxRecursiveDepth?
Section titled “maxRecursiveDepth?”number
projectRoot?
Section titled “projectRoot?”string
typesFile
Section titled “typesFile”string
sourceTypeNames
Section titled “sourceTypeNames”string[]
Exported type or interface names to resolve from the configured types file.
Returns
Section titled “Returns”Record<string, AttributeNode>
A record keyed by source type name with parsed attribute-node trees for each requested type.