@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function normalizeSearchFilters

    • Check every filter and return them in canonical form: parliament keys and parties trimmed and lower-cased, dates trimmed. Throws OpenKaValidationError for a filter that cannot match — an unknown parliament, a blank party, an unknown review status, a year or period out of range or not an integer, a date that is not YYYY-MM-DD on the calendar. search(), searchLike() and reviewQueue() call it first; the result is idempotent.

      Parameters

      Returns SearchFilters