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

    Type Alias DoseSnapshot

    DoseSnapshot:
        | {
            area: string;
            hours: { hourEnding: string; stations: number }[];
            mainHour: string;
            max: RankedReading;
            min: RankedReading;
            normalBackground: typeof NORMAL_BACKGROUND;
            notable: RankedReading[];
            notes: string[];
            notValidated: number;
            olderReadings: number;
            ranking: RankedReading[];
            reporting: number;
            searched: AreaSearched & { order: "highest" | "lowest" };
            skipped: { byStatus: Record<string, number>; total: number };
            stationCount: number;
            status: "ok";
            verdict: "normal" | "notable";
            verdictText: string;
        }
        | {
            candidates: StationSummary[];
            reason: string;
            searched: AreaSearched;
            status: "ambiguous";
            total: number;
        }
        | { reason: string; searched: AreaSearched; status: "empty" }

    The answer of getDoseSnapshot.

    Type Declaration

    • {
          area: string;
          hours: { hourEnding: string; stations: number }[];
          mainHour: string;
          max: RankedReading;
          min: RankedReading;
          normalBackground: typeof NORMAL_BACKGROUND;
          notable: RankedReading[];
          notes: string[];
          notValidated: number;
          olderReadings: number;
          ranking: RankedReading[];
          reporting: number;
          searched: AreaSearched & { order: "highest" | "lowest" };
          skipped: { byStatus: Record<string, number>; total: number };
          stationCount: number;
          status: "ok";
          verdict: "normal" | "notable";
          verdictText: string;
      }
      • area: string
      • hours: { hourEnding: string; stations: number }[]

        The hours the readings end at, newest first, with how many stations each.

      • mainHour: string

        The hour most readings are for.

      • max: RankedReading
      • min: RankedReading
      • normalBackground: typeof NORMAL_BACKGROUND
      • notable: RankedReading[]

        Readings above NOTABLE_DOSE_RATE, highest first.

      • notes: string[]
      • notValidated: number
      • olderReadings: number
      • ranking: RankedReading[]
      • reporting: number
      • searched: AreaSearched & { order: "highest" | "lowest" }
      • skipped: { byStatus: Record<string, number>; total: number }

        Stations without a value, by status: never drop them silently.

      • stationCount: number

        Stations in the area, with and without a value.

      • status: "ok"
      • verdict: "normal" | "notable"

        normal: every reading at or below NOTABLE_DOSE_RATE; notable: some above.

      • verdictText: string
    • {
          candidates: StationSummary[];
          reason: string;
          searched: AreaSearched;
          status: "ambiguous";
          total: number;
      }
    • { reason: string; searched: AreaSearched; status: "empty" }