fix(core): Fix import and typings for improved compatibility

This commit is contained in:
2024-10-26 14:17:38 +02:00
parent 6aef7da9c4
commit 36a1054b45
6 changed files with 19 additions and 3 deletions

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smarts3',
version: '2.2.0',
version: '2.2.1',
description: 'A Node.js TypeScript package to create a local S3 endpoint for simulating AWS S3 operations using mapped local directories for development and testing purposes.'
}

View File

@@ -42,7 +42,7 @@ export class Smarts3 {
console.log('s3 server is running');
}
public async getS3Descriptor(): Promise<plugins.smartbucket.ISmartBucketConfig> {
public async getS3Descriptor(): Promise<plugins.tsclass.storage.IS3Descriptor> {
return {
accessKey: 'S3RVER',
accessSecret: 'S3RVER',

View File

@@ -3,13 +3,19 @@ import * as path from 'path';
export { path };
// pushrocks scope
// @push.rocks scope
import * as smartbucket from '@push.rocks/smartbucket';
import * as smartfile from '@push.rocks/smartfile';
import * as smartpath from '@push.rocks/smartpath';
export { smartbucket, smartfile, smartpath };
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
export { tsclass };
// thirdparty scope
import s3rver from 's3rver';