@leyyo/cache
Version:
Common cache library
14 lines (13 loc) • 717 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PRE_INVALIDATOR = exports.PRE_KEY = exports.PRE_OWNER = exports.PRE_ALIAS = exports.DLM_AFTER_PARENT = exports.DLM_BETWEEN_PARENTS = exports.DLM_BETWEEN_PARTS = exports.CACHE_EMPTY_VALUE = exports.CACHE_EMPTY_KEY = exports.CACHE_DISABLED = void 0;
exports.CACHE_DISABLED = -99;
exports.CACHE_EMPTY_KEY = -98;
exports.CACHE_EMPTY_VALUE = -97;
exports.DLM_BETWEEN_PARTS = ':'; // between ket values
exports.DLM_BETWEEN_PARENTS = '|'; // between parents, segment.path, entity.path, channel.path
exports.DLM_AFTER_PARENT = '/';
exports.PRE_ALIAS = 'a>';
exports.PRE_OWNER = 'o>';
exports.PRE_KEY = 'k>';
exports.PRE_INVALIDATOR = 'i>';