Type Alias RouteNamespace

RouteNamespace: {
    path: string;
    routes: (BaseRoute | RouteNamespace)[];
}

A namespace for grouping multiple routes under a common path.

Type declaration

  • path: string

    The base path for the namespace, which prefixes all contained routes.

  • routes: (BaseRoute | RouteNamespace)[]

    An array of routes that fall under this namespace.