mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add queue fetcher cancellation and loading state
This commit is contained in:
@@ -176,6 +176,11 @@ export const queryKeys: Record<
|
||||
musicFolders: {
|
||||
list: (serverId: string) => [serverId, 'musicFolders', 'list'] as const,
|
||||
},
|
||||
player: {
|
||||
fetch: () => {
|
||||
return ['player', 'fetch'] as const;
|
||||
},
|
||||
},
|
||||
playlists: {
|
||||
detail: (serverId: string, id?: string, query?: PlaylistDetailQuery) => {
|
||||
const { filter, pagination } = splitPaginatedQuery(query);
|
||||
|
||||
Reference in New Issue
Block a user