fix: rewrite headless results logic in hook, making sure all pages will be...
This merge request:
- Moves the headless results logic from component to hook
- Completely rewrites the headless results loadAllPages logic, so it works without setting a manual delay and uses a reusable loadNextPage function
- Adds logic so each time the search query or filters update, all pages will be reloaded with the updated state
- Adds
type
to all type imports where this was not already the case