UNPKG

@vortex-js/core

Version:

A simple and powerful role-based access control (RBAC) middleware for Express.js, designed to be easy to use and integrate with your existing applications. It provides a flexible way to manage user permissions and roles, making it ideal for building secur

9 lines (8 loc) 298 B
import Route from "../../../core/Route"; import Routes from "../../../core/Routes"; import { IRAI } from "../types"; declare function extractRoutesAndroles(routes: Routes[] | Route[], prefix?: string, depth?: number): { routes: IRAI[]; roles: string[]; }; export { extractRoutesAndroles };