diff --git a/src/providers/sources/insertunit/types.ts b/src/providers/sources/insertunit/types.ts index 282c3c4..587ae36 100644 --- a/src/providers/sources/insertunit/types.ts +++ b/src/providers/sources/insertunit/types.ts @@ -1,30 +1,30 @@ -export interface Episode { - episode: string; - id: number; - videoKey: string; - hls: string; - audio: { - names: string[]; - order: number[]; - } - cc: Subtitle[]; - duration: number; - title: string; - download: string; - sections: string[] - poster: string; - preview: { - src: string; - } +export interface Subtitle { + url: string; + name: string; } -export interface Subtitle { - url: string; - name: string; +export interface Episode { + episode: string; + id: number; + videoKey: string; + hls: string; + audio: { + names: string[]; + order: number[]; + }; + cc: Subtitle[]; + duration: number; + title: string; + download: string; + sections: string[]; + poster: string; + preview: { + src: string; + }; } export interface Season { - season: number, - blocked: boolean, - episodes: Episode[] -} \ No newline at end of file + season: number; + blocked: boolean; + episodes: Episode[]; +}