add pipelineMod
This commit is contained in:
parent
dfa5f6a8c8
commit
25106547e9
4
index.d.ts
vendored
4
index.d.ts
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user