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