@gabliam/cache
Version:
cache plugin for gabliam
8 lines (7 loc) • 437 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CacheGroup = void 0;
/* eslint-disable @typescript-eslint/no-redeclare */
const core_1 = require("@gabliam/core");
const constant_1 = require("../constant");
exports.CacheGroup = (0, core_1.makeDecorator)(constant_1.METADATA_KEY.cacheGroup, (cacheGroupName) => ({ cacheGroupName }), undefined, true, constant_1.ERRORS_MSGS.DUPLICATED_CACHE_DECORATOR);