fix(core): update

This commit is contained in:
2024-02-14 01:32:19 +01:00
parent ed1d66ee2a
commit eb5c1f40ee
6 changed files with 1614 additions and 385 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/levelcache',
version: '3.0.6',
version: '3.0.7',
description: 'a cache that uses memory/disk/s3 as backup'
}

View File

@ -15,7 +15,7 @@ export interface ILevelCacheConstructorOptions {
maxDiskStorageInMB?: number;
maxS3StorageInMB?: number;
diskStoragePath?: string;
s3Config?: plugins.smartbucket.ISmartBucketConfig;
s3Config?: plugins.tsclass.storage.IS3Descriptor;
s3BucketName?: string;
forceLevel?: 'memory' | 'disk' | 's3';
expirationInMs?: number;

View File

@ -27,3 +27,10 @@ export {
smartunique,
taskbuffer,
};
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
export {
tsclass,
};