UNPKG

@tutkli/jikan-ts

Version:

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

19 lines (18 loc) 458 B
import type { JikanImages } from './image.model'; import type { JikanPerson } from './person.model'; export interface CommonCharacter { character: CommonCharacterData & { name: string; }; role: CharacterRole; } export interface CommonCharacterData { mal_id: number; url: string; images: JikanImages; } export interface CharacterVoiceActor { person: JikanPerson; language: string; } export type CharacterRole = string;