fix(core): update
This commit is contained in:
1
ts/index.ts
Normal file
1
ts/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './levelcache.classes.levelcache';
|
1
ts/levelcache.classes.cacheentry.ts
Normal file
1
ts/levelcache.classes.cacheentry.ts
Normal file
@ -0,0 +1 @@
|
||||
import * as plugins from './levelcache.plugins';
|
0
ts/levelcache.classes.diskmanager.ts
Normal file
0
ts/levelcache.classes.diskmanager.ts
Normal file
14
ts/levelcache.classes.levelcache.ts
Normal file
14
ts/levelcache.classes.levelcache.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import * as plugins from './levelcache.plugins';
|
||||
|
||||
/**
|
||||
* a leveled cache for storing things for a short time
|
||||
*/
|
||||
export class LevelCache {
|
||||
public cacheMap = new plugins.lik.Stringmap();
|
||||
|
||||
public async storeBlob () {}
|
||||
|
||||
public async retrieveBlob () {}
|
||||
|
||||
public clean() {}
|
||||
}
|
0
ts/levelcache.paths.ts
Normal file
0
ts/levelcache.paths.ts
Normal file
21
ts/levelcache.plugins.ts
Normal file
21
ts/levelcache.plugins.ts
Normal file
@ -0,0 +1,21 @@
|
||||
// node native scope
|
||||
import * as path from 'path';
|
||||
|
||||
export {
|
||||
path
|
||||
}
|
||||
|
||||
// @pushrocks scope
|
||||
import * as lik from '@pushrocks/lik';
|
||||
import * as smartbucket from '@pushrocks/smartbucket';
|
||||
import * as smartcache from '@pushrocks/smartcache';
|
||||
import * as smartfile from '@pushrocks/smartfile';
|
||||
import * as smartstring from '@pushrocks/smartstring';
|
||||
|
||||
export {
|
||||
lik,
|
||||
smartbucket,
|
||||
smartcache,
|
||||
smartfile,
|
||||
smartstring
|
||||
};
|
Reference in New Issue
Block a user