renamed SearchResponse to ServiceItem and moved to shared package

This commit is contained in:
2026-06-30 04:52:45 +02:00
parent 47466a6c61
commit 3086b7e2ca
6 changed files with 18 additions and 14 deletions
@@ -2,7 +2,7 @@ package com.vaessl.app.search;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.vaessl.app.shared.ServiceItem;
import com.vaessl.app.shared.ServiceProvider;
/**
@@ -17,5 +17,5 @@ public interface SearchProvider extends ServiceProvider {
* @param pageable the Pageable interface
* @return a list of Page<SearchResponse> items matching the query
*/
Page<SearchResponse> getSearchResults(SearchRequest request, Pageable pageable);
Page<ServiceItem> getSearchResults(SearchRequest request, Pageable pageable);
}