update user search type
This commit is contained in:
parent
ac44531daa
commit
857eb66831
|
@ -1,5 +1,15 @@
|
||||||
import type {albumTracksType} from './album';
|
import type {albumTracksType} from './album';
|
||||||
|
|
||||||
|
export interface profileTypeMinimal {
|
||||||
|
USER_ID: string;
|
||||||
|
FIRSTNAME: string;
|
||||||
|
LASTNAME: string;
|
||||||
|
BLOG_NAME: string;
|
||||||
|
USER_PICTURE?: string;
|
||||||
|
IS_FOLLOW: boolean;
|
||||||
|
__TYPE__: 'user';
|
||||||
|
}
|
||||||
|
|
||||||
export interface profileType {
|
export interface profileType {
|
||||||
IS_FOLLOW: boolean;
|
IS_FOLLOW: boolean;
|
||||||
NB_ARTISTS: number;
|
NB_ARTISTS: number;
|
||||||
|
|
|
@ -2,6 +2,7 @@ import type {albumType, albumTypeMinimal} from './album';
|
||||||
import type {artistInfoTypeMinimal, 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';
|
||||||
|
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';
|
||||||
|
|
||||||
|
@ -28,6 +29,11 @@ interface playlistSearchType extends searchTypeCommon {
|
||||||
interface trackSearchType extends searchTypeCommon {
|
interface trackSearchType extends searchTypeCommon {
|
||||||
data: trackType[];
|
data: trackType[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface profileSearchType extends searchTypeCommon {
|
||||||
|
data: profileTypeMinimal[];
|
||||||
|
}
|
||||||
|
|
||||||
interface radioSearchType extends searchTypeCommon {
|
interface radioSearchType extends searchTypeCommon {
|
||||||
data: radioType[];
|
data: radioType[];
|
||||||
}
|
}
|
||||||
|
@ -76,7 +82,7 @@ export interface searchType {
|
||||||
PLAYLIST: playlistSearchType;
|
PLAYLIST: playlistSearchType;
|
||||||
RADIO: radioSearchType;
|
RADIO: radioSearchType;
|
||||||
SHOW: showSearchType;
|
SHOW: showSearchType;
|
||||||
USER: trackSearchType;
|
USER: profileSearchType;
|
||||||
LIVESTREAM: liveSearchType;
|
LIVESTREAM: liveSearchType;
|
||||||
CHANNEL: channelSearchType;
|
CHANNEL: channelSearchType;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue