export interface IYoutube {
	kind: string;
	etag: string;
	nextPageToken: string;
	regionCode: string;
	pageInfo: IYoutubePageInfo;
	items: IYoutubeItem[];
}

export interface IYoutubeItem {
	kind: string;
	etag: string;
	id: IYoutubeID | string;
	snippet: IYoutubeSnippet;
}

export interface IYoutubeID {
	kind: string;
	videoId: string;
}

export interface IYoutubeSnippet {
	publishedAt: Date;
	channelId: string;
	title: string;
	description: string;
	thumbnails: IYoutubeThumbnails;
	channelTitle: string;
	liveBroadcastContent: string;
	publishTime: Date;
	resourceId: IYoutubeID;
}

export interface IYoutubeThumbnails {
	default: IYoutubeDefault;
	medium: IYoutubeDefault;
	high: IYoutubeDefault;
}

export interface IYoutubeDefault {
	url: string;
	width: number;
	height: number;
}

export interface IYoutubePageInfo {
	totalResults: number;
	resultsPerPage: number;
}
