mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 03:40:14 +00:00
Adjust to API
This commit is contained in:
parent
2b39f2439d
commit
fa8404d73e
@ -7,7 +7,6 @@ export interface Download {
|
|||||||
export interface DownloadResponse {
|
export interface DownloadResponse {
|
||||||
data: Datum[];
|
data: Datum[];
|
||||||
message: string;
|
message: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Config {
|
export interface Config {
|
||||||
@ -85,23 +84,29 @@ export interface Subscriptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface Datum {
|
export interface Datum {
|
||||||
active: boolean;
|
channel_id: string;
|
||||||
category: Category[];
|
channel_indexed: boolean;
|
||||||
channel: Channel;
|
channel_name: string;
|
||||||
date_downloaded: number;
|
duration: string;
|
||||||
description: string;
|
|
||||||
media_url: string;
|
|
||||||
player: Player;
|
|
||||||
playlist: Playlist[];
|
|
||||||
published: string;
|
published: string;
|
||||||
stats: Stats;
|
status: string;
|
||||||
tags: string[];
|
timestamp: number;
|
||||||
title: string;
|
title: string;
|
||||||
vid_last_refresh: LastRefresh;
|
|
||||||
vid_thumb_base64: string;
|
|
||||||
vid_thumb_url: string;
|
vid_thumb_url: string;
|
||||||
youtube_id: string;
|
youtube_id: string;
|
||||||
status: "pending";
|
|
||||||
|
// 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 {
|
export enum Category {
|
||||||
|
Loading…
Reference in New Issue
Block a user