mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
7 lines
490 B
TypeScript
7 lines
490 B
TypeScript
import {AutoCompleteItem, SearchTypes} from "../../../common/entities/AutoCompleteItem";
|
|
import {SearchResultDTO} from "../../../common/entities/SearchResult";
|
|
export interface ISearchManager {
|
|
autocomplete(text: string, cb: (error: any, result: Array<AutoCompleteItem>) => void): void;
|
|
search(text: string, searchType: SearchTypes, cb: (error: any, result: SearchResultDTO) => void): void;
|
|
instantSearch(text: string, cb: (error: any, result: SearchResultDTO) => void): void;
|
|
} |