export episode type

This commit is contained in:
Sayem Chowdhury 2021-04-20 23:41:30 +06:00
parent f85595ac19
commit 0ee9c7368e
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ import type {trackType} from './tracks';
import type {profileTypeMinimal} from './profile'; import type {profileTypeMinimal} from './profile';
import type {channelSearchType} from './channel'; import type {channelSearchType} from './channel';
import type {radioType} from './radio'; import type {radioType} from './radio';
import type {showEpisodeType} from './show';
interface searchTypeCommon { interface searchTypeCommon {
count: number; count: number;
@ -43,7 +44,7 @@ interface liveSearchType extends searchTypeCommon {
} }
interface showSearchType extends searchTypeCommon { interface showSearchType extends searchTypeCommon {
data: unknown[]; data: showEpisodeType[];
} }
export interface discographyType { export interface discographyType {

View File

@ -3,7 +3,7 @@ interface generesType {
GENRE_NAME: string; // 'Technology'; GENRE_NAME: string; // 'Technology';
} }
interface episodeType { export interface showEpisodeType {
EPISODE_ID: string; // '294961882'; EPISODE_ID: string; // '294961882';
EPISODE_STATUS: string; // '1'; EPISODE_STATUS: string; // '1';
AVAILABLE: boolean; AVAILABLE: boolean;
@ -54,7 +54,7 @@ export interface showType {
}; };
FAVORITE_STATUS: boolean; // false; FAVORITE_STATUS: boolean; // false;
EPISODES: { EPISODES: {
data: episodeType[]; data: showEpisodeType[];
count: number; // 1; count: number; // 1;
total: number; // 174; total: number; // 174;
filtered_count: number; // 0; filtered_count: number; // 0;