@squidcloud/client
    Preparing search index...

    Interface PaginationState<ReturnType>

    The state of a pagination.

    interface PaginationState<ReturnType> {
        data: ReturnType[];
        hasNext: boolean;
        hasPrev: boolean;
    }

    Type Parameters

    • ReturnType
    Index

    Properties

    Properties

    data: ReturnType[]

    The page data.

    hasNext: boolean

    Whether there is a next page.

    hasPrev: boolean

    Whether there is a previous page.