@maschinenlesbar.org/pegel-online-cli
    Preparing search index...

    Type Alias RiverOverview

    RiverOverview:
        | {
            asOf?: string;
            attention: { km?: number; shortname: string; text: string }[];
            counts: VerdictCounts;
            gauges: RiverGauge[];
            notes: string[];
            order: string;
            searched: { timeseries: string; water: string };
            status: "ok";
            total: number;
            verdict: string;
            water: Water;
        }
        | {
            candidates: Water[];
            searched: { timeseries: string; water: string };
            status: "ambiguous";
            total: number;
        }
        | {
            reason: string;
            searched: { timeseries: string; water: string };
            status: "empty";
            water?: Water;
        }

    The answer of getRiverOverview.

    Type Declaration

    • {
          asOf?: string;
          attention: { km?: number; shortname: string; text: string }[];
          counts: VerdictCounts;
          gauges: RiverGauge[];
          notes: string[];
          order: string;
          searched: { timeseries: string; water: string };
          status: "ok";
          total: number;
          verdict: string;
          water: Water;
      }
      • OptionalasOf?: string

        The time most readings share.

      • attention: { km?: number; shortname: string; text: string }[]

        The gauges not normal: high, then low, then faults and out-dated ones.

      • counts: VerdictCounts
      • gauges: RiverGauge[]
      • notes: string[]
      • order: string
      • searched: { timeseries: string; water: string }
      • status: "ok"
      • total: number
      • verdict: string
      • water: Water
    • {
          candidates: Water[];
          searched: { timeseries: string; water: string };
          status: "ambiguous";
          total: number;
      }
    • {
          reason: string;
          searched: { timeseries: string; water: string };
          status: "empty";
          water?: Water;
      }