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

    Interface FindTrainingInput

    The filters every search operation takes.

    interface FindTrainingInput {
        limit?: number;
        maxPages?: number;
        now?: () => number;
        occupation?: string;
        occupationIds?: readonly (string | number)[];
        place?: Place;
        radiusKm?: number;
        regions?: readonly string[];
        trainingType?:
            | "basic-qualification"
            | "apprenticeship"
            | "further-training";
        voucherOnly?: boolean;
    }

    Hierarchy (View Summary)

    Index
    limit?: number

    Picks on the shortlist (1–25, default 10).

    maxPages?: number

    Pages of 20 read and ranked (1–10, default 5); also the occupation sample's pages.

    now?: () => number

    The clock for "rolling" starts (tests).

    occupation?: string

    A job word, resolved to occupation ids when no occupationIds are given.

    occupationIds?: readonly (string | number)[]

    Occupation ids (dkzId, from angebot.systematiken[] or findOccupations): the only occupation filter.

    place?: Place

    Search around this place; needs a radius (default 25 km).

    radiusKm?: number

    10, 25, 50 or 100 km around place.

    regions?: readonly string[]

    Bundesländer: names, the API's codes or the 2-letter abbreviations.

    trainingType?: "basic-qualification" | "apprenticeship" | "further-training"
    voucherOnly?: boolean

    Only offers that can be funded with a Bildungsgutschein (bg).