mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
albums broken
This commit is contained in:
@@ -35,7 +35,7 @@ export type Images = {
|
||||
};
|
||||
|
||||
export type Artist = ArtistSummary & {
|
||||
albums: Album[];
|
||||
albums: AlbumSummary[];
|
||||
};
|
||||
|
||||
export type AlbumSummary = {
|
||||
@@ -45,7 +45,16 @@ export type AlbumSummary = {
|
||||
genre: string | undefined;
|
||||
};
|
||||
|
||||
export type Album = AlbumSummary & {};
|
||||
export type Album = AlbumSummary & {
|
||||
tracks: Track[]
|
||||
};
|
||||
|
||||
export type Track = {
|
||||
id: string;
|
||||
name: string;
|
||||
mimeType: string;
|
||||
duration: string;
|
||||
};
|
||||
|
||||
export type Paging = {
|
||||
_index: number;
|
||||
|
||||
Reference in New Issue
Block a user