"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GUARD_KEY = exports.ROLES_KEY = void 0;
exports.NestAuthRoles = NestAuthRoles;
exports.ROLES_KEY = 'nest_auth_roles';
exports.GUARD_KEY = 'nest_auth_guard';
function NestAuthRoles(roles, guard) {
    return (target, key, descriptor) => {
        Reflect.defineMetadata(exports.ROLES_KEY, roles, descriptor.value);
        Reflect.defineMetadata(exports.GUARD_KEY, guard, descriptor.value);
        return descriptor;
    };
}
//# sourceMappingURL=role.decorator.js.map