mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-23 21:55:27 +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 {playlistInfo, playlistInfoMinimal} from './playlist';
|
||||
import type {trackType} from './tracks';
|
||||
@ -23,6 +23,10 @@ interface playlistSearchType extends searchTypeCommon {
|
||||
data: playlistInfoMinimal[];
|
||||
}
|
||||
|
||||
export interface trackSearchType extends searchTypeCommon {
|
||||
data: trackType[];
|
||||
}
|
||||
|
||||
export interface discographyType {
|
||||
data: albumType[];
|
||||
count: number; // 109,
|
||||
@ -55,11 +59,11 @@ export interface searchType {
|
||||
];
|
||||
ALBUM: albumSearchType;
|
||||
ARTIST: artistSearchType;
|
||||
TRACK: albumTracksType;
|
||||
TRACK: trackSearchType;
|
||||
PLAYLIST: playlistSearchType;
|
||||
RADIO: albumTracksType;
|
||||
SHOW: albumTracksType;
|
||||
USER: albumTracksType;
|
||||
LIVESTREAM: albumTracksType;
|
||||
CHANNEL: albumTracksType;
|
||||
RADIO: trackSearchType;
|
||||
SHOW: trackSearchType;
|
||||
USER: trackSearchType;
|
||||
LIVESTREAM: trackSearchType;
|
||||
CHANNEL: trackSearchType;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user