Added CSRF & YouTube and dark mode
This commit is contained in:
48
frontend/interfaces/youtube.ts
Normal file
48
frontend/interfaces/youtube.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
export interface IYoutube {
|
||||
kind: string;
|
||||
etag: string;
|
||||
nextPageToken: string;
|
||||
regionCode: string;
|
||||
pageInfo: IYoutubePageInfo;
|
||||
items: IYoutubeItem[];
|
||||
}
|
||||
|
||||
export interface IYoutubeItem {
|
||||
kind: string;
|
||||
etag: string;
|
||||
id: IYoutubeID;
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user