mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-28 01:32:42 +02:00
Add FileCache model
This commit is contained in:
parent
d805da906a
commit
04c7e61fc0
7 changed files with 26 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue