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

    Type Alias StationsMap

    StationsMap:
        | {
            features: GaugeFeature[];
            leftOff: { number?: string; reason: string; shortname: string }[];
            notes: string[];
            searched: StationSearch & { bbox?: number[]; levels: boolean };
            status: "ok";
            type: "FeatureCollection";
            units?: string[];
            water?: Water;
        }
        | {
            candidates: Water[];
            searched: StationSearch;
            status: "ambiguous";
            total: number;
        }
        | {
            reason: string;
            searched: StationSearch & { bbox?: number[]; levels?: boolean };
            status: "empty";
        }

    The answer of getStationsMap.

    Type Declaration

    • {
          features: GaugeFeature[];
          leftOff: { number?: string; reason: string; shortname: string }[];
          notes: string[];
          searched: StationSearch & { bbox?: number[]; levels: boolean };
          status: "ok";
          type: "FeatureCollection";
          units?: string[];
          water?: Water;
      }
      • features: GaugeFeature[]
      • leftOff: { number?: string; reason: string; shortname: string }[]

        Gauges left off the map: no coordinates.

      • notes: string[]
      • searched: StationSearch & { bbox?: number[]; levels: boolean }
      • status: "ok"
      • type: "FeatureCollection"
      • Optionalunits?: string[]

        The units the levels come in: never one colour scale across them.

      • Optionalwater?: Water

        The water the filter named, as resolved.

    • {
          candidates: Water[];
          searched: StationSearch;
          status: "ambiguous";
          total: number;
      }
    • {
          reason: string;
          searched: StationSearch & { bbox?: number[]; levels?: boolean };
          status: "empty";
      }