EU Parliament Monitor — API Documentation - v0.8.24
    Preparing search index...
    • Compute the dedup suffix by comparing the resolved analysis directory basename with the original slug. Examples:

      • ('breaking', 'breaking-2')'-2'
      • ('breaking', 'breaking')''
      • ('breaking-run6', 'breaking-run6-2')'-run6-2'

      Parameters

      • articleTypes: readonly string[]

        Article type strings to derive the base slug

      • OptionalanalysisDir: string

        Resolved analysis directory basename (may include suffix)

      Returns string

      Validated dedup suffix string (empty when no suffix applies)