update artist search type
This commit is contained in:
parent
09d1beb5d1
commit
8eff375dc7
|
@ -16,6 +16,16 @@ export interface artistType {
|
||||||
__TYPE__: 'artist';
|
__TYPE__: 'artist';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface artistInfoTypeMinimal {
|
||||||
|
ART_ID: string;
|
||||||
|
ART_NAME: string;
|
||||||
|
ART_PICTURE: string;
|
||||||
|
NB_FAN: number;
|
||||||
|
LOCALES: [];
|
||||||
|
ARTIST_IS_DUMMY: boolean;
|
||||||
|
__TYPE__: 'artist';
|
||||||
|
}
|
||||||
|
|
||||||
export interface artistInfoType {
|
export interface artistInfoType {
|
||||||
ART_ID: string; // "293585",
|
ART_ID: string; // "293585",
|
||||||
ART_NAME: string; // "Avicii",
|
ART_NAME: string; // "Avicii",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import type {albumTracksType, albumType, albumTypeMinimal} from './album';
|
import type {albumTracksType, albumType, albumTypeMinimal} from './album';
|
||||||
import type {artistType} from './artist';
|
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';
|
||||||
|
|
||||||
|
@ -15,6 +15,10 @@ interface albumSearchType extends searchTypeCommon {
|
||||||
data: albumTypeMinimal[];
|
data: albumTypeMinimal[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface artistSearchType extends searchTypeCommon {
|
||||||
|
data: artistInfoTypeMinimal[];
|
||||||
|
}
|
||||||
|
|
||||||
interface playlistSearchType extends searchTypeCommon {
|
interface playlistSearchType extends searchTypeCommon {
|
||||||
data: playlistInfoMinimal[];
|
data: playlistInfoMinimal[];
|
||||||
}
|
}
|
||||||
|
@ -50,7 +54,7 @@ export interface searchType {
|
||||||
'LYRICS',
|
'LYRICS',
|
||||||
];
|
];
|
||||||
ALBUM: albumSearchType;
|
ALBUM: albumSearchType;
|
||||||
ARTIST: albumTracksType;
|
ARTIST: artistSearchType;
|
||||||
TRACK: albumTracksType;
|
TRACK: albumTracksType;
|
||||||
PLAYLIST: playlistSearchType;
|
PLAYLIST: playlistSearchType;
|
||||||
RADIO: albumTracksType;
|
RADIO: albumTracksType;
|
||||||
|
|
Loading…
Reference in New Issue