11 lines
243 B
TypeScript
11 lines
243 B
TypeScript
interface PaginatedResponse<T> {
|
|
previous: (() => Promise<PaginatedResponse<T>>) | null;
|
|
next: (() => Promise<PaginatedResponse<T>>) | null;
|
|
items: Array<T>;
|
|
partial: boolean;
|
|
total?: number;
|
|
}
|
|
|
|
export type {
|
|
PaginatedResponse,
|
|
};
|