Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Emma Indal
2021-05-24 09:49:44 +02:00
committed by Eric Peterson
parent b6a633ca31
commit 720fd2f360
5 changed files with 31 additions and 27 deletions
+4 -1
View File
@@ -66,5 +66,8 @@ export interface DocumentCollator {
* additional metadata.
*/
export interface DocumentDecorator {
execute(type: string, documents: IndexableDocument[]): Promise<IndexableDocument[]>;
execute(
type: string,
documents: IndexableDocument[],
): Promise<IndexableDocument[]>;
}