@hhgtech/hhg-components
Version:
Hello Health Group common components
37 lines (36 loc) • 824 B
TypeScript
export declare enum VideoType {
VIDEO = "video",
SHORTS = "short",
PODCAST = "podcast"
}
export type VideoItemTypeApi = {
ID: number;
video_id: string;
video_url: string;
video_title: string;
type: VideoType;
total_view: number;
description: string;
create_time: string;
duration: number;
image: string;
image_medium: string;
image_thumbnail: string;
article_link: string;
};
export type VideoItemType = {
id: number | string;
videoId: string;
url: string;
title: string;
description: string;
type: VideoType;
totalView: number;
createTime: string;
duration: number;
image: string;
imageMedium: string;
imageThumbnail: string;
active: boolean;
articleLink: string;
};