2016-05-16 11:03:11 +02:00
|
|
|
import {AutoCompleteItem, SearchTypes} from "../../../common/entities/AutoCompleteItem";
|
2016-05-04 18:34:54 +02:00
|
|
|
import {ISearchManager} from "../ISearchManager";
|
2016-05-09 21:43:52 +02:00
|
|
|
import {SearchResult} 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 {
|
2016-05-04 18:34:54 +02:00
|
|
|
|
|
|
|
|
2016-05-09 17:04:56 +02:00
|
|
|
autocomplete(text, cb:(error:any, result:Array<AutoCompleteItem>) => void) {
|
2016-05-04 18:34:54 +02:00
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
2016-05-16 11:03:11 +02:00
|
|
|
search(text, searchType:SearchTypes, cb:(error:any, result:SearchResult) => void) {
|
2016-05-09 21:43:52 +02:00
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
instantSearch(text, cb:(error:any, result:SearchResult) => void) {
|
|
|
|
throw new Error("not implemented");
|
|
|
|
}
|
|
|
|
|
2016-05-04 18:34:54 +02:00
|
|
|
|
|
|
|
}
|