diff --git a/index.d.ts b/index.d.ts index c98cb8f..95a7157 100644 --- a/index.d.ts +++ b/index.d.ts @@ -55,6 +55,10 @@ interface GetHookData { * sort only valid for "get" hooks */ sort?: string[] | string + /** + * pipelineMod is a function to modify the mongodb query pipeline + */ + pipelineMod?: (pipe: {[key: string]: any}[]) => {[key: string]: any}[] } interface PostHookData {