Pass result type along from search engine.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -66,5 +66,5 @@ export interface DocumentCollator {
|
||||
* additional metadata.
|
||||
*/
|
||||
export interface DocumentDecorator {
|
||||
execute(documents: IndexableDocument[]): Promise<IndexableDocument[]>;
|
||||
execute(type: string, documents: IndexableDocument[]): Promise<IndexableDocument[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user