@tutkli/jikan-ts
Version:
Node.js wrapper for the Jikan API with built-in typings.
16 lines (15 loc) • 344 B
TypeScript
export interface JikanPagination {
last_visible_page: number;
has_next_page: boolean;
current_page?: number;
items?: JikanPaginationItems;
}
export interface JikanPaginationItems {
count: number;
total: number;
per_page: number;
}
export interface JikanResponse<T> {
data: T;
pagination?: JikanPagination;
}