Add FileCache model

This commit is contained in:
Max Isom 2021-11-18 20:55:57 -05:00
parent d805da906a
commit 04c7e61fc0
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
7 changed files with 26 additions and 9 deletions

View file

@ -28,7 +28,7 @@ import Shuffle from './commands/shuffle.js';
import Skip from './commands/skip.js';
import Unskip from './commands/unskip.js';
import ThirdParty from './services/third-party.js';
import CacheProvider from './services/cache.js';
import KeyValueCacheProvider from './services/key-value-cache.js';
const container = new Container();
@ -76,6 +76,6 @@ container.bind(TYPES.Config).toConstantValue(new ConfigProvider());
// Static libraries
container.bind(TYPES.ThirdParty).to(ThirdParty);
container.bind(TYPES.Cache).to(CacheProvider);
container.bind(TYPES.KeyValueCache).to(KeyValueCacheProvider);
export default container;