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

    Type Alias GaugeList

    GaugeList:
        | {
            attribution: Attribution;
            gauges: Gauge[];
            notes: string[];
            offScale?: OffScaleGauge[];
            searched: GaugeSearch;
            sites: number;
            status: "ok";
            total: number;
            waters?: Record<string, number>;
        }
        | {
            attribution: Attribution;
            notes: string[];
            offScale?: OffScaleGauge[];
            reason: string;
            searched: GaugeSearch;
            status: "empty";
        }

    The answer of listGauges.

    Type Declaration

    • {
          attribution: Attribution;
          gauges: Gauge[];
          notes: string[];
          offScale?: OffScaleGauge[];
          searched: GaugeSearch;
          sites: number;
          status: "ok";
          total: number;
          waters?: Record<string, number>;
      }
      • attribution: Attribution
      • gauges: Gauge[]

        Worst first, then by water and name.

      • notes: string[]
      • OptionaloffScale?: OffScaleGauge[]

        Gauges whose class is off the station scale, left out of gauges; absent when none.

      • searched: GaugeSearch
      • sites: number

        Distinct sites (by position): border gauges once.

      • status: "ok"
      • total: number

        Gauges listed; a border gauge counts once per reporting state.

      • Optionalwaters?: Record<string, number>

        With a water search: the waters it matched, with their counts (it matches parts of names).

    • {
          attribution: Attribution;
          notes: string[];
          offScale?: OffScaleGauge[];
          reason: string;
          searched: GaugeSearch;
          status: "empty";
      }