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

    Interface StationSearch

    The answer of searchStations.

    interface StationSearch {
        attribution: Attribution;
        nextOffset?: number;
        notes: string[];
        reason?: string;
        searched: Record<string, unknown>;
        stations: Station[];
        status: "ok" | "empty";
        suggestions?: { place: string; stations: number }[];
        total: number;
    }
    Index
    attribution: Attribution
    nextOffset?: number

    Where the next page starts, when there is one.

    notes: string[]
    reason?: string

    Why it is empty, and what to change.

    searched: Record<string, unknown>
    stations: Station[]
    status: "ok" | "empty"
    suggestions?: { place: string; stations: number }[]

    For an empty place: the places whose name contains it, with their station counts.

    total: number

    All stations that match (not only the page).