nestjs-api-tools
Version:
Wrappers for convenient API development including validation, logging and i18n wrappers
8 lines • 371 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IpAllowlist = void 0;
const common_1 = require("@nestjs/common");
const constants_1 = require("../constants");
const IpAllowlist = (...ips) => (0, common_1.SetMetadata)(constants_1.IP_ALLOWLIST, ips);
exports.IpAllowlist = IpAllowlist;
//# sourceMappingURL=ip-allowlist.decorator.js.map