European Parliament MCP Server API - v1.4.23
    Preparing search index...

    Function readIncrementalDetailState

    • Reconstructs incremental state from a previously written latest.json payload. Unknown or malformed input yields empty state rather than throwing, so a corrupt cache simply triggers a full rebuild.

      Parameters

      • parsed: unknown

        Parsed prior cache payload (or any value).

      • detailsKey: string

        Property holding the detail map (e.g. "mepDetails").

      • missingKey: string = 'missingDetailIds'

        Property holding the missing-id list.

      Returns IncrementalDetailState

      Detail map and missing-id set restored from the payload.