Skip to main content
Version: 1.x

Middleware

Middleware​

Represents a middleware with its metadata and scope.

Signature
interface Middleware {
id: string;
name: string;
path: string;
relativePath: string;
parentPath: string;
global: boolean;
command: string | null;
}

id​

property
string

name​

property
string

path​

property
string

relativePath​

property
string

parentPath​

property
string

global​

property
boolean

command​

property
string | null