Skip to content

parseEnrichmentContent

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/technical-docs/technical-docs-materializer.service.ts

Parse an AI_ENRICHMENT Document's MDX (written by TechnicalDocsEnrichmentService — a fingerprint comment, then `### Description / ### Diagram / ### Usage Example /

AI Coding Instructions` sections) into the EntityEnrichment shape renderEntityPage

merges. Server-side twin of the web entity page's fingerprint-strip + section renderer.

Signature

ts
function parseEnrichmentContent(content: string): EntityEnrichment | null

Parameters

NameType
contentstring

Returns: EntityEnrichment | null

Was this page helpful?

Download as PDF