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

    Interface CountSourcesOptions

    interface CountSourcesOptions {
        apiKeyFor?: (source: Source) => string | undefined;
        engineFor: (source: Source) => FetchEngine;
        period?: number;
        sources: readonly Source[];
        store: Pick<CatalogStore, "catalog">;
    }
    Index
    apiKeyFor?: (source: Source) => string | undefined
    engineFor: (source: Source) => FetchEngine

    The engine for one source; build them on one HostPacer, as for a sync.

    period?: number

    Count one legislative period, upstream and in the corpus alike.

    sources: readonly Source[]
    store: Pick<CatalogStore, "catalog">

    The catalog to count the corpus side from. Nothing is written.