EU Parliament Monitor — API Documentation - v0.9.0
    Preparing search index...

    Interface CleanedArtifactWithPath

    A CleanArtifactResult extended with provenance (the run-relative path of the source artifact). Use this type when you need to track which artifact produced a given cleaned output — e.g. for telemetry or source-mapping in article-meta.json.

    CleanArtifactResult is the raw return of cleanArtifact(); CleanedArtifactWithPath adds the origin path for pipeline bookkeeping.

    interface CleanedArtifactWithPath {
        path: string;
        markdown: string;
        strippedH1s: number;
        strippedBannerLines: number;
        strippedMetaLines: number;
        dedupedMermaidBlocks: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    path: string

    Run-relative path of the source artifact.

    markdown: string

    Cleaned Markdown ready to be concatenated into the aggregate.

    strippedH1s: number

    Headings removed (for debugging/telemetry).

    strippedBannerLines: number

    Banner/metadata lines removed.

    strippedMetaLines: number

    Operational metadata preamble lines removed (e.g. Run: / Window: blocks).

    dedupedMermaidBlocks: number

    Mermaid blocks deduplicated as a reference to a previous occurrence.