interface RelativeMiddlewareOptions {
    name?: string;
    relation: Relation;
    tags?: string[];
    toMiddleware: string;
}

Hierarchy (view full)

Properties

name?: string

A unique name to refer to a middleware

relation: Relation

Specify the relation to be before or after a know middleware.

tags?: string[]

A list of strings to any that identify the general purpose or important characteristics of a given handler.

toMiddleware: string

A known middleware name to indicate inserting location.