web / types /vod.ts
hanbinsite's picture
feat: implement all web pages with player, search, favorites, auth, useApi composable
dfa6264
Raw History Blame Contribute Delete
813 Bytes
export interface VodUserItem {
id: number;
name: string;
cover: string | null;
category_id: number;
category_name: string | null;
score: number | null;
year: string | null;
area: string | null;
is_end: boolean;
remarks: string | null;
source_count: number;
updated_at: string;
}
export interface VodUserDetail extends VodUserItem {
sub_name: string | null;
actor: string | null;
director: string | null;
lang: string | null;
duration: string | null;
blurb: string | null;
content: string | null;
sources: VodPlaySource[];
}
export interface VodPlaySource {
source_id: number;
source_name: string;
play_from: string;
play_from_label: string;
episodes: EpisodeItem[];
}
export interface EpisodeItem {
name: string;
url: string;
parse_url: string | null;
}