Represents a paged list.

interface PagedList<T> {
    Data: T[];
    HasNextPage: boolean;
    HasPreviousPage: boolean;
    List: T[];
    PageIndex: number;
    PageSize: number;
    TotalCount: number;
    TotalPages: number;
}

Type Parameters

  • T

Properties

Data: T[]

The array of data items in the current page.

HasNextPage: boolean

Indicates whether there is a next page.

HasPreviousPage: boolean

Indicates whether there is a previous page.

List: T[]

The list of items in the current page of the paged list.

PageIndex: number

The current page index of the paged list.

PageSize: number

The size of each page in the paged list.

TotalCount: number

The total count of items in the paged list.

TotalPages: number

The total number of pages.