mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
chore: refactor vue components
This commit is contained in:
@@ -6,7 +6,7 @@ import type {
|
||||
PlayerSourcePlugin
|
||||
} from './plugins/interface';
|
||||
import type {
|
||||
Playlist
|
||||
PlaylistSongs
|
||||
} from '../dtype/playlist';
|
||||
import type {
|
||||
RepeatMode
|
||||
@@ -24,11 +24,11 @@ export const sources: {
|
||||
|
||||
export const currentSource = ref( '' );
|
||||
|
||||
export const rawQueue: Ref<Playlist> = ref( [] );
|
||||
export const rawQueue: Ref<PlaylistSongs> = ref( [] );
|
||||
|
||||
export const queueIdx = ref( 0 );
|
||||
|
||||
export const queue: Ref<Playlist> = ref( [] );
|
||||
export const queue: Ref<PlaylistSongs> = ref( [] );
|
||||
|
||||
export const isPlaying = ref( false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user