add radio type
This commit is contained in:
parent
a46cc2401d
commit
970906a77c
|
@ -0,0 +1,7 @@
|
|||
export interface radioType {
|
||||
RADIO_ID: string; // '39081'
|
||||
RADIO_PICTURE: string; // '69518b4d1cf2942171e90546ae1ad81a'
|
||||
TITLE: string; // 'Axe Forro'
|
||||
TAGS: string[];
|
||||
__TYPE__: 'radio';
|
||||
}
|
|
@ -3,6 +3,7 @@ import type {artistInfoTypeMinimal, artistType} from './artist';
|
|||
import type {playlistInfo, playlistInfoMinimal} from './playlist';
|
||||
import type {trackType} from './tracks';
|
||||
import type {channelSearchType} from './channel';
|
||||
import type {radioType} from './radio';
|
||||
|
||||
interface searchTypeCommon {
|
||||
count: number;
|
||||
|
@ -32,6 +33,10 @@ interface liveSearchType extends searchTypeCommon {
|
|||
data: unknown[];
|
||||
}
|
||||
|
||||
interface radioSearchType extends searchTypeCommon {
|
||||
data: radioType[];
|
||||
}
|
||||
|
||||
export interface discographyType {
|
||||
data: albumType[];
|
||||
count: number; // 109,
|
||||
|
@ -66,7 +71,7 @@ export interface searchType {
|
|||
ARTIST: artistSearchType;
|
||||
TRACK: trackSearchType;
|
||||
PLAYLIST: playlistSearchType;
|
||||
RADIO: trackSearchType;
|
||||
RADIO: radioSearchType;
|
||||
SHOW: trackSearchType;
|
||||
USER: trackSearchType;
|
||||
LIVESTREAM: liveSearchType;
|
||||
|
|
Loading…
Reference in New Issue