mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-13 15:53:44 +08:00
18 lines
413 B
TypeScript
18 lines
413 B
TypeScript
export interface DanmakuComment {
|
|
text: string;
|
|
time: number; // seconds from video start
|
|
color?: string; // hex color, default white
|
|
type?: 'scroll' | 'top' | 'bottom'; // default 'scroll'
|
|
}
|
|
|
|
export interface DanmakuEpisode {
|
|
episodeId: string | number;
|
|
episodeTitle: string;
|
|
}
|
|
|
|
export interface DanmakuSearchResult {
|
|
animeId: string | number;
|
|
animeTitle: string;
|
|
episodes: DanmakuEpisode[];
|
|
}
|