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 {playlistInfo, playlistInfoMinimal} from './playlist';
|
||||||
import type {trackType} from './tracks';
|
import type {trackType} from './tracks';
|
||||||
import type {channelSearchType} from './channel';
|
import type {channelSearchType} from './channel';
|
||||||
|
import type {radioType} from './radio';
|
||||||
|
|
||||||
interface searchTypeCommon {
|
interface searchTypeCommon {
|
||||||
count: number;
|
count: number;
|
||||||
|
@ -32,6 +33,10 @@ interface liveSearchType extends searchTypeCommon {
|
||||||
data: unknown[];
|
data: unknown[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface radioSearchType extends searchTypeCommon {
|
||||||
|
data: radioType[];
|
||||||
|
}
|
||||||
|
|
||||||
export interface discographyType {
|
export interface discographyType {
|
||||||
data: albumType[];
|
data: albumType[];
|
||||||
count: number; // 109,
|
count: number; // 109,
|
||||||
|
@ -66,7 +71,7 @@ export interface searchType {
|
||||||
ARTIST: artistSearchType;
|
ARTIST: artistSearchType;
|
||||||
TRACK: trackSearchType;
|
TRACK: trackSearchType;
|
||||||
PLAYLIST: playlistSearchType;
|
PLAYLIST: playlistSearchType;
|
||||||
RADIO: trackSearchType;
|
RADIO: radioSearchType;
|
||||||
SHOW: trackSearchType;
|
SHOW: trackSearchType;
|
||||||
USER: trackSearchType;
|
USER: trackSearchType;
|
||||||
LIVESTREAM: liveSearchType;
|
LIVESTREAM: liveSearchType;
|
||||||
|
|
Loading…
Reference in New Issue