Split stores

This commit is contained in:
jeffvli 2022-12-21 01:25:56 -08:00
parent 2a858f3107
commit b742b814c0
7 changed files with 200 additions and 122 deletions

View file

@ -6,8 +6,8 @@ import create from 'zustand';
import { devtools, persist } from 'zustand/middleware';
import { immer } from 'zustand/middleware/immer';
import shallow from 'zustand/shallow';
import { Song } from '/@/renderer/api/types';
import { QueueSong, PlayerStatus, PlayerRepeat, PlayerShuffle, Play } from '/@/renderer/types';
import { QueueSong, Song } from '/@/renderer/api/types';
import { PlayerStatus, PlayerRepeat, PlayerShuffle, Play } from '/@/renderer/types';
export interface PlayerState {
current: {