14 lines
206 B
TypeScript
14 lines
206 B
TypeScript
export interface Album {
|
|
name: string;
|
|
image: string;
|
|
id: string;
|
|
}
|
|
|
|
export interface Artist {
|
|
name: string;
|
|
image: string;
|
|
id: string;
|
|
albums: Album[];
|
|
}
|
|
|
|
export type Artists = Artist[] | undefined; |