mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add automatic country prioritization based on existing releases
This commit is contained in:
@@ -275,6 +275,7 @@ export const queryKeys: Record<
|
||||
limit: number | undefined,
|
||||
mbzArtistId: string,
|
||||
config?: {
|
||||
autoCountryPriority: boolean;
|
||||
excludeReleaseTypes: string[];
|
||||
prioritizeCountries: string[];
|
||||
},
|
||||
@@ -286,6 +287,7 @@ export const queryKeys: Record<
|
||||
limit,
|
||||
config
|
||||
? [
|
||||
String(config.autoCountryPriority),
|
||||
[...config.excludeReleaseTypes].sort().join(','),
|
||||
[...config.prioritizeCountries].sort().join(','),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user