Skip to main content

PaginatedResponse<T>

Base paginated response structure Generic type T represents the type of items in the response

Type Parameters

Type Parameter
T

Properties

currentPage?

optional currentPage: number;

items

items: T[];

nextPage?

optional nextPage: null | number;

prevPage?

optional prevPage: null | number;

totalCount

totalCount: number;

totalPages?

optional totalPages: number;