@nestjs/common
Version:
Nest - modern, fast, powerful node.js web framework (@common)
8 lines (7 loc) • 340 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheTTL = void 0;
const decorators_1 = require("../../decorators");
const cache_constants_1 = require("../cache.constants");
const CacheTTL = (ttl) => (0, decorators_1.SetMetadata)(cache_constants_1.CACHE_TTL_METADATA, ttl);
exports.CacheTTL = CacheTTL;
;