multi-downloader-nx/@types/newHidiveSeries.d.ts
AnimeDL 1c39e349ad [HD] Initial support for new Hidive API
The new API can be accessed with `--hdapi new`
2024-03-16 17:44:11 -07:00

35 lines
768 B
TypeScript

export interface NewHidiveSeries {
id: number;
title: string;
description: string;
longDescription: string;
smallCoverUrl: string;
coverUrl: string;
titleUrl: string;
posterUrl: string;
seasons: Season[];
rating: Rating;
contentRating: Rating;
displayableTags: any[];
paging: Paging;
}
export interface Rating {
rating: string;
descriptors: any[];
}
export interface Paging {
moreDataAvailable: boolean;
lastSeen: number;
}
export interface Season {
title: string;
description: string;
longDescription: string;
seasonNumber: number;
episodeCount: number;
displayableTags: any[];
id: number;
}