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

    Function searchResultProblem

    • Why a 2xx body is not a /pc/v6/jobs search result, or undefined. The documented shape: a JSON object with maxErgebnisse (a non-negative integer, present even when nothing matched), ergebnisliste absent or an array of listings that each have a string referenznummer, and page/size numbers and woOutput/ facetten objects when present. null, {}, an array or an error envelope ({"message": "quota exceeded"} from a proxy) is not "nothing found". An envelope's text is quoted with scrub applied first (the client passes RequestEngine.scrubServerValue, so the base URL's credentials and the API key never reach the reason).

      Parameters

      • value: unknown
      • scrub: (text: string) => string = asIs

      Returns string | undefined