import type { CommonContentData, ContentRelation } from "./content.js"; import type { GenreData } from "./genre.js"; import type { PublisherData } from "./publisher.js"; export type RanobeId = number; export type RanobeStatus = "anons" | "ongoing" | "released" | "paused" | "discontinued"; export type RanobeKind = "light_novel" | "novel"; export type RanobeOrder = "id" | "id_desc" | "ranked" | "kind" | "popularity" | "name" | "aired_on" | "volumes" | "chapters" | "status" | "random" | "created_at" | "created_at_desc"; export interface Ranobe extends CommonContentData { id: RanobeId; kind: RanobeKind; status: RanobeStatus; genres: GenreData<"Manga">[]; volumes: number; chapters: number; publishers: PublisherData[]; } /** @interface */ export type RanobeRelation = ContentRelation & { manga: RanobeBasic; }; /** @interface */ export type RanobeBasic = Pick;