chzzk
Version:
네이버 라이브 스트리밍 서비스 CHZZK의 비공식 API 라이브러리
30 lines (29 loc) • 730 B
TypeScript
import { PartialChannel } from "./channel";
export interface BaseVideo {
videoNo: number;
videoId: string;
videoTitle: string;
videoType: string;
publishDate: string;
thumbnailImageUrl: string;
duration: number;
readCount: number;
publishDateAt: number;
categoryType: string;
videoCategory: string;
videoCategoryValue: string;
channel: PartialChannel;
}
export interface SearchResultVideo extends BaseVideo {
channelId: string;
}
export interface Video extends BaseVideo {
trailerUrl?: string;
exposure: boolean;
paidPromotion: boolean;
inKey: string;
liveOpenDate?: string;
vodStatus: string;
prevVideo?: BaseVideo;
nextVideo?: BaseVideo;
}