1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/memory/SearchManager.ts

21 lines
647 B
TypeScript
Raw Normal View History

2016-05-05 00:34:54 +08:00
import {AutoCompleteItem} from "../../../common/entities/AutoCompleteItem";
import {ISearchManager} from "../ISearchManager";
2016-05-10 03:43:52 +08:00
import {SearchResult} from "../../../common/entities/SearchResult";
2016-05-05 00:34:54 +08:00
2016-05-09 23:04:56 +08:00
export class SearchManager implements ISearchManager {
2016-05-05 00:34:54 +08:00
2016-05-09 23:04:56 +08:00
autocomplete(text, cb:(error:any, result:Array<AutoCompleteItem>) => void) {
2016-05-05 00:34:54 +08:00
throw new Error("not implemented");
}
2016-05-16 17:03:11 +08:00
search(text, searchType:SearchTypes, cb:(error:any, result:SearchResult) => void) {
2016-05-10 03:43:52 +08:00
throw new Error("not implemented");
}
instantSearch(text, cb:(error:any, result:SearchResult) => void) {
throw new Error("not implemented");
}
2016-05-05 00:34:54 +08:00
}