kinetex - v1.0.0-rc.1
    Preparing search index...

    Interface PaginationState

    Current state of a pagination iterator.

    interface PaginationState {
        strategy: PaginationStrategy;
        page: number;
        offset: number;
        cursor: string | null;
        prevCursor: string | null;
        token: string | null;
        done: boolean;
        totalFetched: number;
    }
    Index

    Properties

    strategy: PaginationStrategy

    The pagination strategy in use

    page: number

    Current page number (for page-based strategies)

    offset: number

    Current offset (for offset-based strategies)

    cursor: string | null

    Current cursor value (for cursor-based strategies)

    prevCursor: string | null

    Previous cursor for backward navigation

    token: string | null

    Current page token (for token-based strategies)

    done: boolean

    Whether pagination is complete (no more pages to fetch)

    totalFetched: number

    Total number of items fetched so far