"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NestAuthPermissions = exports.PERMISSIONS_REQUIRE_ALL_KEY = exports.PERMISSIONS_KEY = void 0;
const common_1 = require("@nestjs/common");
exports.PERMISSIONS_KEY = 'nest_auth_permissions';
exports.PERMISSIONS_REQUIRE_ALL_KEY = 'nest_auth_permissions_require_all';
const NestAuthPermissions = (permissions, requireAll = false) => (0, common_1.applyDecorators)((0, common_1.SetMetadata)(exports.PERMISSIONS_KEY, permissions), (0, common_1.SetMetadata)(exports.PERMISSIONS_REQUIRE_ALL_KEY, requireAll));
exports.NestAuthPermissions = NestAuthPermissions;
//# sourceMappingURL=permissions.decorator.js.map