Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Render a horizon-pir-rollforward.md Markdown document from a rolled-forward PIR status file. Groups PIRs by status and stamps each open PIR with an obsolescence date calculated as targetDate + horizonDays.

      Parameters

      • output: PirStatusFile

        The rolled-forward PIR status file to render.

      • sourcePath: string

        Path of the source file that produced output, used to compute repo-relative paths in the rendered Markdown.

      • targetDate: string

        The roll-forward target date (YYYY-MM-DD), anchor for the obsolescence calculation.

      • options: { repoRoot?: string; sourcePirIds?: Set<string> } = {}

        Optional repoRoot override and the sourcePirIds Set identifying which PIRs were inherited from the source file (vs. newly created during this run).

      Returns string

      Markdown text for the horizon-pir-rollforward.md artifact.