implement show copyright info on album page

+ rewrite server track and album models to use destructuring
This commit is contained in:
geoffrey45
2022-08-03 14:47:29 +03:00
parent 7b2e162ed4
commit 327207f1ab
7 changed files with 70 additions and 20 deletions
+2 -2
View File
@@ -17,6 +17,7 @@ export interface Track {
discnumber?: number;
index?: number;
uniq_hash: string;
copyright?: string;
}
export interface Folder {
@@ -40,6 +41,7 @@ export interface AlbumInfo {
is_single: boolean;
hash: string;
colors: string[];
copyright?: string;
}
export interface Artist {
@@ -108,5 +110,3 @@ export interface FetchProps {
put?: boolean;
headers?: {};
}