feat: add price classification enum and reliable sort option
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
Ovidiu U
2026-04-06 09:58:45 +01:00
parent f5b39e8dc4
commit 5bc6ca720c
5 changed files with 549 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class NearbyStationsRequest extends FormRequest
'lng' => ['required_without:postcode', 'nullable', 'numeric', 'between:-180,180'],
'fuel_type' => ['required', 'string'],
'radius' => ['nullable', 'numeric', 'between:0.1,50'],
'sort' => ['nullable', 'string', 'in:price,distance,updated,brand'],
'sort' => ['nullable', 'string', 'in:price,distance,updated,brand,reliable'],
'pricing_mode' => ['nullable', 'string', 'in:pump'],
];
}