mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
move interfaces to interfaces.ts
This commit is contained in:
@@ -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 };
|
||||
Reference in New Issue
Block a user