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

    Function checkSeriesResult

    • Check a chart_data data file against the documented shape and return it: {"meta_data": {…}, "series": [[epochMs, number|null], …]}. SMARD answers a window it has no file for with a 404, so anything else — null, {}, an array, an error object such as {"error": "maintenance", "series": null}, string values ("80", which jq sorts above every number), a short or long tuple — is an error page or a changed format, and is a SmardParseError rather than data a caller computes on.

      Parameters

      • body: unknown
      • path: string

      Returns SeriesResult