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
2016-05-16 11:47:58 +02:00

21 lines
660 B
TypeScript

import {AutoCompleteItem, SearchTypes} from "../../../common/entities/AutoCompleteItem";
import {ISearchManager} from "../ISearchManager";
import {SearchResult} from "../../../common/entities/SearchResult";
export class SearchManager implements ISearchManager {
autocomplete(text, cb:(error:any, result:Array<AutoCompleteItem>) => void) {
throw new Error("not implemented");
}
search(text, searchType:SearchTypes, cb:(error:any, result:SearchResult) => void) {
throw new Error("not implemented");
}
instantSearch(text, cb:(error:any, result:SearchResult) => void) {
throw new Error("not implemented");
}
}