Pass result type along from search engine.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-05-21 14:17:35 +02:00
parent 8829e8228e
commit 1f3e6dff88
4 changed files with 36 additions and 13 deletions
+1 -1
View File
@@ -66,5 +66,5 @@ export interface DocumentCollator {
* additional metadata.
*/
export interface DocumentDecorator {
execute(documents: IndexableDocument[]): Promise<IndexableDocument[]>;
execute(type: string, documents: IndexableDocument[]): Promise<IndexableDocument[]>;
}