mirror of
https://github.com/artegoser/piped-api.git
synced 2025-02-23 20:51:27 +03:00
fix: add types to playlist
This commit is contained in:
parent
5465963650
commit
963be51741
3 changed files with 12 additions and 6 deletions
10
src/types.ts
10
src/types.ts
|
@ -128,16 +128,22 @@ export interface NextPageChannel {
|
|||
}
|
||||
|
||||
export interface Playlist {
|
||||
url: string;
|
||||
bannerUrl: string;
|
||||
name: string;
|
||||
nextpage: string;
|
||||
relatedStreams: Video[];
|
||||
thumbnailUrl: string;
|
||||
uploader: string;
|
||||
thumbnailUrl?: string;
|
||||
uploader?: string;
|
||||
uploaderAvatar: string;
|
||||
uploaderUrl: string;
|
||||
videos: number;
|
||||
|
||||
type?: string;
|
||||
thumbnail?: string;
|
||||
uploaderName?: string;
|
||||
uploaderVerified?: boolean;
|
||||
playlistType?: string;
|
||||
}
|
||||
|
||||
export interface NextPagePlaylist {
|
||||
|
|
Loading…
Add table
Reference in a new issue