Paginated
The Paginated
type represents a paginated response.
type Paginated<T> = {
count: number;
next: string | null;
previous: string | null;
results: T[];
}
Properties
count: number
The number of unpaginated results.
next: string | null
A link to the next page of the paginated result.
null
if there is no next page.
previous: string | null
A link to the previous page of the paginated result.
null
if there is no previous page.
results: T[]
A list of actual data of the paginated response.
Last updated