attach artist page link to ArtistName component

+ separate fetching artist albums with fetching artist info
+ include limit when fetching artist albums
+ refactor interfaces
This commit is contained in:
geoffrey45
2022-12-05 18:27:55 +03:00
committed by Mungai Njoroge
parent e54fea2d4d
commit 580dce1da9
14 changed files with 162 additions and 53 deletions
+2 -6
View File
@@ -9,7 +9,7 @@ export interface Track extends AlbumDisc {
id: string;
title: string;
album?: string;
artist: string[];
artist: Artist[];
albumartist: string;
albumhash?: string;
folder?: string;
@@ -37,11 +37,7 @@ export interface Folder {
export interface Album {
albumid: string;
title: string;
albumartists: {
name: string;
hash: string;
image: string;
}[];
albumartists: Artist[];
count: number;
duration: number;
date: string;