Type alias MiddlewareOptions

MiddlewareOptions: {
    document?: boolean;
    errorHandler?: boolean;
    query?: boolean;
}

Type declaration

  • Optional document?: boolean

    Enable this Hook for the Document Methods

    Default

    true
    
  • Optional errorHandler?: boolean

    Explicitly set this function to be a Error handler instead of based on how many arguments are used

    Default

    false
    
  • Optional query?: boolean

    Enable this Hook for the Query Methods

    Default

    true
    

Generated using TypeDoc