2016-05-16 11:03:11 +02:00
|
|
|
import {AutoCompleteItem, SearchTypes} from "../../../common/entities/AutoCompleteItem";
|
2016-12-27 16:09:47 +01:00
|
|
|
import {ISearchManager} from "../interfaces/ISearchManager";
|
2016-12-28 11:50:05 +01:00
|
|
|
import {SearchResultDTO} from "../../../common/entities/SearchResult";
|
2016-05-04 18:34:54 +02:00
|
|
|
|
2016-05-09 17:04:56 +02:00
|
|
|
export class SearchManager implements ISearchManager {
|
2017-07-08 00:18:24 +02:00
|
|
|
autocomplete(text: string): Promise<AutoCompleteItem[]> {
|
|
|
|
throw new Error("Method not implemented.");
|
2017-07-07 22:54:18 +02:00
|
|
|
}
|
2016-05-04 18:34:54 +02:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
search(text: string, searchType: SearchTypes): Promise<SearchResultDTO> {
|
|
|
|
throw new Error("Method not implemented.");
|
2017-07-07 22:54:18 +02:00
|
|
|
}
|
2016-05-04 18:34:54 +02:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
instantSearch(text: string): Promise<SearchResultDTO> {
|
|
|
|
throw new Error("Method not implemented.");
|
2017-07-07 22:54:18 +02:00
|
|
|
}
|
2016-05-09 21:43:52 +02:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
isSupported(): boolean {
|
|
|
|
return false;
|
2017-07-07 22:54:18 +02:00
|
|
|
}
|
2016-05-09 21:43:52 +02:00
|
|
|
|
2016-05-04 18:34:54 +02:00
|
|
|
|
2017-07-08 00:18:24 +02:00
|
|
|
|
2017-07-07 22:54:18 +02:00
|
|
|
}
|