@newspapper/core
    Preparing search index...

    Interface FeedItem

    One item in full, for the reading pane.

    interface FeedItem {
        id: number;
        sourceId: string;
        sourceName: string;
        title: string;
        url: string;
        author: string | null;
        publishedAt: string | null;
        sortAt: string;
        read: boolean;
        saved: boolean;
        guid: string;
        contentHtml: string;
        contentText: string;
        fetchedAt: string;
        readAt: string | null;
        articleId: number | null;
    }

    Hierarchy

    Index
    id: number
    sourceId: string
    sourceName: string
    title: string
    url: string
    author: string | null
    publishedAt: string | null

    As the feed dated it; null when it did not.

    sortAt: string

    The timeline position: the earlier of publishedAt and the fetch time.

    read: boolean
    saved: boolean

    The library has an article with the same (sourceId, guid).

    guid: string

    The dedupe key: the item's URL.

    contentHtml: string

    The feed's HTML, unsanitized, capped at 256 KB. Sanitize before rendering.

    contentText: string

    stripHtml(contentHtml): what the filter searches.

    fetchedAt: string
    readAt: string | null
    articleId: number | null

    The saved article's id when saved, else null.