Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionMiddleware

An action middleware.

Hierarchy

  • ActionMiddleware

Index

Properties

subtreeRoot: object

Subtree root object (object and child objects) this middleware will run for. This target "filter" will be run before the custom filter.

Methods

  • A filter function to decide if an action middleware function should be run or not.

    Parameters

    Returns boolean

  • An action middleware function. Rember to return next() if you want to continue the action or throw if you want to cancel it.

    Parameters

    Returns any

Generated using TypeDoc