@yuuvis/client-core 2.1.27 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,15 +33,15 @@ export declare class SearchService {
|
|
|
33
33
|
aggregate(q: SearchQuery, aggregations: string[]): Observable<AggregateResult>;
|
|
34
34
|
/**
|
|
35
35
|
* Go to a page of a search result.
|
|
36
|
-
* @param
|
|
36
|
+
* @param query SearchQuery or CMIS query statement
|
|
37
37
|
* @param page The number of the page to go to
|
|
38
38
|
*/
|
|
39
|
-
getPage(query: SearchQuery, page: number): Observable<SearchResult>;
|
|
39
|
+
getPage(query: SearchQuery | string, page: number, pageSize?: number): Observable<SearchResult>;
|
|
40
40
|
/**
|
|
41
41
|
* Map search result from the backend to applications SearchResult object
|
|
42
42
|
* @param searchResponse The backend response
|
|
43
43
|
*/
|
|
44
|
-
toSearchResult(searchResponse: SearchResponse): SearchResult;
|
|
44
|
+
toSearchResult(searchResponse: SearchResponse, pageSize?: number, skipCount?: number): SearchResult;
|
|
45
45
|
/**
|
|
46
46
|
* Maps data extracted from a search form to search filters. Every key of the form data object
|
|
47
47
|
* will be mapped to a search filter.
|
|
@@ -79,10 +79,11 @@ export interface SearchResult {
|
|
|
79
79
|
hasMoreItems: boolean;
|
|
80
80
|
totalNumItems: number;
|
|
81
81
|
items: SearchResultItem[];
|
|
82
|
-
/**
|
|
83
|
-
* object types within the result
|
|
84
|
-
*/
|
|
85
82
|
objectTypes: string[];
|
|
83
|
+
paging?: {
|
|
84
|
+
page: number;
|
|
85
|
+
totalPages: number;
|
|
86
|
+
};
|
|
86
87
|
}
|
|
87
88
|
/**
|
|
88
89
|
* Interface for the item of search results
|