The Paginated type represents a paginated response.
Paginated
type Paginated<T> = { count: number; next: string | null; previous: string | null; results: T[]; }
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.
null
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 1 year ago