mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-26 05:27:35 +02:00
7 lines
386 B
TypeScript
7 lines
386 B
TypeScript
import {AutoCompleteItem} from "../../common/entities/AutoCompleteItem";
|
|
import {SearchResult} from "../../common/entities/SearchResult";
|
|
export interface ISearchManager {
|
|
autocomplete(text, cb:(error:any, result:Array<AutoCompleteItem>) => void);
|
|
search(text, cb:(error:any, result:SearchResult) => void);
|
|
instantSearch(text, cb:(error:any, result:SearchResult) => void);
|
|
} |