Update to single query model and update typing
This commit is contained in:
14
src/interfaces/index.ts
Normal file
14
src/interfaces/index.ts
Normal 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[];
|
||||
Reference in New Issue
Block a user