mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-25 14:44:48 +02:00
update track search type
This commit is contained in:
parent
8eff375dc7
commit
605a89e831
@ -1,4 +1,4 @@
|
|||||||
import type {albumTracksType, albumType, albumTypeMinimal} from './album';
|
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';
|
||||||
@ -23,6 +23,10 @@ interface playlistSearchType extends searchTypeCommon {
|
|||||||
data: playlistInfoMinimal[];
|
data: playlistInfoMinimal[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface trackSearchType extends searchTypeCommon {
|
||||||
|
data: trackType[];
|
||||||
|
}
|
||||||
|
|
||||||
export interface discographyType {
|
export interface discographyType {
|
||||||
data: albumType[];
|
data: albumType[];
|
||||||
count: number; // 109,
|
count: number; // 109,
|
||||||
@ -55,11 +59,11 @@ export interface searchType {
|
|||||||
];
|
];
|
||||||
ALBUM: albumSearchType;
|
ALBUM: albumSearchType;
|
||||||
ARTIST: artistSearchType;
|
ARTIST: artistSearchType;
|
||||||
TRACK: albumTracksType;
|
TRACK: trackSearchType;
|
||||||
PLAYLIST: playlistSearchType;
|
PLAYLIST: playlistSearchType;
|
||||||
RADIO: albumTracksType;
|
RADIO: trackSearchType;
|
||||||
SHOW: albumTracksType;
|
SHOW: trackSearchType;
|
||||||
USER: albumTracksType;
|
USER: trackSearchType;
|
||||||
LIVESTREAM: albumTracksType;
|
LIVESTREAM: trackSearchType;
|
||||||
CHANNEL: albumTracksType;
|
CHANNEL: trackSearchType;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user