🔷 add PlayingFrom component to right sidebar

🔷 move upNext card into separate component
🔷 a lot of refactors
This commit is contained in:
geoffrey45
2022-04-03 21:47:57 +03:00
parent 334cf0fce1
commit 6cf9a58d6d
26 changed files with 425 additions and 220 deletions
+30 -2
View File
@@ -1,4 +1,5 @@
import { NotifType } from "./stores/enums";
import { FromOptions } from "./composables/enums";
import { NotifType } from "./composables/enums";
interface Track {
trackid: string;
@@ -62,4 +63,31 @@ interface Notif {
type: NotifType;
}
export { Track, Folder, AlbumInfo, Artist, Option, Playlist, Notif };
interface fromFolder {
type: FromOptions;
path: string;
name: string;
}
interface fromAlbum {
type: FromOptions;
name: string;
albumartist: string;
}
interface fromPlaylist {
type: FromOptions;
name: string;
playlistid: string;
}
export {
Track,
Folder,
AlbumInfo,
Artist,
Option,
Playlist,
Notif,
fromFolder,
fromAlbum,
fromPlaylist,
};