feat: refactor code

This commit is contained in:
shinya
2025-06-29 20:36:03 +08:00
parent 0b0048209f
commit 5c8360d9dd
8 changed files with 40 additions and 95 deletions

View File

@@ -17,3 +17,28 @@ export interface VideoDetail {
id: string;
};
}
export interface SearchResult {
id: string;
title: string;
poster: string;
episodes: string[];
source: string;
source_name: string;
class?: string;
year: string;
desc?: string;
type_name?: string;
}
export interface DoubanItem {
title: string;
poster: string;
rate: string;
}
export interface DoubanResult {
code: number;
message: string;
list: DoubanItem[];
}