@newspapper/core
    Preparing search index...

    Interface Source

    A source as listSources / getSource return it: its config plus the outcome of the Reader's last refresh of it. The validators (ETag, Last-Modified) stay internal.

    interface Source {
        id: string;
        name: string;
        rss: string;
        enabled: boolean;
        category: string | null;
        lastFetchedAt: string | null;
        lastError: string | null;
    }

    Hierarchy (View Summary)

    Index
    id: string
    name: string
    rss: string
    enabled: boolean
    category: string | null

    The Reader's grouping (schema v6). Blank or absent means uncategorized, stored as NULL.

    lastFetchedAt: string | null

    When a refresh last reached the feed (a 200 or a 304).

    lastError: string | null

    Why the last refresh failed; null once one succeeds.