UNPKG

@tutkli/jikan-ts

Version:

Node.js wrapper for the Jikan API with built-in typings.

11 lines (10 loc) 309 B
import type { SortOptions } from './search-params.model'; export interface CharactersSearchParams { page?: number; limit?: number; q?: string; order_by?: CharactersSearchOrder; sort?: SortOptions; letter?: string; } export type CharactersSearchOrder = 'mal_id' | 'name' | 'favorites';