Update to single query model and update typing

This commit is contained in:
2020-07-23 10:49:24 +02:00
parent 70e3819f59
commit 09396427b2
2 changed files with 38 additions and 11 deletions

14
src/interfaces/index.ts Normal file
View File

@@ -0,0 +1,14 @@
export interface Album {
name: string;
image: string;
id: string;
}
export interface Artist {
name: string;
image: string;
id: string;
albums: Album[];
}
export type Artists = Artist[];