move interfaces to interfaces.ts

This commit is contained in:
geoffrey45
2022-03-14 21:04:58 +03:00
parent d98257de90
commit ead3a731ef
2 changed files with 37 additions and 4 deletions
+32
View File
@@ -0,0 +1,32 @@
interface Track {
trackid: string;
title: string;
album?: string;
artists: string[];
albumartist?: string;
folder?: string;
filepath?: string;
length?: number;
bitrate?: number;
genre?: string;
image: string;
tracknumber?: number;
discnumber?: number;
}
interface AlbumInfo {
album: string;
artist: string;
count: number;
duration: number;
date: string;
artistimage: string;
image: string;
}
interface Artist {
name: string;
image: string;
}
export { Track, AlbumInfo, Artist };