multi-downloader-nx/@types/crunchyChapters.d.ts
AnimeDL 3502141c62 [CR] Improve chapter support
If new chapter request fails, use old request.

Also adds new option to enable chapter downloading, `--chapters`
2024-01-30 10:06:40 -08:00

26 lines
No EOL
595 B
TypeScript

export interface CrunchyChapters {
[key: string]: CrunchyChapter;
lastUpdate: Date;
mediaId: string;
}
export interface CrunchyChapter {
approverId: string;
distributionNumber: string;
end: number;
start: number;
title: string;
seriesId: string;
new: boolean;
type: string;
}
export interface CrunchyOldChapter {
media_id: string;
startTime: number;
endTime: number;
duration: number;
comparedWith: string;
ordering: string;
last_updated: Date;
}