Interface EntriesHandler<T, R, H>

Interface for handling paginated blog entries.

interface EntriesHandler<T, R, H> {
    total: number;
    page(this: H, page: number): Promise<FeedResult<T, R, EntriesResult<PostEntrySummary, PostsBlogSummary>, {
        entries: CommentEntrySummary[];
        blog: CommentsBlogSummary;
    }, {
        entries: PageEntrySummary[];
        blog: PagesBlogSummary;
    }, EntriesResult<PostEntry, PostsBlog>, {
        entries: CommentEntry[];
        blog: CommentsBlog;
    }, {
        entries: PageEntry[];
        blog: PagesBlog;
    }>>;
}

Type Parameters

Hierarchy (view full)

Properties

Methods

Properties

total: number

The total number of entries available in the blog feed.

Methods