@tmlmobilidade/interfaces
Version:
This package provides SDK-style connectors for interacting with databases (e.g., stops, plans, rides, alerts) and external providers (e.g., authentication, storage). It simplifies data access and integration across projects.
16 lines (15 loc) • 592 B
TypeScript
import { OCIStorageProviderConfiguration } from './oci-storage.js';
import { IStorageProvider } from './storage.interface.js';
export interface StorageConfiguration {
oci_config: OCIStorageProviderConfiguration;
type: 'oci';
}
export declare class StorageFactory {
/**
* Creates and returns an instance of a storage service based on the provided configuration.
*
* @param config - The storage configuration object.
* @returns An instance of a class that implements IStorageProvider.
*/
static create(config: StorageConfiguration): IStorageProvider;
}