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

    Function validateSearchParams

    • Check search parameters before any request. undefined (or null) means "not set". A given was, wo, berufsfeld or arbeitgeber must not be blank (nonBlankProblem): leave a filter out to search without it. umkreis must be an integer 0..MAX_UMKREIS (200), size a non-negative integer, veroeffentlichtseit an integer 0..MAX_VEROEFFENTLICHT_SEIT, angebotsart one of ANGEBOTSART_CODES and page an integer >= 1 (the API answers page=0 with HTTP 400), zeitarbeit a boolean; params itself must be an object, and every key one of SEARCH_PARAMS unless options.allowUnknownParams is set (__proto__ and constructor never). Throws a JobsucheValidationError naming the parameter; returns params unchanged.

      Parameters

      Returns JobSearchParams