digitaltwin-core
Version:
Minimalist framework to collect and handle data in a Digital Twin project
14 lines • 484 B
TypeScript
import type { StorageService } from './storage_service.js';
export declare class StorageServiceFactory {
/**
* Creates and returns an instance of StorageService
* based on the STORAGE_CONFIG environment variable.
*
* - 'local': returns a LocalStorageService
* - 'ovh': returns an OvhS3StorageService
*
* @throws Error if STORAGE_CONFIG is not supported
*/
static create(): StorageService;
}
//# sourceMappingURL=storage_factory.d.ts.map