fix(core): update

This commit is contained in:
2020-02-15 22:38:28 +00:00
parent 92b858e248
commit d8f526ef2d
10 changed files with 73 additions and 61 deletions

View File

@@ -1,6 +1,21 @@
import * as plugins from './levelcache.plugins';
import { LevelCache } from './levelcache.classes.levelcache';
export class CacheRouter {
async routeStoreAction() {}
async routeRetrieveAction() {}
}
public levelCacheRef: LevelCache;
public cacheMap;
constructor(levelCacheRef: LevelCache) {
this.levelCacheRef = levelCacheRef;
}
/**
* gets the relevant cache to perform a store action on
*/
async getCacheForStoreAction() {}
/**
* gets the relevant cache to perform a retrieval action on
*/
async getCacheForRetrieveAction() {}
}