From 6eed9553197a8e8ab3d215e81cdc33aaa6c04288 Mon Sep 17 00:00:00 2001 From: Tyler Brock Date: Fri, 22 Sep 2017 17:36:20 -0700 Subject: [PATCH] Export LRU cache on ParseServer Object (#4203) --- src/index.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a8e13dc3..0b44e36d 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ import FileSystemAdapter from 'parse-server-fs-adapter' import InMemoryCacheAdapter from './Adapters/Cache/InMemoryCacheAdapter' import NullCacheAdapter from './Adapters/Cache/NullCacheAdapter' import RedisCacheAdapter from './Adapters/Cache/RedisCacheAdapter' +import LRUCacheAdapter from './Adapters/Cache/LRUCache.js' import * as TestUtils from './TestUtils'; import { useExternal } from './deprecated'; import { getLogger } from './logger'; @@ -24,4 +25,15 @@ Object.defineProperty(module.exports, 'logger', { }); export default ParseServer; -export { S3Adapter, GCSAdapter, FileSystemAdapter, InMemoryCacheAdapter, NullCacheAdapter, RedisCacheAdapter, TestUtils, PushWorker, _ParseServer as ParseServer }; +export { + S3Adapter, + GCSAdapter, + FileSystemAdapter, + InMemoryCacheAdapter, + NullCacheAdapter, + RedisCacheAdapter, + LRUCacheAdapter, + TestUtils, + PushWorker, + _ParseServer as ParseServer +};