(spotify) play and pause when controlling

This commit is contained in:
2020-07-22 22:39:24 +02:00
parent 149d6eb2ad
commit 857d9083ca
3 changed files with 27 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ export interface State {
export interface RootActions extends ActionTree<State, State> {
setInterval: (ctx: ActionContext<State, State>, payload: number) => void
setHasMusic: (ctx: ActionContext<State, State>, payload: boolean) => void
setHasSpotify: (ctx: ActionContext<State, State>, payload: boolean) => void
setDev1: (ctx: ActionContext<State, State>, payload: string) => void
setDev2: (ctx: ActionContext<State, State>, payload: string) => void
setAccessToken: (ctx: ActionContext<State, State>, payload: string) => void