42 lines
778 B
TypeScript
42 lines
778 B
TypeScript
interface YoutubeResult {
|
|
kind: string;
|
|
etag: string;
|
|
snippet: {
|
|
publishedAt: string;
|
|
channelId: string;
|
|
title: string;
|
|
description: string;
|
|
thumbnails: {
|
|
default: {
|
|
url: string;
|
|
width: number;
|
|
height: number;
|
|
};
|
|
medium: {
|
|
url: string;
|
|
width: number;
|
|
height: number;
|
|
};
|
|
high: {
|
|
url: string;
|
|
width: number;
|
|
height: number;
|
|
};
|
|
standard: {
|
|
url: string;
|
|
width: number;
|
|
height: number;
|
|
};
|
|
};
|
|
channelTitle: string;
|
|
tags: string[];
|
|
categoryId: string;
|
|
liveBroadcastContent: string;
|
|
localized: {
|
|
title: string;
|
|
description: string;
|
|
};
|
|
defaultAudioLanguage: string;
|
|
};
|
|
}
|