feat: add market value catalog sorting
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 03:04:10 -04:00
parent c9ad3a11af
commit 81705af6e3
6 changed files with 22 additions and 2 deletions
@@ -67,8 +67,8 @@ export function createSearchQuery({
throw new Error("minPriceMinor must be <= maxPriceMinor");
}
if (!["recent", "updated", "name_asc", "name_desc", "price_low", "price_high"].includes(sort)) {
throw new Error("sort must be recent, updated, name_asc, name_desc, price_low, or price_high");
if (!["recent", "updated", "name_asc", "name_desc", "price_low", "price_high", "market_low", "market_high"].includes(sort)) {
throw new Error("sort must be recent, updated, name_asc, name_desc, price_low, price_high, market_low, or market_high");
}
return {