mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-21 19:30:16 +00:00
Added type Tasks
This commit is contained in:
parent
883f5dc801
commit
0ea19defcc
@ -10,6 +10,8 @@ export interface Task {
|
||||
task: string;
|
||||
}
|
||||
|
||||
export type Tasks = "download_pending" | "rescan_pending";
|
||||
|
||||
export interface Paginate {
|
||||
page_size: number;
|
||||
page_from: number;
|
||||
@ -21,11 +23,6 @@ export interface Paginate {
|
||||
total_hits: number;
|
||||
}
|
||||
|
||||
// export interface DownloadResponse {
|
||||
// data: Datum[];
|
||||
// message: string;
|
||||
// }
|
||||
|
||||
export interface Config {
|
||||
archive: Archive;
|
||||
default_view: DefaultView;
|
||||
@ -111,19 +108,6 @@ export interface Datum {
|
||||
title: string;
|
||||
vid_thumb_url: string;
|
||||
youtube_id: string;
|
||||
|
||||
// active: boolean;
|
||||
// category: Category[];
|
||||
// channel: Channel;
|
||||
// date_downloaded: number;
|
||||
// description: string;
|
||||
// media_url: string;
|
||||
// player: Player;
|
||||
// playlist: Playlist[];
|
||||
// stats: Stats;
|
||||
// tags: string[];
|
||||
// vid_last_refresh: LastRefresh;
|
||||
// vid_thumb_base64: string;
|
||||
}
|
||||
|
||||
export enum Category {
|
||||
|
Loading…
Reference in New Issue
Block a user