UNPKG

@mamoorali295/rbac

Version:

Complete RBAC (Role-Based Access Control) system for Node.js with Express middleware, NestJS integration, GraphQL support, MongoDB & PostgreSQL support, modern admin dashboard, TypeScript support, and dynamic permission management

12 lines (11 loc) 438 B
"use strict"; // Express types removed - DatabaseAdapter should be framework-agnostic Object.defineProperty(exports, "__esModule", { value: true }); exports.DatabaseAdapter = void 0; /** * Abstract database adapter interface that all database implementations must follow. * This allows the RBAC system to work with different databases (MongoDB, PostgreSQL, etc.) */ class DatabaseAdapter { } exports.DatabaseAdapter = DatabaseAdapter;