feat(web): add SearchResponse and RadioResponse types
This commit is contained in:
@@ -46,3 +46,13 @@ export type ArtistDetail = ArtistRef & {
|
||||
export type AlbumDetail = AlbumRef & {
|
||||
tracks: TrackRef[];
|
||||
};
|
||||
|
||||
export type SearchResponse = {
|
||||
artists: Page<ArtistRef>;
|
||||
albums: Page<AlbumRef>;
|
||||
tracks: Page<TrackRef>;
|
||||
};
|
||||
|
||||
export type RadioResponse = {
|
||||
tracks: TrackRef[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user