UNPKG

@alpha018/nestjs-firebase-auth

Version:

NestJS Firebase library and Role based guard for authentication with some utils functions

8 lines 412 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RolesGuard = void 0; const common_1 = require("@nestjs/common"); const firebase_constant_1 = require("../constant/firebase.constant"); const RolesGuard = (...roles) => (0, common_1.SetMetadata)(firebase_constant_1.FIREBASE_APP_ROLES_DECORATOR, roles); exports.RolesGuard = RolesGuard; //# sourceMappingURL=role.decorator.js.map