UNPKG

react-redux-music

Version:

manage media control, playlist and custom player with wavesurfer.js

25 lines (24 loc) 578 B
export type SongReduxPlaylistSchema = { url: string; songId: string; }; export interface InitialStateOfControlSlice { history: string[]; favourites: string[]; loop: boolean; playlist: { songs: SongReduxPlaylistSchema[]; activeSongIndex: number; }; volume: number; activeSongStates: { isReady: boolean; isPlaying: boolean; isSeeking: boolean; progressIndicator: { bufferedDuration: number; totalSongDuration: number; seekProgress: number; }; }; }