mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
Add related genre albums to album detail
This commit is contained in:
@@ -95,6 +95,13 @@ export const queryKeys: Record<
|
||||
|
||||
return [serverId, 'albums', 'list'] as const;
|
||||
},
|
||||
related: (serverId: string, id: string, query?: AlbumDetailQuery) => {
|
||||
if (query) {
|
||||
return [serverId, 'albums', id, 'related', query] as const;
|
||||
}
|
||||
|
||||
return [serverId, 'albums', id, 'related'] as const;
|
||||
},
|
||||
root: (serverId: string) => [serverId, 'albums'],
|
||||
serverRoot: (serverId: string) => [serverId, 'albums'],
|
||||
songs: (serverId: string, query: SongListQuery) =>
|
||||
|
||||
Reference in New Issue
Block a user